"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Hris = void 0;
const hrisBatchUploadEmployeeDocument_js_1 = require("../funcs/hrisBatchUploadEmployeeDocument.js");
const hrisCreateEmployee_js_1 = require("../funcs/hrisCreateEmployee.js");
const hrisCreateEmployeeEmployment_js_1 = require("../funcs/hrisCreateEmployeeEmployment.js");
const hrisCreateEmployeeTimeOffRequest_js_1 = require("../funcs/hrisCreateEmployeeTimeOffRequest.js");
const hrisCreateEmployeeWorkEligibilityRequest_js_1 = require("../funcs/hrisCreateEmployeeWorkEligibilityRequest.js");
const hrisCreateTimeOffRequest_js_1 = require("../funcs/hrisCreateTimeOffRequest.js");
const hrisDownloadEmployeeDocument_js_1 = require("../funcs/hrisDownloadEmployeeDocument.js");
const hrisGetBenefit_js_1 = require("../funcs/hrisGetBenefit.js");
const hrisGetCompany_js_1 = require("../funcs/hrisGetCompany.js");
const hrisGetCostCenterGroup_js_1 = require("../funcs/hrisGetCostCenterGroup.js");
const hrisGetDepartmentGroup_js_1 = require("../funcs/hrisGetDepartmentGroup.js");
const hrisGetEmployee_js_1 = require("../funcs/hrisGetEmployee.js");
const hrisGetEmployeeCustomFieldDefinition_js_1 = require("../funcs/hrisGetEmployeeCustomFieldDefinition.js");
const hrisGetEmployeeDocument_js_1 = require("../funcs/hrisGetEmployeeDocument.js");
const hrisGetEmployeeDocumentCategory_js_1 = require("../funcs/hrisGetEmployeeDocumentCategory.js");
const hrisGetEmployeeEmployment_js_1 = require("../funcs/hrisGetEmployeeEmployment.js");
const hrisGetEmployeesTimeOffRequest_js_1 = require("../funcs/hrisGetEmployeesTimeOffRequest.js");
const hrisGetEmployeesWorkEligibility_js_1 = require("../funcs/hrisGetEmployeesWorkEligibility.js");
const hrisGetEmployment_js_1 = require("../funcs/hrisGetEmployment.js");
const hrisGetGroup_js_1 = require("../funcs/hrisGetGroup.js");
const hrisGetJob_js_1 = require("../funcs/hrisGetJob.js");
const hrisGetLocation_js_1 = require("../funcs/hrisGetLocation.js");
const hrisGetTimeOffRequest_js_1 = require("../funcs/hrisGetTimeOffRequest.js");
const hrisGetTimeOffType_js_1 = require("../funcs/hrisGetTimeOffType.js");
const hrisListBenefits_js_1 = require("../funcs/hrisListBenefits.js");
const hrisListCompanies_js_1 = require("../funcs/hrisListCompanies.js");
const hrisListCostCenterGroups_js_1 = require("../funcs/hrisListCostCenterGroups.js");
const hrisListDepartmentGroups_js_1 = require("../funcs/hrisListDepartmentGroups.js");
const hrisListEmployeeCategories_js_1 = require("../funcs/hrisListEmployeeCategories.js");
const hrisListEmployeeCustomFieldDefinitions_js_1 = require("../funcs/hrisListEmployeeCustomFieldDefinitions.js");
const hrisListEmployeeDocuments_js_1 = require("../funcs/hrisListEmployeeDocuments.js");
const hrisListEmployeeEmployments_js_1 = require("../funcs/hrisListEmployeeEmployments.js");
const hrisListEmployees_js_1 = require("../funcs/hrisListEmployees.js");
const hrisListEmployeeTimeOffRequests_js_1 = require("../funcs/hrisListEmployeeTimeOffRequests.js");
const hrisListEmployeeWorkEligibility_js_1 = require("../funcs/hrisListEmployeeWorkEligibility.js");
const hrisListEmployments_js_1 = require("../funcs/hrisListEmployments.js");
const hrisListGroups_js_1 = require("../funcs/hrisListGroups.js");
const hrisListJobs_js_1 = require("../funcs/hrisListJobs.js");
const hrisListLocations_js_1 = require("../funcs/hrisListLocations.js");
const hrisListTimeOffRequests_js_1 = require("../funcs/hrisListTimeOffRequests.js");
const hrisListTimeOffTypes_js_1 = require("../funcs/hrisListTimeOffTypes.js");
const hrisUpdateEmployee_js_1 = require("../funcs/hrisUpdateEmployee.js");
const hrisUpdateEmployeeEmployment_js_1 = require("../funcs/hrisUpdateEmployeeEmployment.js");
const hrisUpdateEmployeeWorkEligibilityRequest_js_1 = require("../funcs/hrisUpdateEmployeeWorkEligibilityRequest.js");
const hrisUpdateTimeOffRequest_js_1 = require("../funcs/hrisUpdateTimeOffRequest.js");
const hrisUploadEmployeeDocument_js_1 = require("../funcs/hrisUploadEmployeeDocument.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../sdk/types/operations.js");
const fp_js_1 = require("./types/fp.js");
class Hris extends sdks_js_1.ClientSDK {
    /**
     * Batch Upload Employee Document
     */
    async batchUploadEmployeeDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisBatchUploadEmployeeDocument_js_1.hrisBatchUploadEmployeeDocument)(this, request, options));
    }
    /**
     * Creates an employee
     */
    async createEmployee(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateEmployee_js_1.hrisCreateEmployee)(this, request, options));
    }
    /**
     * Create Employee Employment
     */
    async createEmployeeEmployment(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateEmployeeEmployment_js_1.hrisCreateEmployeeEmployment)(this, request, options));
    }
    /**
     * Create Employee Time Off Request
     */
    async createEmployeeTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateEmployeeTimeOffRequest_js_1.hrisCreateEmployeeTimeOffRequest)(this, request, options));
    }
    /**
     * Create Employee Work Eligibility Request
     */
    async createEmployeeWorkEligibilityRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateEmployeeWorkEligibilityRequest_js_1.hrisCreateEmployeeWorkEligibilityRequest)(this, request, options));
    }
    /**
     * Creates a time off request
     */
    async createTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateTimeOffRequest_js_1.hrisCreateTimeOffRequest)(this, request, options));
    }
    /**
     * Download Employee Document
     */
    async downloadEmployeeDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisDownloadEmployeeDocument_js_1.hrisDownloadEmployeeDocument)(this, request, options));
    }
    /**
     * Get Benefit
     */
    async getBenefit(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetBenefit_js_1.hrisGetBenefit)(this, request, options));
    }
    /**
     * Get Company
     */
    async getCompany(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetCompany_js_1.hrisGetCompany)(this, request, options));
    }
    /**
     * Get Cost Center Group
     */
    async getCostCenterGroup(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetCostCenterGroup_js_1.hrisGetCostCenterGroup)(this, request, options));
    }
    /**
     * Get Department Group
     */
    async getDepartmentGroup(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetDepartmentGroup_js_1.hrisGetDepartmentGroup)(this, request, options));
    }
    /**
     * Get Employee
     */
    async getEmployee(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployee_js_1.hrisGetEmployee)(this, request, options));
    }
    /**
     * Get employee Custom Field Definition
     */
    async getEmployeeCustomFieldDefinition(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeCustomFieldDefinition_js_1.hrisGetEmployeeCustomFieldDefinition)(this, request, options));
    }
    /**
     * Get Employee Document
     */
    async getEmployeeDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeDocument_js_1.hrisGetEmployeeDocument)(this, request, options));
    }
    /**
     * Get Employee Document Category
     */
    async getEmployeeDocumentCategory(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeDocumentCategory_js_1.hrisGetEmployeeDocumentCategory)(this, request, options));
    }
    /**
     * Get Employee Employment
     */
    async getEmployeeEmployment(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeEmployment_js_1.hrisGetEmployeeEmployment)(this, request, options));
    }
    /**
     * Get Employees Time Off Request
     */
    async getEmployeesTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeesTimeOffRequest_js_1.hrisGetEmployeesTimeOffRequest)(this, request, options));
    }
    /**
     * Get Employees Work Eligibility
     */
    async getEmployeesWorkEligibility(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeesWorkEligibility_js_1.hrisGetEmployeesWorkEligibility)(this, request, options));
    }
    /**
     * Get Employment
     */
    async getEmployment(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployment_js_1.hrisGetEmployment)(this, request, options));
    }
    /**
     * Get Group
     */
    async getGroup(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetGroup_js_1.hrisGetGroup)(this, request, options));
    }
    /**
     * Get Job
     */
    async getJob(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetJob_js_1.hrisGetJob)(this, request, options));
    }
    /**
     * Get Location
     */
    async getLocation(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetLocation_js_1.hrisGetLocation)(this, request, options));
    }
    /**
     * Get time off request
     */
    async getTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTimeOffRequest_js_1.hrisGetTimeOffRequest)(this, request, options));
    }
    /**
     * Get time off type
     */
    async getTimeOffType(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTimeOffType_js_1.hrisGetTimeOffType)(this, request, options));
    }
    /**
     * List benefits
     */
    async listBenefits(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListBenefits_js_1.hrisListBenefits)(this, request, options));
    }
    /**
     * List Companies
     */
    async listCompanies(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListCompanies_js_1.hrisListCompanies)(this, request, options));
    }
    /**
     * List Cost Center Groups
     */
    async listCostCenterGroups(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListCostCenterGroups_js_1.hrisListCostCenterGroups)(this, request, options));
    }
    /**
     * List Department Groups
     */
    async listDepartmentGroups(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListDepartmentGroups_js_1.hrisListDepartmentGroups)(this, request, options));
    }
    /**
     * List Employee Document Categories
     */
    async listEmployeeCategories(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeCategories_js_1.hrisListEmployeeCategories)(this, request, options));
    }
    /**
     * List employee Custom Field Definitions
     */
    async listEmployeeCustomFieldDefinitions(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeCustomFieldDefinitions_js_1.hrisListEmployeeCustomFieldDefinitions)(this, request, options));
    }
    /**
     * List Employee Documents
     */
    async listEmployeeDocuments(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeDocuments_js_1.hrisListEmployeeDocuments)(this, request, options));
    }
    /**
     * List Employee Employments
     */
    async listEmployeeEmployments(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeEmployments_js_1.hrisListEmployeeEmployments)(this, request, options));
    }
    /**
     * List Employee Time Off Requests
     */
    async listEmployeeTimeOffRequests(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeTimeOffRequests_js_1.hrisListEmployeeTimeOffRequests)(this, request, options));
    }
    /**
     * List Employee Work Eligibility
     */
    async listEmployeeWorkEligibility(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployeeWorkEligibility_js_1.hrisListEmployeeWorkEligibility)(this, request, options));
    }
    /**
     * List Employees
     */
    async listEmployees(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployees_js_1.hrisListEmployees)(this, request, options));
    }
    /**
     * List Employments
     */
    async listEmployments(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListEmployments_js_1.hrisListEmployments)(this, request, options));
    }
    /**
     * List Groups
     */
    async listGroups(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListGroups_js_1.hrisListGroups)(this, request, options));
    }
    /**
     * List Jobs
     */
    async listJobs(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListJobs_js_1.hrisListJobs)(this, request, options));
    }
    /**
     * List locations
     */
    async listLocations(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListLocations_js_1.hrisListLocations)(this, request, options));
    }
    /**
     * List time off requests
     */
    async listTimeOffRequests(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListTimeOffRequests_js_1.hrisListTimeOffRequests)(this, request, options));
    }
    /**
     * List time off types
     */
    async listTimeOffTypes(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisListTimeOffTypes_js_1.hrisListTimeOffTypes)(this, request, options));
    }
    /**
     * Updates an employee
     */
    async updateEmployee(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUpdateEmployee_js_1.hrisUpdateEmployee)(this, request, options));
    }
    /**
     * Update Employee Employment
     */
    async updateEmployeeEmployment(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUpdateEmployeeEmployment_js_1.hrisUpdateEmployeeEmployment)(this, request, options));
    }
    /**
     * Update Employee Work Eligibility Request
     */
    async updateEmployeeWorkEligibilityRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUpdateEmployeeWorkEligibilityRequest_js_1.hrisUpdateEmployeeWorkEligibilityRequest)(this, request, options));
    }
    /**
     * Update time off request
     */
    async updateTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUpdateTimeOffRequest_js_1.hrisUpdateTimeOffRequest)(this, request, options));
    }
    /**
     * Upload Employee Document
     */
    async uploadEmployeeDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUploadEmployeeDocument_js_1.hrisUploadEmployeeDocument)(this, request, options));
    }
}
exports.Hris = Hris;
//# sourceMappingURL=hris.js.map