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,266 @@
|
|
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
|
+
# EmployeeSchemasHomeLocationValue - The ISO3166-1 Alpha2 Code of the Country
|
11
|
+
class EmployeeSchemasHomeLocationValue < T::Enum
|
12
|
+
enums do
|
13
|
+
AF = new('AF')
|
14
|
+
AL = new('AL')
|
15
|
+
DZ = new('DZ')
|
16
|
+
AS = new('AS')
|
17
|
+
AD = new('AD')
|
18
|
+
AO = new('AO')
|
19
|
+
AI = new('AI')
|
20
|
+
AQ = new('AQ')
|
21
|
+
AG = new('AG')
|
22
|
+
AR = new('AR')
|
23
|
+
AM = new('AM')
|
24
|
+
AW = new('AW')
|
25
|
+
AU = new('AU')
|
26
|
+
AT = new('AT')
|
27
|
+
AZ = new('AZ')
|
28
|
+
BS = new('BS')
|
29
|
+
BH = new('BH')
|
30
|
+
BD = new('BD')
|
31
|
+
BB = new('BB')
|
32
|
+
BY = new('BY')
|
33
|
+
BE = new('BE')
|
34
|
+
BZ = new('BZ')
|
35
|
+
BJ = new('BJ')
|
36
|
+
BM = new('BM')
|
37
|
+
BT = new('BT')
|
38
|
+
BO = new('BO')
|
39
|
+
BQ = new('BQ')
|
40
|
+
BA = new('BA')
|
41
|
+
BW = new('BW')
|
42
|
+
BV = new('BV')
|
43
|
+
BR = new('BR')
|
44
|
+
IO = new('IO')
|
45
|
+
BN = new('BN')
|
46
|
+
BG = new('BG')
|
47
|
+
BF = new('BF')
|
48
|
+
BI = new('BI')
|
49
|
+
KH = new('KH')
|
50
|
+
CM = new('CM')
|
51
|
+
CA = new('CA')
|
52
|
+
CV = new('CV')
|
53
|
+
KY = new('KY')
|
54
|
+
CF = new('CF')
|
55
|
+
TD = new('TD')
|
56
|
+
CL = new('CL')
|
57
|
+
CN = new('CN')
|
58
|
+
CX = new('CX')
|
59
|
+
CC = new('CC')
|
60
|
+
CO = new('CO')
|
61
|
+
KM = new('KM')
|
62
|
+
CG = new('CG')
|
63
|
+
CD = new('CD')
|
64
|
+
CK = new('CK')
|
65
|
+
CR = new('CR')
|
66
|
+
HR = new('HR')
|
67
|
+
CU = new('CU')
|
68
|
+
CW = new('CW')
|
69
|
+
CY = new('CY')
|
70
|
+
CZ = new('CZ')
|
71
|
+
CI = new('CI')
|
72
|
+
DK = new('DK')
|
73
|
+
DJ = new('DJ')
|
74
|
+
DM = new('DM')
|
75
|
+
DO = new('DO')
|
76
|
+
EC = new('EC')
|
77
|
+
EG = new('EG')
|
78
|
+
SV = new('SV')
|
79
|
+
GQ = new('GQ')
|
80
|
+
ER = new('ER')
|
81
|
+
EE = new('EE')
|
82
|
+
ET = new('ET')
|
83
|
+
FK = new('FK')
|
84
|
+
FO = new('FO')
|
85
|
+
FJ = new('FJ')
|
86
|
+
FI = new('FI')
|
87
|
+
FR = new('FR')
|
88
|
+
GF = new('GF')
|
89
|
+
PF = new('PF')
|
90
|
+
TF = new('TF')
|
91
|
+
GA = new('GA')
|
92
|
+
GM = new('GM')
|
93
|
+
GE = new('GE')
|
94
|
+
DE = new('DE')
|
95
|
+
GH = new('GH')
|
96
|
+
GI = new('GI')
|
97
|
+
GR = new('GR')
|
98
|
+
GL = new('GL')
|
99
|
+
GD = new('GD')
|
100
|
+
GP = new('GP')
|
101
|
+
GU = new('GU')
|
102
|
+
GT = new('GT')
|
103
|
+
GG = new('GG')
|
104
|
+
GN = new('GN')
|
105
|
+
GW = new('GW')
|
106
|
+
GY = new('GY')
|
107
|
+
HT = new('HT')
|
108
|
+
HM = new('HM')
|
109
|
+
VA = new('VA')
|
110
|
+
HN = new('HN')
|
111
|
+
HK = new('HK')
|
112
|
+
HU = new('HU')
|
113
|
+
IS = new('IS')
|
114
|
+
IN = new('IN')
|
115
|
+
ID = new('ID')
|
116
|
+
IR = new('IR')
|
117
|
+
IQ = new('IQ')
|
118
|
+
IE = new('IE')
|
119
|
+
IM = new('IM')
|
120
|
+
IL = new('IL')
|
121
|
+
IT = new('IT')
|
122
|
+
JM = new('JM')
|
123
|
+
JP = new('JP')
|
124
|
+
JE = new('JE')
|
125
|
+
JO = new('JO')
|
126
|
+
KZ = new('KZ')
|
127
|
+
KE = new('KE')
|
128
|
+
KI = new('KI')
|
129
|
+
KP = new('KP')
|
130
|
+
KR = new('KR')
|
131
|
+
KW = new('KW')
|
132
|
+
KG = new('KG')
|
133
|
+
LA = new('LA')
|
134
|
+
LV = new('LV')
|
135
|
+
LB = new('LB')
|
136
|
+
LS = new('LS')
|
137
|
+
LR = new('LR')
|
138
|
+
LY = new('LY')
|
139
|
+
LI = new('LI')
|
140
|
+
LT = new('LT')
|
141
|
+
LU = new('LU')
|
142
|
+
MO = new('MO')
|
143
|
+
MK = new('MK')
|
144
|
+
MG = new('MG')
|
145
|
+
MW = new('MW')
|
146
|
+
MY = new('MY')
|
147
|
+
MV = new('MV')
|
148
|
+
ML = new('ML')
|
149
|
+
MT = new('MT')
|
150
|
+
MH = new('MH')
|
151
|
+
MQ = new('MQ')
|
152
|
+
MR = new('MR')
|
153
|
+
MU = new('MU')
|
154
|
+
YT = new('YT')
|
155
|
+
MX = new('MX')
|
156
|
+
FM = new('FM')
|
157
|
+
MD = new('MD')
|
158
|
+
MC = new('MC')
|
159
|
+
MN = new('MN')
|
160
|
+
ME = new('ME')
|
161
|
+
MS = new('MS')
|
162
|
+
MA = new('MA')
|
163
|
+
MZ = new('MZ')
|
164
|
+
MM = new('MM')
|
165
|
+
NA = new('NA')
|
166
|
+
NR = new('NR')
|
167
|
+
NP = new('NP')
|
168
|
+
NL = new('NL')
|
169
|
+
NC = new('NC')
|
170
|
+
NZ = new('NZ')
|
171
|
+
NI = new('NI')
|
172
|
+
NE = new('NE')
|
173
|
+
NG = new('NG')
|
174
|
+
NU = new('NU')
|
175
|
+
NF = new('NF')
|
176
|
+
MP = new('MP')
|
177
|
+
NO = new('NO')
|
178
|
+
OM = new('OM')
|
179
|
+
PK = new('PK')
|
180
|
+
PW = new('PW')
|
181
|
+
PS = new('PS')
|
182
|
+
PA = new('PA')
|
183
|
+
PG = new('PG')
|
184
|
+
PY = new('PY')
|
185
|
+
PE = new('PE')
|
186
|
+
PH = new('PH')
|
187
|
+
PN = new('PN')
|
188
|
+
PL = new('PL')
|
189
|
+
PT = new('PT')
|
190
|
+
PR = new('PR')
|
191
|
+
QA = new('QA')
|
192
|
+
RO = new('RO')
|
193
|
+
RU = new('RU')
|
194
|
+
RW = new('RW')
|
195
|
+
RE = new('RE')
|
196
|
+
BL = new('BL')
|
197
|
+
SH = new('SH')
|
198
|
+
KN = new('KN')
|
199
|
+
LC = new('LC')
|
200
|
+
MF = new('MF')
|
201
|
+
PM = new('PM')
|
202
|
+
VC = new('VC')
|
203
|
+
WS = new('WS')
|
204
|
+
SM = new('SM')
|
205
|
+
ST = new('ST')
|
206
|
+
SA = new('SA')
|
207
|
+
SN = new('SN')
|
208
|
+
RS = new('RS')
|
209
|
+
SC = new('SC')
|
210
|
+
SL = new('SL')
|
211
|
+
SG = new('SG')
|
212
|
+
SX = new('SX')
|
213
|
+
SK = new('SK')
|
214
|
+
SI = new('SI')
|
215
|
+
SB = new('SB')
|
216
|
+
SO = new('SO')
|
217
|
+
ZA = new('ZA')
|
218
|
+
GS = new('GS')
|
219
|
+
SS = new('SS')
|
220
|
+
ES = new('ES')
|
221
|
+
LK = new('LK')
|
222
|
+
SD = new('SD')
|
223
|
+
SR = new('SR')
|
224
|
+
SJ = new('SJ')
|
225
|
+
SZ = new('SZ')
|
226
|
+
SE = new('SE')
|
227
|
+
CH = new('CH')
|
228
|
+
SY = new('SY')
|
229
|
+
TW = new('TW')
|
230
|
+
TJ = new('TJ')
|
231
|
+
TZ = new('TZ')
|
232
|
+
TH = new('TH')
|
233
|
+
TL = new('TL')
|
234
|
+
TG = new('TG')
|
235
|
+
TK = new('TK')
|
236
|
+
TO = new('TO')
|
237
|
+
TT = new('TT')
|
238
|
+
TN = new('TN')
|
239
|
+
TR = new('TR')
|
240
|
+
TM = new('TM')
|
241
|
+
TC = new('TC')
|
242
|
+
TV = new('TV')
|
243
|
+
UG = new('UG')
|
244
|
+
UA = new('UA')
|
245
|
+
AE = new('AE')
|
246
|
+
GB = new('GB')
|
247
|
+
US = new('US')
|
248
|
+
UM = new('UM')
|
249
|
+
UY = new('UY')
|
250
|
+
UZ = new('UZ')
|
251
|
+
VU = new('VU')
|
252
|
+
VE = new('VE')
|
253
|
+
VN = new('VN')
|
254
|
+
VG = new('VG')
|
255
|
+
VI = new('VI')
|
256
|
+
WF = new('WF')
|
257
|
+
EH = new('EH')
|
258
|
+
YE = new('YE')
|
259
|
+
ZM = new('ZM')
|
260
|
+
ZW = new('ZW')
|
261
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
end
|
266
|
+
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 EmployeeSchemasLocationType < ::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::EmployeeSchemasHomeLocationLocationTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasHomeLocationLocationTypeValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasHomeLocationLocationTypeValue)).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
|
+
|
11
|
+
class EmployeeSchemasMaritalStatusValue < T::Enum
|
12
|
+
enums do
|
13
|
+
SINGLE = new('single')
|
14
|
+
MARRIED = new('married')
|
15
|
+
COMMON_LAW = new('common_law')
|
16
|
+
DIVORCED = new('divorced')
|
17
|
+
WIDOWED = new('widowed')
|
18
|
+
DOMESTIC_PARTNERSHIP = new('domestic_partnership')
|
19
|
+
SEPARATED = new('separated')
|
20
|
+
OTHER = new('other')
|
21
|
+
NOT_DISCLOSED = new('not_disclosed')
|
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 EmployeeSchemasValue < T::Enum
|
12
|
+
enums do
|
13
|
+
ACTIVE = new('active')
|
14
|
+
PENDING = new('pending')
|
15
|
+
TERMINATED = new('terminated')
|
16
|
+
LEAVE = new('leave')
|
17
|
+
INACTIVE = new('inactive')
|
18
|
+
UNKNOWN = new('unknown')
|
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 EmployeeSchemasWorkLocationLocationTypeValue < 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
|
@@ -0,0 +1,266 @@
|
|
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
|
+
# EmployeeSchemasWorkLocationValue - The ISO3166-1 Alpha2 Code of the Country
|
11
|
+
class EmployeeSchemasWorkLocationValue < T::Enum
|
12
|
+
enums do
|
13
|
+
AF = new('AF')
|
14
|
+
AL = new('AL')
|
15
|
+
DZ = new('DZ')
|
16
|
+
AS = new('AS')
|
17
|
+
AD = new('AD')
|
18
|
+
AO = new('AO')
|
19
|
+
AI = new('AI')
|
20
|
+
AQ = new('AQ')
|
21
|
+
AG = new('AG')
|
22
|
+
AR = new('AR')
|
23
|
+
AM = new('AM')
|
24
|
+
AW = new('AW')
|
25
|
+
AU = new('AU')
|
26
|
+
AT = new('AT')
|
27
|
+
AZ = new('AZ')
|
28
|
+
BS = new('BS')
|
29
|
+
BH = new('BH')
|
30
|
+
BD = new('BD')
|
31
|
+
BB = new('BB')
|
32
|
+
BY = new('BY')
|
33
|
+
BE = new('BE')
|
34
|
+
BZ = new('BZ')
|
35
|
+
BJ = new('BJ')
|
36
|
+
BM = new('BM')
|
37
|
+
BT = new('BT')
|
38
|
+
BO = new('BO')
|
39
|
+
BQ = new('BQ')
|
40
|
+
BA = new('BA')
|
41
|
+
BW = new('BW')
|
42
|
+
BV = new('BV')
|
43
|
+
BR = new('BR')
|
44
|
+
IO = new('IO')
|
45
|
+
BN = new('BN')
|
46
|
+
BG = new('BG')
|
47
|
+
BF = new('BF')
|
48
|
+
BI = new('BI')
|
49
|
+
KH = new('KH')
|
50
|
+
CM = new('CM')
|
51
|
+
CA = new('CA')
|
52
|
+
CV = new('CV')
|
53
|
+
KY = new('KY')
|
54
|
+
CF = new('CF')
|
55
|
+
TD = new('TD')
|
56
|
+
CL = new('CL')
|
57
|
+
CN = new('CN')
|
58
|
+
CX = new('CX')
|
59
|
+
CC = new('CC')
|
60
|
+
CO = new('CO')
|
61
|
+
KM = new('KM')
|
62
|
+
CG = new('CG')
|
63
|
+
CD = new('CD')
|
64
|
+
CK = new('CK')
|
65
|
+
CR = new('CR')
|
66
|
+
HR = new('HR')
|
67
|
+
CU = new('CU')
|
68
|
+
CW = new('CW')
|
69
|
+
CY = new('CY')
|
70
|
+
CZ = new('CZ')
|
71
|
+
CI = new('CI')
|
72
|
+
DK = new('DK')
|
73
|
+
DJ = new('DJ')
|
74
|
+
DM = new('DM')
|
75
|
+
DO = new('DO')
|
76
|
+
EC = new('EC')
|
77
|
+
EG = new('EG')
|
78
|
+
SV = new('SV')
|
79
|
+
GQ = new('GQ')
|
80
|
+
ER = new('ER')
|
81
|
+
EE = new('EE')
|
82
|
+
ET = new('ET')
|
83
|
+
FK = new('FK')
|
84
|
+
FO = new('FO')
|
85
|
+
FJ = new('FJ')
|
86
|
+
FI = new('FI')
|
87
|
+
FR = new('FR')
|
88
|
+
GF = new('GF')
|
89
|
+
PF = new('PF')
|
90
|
+
TF = new('TF')
|
91
|
+
GA = new('GA')
|
92
|
+
GM = new('GM')
|
93
|
+
GE = new('GE')
|
94
|
+
DE = new('DE')
|
95
|
+
GH = new('GH')
|
96
|
+
GI = new('GI')
|
97
|
+
GR = new('GR')
|
98
|
+
GL = new('GL')
|
99
|
+
GD = new('GD')
|
100
|
+
GP = new('GP')
|
101
|
+
GU = new('GU')
|
102
|
+
GT = new('GT')
|
103
|
+
GG = new('GG')
|
104
|
+
GN = new('GN')
|
105
|
+
GW = new('GW')
|
106
|
+
GY = new('GY')
|
107
|
+
HT = new('HT')
|
108
|
+
HM = new('HM')
|
109
|
+
VA = new('VA')
|
110
|
+
HN = new('HN')
|
111
|
+
HK = new('HK')
|
112
|
+
HU = new('HU')
|
113
|
+
IS = new('IS')
|
114
|
+
IN = new('IN')
|
115
|
+
ID = new('ID')
|
116
|
+
IR = new('IR')
|
117
|
+
IQ = new('IQ')
|
118
|
+
IE = new('IE')
|
119
|
+
IM = new('IM')
|
120
|
+
IL = new('IL')
|
121
|
+
IT = new('IT')
|
122
|
+
JM = new('JM')
|
123
|
+
JP = new('JP')
|
124
|
+
JE = new('JE')
|
125
|
+
JO = new('JO')
|
126
|
+
KZ = new('KZ')
|
127
|
+
KE = new('KE')
|
128
|
+
KI = new('KI')
|
129
|
+
KP = new('KP')
|
130
|
+
KR = new('KR')
|
131
|
+
KW = new('KW')
|
132
|
+
KG = new('KG')
|
133
|
+
LA = new('LA')
|
134
|
+
LV = new('LV')
|
135
|
+
LB = new('LB')
|
136
|
+
LS = new('LS')
|
137
|
+
LR = new('LR')
|
138
|
+
LY = new('LY')
|
139
|
+
LI = new('LI')
|
140
|
+
LT = new('LT')
|
141
|
+
LU = new('LU')
|
142
|
+
MO = new('MO')
|
143
|
+
MK = new('MK')
|
144
|
+
MG = new('MG')
|
145
|
+
MW = new('MW')
|
146
|
+
MY = new('MY')
|
147
|
+
MV = new('MV')
|
148
|
+
ML = new('ML')
|
149
|
+
MT = new('MT')
|
150
|
+
MH = new('MH')
|
151
|
+
MQ = new('MQ')
|
152
|
+
MR = new('MR')
|
153
|
+
MU = new('MU')
|
154
|
+
YT = new('YT')
|
155
|
+
MX = new('MX')
|
156
|
+
FM = new('FM')
|
157
|
+
MD = new('MD')
|
158
|
+
MC = new('MC')
|
159
|
+
MN = new('MN')
|
160
|
+
ME = new('ME')
|
161
|
+
MS = new('MS')
|
162
|
+
MA = new('MA')
|
163
|
+
MZ = new('MZ')
|
164
|
+
MM = new('MM')
|
165
|
+
NA = new('NA')
|
166
|
+
NR = new('NR')
|
167
|
+
NP = new('NP')
|
168
|
+
NL = new('NL')
|
169
|
+
NC = new('NC')
|
170
|
+
NZ = new('NZ')
|
171
|
+
NI = new('NI')
|
172
|
+
NE = new('NE')
|
173
|
+
NG = new('NG')
|
174
|
+
NU = new('NU')
|
175
|
+
NF = new('NF')
|
176
|
+
MP = new('MP')
|
177
|
+
NO = new('NO')
|
178
|
+
OM = new('OM')
|
179
|
+
PK = new('PK')
|
180
|
+
PW = new('PW')
|
181
|
+
PS = new('PS')
|
182
|
+
PA = new('PA')
|
183
|
+
PG = new('PG')
|
184
|
+
PY = new('PY')
|
185
|
+
PE = new('PE')
|
186
|
+
PH = new('PH')
|
187
|
+
PN = new('PN')
|
188
|
+
PL = new('PL')
|
189
|
+
PT = new('PT')
|
190
|
+
PR = new('PR')
|
191
|
+
QA = new('QA')
|
192
|
+
RO = new('RO')
|
193
|
+
RU = new('RU')
|
194
|
+
RW = new('RW')
|
195
|
+
RE = new('RE')
|
196
|
+
BL = new('BL')
|
197
|
+
SH = new('SH')
|
198
|
+
KN = new('KN')
|
199
|
+
LC = new('LC')
|
200
|
+
MF = new('MF')
|
201
|
+
PM = new('PM')
|
202
|
+
VC = new('VC')
|
203
|
+
WS = new('WS')
|
204
|
+
SM = new('SM')
|
205
|
+
ST = new('ST')
|
206
|
+
SA = new('SA')
|
207
|
+
SN = new('SN')
|
208
|
+
RS = new('RS')
|
209
|
+
SC = new('SC')
|
210
|
+
SL = new('SL')
|
211
|
+
SG = new('SG')
|
212
|
+
SX = new('SX')
|
213
|
+
SK = new('SK')
|
214
|
+
SI = new('SI')
|
215
|
+
SB = new('SB')
|
216
|
+
SO = new('SO')
|
217
|
+
ZA = new('ZA')
|
218
|
+
GS = new('GS')
|
219
|
+
SS = new('SS')
|
220
|
+
ES = new('ES')
|
221
|
+
LK = new('LK')
|
222
|
+
SD = new('SD')
|
223
|
+
SR = new('SR')
|
224
|
+
SJ = new('SJ')
|
225
|
+
SZ = new('SZ')
|
226
|
+
SE = new('SE')
|
227
|
+
CH = new('CH')
|
228
|
+
SY = new('SY')
|
229
|
+
TW = new('TW')
|
230
|
+
TJ = new('TJ')
|
231
|
+
TZ = new('TZ')
|
232
|
+
TH = new('TH')
|
233
|
+
TL = new('TL')
|
234
|
+
TG = new('TG')
|
235
|
+
TK = new('TK')
|
236
|
+
TO = new('TO')
|
237
|
+
TT = new('TT')
|
238
|
+
TN = new('TN')
|
239
|
+
TR = new('TR')
|
240
|
+
TM = new('TM')
|
241
|
+
TC = new('TC')
|
242
|
+
TV = new('TV')
|
243
|
+
UG = new('UG')
|
244
|
+
UA = new('UA')
|
245
|
+
AE = new('AE')
|
246
|
+
GB = new('GB')
|
247
|
+
US = new('US')
|
248
|
+
UM = new('UM')
|
249
|
+
UY = new('UY')
|
250
|
+
UZ = new('UZ')
|
251
|
+
VU = new('VU')
|
252
|
+
VE = new('VE')
|
253
|
+
VN = new('VN')
|
254
|
+
VG = new('VG')
|
255
|
+
VI = new('VI')
|
256
|
+
WF = new('WF')
|
257
|
+
EH = new('EH')
|
258
|
+
YE = new('YE')
|
259
|
+
ZM = new('ZM')
|
260
|
+
ZW = new('ZW')
|
261
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
end
|
266
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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 EmployeeValue < T::Enum
|
12
|
+
enums do
|
13
|
+
FULL_TIME = new('full_time')
|
14
|
+
SHIFTS = new('shifts')
|
15
|
+
PART_TIME = new('part_time')
|
16
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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 EmployeeCustomFields < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The description of the custom field.
|
15
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
16
|
+
# The unique identifier for the custom field, which defaults to the name property if the ID is not accessible.
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# The name of the custom field.
|
19
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# An array of possible options for the custom field.
|
21
|
+
field :options, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
22
|
+
# The type of the custom field.
|
23
|
+
field :type, T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
24
|
+
# The value associated with the custom field.
|
25
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
26
|
+
# The unique identifier for the value of the custom field.
|
27
|
+
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), value_id: T.nilable(::String)).void }
|
31
|
+
def initialize(description: nil, id: nil, name: nil, options: nil, type: nil, value: nil, value_id: nil)
|
32
|
+
@description = description
|
33
|
+
@id = id
|
34
|
+
@name = name
|
35
|
+
@options = options
|
36
|
+
@type = type
|
37
|
+
@value = value
|
38
|
+
@value_id = value_id
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|