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
data/lib/stackone_client.rb
CHANGED
@@ -3,84 +3,16 @@
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
|
-
require_relative '
|
7
|
-
require_relative '
|
8
|
-
require_relative 'stackone/sdk'
|
9
|
-
require_relative 'stackone/models/shared/linkedaccount'
|
10
|
-
require_relative 'stackone/models/shared/linkedaccountmeta'
|
11
|
-
require_relative 'stackone/models/shared/patchaccountdto'
|
12
|
-
require_relative 'stackone/models/shared/connectsession'
|
13
|
-
require_relative 'stackone/models/shared/connectsessionauthenticate'
|
14
|
-
require_relative 'stackone/models/shared/connectsessiontoken'
|
15
|
-
require_relative 'stackone/models/shared/connectsessioncreate'
|
16
|
-
require_relative 'stackone/models/shared/connectorsmeta'
|
17
|
-
require_relative 'stackone/models/shared/createemployeeresult'
|
18
|
-
require_relative 'stackone/models/shared/hriscreateemployeerequestdto'
|
19
|
-
require_relative 'stackone/models/shared/employment'
|
20
|
-
require_relative 'stackone/models/shared/employeecustomfields'
|
21
|
-
require_relative 'stackone/models/shared/countrycodeenum'
|
22
|
-
require_relative 'stackone/models/shared/createtimeoffresult'
|
23
|
-
require_relative 'stackone/models/shared/hriscreatetimeoffrequestdto'
|
24
|
-
require_relative 'stackone/models/shared/companyresult'
|
25
|
-
require_relative 'stackone/models/shared/rawresponse'
|
26
|
-
require_relative 'stackone/models/shared/company'
|
27
|
-
require_relative 'stackone/models/shared/employeeresult'
|
28
|
-
require_relative 'stackone/models/shared/employee'
|
29
|
-
require_relative 'stackone/models/shared/workeligibility'
|
30
|
-
require_relative 'stackone/models/shared/content'
|
31
|
-
require_relative 'stackone/models/shared/fileformatenum'
|
32
|
-
require_relative 'stackone/models/shared/costcenters'
|
33
|
-
require_relative 'stackone/models/shared/documentresult'
|
34
|
-
require_relative 'stackone/models/shared/documentapimodel'
|
35
|
-
require_relative 'stackone/models/shared/documenttypeenum'
|
36
|
-
require_relative 'stackone/models/shared/timeoffresult'
|
37
|
-
require_relative 'stackone/models/shared/timeoff'
|
38
|
-
require_relative 'stackone/models/shared/employmentresult'
|
39
|
-
require_relative 'stackone/models/shared/hrislocationresult'
|
40
|
-
require_relative 'stackone/models/shared/hrislocation'
|
41
|
-
require_relative 'stackone/models/shared/companiespaginated'
|
42
|
-
require_relative 'stackone/models/shared/documentspaginated'
|
43
|
-
require_relative 'stackone/models/shared/timeoffpaginated'
|
44
|
-
require_relative 'stackone/models/shared/employeespaginated'
|
45
|
-
require_relative 'stackone/models/shared/employmentspaginated'
|
46
|
-
require_relative 'stackone/models/shared/hrislocationspaginated'
|
47
|
-
require_relative 'stackone/models/shared/proxyrequestbody'
|
48
|
-
require_relative 'stackone/models/shared/security'
|
49
|
-
require_relative 'stackone/models/operations/hris_create_employee'
|
50
|
-
require_relative 'stackone/models/operations/hris_create_employee_time_off_request'
|
51
|
-
require_relative 'stackone/models/operations/hris_create_time_off_request'
|
52
|
-
require_relative 'stackone/models/operations/hris_get_company'
|
53
|
-
require_relative 'stackone/models/operations/hris_get_employee'
|
54
|
-
require_relative 'stackone/models/operations/hris_get_employee_document'
|
55
|
-
require_relative 'stackone/models/operations/hris_get_employees_time_off_request'
|
56
|
-
require_relative 'stackone/models/operations/hris_get_employment'
|
57
|
-
require_relative 'stackone/models/operations/hris_get_location'
|
58
|
-
require_relative 'stackone/models/operations/hris_get_time_off_request'
|
59
|
-
require_relative 'stackone/models/operations/hris_list_companies'
|
60
|
-
require_relative 'stackone/models/operations/hris_list_employee_documents'
|
61
|
-
require_relative 'stackone/models/operations/hris_list_employee_time_off_requests'
|
62
|
-
require_relative 'stackone/models/operations/hris_list_employees'
|
63
|
-
require_relative 'stackone/models/operations/hris_list_employments'
|
64
|
-
require_relative 'stackone/models/operations/hris_list_locations'
|
65
|
-
require_relative 'stackone/models/operations/hris_list_time_off_requests'
|
66
|
-
require_relative 'stackone/models/operations/hris_update_employee'
|
67
|
-
require_relative 'stackone/models/operations/hris_update_time_off_request'
|
68
|
-
require_relative 'stackone/models/operations/stackone_authenticate_connect_session'
|
69
|
-
require_relative 'stackone/models/operations/stackone_create_connect_session'
|
70
|
-
require_relative 'stackone/models/operations/stackone_delete_account'
|
71
|
-
require_relative 'stackone/models/operations/stackone_get_account'
|
72
|
-
require_relative 'stackone/models/operations/stackone_get_account_meta_info'
|
73
|
-
require_relative 'stackone/models/operations/stackone_get_connector_meta'
|
74
|
-
require_relative 'stackone/models/operations/stackone_list_connectors_meta'
|
75
|
-
require_relative 'stackone/models/operations/stackone_list_linked_accounts'
|
76
|
-
require_relative 'stackone/models/operations/stackone_proxy_request'
|
77
|
-
require_relative 'stackone/models/operations/stackone_update_account'
|
78
|
-
require_relative 'stackone/sdkconfiguration'
|
79
|
-
require_relative 'stackone/accounts'
|
80
|
-
require_relative 'stackone/connect_sessions'
|
81
|
-
require_relative 'stackone/connectors'
|
82
|
-
require_relative 'stackone/hris'
|
83
|
-
require_relative 'stackone/proxy'
|
84
|
-
|
6
|
+
require_relative 'stack_one/utils/utils'
|
7
|
+
require_relative 'stack_one/utils/metadata_fields'
|
85
8
|
module StackOne
|
9
|
+
autoload :StackOne, 'stack_one/stackone'
|
10
|
+
autoload :SDKConfiguration, 'stack_one/sdkconfiguration'
|
11
|
+
autoload :Shared, 'stack_one/models/shared'
|
12
|
+
autoload :Operations, 'stack_one/models/operations'
|
13
|
+
autoload :Accounts, 'stack_one/accounts'
|
14
|
+
autoload :ConnectSessions, 'stack_one/connect_sessions'
|
15
|
+
autoload :Connectors, 'stack_one/connectors'
|
16
|
+
autoload :Hris, 'stack_one/hris'
|
17
|
+
autoload :Proxy, 'stack_one/proxy'
|
86
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -142,84 +142,217 @@ executables: []
|
|
142
142
|
extensions: []
|
143
143
|
extra_rdoc_files: []
|
144
144
|
files:
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
175
|
-
- lib/
|
176
|
-
- lib/
|
177
|
-
- lib/
|
178
|
-
- lib/
|
179
|
-
- lib/
|
180
|
-
- lib/
|
181
|
-
- lib/
|
182
|
-
- lib/
|
183
|
-
- lib/
|
184
|
-
- lib/
|
185
|
-
- lib/
|
186
|
-
- lib/
|
187
|
-
- lib/
|
188
|
-
- lib/
|
189
|
-
- lib/
|
190
|
-
- lib/
|
191
|
-
- lib/
|
192
|
-
- lib/
|
193
|
-
- lib/
|
194
|
-
- lib/
|
195
|
-
- lib/
|
196
|
-
- lib/
|
197
|
-
- lib/
|
198
|
-
- lib/
|
199
|
-
- lib/
|
200
|
-
- lib/
|
201
|
-
- lib/
|
202
|
-
- lib/
|
203
|
-
- lib/
|
204
|
-
- lib/
|
205
|
-
- lib/
|
206
|
-
- lib/
|
207
|
-
- lib/
|
208
|
-
- lib/
|
209
|
-
- lib/
|
210
|
-
- lib/
|
211
|
-
- lib/
|
212
|
-
- lib/
|
213
|
-
- lib/
|
214
|
-
- lib/
|
215
|
-
- lib/
|
216
|
-
- lib/
|
217
|
-
- lib/
|
218
|
-
- lib/
|
219
|
-
- lib/
|
220
|
-
- lib/
|
221
|
-
- lib/
|
222
|
-
- lib/
|
145
|
+
- lib/stack_one/accounts.rb
|
146
|
+
- lib/stack_one/connect_sessions.rb
|
147
|
+
- lib/stack_one/connectors.rb
|
148
|
+
- lib/stack_one/hris.rb
|
149
|
+
- lib/stack_one/models/operations.rb
|
150
|
+
- lib/stack_one/models/operations/hris_create_employee_request.rb
|
151
|
+
- lib/stack_one/models/operations/hris_create_employee_response.rb
|
152
|
+
- lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb
|
153
|
+
- lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb
|
154
|
+
- lib/stack_one/models/operations/hris_create_time_off_request_request.rb
|
155
|
+
- lib/stack_one/models/operations/hris_create_time_off_request_response.rb
|
156
|
+
- lib/stack_one/models/operations/hris_get_company_request.rb
|
157
|
+
- lib/stack_one/models/operations/hris_get_company_response.rb
|
158
|
+
- lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb
|
159
|
+
- lib/stack_one/models/operations/hris_get_employee_document_request.rb
|
160
|
+
- lib/stack_one/models/operations/hris_get_employee_document_response.rb
|
161
|
+
- lib/stack_one/models/operations/hris_get_employee_request.rb
|
162
|
+
- lib/stack_one/models/operations/hris_get_employee_response.rb
|
163
|
+
- lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb
|
164
|
+
- lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb
|
165
|
+
- lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb
|
166
|
+
- lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb
|
167
|
+
- lib/stack_one/models/operations/hris_get_employment_request.rb
|
168
|
+
- lib/stack_one/models/operations/hris_get_employment_response.rb
|
169
|
+
- lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb
|
170
|
+
- lib/stack_one/models/operations/hris_get_location_request.rb
|
171
|
+
- lib/stack_one/models/operations/hris_get_location_response.rb
|
172
|
+
- lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb
|
173
|
+
- lib/stack_one/models/operations/hris_get_time_off_request_request.rb
|
174
|
+
- lib/stack_one/models/operations/hris_get_time_off_request_response.rb
|
175
|
+
- lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb
|
176
|
+
- lib/stack_one/models/operations/hris_list_companies_request.rb
|
177
|
+
- lib/stack_one/models/operations/hris_list_companies_response.rb
|
178
|
+
- lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb
|
179
|
+
- lib/stack_one/models/operations/hris_list_employee_documents_request.rb
|
180
|
+
- lib/stack_one/models/operations/hris_list_employee_documents_response.rb
|
181
|
+
- lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb
|
182
|
+
- lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb
|
183
|
+
- lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb
|
184
|
+
- lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb
|
185
|
+
- lib/stack_one/models/operations/hris_list_employees_request.rb
|
186
|
+
- lib/stack_one/models/operations/hris_list_employees_response.rb
|
187
|
+
- lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb
|
188
|
+
- lib/stack_one/models/operations/hris_list_employments_request.rb
|
189
|
+
- lib/stack_one/models/operations/hris_list_employments_response.rb
|
190
|
+
- lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb
|
191
|
+
- lib/stack_one/models/operations/hris_list_locations_request.rb
|
192
|
+
- lib/stack_one/models/operations/hris_list_locations_response.rb
|
193
|
+
- lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb
|
194
|
+
- lib/stack_one/models/operations/hris_list_time_off_requests_request.rb
|
195
|
+
- lib/stack_one/models/operations/hris_list_time_off_requests_response.rb
|
196
|
+
- lib/stack_one/models/operations/hris_update_employee_request.rb
|
197
|
+
- lib/stack_one/models/operations/hris_update_employee_response.rb
|
198
|
+
- lib/stack_one/models/operations/hris_update_time_off_request_request.rb
|
199
|
+
- lib/stack_one/models/operations/hris_update_time_off_request_response.rb
|
200
|
+
- lib/stack_one/models/operations/proxy.rb
|
201
|
+
- lib/stack_one/models/operations/queryparam_proxy.rb
|
202
|
+
- lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb
|
203
|
+
- lib/stack_one/models/operations/stackone_create_connect_session_response.rb
|
204
|
+
- lib/stack_one/models/operations/stackone_delete_account_request.rb
|
205
|
+
- lib/stack_one/models/operations/stackone_delete_account_response.rb
|
206
|
+
- lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb
|
207
|
+
- lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb
|
208
|
+
- lib/stack_one/models/operations/stackone_get_account_request.rb
|
209
|
+
- lib/stack_one/models/operations/stackone_get_account_response.rb
|
210
|
+
- lib/stack_one/models/operations/stackone_get_connector_meta_request.rb
|
211
|
+
- lib/stack_one/models/operations/stackone_get_connector_meta_response.rb
|
212
|
+
- lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb
|
213
|
+
- lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb
|
214
|
+
- lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb
|
215
|
+
- lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb
|
216
|
+
- lib/stack_one/models/operations/stackone_proxy_request_request.rb
|
217
|
+
- lib/stack_one/models/operations/stackone_proxy_request_response.rb
|
218
|
+
- lib/stack_one/models/operations/stackone_update_account_request.rb
|
219
|
+
- lib/stack_one/models/operations/stackone_update_account_response.rb
|
220
|
+
- lib/stack_one/models/shared.rb
|
221
|
+
- lib/stack_one/models/shared/avatar.rb
|
222
|
+
- lib/stack_one/models/shared/body.rb
|
223
|
+
- lib/stack_one/models/shared/categories.rb
|
224
|
+
- lib/stack_one/models/shared/category.rb
|
225
|
+
- lib/stack_one/models/shared/companiespaginated.rb
|
226
|
+
- lib/stack_one/models/shared/company.rb
|
227
|
+
- lib/stack_one/models/shared/companyresult.rb
|
228
|
+
- lib/stack_one/models/shared/connectorsmeta.rb
|
229
|
+
- lib/stack_one/models/shared/connectsession.rb
|
230
|
+
- lib/stack_one/models/shared/connectsessionauthenticate.rb
|
231
|
+
- lib/stack_one/models/shared/connectsessioncreate.rb
|
232
|
+
- lib/stack_one/models/shared/connectsessioncreate_categories.rb
|
233
|
+
- lib/stack_one/models/shared/connectsessiontoken.rb
|
234
|
+
- lib/stack_one/models/shared/connectsessiontoken_categories.rb
|
235
|
+
- lib/stack_one/models/shared/content.rb
|
236
|
+
- lib/stack_one/models/shared/costcenters.rb
|
237
|
+
- lib/stack_one/models/shared/country.rb
|
238
|
+
- lib/stack_one/models/shared/countrycodeenum.rb
|
239
|
+
- lib/stack_one/models/shared/createemployeeresult.rb
|
240
|
+
- lib/stack_one/models/shared/createtimeoffresult.rb
|
241
|
+
- lib/stack_one/models/shared/credentials.rb
|
242
|
+
- lib/stack_one/models/shared/document.rb
|
243
|
+
- lib/stack_one/models/shared/documentapimodel.rb
|
244
|
+
- lib/stack_one/models/shared/documentapimodel_value.rb
|
245
|
+
- lib/stack_one/models/shared/documentresult.rb
|
246
|
+
- lib/stack_one/models/shared/documentspaginated.rb
|
247
|
+
- lib/stack_one/models/shared/employee.rb
|
248
|
+
- lib/stack_one/models/shared/employee_country.rb
|
249
|
+
- lib/stack_one/models/shared/employee_location_type.rb
|
250
|
+
- lib/stack_one/models/shared/employee_schemas_country.rb
|
251
|
+
- lib/stack_one/models/shared/employee_schemas_employment_type_value.rb
|
252
|
+
- lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb
|
253
|
+
- lib/stack_one/models/shared/employee_schemas_gender_value.rb
|
254
|
+
- lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb
|
255
|
+
- lib/stack_one/models/shared/employee_schemas_home_location_value.rb
|
256
|
+
- lib/stack_one/models/shared/employee_schemas_location_type.rb
|
257
|
+
- lib/stack_one/models/shared/employee_schemas_marital_status_value.rb
|
258
|
+
- lib/stack_one/models/shared/employee_schemas_value.rb
|
259
|
+
- lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb
|
260
|
+
- lib/stack_one/models/shared/employee_schemas_work_location_value.rb
|
261
|
+
- lib/stack_one/models/shared/employee_value.rb
|
262
|
+
- lib/stack_one/models/shared/employeecustomfields.rb
|
263
|
+
- lib/stack_one/models/shared/employeecustomfields_schemas_value.rb
|
264
|
+
- lib/stack_one/models/shared/employeecustomfields_type.rb
|
265
|
+
- lib/stack_one/models/shared/employeecustomfields_value.rb
|
266
|
+
- lib/stack_one/models/shared/employeeresult.rb
|
267
|
+
- lib/stack_one/models/shared/employeespaginated.rb
|
268
|
+
- lib/stack_one/models/shared/employment.rb
|
269
|
+
- lib/stack_one/models/shared/employment_contract_type.rb
|
270
|
+
- lib/stack_one/models/shared/employment_employment_contract_type.rb
|
271
|
+
- lib/stack_one/models/shared/employment_employment_type.rb
|
272
|
+
- lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb
|
273
|
+
- lib/stack_one/models/shared/employment_schemas_pay_period_value.rb
|
274
|
+
- lib/stack_one/models/shared/employment_schemas_value.rb
|
275
|
+
- lib/stack_one/models/shared/employment_status.rb
|
276
|
+
- lib/stack_one/models/shared/employment_type.rb
|
277
|
+
- lib/stack_one/models/shared/employment_value.rb
|
278
|
+
- lib/stack_one/models/shared/employmentresult.rb
|
279
|
+
- lib/stack_one/models/shared/employmentspaginated.rb
|
280
|
+
- lib/stack_one/models/shared/ethnicity.rb
|
281
|
+
- lib/stack_one/models/shared/fileformatenum.rb
|
282
|
+
- lib/stack_one/models/shared/fileformatenum_value.rb
|
283
|
+
- lib/stack_one/models/shared/gender.rb
|
284
|
+
- lib/stack_one/models/shared/headers.rb
|
285
|
+
- lib/stack_one/models/shared/home_location.rb
|
286
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto.rb
|
287
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb
|
288
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb
|
289
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb
|
290
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb
|
291
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb
|
292
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb
|
293
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb
|
294
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb
|
295
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb
|
296
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb
|
297
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb
|
298
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb
|
299
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb
|
300
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb
|
301
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb
|
302
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb
|
303
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb
|
304
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb
|
305
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb
|
306
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb
|
307
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb
|
308
|
+
- lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb
|
309
|
+
- lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb
|
310
|
+
- lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb
|
311
|
+
- lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb
|
312
|
+
- lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb
|
313
|
+
- lib/stack_one/models/shared/hrislocation.rb
|
314
|
+
- lib/stack_one/models/shared/hrislocation_schemas_value.rb
|
315
|
+
- lib/stack_one/models/shared/hrislocation_value.rb
|
316
|
+
- lib/stack_one/models/shared/hrislocationresult.rb
|
317
|
+
- lib/stack_one/models/shared/hrislocationspaginated.rb
|
318
|
+
- lib/stack_one/models/shared/images.rb
|
319
|
+
- lib/stack_one/models/shared/job_description.rb
|
320
|
+
- lib/stack_one/models/shared/linkedaccount.rb
|
321
|
+
- lib/stack_one/models/shared/linkedaccountmeta.rb
|
322
|
+
- lib/stack_one/models/shared/linkedaccountmeta_category.rb
|
323
|
+
- lib/stack_one/models/shared/location_type.rb
|
324
|
+
- lib/stack_one/models/shared/marital_status.rb
|
325
|
+
- lib/stack_one/models/shared/metadata.rb
|
326
|
+
- lib/stack_one/models/shared/method.rb
|
327
|
+
- lib/stack_one/models/shared/patchaccountdto.rb
|
328
|
+
- lib/stack_one/models/shared/pay_frequency.rb
|
329
|
+
- lib/stack_one/models/shared/pay_period.rb
|
330
|
+
- lib/stack_one/models/shared/proxyrequestbody.rb
|
331
|
+
- lib/stack_one/models/shared/rawresponse.rb
|
332
|
+
- lib/stack_one/models/shared/resources.rb
|
333
|
+
- lib/stack_one/models/shared/response.rb
|
334
|
+
- lib/stack_one/models/shared/security.rb
|
335
|
+
- lib/stack_one/models/shared/setup_information.rb
|
336
|
+
- lib/stack_one/models/shared/state.rb
|
337
|
+
- lib/stack_one/models/shared/status.rb
|
338
|
+
- lib/stack_one/models/shared/timeoff.rb
|
339
|
+
- lib/stack_one/models/shared/timeoff_schemas_value.rb
|
340
|
+
- lib/stack_one/models/shared/timeoff_status.rb
|
341
|
+
- lib/stack_one/models/shared/timeoff_type.rb
|
342
|
+
- lib/stack_one/models/shared/timeoff_value.rb
|
343
|
+
- lib/stack_one/models/shared/timeoffpaginated.rb
|
344
|
+
- lib/stack_one/models/shared/timeoffresult.rb
|
345
|
+
- lib/stack_one/models/shared/type.rb
|
346
|
+
- lib/stack_one/models/shared/value.rb
|
347
|
+
- lib/stack_one/models/shared/work_location.rb
|
348
|
+
- lib/stack_one/models/shared/workeligibility.rb
|
349
|
+
- lib/stack_one/models/shared/workeligibility_type.rb
|
350
|
+
- lib/stack_one/models/shared/workeligibility_value.rb
|
351
|
+
- lib/stack_one/proxy.rb
|
352
|
+
- lib/stack_one/sdkconfiguration.rb
|
353
|
+
- lib/stack_one/stackone.rb
|
354
|
+
- lib/stack_one/utils/metadata_fields.rb
|
355
|
+
- lib/stack_one/utils/utils.rb
|
223
356
|
- lib/stackone_client.rb
|
224
357
|
homepage: https://github.com/speakeasy-api/openapi-generation
|
225
358
|
licenses:
|
@@ -1,53 +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/hriscreateemployeerequestdto'
|
9
|
-
require_relative '../shared/createemployeeresult'
|
10
|
-
|
11
|
-
module StackOne
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class HrisCreateEmployeeRequest < ::StackOne::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
|
18
|
-
field :hris_create_employee_request_dto, Shared::HrisCreateEmployeeRequestDto, { 'request': { 'media_type': 'application/json' } }
|
19
|
-
# The account identifier
|
20
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
21
|
-
|
22
|
-
|
23
|
-
sig { params(hris_create_employee_request_dto: Shared::HrisCreateEmployeeRequestDto, x_account_id: String).void }
|
24
|
-
def initialize(hris_create_employee_request_dto: nil, x_account_id: nil)
|
25
|
-
@hris_create_employee_request_dto = hris_create_employee_request_dto
|
26
|
-
@x_account_id = x_account_id
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
class HrisCreateEmployeeResponse < ::StackOne::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# HTTP response content type for this operation
|
35
|
-
field :content_type, String
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
37
|
-
field :raw_response, Faraday::Response
|
38
|
-
# HTTP response status code for this operation
|
39
|
-
field :status_code, Integer
|
40
|
-
# The employee was created successfully.
|
41
|
-
field :create_employee_result, T.nilable(Shared::CreateEmployeeResult)
|
42
|
-
|
43
|
-
|
44
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, create_employee_result: T.nilable(Shared::CreateEmployeeResult)).void }
|
45
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_employee_result: nil)
|
46
|
-
@content_type = content_type
|
47
|
-
@raw_response = raw_response
|
48
|
-
@status_code = status_code
|
49
|
-
@create_employee_result = create_employee_result
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
@@ -1,56 +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/hriscreatetimeoffrequestdto'
|
9
|
-
require_relative '../shared/createtimeoffresult'
|
10
|
-
|
11
|
-
module StackOne
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class HrisCreateEmployeeTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
|
18
|
-
field :hris_create_time_off_request_dto, Shared::HrisCreateTimeOffRequestDto, { 'request': { 'media_type': 'application/json' } }
|
19
|
-
|
20
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
21
|
-
# The account identifier
|
22
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(hris_create_time_off_request_dto: Shared::HrisCreateTimeOffRequestDto, id: String, x_account_id: String).void }
|
26
|
-
def initialize(hris_create_time_off_request_dto: nil, id: nil, x_account_id: nil)
|
27
|
-
@hris_create_time_off_request_dto = hris_create_time_off_request_dto
|
28
|
-
@id = id
|
29
|
-
@x_account_id = x_account_id
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
|
34
|
-
class HrisCreateEmployeeTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# HTTP response content type for this operation
|
38
|
-
field :content_type, String
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
40
|
-
field :raw_response, Faraday::Response
|
41
|
-
# HTTP response status code for this operation
|
42
|
-
field :status_code, Integer
|
43
|
-
# Record created successfully.
|
44
|
-
field :create_time_off_result, T.nilable(Shared::CreateTimeOffResult)
|
45
|
-
|
46
|
-
|
47
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, create_time_off_result: T.nilable(Shared::CreateTimeOffResult)).void }
|
48
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_time_off_result: nil)
|
49
|
-
@content_type = content_type
|
50
|
-
@raw_response = raw_response
|
51
|
-
@status_code = status_code
|
52
|
-
@create_time_off_result = create_time_off_result
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,53 +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/hriscreatetimeoffrequestdto'
|
9
|
-
require_relative '../shared/createtimeoffresult'
|
10
|
-
|
11
|
-
module StackOne
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class HrisCreateTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
|
18
|
-
field :hris_create_time_off_request_dto, Shared::HrisCreateTimeOffRequestDto, { 'request': { 'media_type': 'application/json' } }
|
19
|
-
# The account identifier
|
20
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
21
|
-
|
22
|
-
|
23
|
-
sig { params(hris_create_time_off_request_dto: Shared::HrisCreateTimeOffRequestDto, x_account_id: String).void }
|
24
|
-
def initialize(hris_create_time_off_request_dto: nil, x_account_id: nil)
|
25
|
-
@hris_create_time_off_request_dto = hris_create_time_off_request_dto
|
26
|
-
@x_account_id = x_account_id
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
class HrisCreateTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# HTTP response content type for this operation
|
35
|
-
field :content_type, String
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
37
|
-
field :raw_response, Faraday::Response
|
38
|
-
# HTTP response status code for this operation
|
39
|
-
field :status_code, Integer
|
40
|
-
# The time off request was created successfully.
|
41
|
-
field :create_time_off_result, T.nilable(Shared::CreateTimeOffResult)
|
42
|
-
|
43
|
-
|
44
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, create_time_off_result: T.nilable(Shared::CreateTimeOffResult)).void }
|
45
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_time_off_result: nil)
|
46
|
-
@content_type = content_type
|
47
|
-
@raw_response = raw_response
|
48
|
-
@status_code = status_code
|
49
|
-
@create_time_off_result = create_time_off_result
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|