"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 hrisCancelEmployeeTimeOffRequest_js_1 = require("../funcs/hrisCancelEmployeeTimeOffRequest.js");
const hrisCreateEmployee_js_1 = require("../funcs/hrisCreateEmployee.js");
const hrisCreateEmployeeEmployment_js_1 = require("../funcs/hrisCreateEmployeeEmployment.js");
const hrisCreateEmployeeSkill_js_1 = require("../funcs/hrisCreateEmployeeSkill.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 hrisGetEmployeeSkill_js_1 = require("../funcs/hrisGetEmployeeSkill.js");
const hrisGetEmployeesTimeOffRequest_js_1 = require("../funcs/hrisGetEmployeesTimeOffRequest.js");
const hrisGetEmployeesWorkEligibility_js_1 = require("../funcs/hrisGetEmployeesWorkEligibility.js");
const hrisGetEmployeeTask_js_1 = require("../funcs/hrisGetEmployeeTask.js");
const hrisGetEmployeeTimeOffBalance_js_1 = require("../funcs/hrisGetEmployeeTimeOffBalance.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 hrisGetTeamGroup_js_1 = require("../funcs/hrisGetTeamGroup.js");
const hrisGetTimeEntries_js_1 = require("../funcs/hrisGetTimeEntries.js");
const hrisGetTimeOffPolicy_js_1 = require("../funcs/hrisGetTimeOffPolicy.js");
const hrisGetTimeOffRequest_js_1 = require("../funcs/hrisGetTimeOffRequest.js");
const hrisGetTimeOffType_js_1 = require("../funcs/hrisGetTimeOffType.js");
const hrisInviteEmployee_js_1 = require("../funcs/hrisInviteEmployee.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 hrisListEmployeeSkills_js_1 = require("../funcs/hrisListEmployeeSkills.js");
const hrisListEmployeeTasks_js_1 = require("../funcs/hrisListEmployeeTasks.js");
const hrisListEmployeeTimeOffBalances_js_1 = require("../funcs/hrisListEmployeeTimeOffBalances.js");
const hrisListEmployeeTimeOffPolicies_js_1 = require("../funcs/hrisListEmployeeTimeOffPolicies.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 hrisListTeamGroups_js_1 = require("../funcs/hrisListTeamGroups.js");
const hrisListTimeEntries_js_1 = require("../funcs/hrisListTimeEntries.js");
const hrisListTimeOffPolicies_js_1 = require("../funcs/hrisListTimeOffPolicies.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 hrisUpdateEmployeeTimeOffRequest_js_1 = require("../funcs/hrisUpdateEmployeeTimeOffRequest.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));
    }
    /**
     * Cancel Employee Time Off Request
     */
    async cancelEmployeeTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCancelEmployeeTimeOffRequest_js_1.hrisCancelEmployeeTimeOffRequest)(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 Skill
     */
    async createEmployeeSkill(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCreateEmployeeSkill_js_1.hrisCreateEmployeeSkill)(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
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    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 Employee Skill
     */
    async getEmployeeSkill(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeSkill_js_1.hrisGetEmployeeSkill)(this, request, options));
    }
    /**
     * Get Employee Task
     */
    async getEmployeeTask(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeTask_js_1.hrisGetEmployeeTask)(this, request, options));
    }
    /**
     * Get Employee Time Off Balance
     */
    async getEmployeeTimeOffBalance(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetEmployeeTimeOffBalance_js_1.hrisGetEmployeeTimeOffBalance)(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 Work Location
     */
    async getLocation(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetLocation_js_1.hrisGetLocation)(this, request, options));
    }
    /**
     * Get Team Group
     */
    async getTeamGroup(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTeamGroup_js_1.hrisGetTeamGroup)(this, request, options));
    }
    /**
     * Get Time Entry
     */
    async getTimeEntries(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTimeEntries_js_1.hrisGetTimeEntries)(this, request, options));
    }
    /**
     * Get Time Off Policy
     */
    async getTimeOffPolicy(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTimeOffPolicy_js_1.hrisGetTimeOffPolicy)(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
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async getTimeOffType(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisGetTimeOffType_js_1.hrisGetTimeOffType)(this, request, options));
    }
    /**
     * Invite Employee
     */
    async inviteEmployee(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisInviteEmployee_js_1.hrisInviteEmployee)(this, request, options));
    }
    /**
     * List benefits
     */
    async listBenefits(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListBenefits_js_1.hrisListBenefits)(this, request, options));
    }
    /**
     * List Companies
     */
    async listCompanies(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListCompanies_js_1.hrisListCompanies)(this, request, options));
    }
    /**
     * List Cost Center Groups
     */
    async listCostCenterGroups(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListCostCenterGroups_js_1.hrisListCostCenterGroups)(this, request, options));
    }
    /**
     * List Department Groups
     */
    async listDepartmentGroups(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListDepartmentGroups_js_1.hrisListDepartmentGroups)(this, request, options));
    }
    /**
     * List Employee Document Categories
     */
    async listEmployeeCategories(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((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, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeDocuments_js_1.hrisListEmployeeDocuments)(this, request, options));
    }
    /**
     * List Employee Employments
     */
    async listEmployeeEmployments(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeEmployments_js_1.hrisListEmployeeEmployments)(this, request, options));
    }
    /**
     * List Employee Skills
     */
    async listEmployeeSkills(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeSkills_js_1.hrisListEmployeeSkills)(this, request, options));
    }
    /**
     * List Employee Tasks
     */
    async listEmployeeTasks(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeTasks_js_1.hrisListEmployeeTasks)(this, request, options));
    }
    /**
     * List Employee Time Off Balances
     */
    async listEmployeeTimeOffBalances(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeTimeOffBalances_js_1.hrisListEmployeeTimeOffBalances)(this, request, options));
    }
    /**
     * List Assigned Time Off Policies
     */
    async listEmployeeTimeOffPolicies(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeTimeOffPolicies_js_1.hrisListEmployeeTimeOffPolicies)(this, request, options));
    }
    /**
     * List Employee Time Off Requests
     */
    async listEmployeeTimeOffRequests(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListEmployeeTimeOffRequests_js_1.hrisListEmployeeTimeOffRequests)(this, request, options));
    }
    /**
     * List Employee Work Eligibility
     */
    async listEmployeeWorkEligibility(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((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, operations_js_1.unwrapResultIterator)((0, hrisListEmployments_js_1.hrisListEmployments)(this, request, options));
    }
    /**
     * List Groups
     */
    async listGroups(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListGroups_js_1.hrisListGroups)(this, request, options));
    }
    /**
     * List Jobs
     */
    async listJobs(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListJobs_js_1.hrisListJobs)(this, request, options));
    }
    /**
     * List Work Locations
     */
    async listLocations(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListLocations_js_1.hrisListLocations)(this, request, options));
    }
    /**
     * List Team Groups
     */
    async listTeamGroups(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListTeamGroups_js_1.hrisListTeamGroups)(this, request, options));
    }
    /**
     * List Time Entries
     */
    async listTimeEntries(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListTimeEntries_js_1.hrisListTimeEntries)(this, request, options));
    }
    /**
     * List Time Off Policies
     */
    async listTimeOffPolicies(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListTimeOffPolicies_js_1.hrisListTimeOffPolicies)(this, request, options));
    }
    /**
     * List time off requests
     */
    async listTimeOffRequests(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisListTimeOffRequests_js_1.hrisListTimeOffRequests)(this, request, options));
    }
    /**
     * List time off types
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    async listTimeOffTypes(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((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 Time Off Request
     */
    async updateEmployeeTimeOffRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisUpdateEmployeeTimeOffRequest_js_1.hrisUpdateEmployeeTimeOffRequest)(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
     *
     * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    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