/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { uploadPresetsCreateUploadPreset } from "../funcs/uploadPresetsCreateUploadPreset.js";
import { uploadPresetsDeleteUploadPreset } from "../funcs/uploadPresetsDeleteUploadPreset.js";
import { uploadPresetsGetUploadPreset } from "../funcs/uploadPresetsGetUploadPreset.js";
import { uploadPresetsListUploadPresets } from "../funcs/uploadPresetsListUploadPresets.js";
import { uploadPresetsUpdateUploadPreset } from "../funcs/uploadPresetsUpdateUploadPreset.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class UploadPresets extends ClientSDK {
    /**
     * Creates a new upload preset with specified configuration settings
     */
    async createUploadPreset(request, options) {
        return unwrapAsync(uploadPresetsCreateUploadPreset(this, request, options));
    }
    /**
     * Lists all upload presets configured in the account
     */
    async listUploadPresets(orderBy, direction, nextCursor, options) {
        return unwrapAsync(uploadPresetsListUploadPresets(this, orderBy, direction, nextCursor, options));
    }
    /**
     * Retrieves details of a single upload preset
     */
    async getUploadPreset(name, options) {
        return unwrapAsync(uploadPresetsGetUploadPreset(this, name, options));
    }
    /**
     * Updates an existing upload preset's configuration settings
     */
    async updateUploadPreset(name, uploadPreset, options) {
        return unwrapAsync(uploadPresetsUpdateUploadPreset(this, name, uploadPreset, options));
    }
    /**
     * Deletes an upload preset from the account
     */
    async deleteUploadPreset(name, options) {
        return unwrapAsync(uploadPresetsDeleteUploadPreset(this, name, options));
    }
}
//# sourceMappingURL=uploadpresets.js.map