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
@@ -0,0 +1,28 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class DocumentApiModelValue < T::Enum
|
12
|
+
enums do
|
13
|
+
VISA = new('visa')
|
14
|
+
PASSPORT = new('passport')
|
15
|
+
DRIVER_LICENSE = new('driver_license')
|
16
|
+
RESUME = new('resume')
|
17
|
+
POLICY = new('policy')
|
18
|
+
OFFER_LETTER = new('offer_letter')
|
19
|
+
POLICY_AGREEMENT = new('policy_agreement')
|
20
|
+
HOME_ADDRESS = new('home_address')
|
21
|
+
NATIONAL_ID = new('national_id')
|
22
|
+
OTHER = new('other')
|
23
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class DocumentResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::DocumentApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(data: ::StackOne::Shared::DocumentApiModel, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
|
+
def initialize(data: nil, raw: nil)
|
22
|
+
@data = data
|
23
|
+
@raw = raw
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class DocumentsPaginated < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, T::Array[::StackOne::Shared::DocumentApiModel], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
18
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
|
+
field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
20
|
+
|
21
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(data: T::Array[::StackOne::Shared::DocumentApiModel], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
25
|
+
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
26
|
+
@data = data
|
27
|
+
@next_ = next_
|
28
|
+
@next_page = next_page
|
29
|
+
@raw = raw
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Employee < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The employee avatar
|
15
|
+
field :avatar, T.nilable(::StackOne::Shared::Avatar), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('avatar') } }
|
16
|
+
# The employee avatar Url
|
17
|
+
field :avatar_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('avatar_url') } }
|
18
|
+
# The employee birthday
|
19
|
+
field :birthday, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('birthday'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
|
+
# The citizenships of the Employee
|
21
|
+
field :citizenships, T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('citizenships') } }
|
22
|
+
# The employee company name
|
23
|
+
field :company_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_name') } }
|
24
|
+
# The employee cost centers
|
25
|
+
field :cost_centers, T.nilable(T::Array[::StackOne::Shared::CostCenters]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cost_centers') } }
|
26
|
+
# The created_at date
|
27
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
|
+
# The employee custom fields
|
29
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
30
|
+
# The employee date_of_birth
|
31
|
+
field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
|
+
# The employee department
|
33
|
+
field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
|
34
|
+
# The employee display name
|
35
|
+
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
|
36
|
+
# The employment work schedule type (e.g., full-time, part-time)
|
37
|
+
field :employment_contract_type, T.nilable(::StackOne::Shared::EmploymentContractType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_contract_type') } }
|
38
|
+
# The employee employment status
|
39
|
+
field :employment_status, T.nilable(::StackOne::Shared::EmploymentStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_status') } }
|
40
|
+
# The employee employment type
|
41
|
+
field :employment_type, T.nilable(::StackOne::Shared::EmploymentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_type') } }
|
42
|
+
# The employee employments
|
43
|
+
field :employments, T.nilable(T::Array[::StackOne::Shared::Employment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employments') } }
|
44
|
+
# The employee ethnicity
|
45
|
+
field :ethnicity, T.nilable(::StackOne::Shared::Ethnicity), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('ethnicity') } }
|
46
|
+
# The employee first name
|
47
|
+
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
48
|
+
# The employee gender
|
49
|
+
field :gender, T.nilable(::StackOne::Shared::Gender), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('gender') } }
|
50
|
+
# The employee hire date
|
51
|
+
field :hire_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hire_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
52
|
+
# The employee home location
|
53
|
+
field :home_location, T.nilable(::StackOne::Shared::HomeLocation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('home_location') } }
|
54
|
+
# The employee ID
|
55
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
56
|
+
# The employee job description
|
57
|
+
field :job_description, T.nilable(::StackOne::Shared::JobDescription), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_description') } }
|
58
|
+
# The employee job title
|
59
|
+
field :job_title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
|
60
|
+
# The employee last name
|
61
|
+
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
62
|
+
# The employee manager ID
|
63
|
+
field :manager_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('manager_id') } }
|
64
|
+
# The employee marital status
|
65
|
+
field :marital_status, T.nilable(::StackOne::Shared::MaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } }
|
66
|
+
# The employee name
|
67
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
68
|
+
# The employee personal email
|
69
|
+
field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
|
70
|
+
# The employee personal phone number
|
71
|
+
field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
|
72
|
+
# The employee start date
|
73
|
+
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
74
|
+
# The employee tenure
|
75
|
+
field :tenure, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } }
|
76
|
+
# The employee termination date
|
77
|
+
field :termination_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
78
|
+
# The updated_at date
|
79
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
80
|
+
# The employee work anniversary
|
81
|
+
field :work_anniversary, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_anniversary'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
82
|
+
# The employee work eligibility
|
83
|
+
field :work_eligibility, T.nilable(T::Array[::StackOne::Shared::WorkEligibility]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_eligibility') } }
|
84
|
+
# The employee work email
|
85
|
+
field :work_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_email') } }
|
86
|
+
# The employee work location
|
87
|
+
field :work_location, T.nilable(::StackOne::Shared::WorkLocation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_location') } }
|
88
|
+
# The employee work phone number
|
89
|
+
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
90
|
+
|
91
|
+
|
92
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_eligibility: T.nilable(T::Array[::StackOne::Shared::WorkEligibility]), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
93
|
+
def initialize(avatar: nil, avatar_url: nil, birthday: nil, citizenships: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_eligibility: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
94
|
+
@avatar = avatar
|
95
|
+
@avatar_url = avatar_url
|
96
|
+
@birthday = birthday
|
97
|
+
@citizenships = citizenships
|
98
|
+
@company_name = company_name
|
99
|
+
@cost_centers = cost_centers
|
100
|
+
@created_at = created_at
|
101
|
+
@custom_fields = custom_fields
|
102
|
+
@date_of_birth = date_of_birth
|
103
|
+
@department = department
|
104
|
+
@display_name = display_name
|
105
|
+
@employment_contract_type = employment_contract_type
|
106
|
+
@employment_status = employment_status
|
107
|
+
@employment_type = employment_type
|
108
|
+
@employments = employments
|
109
|
+
@ethnicity = ethnicity
|
110
|
+
@first_name = first_name
|
111
|
+
@gender = gender
|
112
|
+
@hire_date = hire_date
|
113
|
+
@home_location = home_location
|
114
|
+
@id = id
|
115
|
+
@job_description = job_description
|
116
|
+
@job_title = job_title
|
117
|
+
@last_name = last_name
|
118
|
+
@manager_id = manager_id
|
119
|
+
@marital_status = marital_status
|
120
|
+
@name = name
|
121
|
+
@personal_email = personal_email
|
122
|
+
@personal_phone_number = personal_phone_number
|
123
|
+
@start_date = start_date
|
124
|
+
@tenure = tenure
|
125
|
+
@termination_date = termination_date
|
126
|
+
@updated_at = updated_at
|
127
|
+
@work_anniversary = work_anniversary
|
128
|
+
@work_eligibility = work_eligibility
|
129
|
+
@work_email = work_email
|
130
|
+
@work_location = work_location
|
131
|
+
@work_phone_number = work_phone_number
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The country code
|
11
|
+
class EmployeeCountry < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The ISO3166-1 Alpha2 Code of the Country
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeSchemasWorkLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasWorkLocationValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasWorkLocationValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The location type
|
11
|
+
class EmployeeLocationType < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeSchemasWorkLocationLocationTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasWorkLocationLocationTypeValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasWorkLocationLocationTypeValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The country code
|
11
|
+
class EmployeeSchemasCountry < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The ISO3166-1 Alpha2 Code of the Country
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeSchemasHomeLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasHomeLocationValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasHomeLocationValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class EmployeeSchemasEmploymentTypeValue < T::Enum
|
12
|
+
enums do
|
13
|
+
FULL_TIME = new('full_time')
|
14
|
+
PART_TIME = new('part_time')
|
15
|
+
CONTRACTOR = new('contractor')
|
16
|
+
INTERN = new('intern')
|
17
|
+
PERMANENT = new('permanent')
|
18
|
+
APPRENTICE = new('apprentice')
|
19
|
+
FREELANCE = new('freelance')
|
20
|
+
TERMINATED = new('terminated')
|
21
|
+
TEMPORARY = new('temporary')
|
22
|
+
SEASONAL = new('seasonal')
|
23
|
+
VOLUNTEER = new('volunteer')
|
24
|
+
PROBATION = new('probation')
|
25
|
+
INTERNAL = new('internal')
|
26
|
+
EXTERNAL = new('external')
|
27
|
+
EMPLOYER_OF_RECORD = new('employer_of_record')
|
28
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class EmployeeSchemasEthnicityValue < T::Enum
|
12
|
+
enums do
|
13
|
+
WHITE = new('white')
|
14
|
+
BLACK_OR_AFRICAN_AMERICAN = new('black_or_african_american')
|
15
|
+
ASIAN = new('asian')
|
16
|
+
HISPANIC_OR_LATINO = new('hispanic_or_latino')
|
17
|
+
AMERICAN_INDIAN_OR_ALASKA_NATIVE = new('american_indian_or_alaska_native')
|
18
|
+
NATIVE_HAWAIIAN_OR_PACIFIC_ISLANDER = new('native_hawaiian_or_pacific_islander')
|
19
|
+
TWO_OR_MORE_RACES = new('two_or_more_races')
|
20
|
+
NOT_DISCLOSED = new('not_disclosed')
|
21
|
+
OTHER = new('other')
|
22
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class EmployeeSchemasGenderValue < T::Enum
|
12
|
+
enums do
|
13
|
+
MALE = new('male')
|
14
|
+
FEMALE = new('female')
|
15
|
+
NON_BINARY = new('non_binary')
|
16
|
+
OTHER = new('other')
|
17
|
+
NOT_DISCLOSED = new('not_disclosed')
|
18
|
+
DIVERSE = new('diverse')
|
19
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class EmployeeSchemasHomeLocationLocationTypeValue < T::Enum
|
12
|
+
enums do
|
13
|
+
HOME = new('home')
|
14
|
+
WORK = new('work')
|
15
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|