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,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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneGetAccountMetaInfoRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(id: ::String).void }
|
19
|
+
def initialize(id: nil)
|
20
|
+
@id = id
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -3,41 +3,25 @@
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/linkedaccountmeta'
|
9
6
|
|
10
7
|
module StackOne
|
11
8
|
module Operations
|
12
|
-
|
13
|
-
class StackoneGetAccountMetaInfoRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(id: String).void }
|
21
|
-
def initialize(id: nil)
|
22
|
-
@id = id
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
9
|
+
|
26
10
|
|
27
11
|
class StackoneGetAccountMetaInfoResponse < ::StackOne::Utils::FieldAugmented
|
28
12
|
extend T::Sig
|
29
13
|
|
30
14
|
# HTTP response content type for this operation
|
31
|
-
field :content_type, String
|
15
|
+
field :content_type, ::String
|
32
16
|
# Raw HTTP response; suitable for custom response parsing
|
33
|
-
field :raw_response, Faraday::Response
|
17
|
+
field :raw_response, ::Faraday::Response
|
34
18
|
# HTTP response status code for this operation
|
35
|
-
field :status_code, Integer
|
19
|
+
field :status_code, ::Integer
|
36
20
|
# The meta information of the account was retrieved
|
37
|
-
field :linked_account_meta, T.nilable(Shared::LinkedAccountMeta)
|
21
|
+
field :linked_account_meta, T.nilable(::StackOne::Shared::LinkedAccountMeta)
|
38
22
|
|
39
23
|
|
40
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, linked_account_meta: T.nilable(Shared::LinkedAccountMeta)).void }
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, linked_account_meta: T.nilable(::StackOne::Shared::LinkedAccountMeta)).void }
|
41
25
|
def initialize(content_type: nil, raw_response: nil, status_code: nil, linked_account_meta: nil)
|
42
26
|
@content_type = content_type
|
43
27
|
@raw_response = raw_response
|
@@ -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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneGetAccountRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(id: ::String).void }
|
19
|
+
def initialize(id: nil)
|
20
|
+
@id = id
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -3,41 +3,25 @@
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/linkedaccount'
|
9
6
|
|
10
7
|
module StackOne
|
11
8
|
module Operations
|
12
|
-
|
13
|
-
class StackoneGetAccountRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(id: String).void }
|
21
|
-
def initialize(id: nil)
|
22
|
-
@id = id
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
9
|
+
|
26
10
|
|
27
11
|
class StackoneGetAccountResponse < ::StackOne::Utils::FieldAugmented
|
28
12
|
extend T::Sig
|
29
13
|
|
30
14
|
# HTTP response content type for this operation
|
31
|
-
field :content_type, String
|
15
|
+
field :content_type, ::String
|
32
16
|
# Raw HTTP response; suitable for custom response parsing
|
33
|
-
field :raw_response, Faraday::Response
|
17
|
+
field :raw_response, ::Faraday::Response
|
34
18
|
# HTTP response status code for this operation
|
35
|
-
field :status_code, Integer
|
19
|
+
field :status_code, ::Integer
|
36
20
|
# The account with the given identifier was retrieved.
|
37
|
-
field :linked_account, T.nilable(Shared::LinkedAccount)
|
21
|
+
field :linked_account, T.nilable(::StackOne::Shared::LinkedAccount)
|
38
22
|
|
39
23
|
|
40
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, linked_account: T.nilable(Shared::LinkedAccount)).void }
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, linked_account: T.nilable(::StackOne::Shared::LinkedAccount)).void }
|
41
25
|
def initialize(content_type: nil, raw_response: nil, status_code: nil, linked_account: nil)
|
42
26
|
@content_type = content_type
|
43
27
|
@raw_response = raw_response
|
@@ -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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneGetConnectorMetaRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :provider, ::String, { 'path_param': { 'field_name': 'provider', 'style': 'simple', 'explode': false } }
|
16
|
+
# The comma separated list of data that will be included in the response
|
17
|
+
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(provider: ::String, include: T.nilable(::String)).void }
|
21
|
+
def initialize(provider: nil, include: nil)
|
22
|
+
@provider = provider
|
23
|
+
@include = include
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneGetConnectorMetaResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The connector meta information was retrieved
|
21
|
+
field :connectors_meta, T.nilable(::StackOne::Shared::ConnectorsMeta)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, connectors_meta: T.nilable(::StackOne::Shared::ConnectorsMeta)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, connectors_meta: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@connectors_meta = connectors_meta
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneListConnectorsMetaRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The comma separated list of data that will be included in the response
|
15
|
+
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(include: T.nilable(::String)).void }
|
19
|
+
def initialize(include: nil)
|
20
|
+
@include = include
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneListConnectorsMetaResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The list of connectors meta information was retrieved.
|
21
|
+
field :connectors_metas, T.nilable(T::Array[::StackOne::Shared::ConnectorsMeta])
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, connectors_metas: T.nilable(T::Array[::StackOne::Shared::ConnectorsMeta])).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, connectors_metas: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@connectors_metas = connectors_metas
|
30
|
+
end
|
31
|
+
end
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneListLinkedAccountsRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The origin owner identifier of the results to fetch
|
15
|
+
field :origin_owner_id, T.nilable(::String), { 'query_param': { 'field_name': 'origin_owner_id', 'style': 'form', 'explode': true } }
|
16
|
+
# The provider of the results to fetch
|
17
|
+
field :provider, T.nilable(::String), { 'query_param': { 'field_name': 'provider', 'style': 'form', 'explode': true } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(origin_owner_id: T.nilable(::String), provider: T.nilable(::String)).void }
|
21
|
+
def initialize(origin_owner_id: nil, provider: nil)
|
22
|
+
@origin_owner_id = origin_owner_id
|
23
|
+
@provider = provider
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneListLinkedAccountsResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The list of accounts was retrieved.
|
21
|
+
field :linked_accounts, T.nilable(T::Array[::StackOne::Shared::LinkedAccount])
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, linked_accounts: T.nilable(T::Array[::StackOne::Shared::LinkedAccount])).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, linked_accounts: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@linked_accounts = linked_accounts
|
30
|
+
end
|
31
|
+
end
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneProxyRequestRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The request body
|
15
|
+
field :proxy_request_body, ::StackOne::Shared::ProxyRequestBody, { 'request': { 'media_type': 'application/json' } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(proxy_request_body: ::StackOne::Shared::ProxyRequestBody, x_account_id: ::String).void }
|
21
|
+
def initialize(proxy_request_body: nil, x_account_id: nil)
|
22
|
+
@proxy_request_body = proxy_request_body
|
23
|
+
@x_account_id = x_account_id
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneProxyRequestResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer).void }
|
23
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil)
|
24
|
+
@content_type = content_type
|
25
|
+
@raw_response = raw_response
|
26
|
+
@status_code = status_code
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneUpdateAccountRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :patch_account_dto, ::StackOne::Shared::PatchAccountDto, { 'request': { 'media_type': 'application/json' } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(id: ::String, patch_account_dto: ::StackOne::Shared::PatchAccountDto).void }
|
21
|
+
def initialize(id: nil, patch_account_dto: nil)
|
22
|
+
@id = id
|
23
|
+
@patch_account_dto = patch_account_dto
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class StackoneUpdateAccountResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The account with the given identifier was updated.
|
21
|
+
field :linked_account, T.nilable(::StackOne::Shared::LinkedAccount)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, linked_account: T.nilable(::StackOne::Shared::LinkedAccount)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, linked_account: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@linked_account = linked_account
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
module StackOne
|
7
|
+
module Operations
|
8
|
+
autoload :StackoneDeleteAccountRequest, 'stack_one/models/operations/stackone_delete_account_request.rb'
|
9
|
+
autoload :StackoneDeleteAccountResponse, 'stack_one/models/operations/stackone_delete_account_response.rb'
|
10
|
+
autoload :StackoneGetAccountRequest, 'stack_one/models/operations/stackone_get_account_request.rb'
|
11
|
+
autoload :StackoneGetAccountResponse, 'stack_one/models/operations/stackone_get_account_response.rb'
|
12
|
+
autoload :StackoneGetAccountMetaInfoRequest, 'stack_one/models/operations/stackone_get_account_meta_info_request.rb'
|
13
|
+
autoload :StackoneGetAccountMetaInfoResponse, 'stack_one/models/operations/stackone_get_account_meta_info_response.rb'
|
14
|
+
autoload :StackoneListLinkedAccountsRequest, 'stack_one/models/operations/stackone_list_linked_accounts_request.rb'
|
15
|
+
autoload :StackoneListLinkedAccountsResponse, 'stack_one/models/operations/stackone_list_linked_accounts_response.rb'
|
16
|
+
autoload :StackoneUpdateAccountRequest, 'stack_one/models/operations/stackone_update_account_request.rb'
|
17
|
+
autoload :StackoneUpdateAccountResponse, 'stack_one/models/operations/stackone_update_account_response.rb'
|
18
|
+
autoload :StackoneAuthenticateConnectSessionResponse, 'stack_one/models/operations/stackone_authenticate_connect_session_response.rb'
|
19
|
+
autoload :StackoneCreateConnectSessionResponse, 'stack_one/models/operations/stackone_create_connect_session_response.rb'
|
20
|
+
autoload :StackoneGetConnectorMetaRequest, 'stack_one/models/operations/stackone_get_connector_meta_request.rb'
|
21
|
+
autoload :StackoneGetConnectorMetaResponse, 'stack_one/models/operations/stackone_get_connector_meta_response.rb'
|
22
|
+
autoload :StackoneListConnectorsMetaRequest, 'stack_one/models/operations/stackone_list_connectors_meta_request.rb'
|
23
|
+
autoload :StackoneListConnectorsMetaResponse, 'stack_one/models/operations/stackone_list_connectors_meta_response.rb'
|
24
|
+
autoload :HrisCreateEmployeeRequest, 'stack_one/models/operations/hris_create_employee_request.rb'
|
25
|
+
autoload :HrisCreateEmployeeResponse, 'stack_one/models/operations/hris_create_employee_response.rb'
|
26
|
+
autoload :HrisCreateEmployeeTimeOffRequestRequest, 'stack_one/models/operations/hris_create_employee_time_off_request_request.rb'
|
27
|
+
autoload :HrisCreateEmployeeTimeOffRequestResponse, 'stack_one/models/operations/hris_create_employee_time_off_request_response.rb'
|
28
|
+
autoload :HrisCreateTimeOffRequestRequest, 'stack_one/models/operations/hris_create_time_off_request_request.rb'
|
29
|
+
autoload :HrisCreateTimeOffRequestResponse, 'stack_one/models/operations/hris_create_time_off_request_response.rb'
|
30
|
+
autoload :Proxy, 'stack_one/models/operations/proxy.rb'
|
31
|
+
autoload :HrisGetCompanyRequest, 'stack_one/models/operations/hris_get_company_request.rb'
|
32
|
+
autoload :HrisGetCompanyResponse, 'stack_one/models/operations/hris_get_company_response.rb'
|
33
|
+
autoload :QueryParamProxy, 'stack_one/models/operations/queryparam_proxy.rb'
|
34
|
+
autoload :HrisGetEmployeeRequest, 'stack_one/models/operations/hris_get_employee_request.rb'
|
35
|
+
autoload :HrisGetEmployeeResponse, 'stack_one/models/operations/hris_get_employee_response.rb'
|
36
|
+
autoload :HrisGetEmployeeDocumentQueryParamProxy, 'stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb'
|
37
|
+
autoload :HrisGetEmployeeDocumentRequest, 'stack_one/models/operations/hris_get_employee_document_request.rb'
|
38
|
+
autoload :HrisGetEmployeeDocumentResponse, 'stack_one/models/operations/hris_get_employee_document_response.rb'
|
39
|
+
autoload :HrisGetEmployeesTimeOffRequestQueryParamProxy, 'stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb'
|
40
|
+
autoload :HrisGetEmployeesTimeOffRequestRequest, 'stack_one/models/operations/hris_get_employees_time_off_request_request.rb'
|
41
|
+
autoload :HrisGetEmployeesTimeOffRequestResponse, 'stack_one/models/operations/hris_get_employees_time_off_request_response.rb'
|
42
|
+
autoload :HrisGetEmploymentQueryParamProxy, 'stack_one/models/operations/hris_get_employment_queryparam_proxy.rb'
|
43
|
+
autoload :HrisGetEmploymentRequest, 'stack_one/models/operations/hris_get_employment_request.rb'
|
44
|
+
autoload :HrisGetEmploymentResponse, 'stack_one/models/operations/hris_get_employment_response.rb'
|
45
|
+
autoload :HrisGetLocationQueryParamProxy, 'stack_one/models/operations/hris_get_location_queryparam_proxy.rb'
|
46
|
+
autoload :HrisGetLocationRequest, 'stack_one/models/operations/hris_get_location_request.rb'
|
47
|
+
autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
|
48
|
+
autoload :HrisGetTimeOffRequestQueryParamProxy, 'stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb'
|
49
|
+
autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb'
|
50
|
+
autoload :HrisGetTimeOffRequestResponse, 'stack_one/models/operations/hris_get_time_off_request_response.rb'
|
51
|
+
autoload :HrisListCompaniesQueryParamProxy, 'stack_one/models/operations/hris_list_companies_queryparam_proxy.rb'
|
52
|
+
autoload :HrisListCompaniesRequest, 'stack_one/models/operations/hris_list_companies_request.rb'
|
53
|
+
autoload :HrisListCompaniesResponse, 'stack_one/models/operations/hris_list_companies_response.rb'
|
54
|
+
autoload :HrisListEmployeeDocumentsQueryParamProxy, 'stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb'
|
55
|
+
autoload :HrisListEmployeeDocumentsRequest, 'stack_one/models/operations/hris_list_employee_documents_request.rb'
|
56
|
+
autoload :HrisListEmployeeDocumentsResponse, 'stack_one/models/operations/hris_list_employee_documents_response.rb'
|
57
|
+
autoload :HrisListEmployeeTimeOffRequestsQueryParamProxy, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb'
|
58
|
+
autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb'
|
59
|
+
autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb'
|
60
|
+
autoload :HrisListEmployeesQueryParamProxy, 'stack_one/models/operations/hris_list_employees_queryparam_proxy.rb'
|
61
|
+
autoload :HrisListEmployeesRequest, 'stack_one/models/operations/hris_list_employees_request.rb'
|
62
|
+
autoload :HrisListEmployeesResponse, 'stack_one/models/operations/hris_list_employees_response.rb'
|
63
|
+
autoload :HrisListEmploymentsQueryParamProxy, 'stack_one/models/operations/hris_list_employments_queryparam_proxy.rb'
|
64
|
+
autoload :HrisListEmploymentsRequest, 'stack_one/models/operations/hris_list_employments_request.rb'
|
65
|
+
autoload :HrisListEmploymentsResponse, 'stack_one/models/operations/hris_list_employments_response.rb'
|
66
|
+
autoload :HrisListLocationsQueryParamProxy, 'stack_one/models/operations/hris_list_locations_queryparam_proxy.rb'
|
67
|
+
autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb'
|
68
|
+
autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb'
|
69
|
+
autoload :HrisListTimeOffRequestsQueryParamProxy, 'stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb'
|
70
|
+
autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb'
|
71
|
+
autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb'
|
72
|
+
autoload :HrisUpdateEmployeeRequest, 'stack_one/models/operations/hris_update_employee_request.rb'
|
73
|
+
autoload :HrisUpdateEmployeeResponse, 'stack_one/models/operations/hris_update_employee_response.rb'
|
74
|
+
autoload :HrisUpdateTimeOffRequestRequest, 'stack_one/models/operations/hris_update_time_off_request_request.rb'
|
75
|
+
autoload :HrisUpdateTimeOffRequestResponse, 'stack_one/models/operations/hris_update_time_off_request_response.rb'
|
76
|
+
autoload :StackoneProxyRequestRequest, 'stack_one/models/operations/stackone_proxy_request_request.rb'
|
77
|
+
autoload :StackoneProxyRequestResponse, 'stack_one/models/operations/stackone_proxy_request_response.rb'
|
78
|
+
end
|
79
|
+
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 employee avatar
|
11
|
+
class Avatar < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :base64, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('base64') } }
|
16
|
+
|
17
|
+
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(base64: T.nilable(::String), url: T.nilable(::String)).void }
|
21
|
+
def initialize(base64: nil, url: nil)
|
22
|
+
@base64 = base64
|
23
|
+
@url = url
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
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
|
+
# The body of the request
|
11
|
+
class Body < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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 Categories < T::Enum
|
12
|
+
enums do
|
13
|
+
ATS = new('ats')
|
14
|
+
HRIS = new('hris')
|
15
|
+
HRIS_LEGACY = new('hris-legacy')
|
16
|
+
CRM = new('crm')
|
17
|
+
MARKETING = new('marketing')
|
18
|
+
STACKONE = new('stackone')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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
|
+
# Category - The provider service category
|
11
|
+
class Category < T::Enum
|
12
|
+
enums do
|
13
|
+
ATS = new('ats')
|
14
|
+
HRIS = new('hris')
|
15
|
+
HRIS_LEGACY = new('hris-legacy')
|
16
|
+
CRM = new('crm')
|
17
|
+
MARKETING = new('marketing')
|
18
|
+
STACKONE = new('stackone')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|