"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.SharedLinks = void 0;
const fileStorageSharedLinksCreate_js_1 = require("../funcs/fileStorageSharedLinksCreate.js");
const fileStorageSharedLinksDelete_js_1 = require("../funcs/fileStorageSharedLinksDelete.js");
const fileStorageSharedLinksGet_js_1 = require("../funcs/fileStorageSharedLinksGet.js");
const fileStorageSharedLinksList_js_1 = require("../funcs/fileStorageSharedLinksList.js");
const fileStorageSharedLinksUpdate_js_1 = require("../funcs/fileStorageSharedLinksUpdate.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 SharedLinks extends sdks_js_1.ClientSDK {
    /**
     * List SharedLinks
     *
     * @remarks
     * List SharedLinks
     */
    async list(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, fileStorageSharedLinksList_js_1.fileStorageSharedLinksList)(this, request, options));
    }
    /**
     * Create Shared Link
     *
     * @remarks
     * Create Shared Link
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, fileStorageSharedLinksCreate_js_1.fileStorageSharedLinksCreate)(this, request, options));
    }
    /**
     * Get Shared Link
     *
     * @remarks
     * Get Shared Link
     */
    async get(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, fileStorageSharedLinksGet_js_1.fileStorageSharedLinksGet)(this, request, options));
    }
    /**
     * Update Shared Link
     *
     * @remarks
     * Update Shared Link
     */
    async update(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, fileStorageSharedLinksUpdate_js_1.fileStorageSharedLinksUpdate)(this, request, options));
    }
    /**
     * Delete Shared Link
     *
     * @remarks
     * Delete Shared Link
     */
    async delete(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, fileStorageSharedLinksDelete_js_1.fileStorageSharedLinksDelete)(this, request, options));
    }
}
exports.SharedLinks = SharedLinks;
//# sourceMappingURL=sharedlinks.js.map