"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamingProfiles = void 0;
const streamingProfilesCreateStreamingProfile_js_1 = require("../funcs/streamingProfilesCreateStreamingProfile.js");
const streamingProfilesDeleteStreamingProfile_js_1 = require("../funcs/streamingProfilesDeleteStreamingProfile.js");
const streamingProfilesGetStreamingProfile_js_1 = require("../funcs/streamingProfilesGetStreamingProfile.js");
const streamingProfilesGetStreamingProfiles_js_1 = require("../funcs/streamingProfilesGetStreamingProfiles.js");
const streamingProfilesUpdateStreamingProfile_js_1 = require("../funcs/streamingProfilesUpdateStreamingProfile.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class StreamingProfiles extends sdks_js_1.ClientSDK {
    /**
     * Creates a new adaptive streaming profile in your Cloudinary account
     */
    async createStreamingProfile(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, streamingProfilesCreateStreamingProfile_js_1.streamingProfilesCreateStreamingProfile)(this, request, options));
    }
    /**
     * Lists all adaptive streaming profiles (both built-in and custom) defined in your Cloudinary account
     */
    async getStreamingProfiles(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, streamingProfilesGetStreamingProfiles_js_1.streamingProfilesGetStreamingProfiles)(this, request, options));
    }
    /**
     * Retrieves the details of a single adaptive streaming profile by its name
     */
    async getStreamingProfile(name, options) {
        return (0, fp_js_1.unwrapAsync)((0, streamingProfilesGetStreamingProfile_js_1.streamingProfilesGetStreamingProfile)(this, name, options));
    }
    /**
     * Modifies an existing adaptive streaming profile's configuration
     */
    async updateStreamingProfile(name, streamingProfileUpdate, options) {
        return (0, fp_js_1.unwrapAsync)((0, streamingProfilesUpdateStreamingProfile_js_1.streamingProfilesUpdateStreamingProfile)(this, name, streamingProfileUpdate, options));
    }
    /**
     * Delete custom streaming profile or revert built-in profile to the original settings
     */
    async deleteStreamingProfile(name, options) {
        return (0, fp_js_1.unwrapAsync)((0, streamingProfilesDeleteStreamingProfile_js_1.streamingProfilesDeleteStreamingProfile)(this, name, options));
    }
}
exports.StreamingProfiles = StreamingProfiles;
//# sourceMappingURL=streamingprofiles.js.map