"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApideckCompanies = void 0;
const hrisCompaniesCreate_js_1 = require("../funcs/hrisCompaniesCreate.js");
const hrisCompaniesDelete_js_1 = require("../funcs/hrisCompaniesDelete.js");
const hrisCompaniesGet_js_1 = require("../funcs/hrisCompaniesGet.js");
const hrisCompaniesList_js_1 = require("../funcs/hrisCompaniesList.js");
const hrisCompaniesUpdate_js_1 = require("../funcs/hrisCompaniesUpdate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
const operations_js_1 = require("../types/operations.js");
class ApideckCompanies extends sdks_js_1.ClientSDK {
    /**
     * List Companies
     *
     * @remarks
     * List Companies
     */
    async list(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, hrisCompaniesList_js_1.hrisCompaniesList)(this, request, options));
    }
    /**
     * Create Company
     *
     * @remarks
     * Create Company
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCompaniesCreate_js_1.hrisCompaniesCreate)(this, request, options));
    }
    /**
     * Get Company
     *
     * @remarks
     * Get Company
     */
    async get(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCompaniesGet_js_1.hrisCompaniesGet)(this, request, options));
    }
    /**
     * Update Company
     *
     * @remarks
     * Update Company
     */
    async update(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCompaniesUpdate_js_1.hrisCompaniesUpdate)(this, request, options));
    }
    /**
     * Delete Company
     *
     * @remarks
     * Delete Company
     */
    async delete(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, hrisCompaniesDelete_js_1.hrisCompaniesDelete)(this, request, options));
    }
}
exports.ApideckCompanies = ApideckCompanies;
//# sourceMappingURL=apideckcompanies.js.map