/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { courseComponentsDelete } from "../funcs/courseComponentsDelete.js";
import { courseComponentsGetAll } from "../funcs/courseComponentsGetAll.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
import { unwrapResultIterator } from "../types/operations.js";
export class CourseComponents extends ClientSDK {
    /**
     * Get all Course Components
     *
     * @remarks
     * To get all Course Components on the service provider.
     */
    async getAll(request, options) {
        return unwrapResultIterator(courseComponentsGetAll(this, request, options));
    }
    /**
     * Delete a Course Component
     *
     * @remarks
     * Perform a soft delete on a specific Course Component on the service provider. The operation changes the status of the Course Component to 'tobedeleted'.
     */
    async delete(request, options) {
        return unwrapAsync(courseComponentsDelete(this, request, options));
    }
}
//# sourceMappingURL=coursecomponents.js.map