"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Skills = void 0;
const skillsCreate_js_1 = require("../funcs/skillsCreate.js");
const skillsDelete_js_1 = require("../funcs/skillsDelete.js");
const skillsGet_js_1 = require("../funcs/skillsGet.js");
const skillsList_js_1 = require("../funcs/skillsList.js");
const skillsUpdate_js_1 = require("../funcs/skillsUpdate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Skills extends sdks_js_1.ClientSDK {
    /**
     * List all skills
     *
     * @remarks
     * Returns a list of skills. Skills are sorted by creation date, with the most recently created skills appearing first.
     */
    async list(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, skillsList_js_1.skillsList)(this, request, options));
    }
    /**
     * Create a new skill
     *
     * @remarks
     * Skills are modular instructions you can use to codify processes and conventions
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, skillsCreate_js_1.skillsCreate)(this, request, options));
    }
    /**
     * Retrieve a skill
     *
     * @remarks
     * Retrieves an existing skill by its unique skill ID or its display name (display names are unique within a workspace).
     */
    async get(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, skillsGet_js_1.skillsGet)(this, request, options));
    }
    /**
     * Delete a skill
     */
    async delete(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, skillsDelete_js_1.skillsDelete)(this, request, options));
    }
    /**
     * Update a skill
     *
     * @remarks
     * Updates the specified skill by setting the values of the parameters passed.
     */
    async update(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, skillsUpdate_js_1.skillsUpdate)(this, request, options));
    }
}
exports.Skills = Skills;
//# sourceMappingURL=skills.js.map