"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.CourseResources = void 0;
const courseResourcesDelete_js_1 = require("../funcs/courseResourcesDelete.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class CourseResources extends sdks_js_1.ClientSDK {
    /**
     * Remove a resource from a course
     *
     * @remarks
     * To unassign an existing resource from the specified course. If the corresponding record cannot be located, the api will return a 404 error code and message 'Course or resource relationship not found.'
     */
    async delete(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, courseResourcesDelete_js_1.courseResourcesDelete)(this, request, options));
    }
}
exports.CourseResources = CourseResources;
//# sourceMappingURL=courseresources.js.map