"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Feedback = void 0;
const feedbackDeleteFeedbackById_js_1 = require("../funcs/feedbackDeleteFeedbackById.js");
const feedbackGetFeedbackById_js_1 = require("../funcs/feedbackGetFeedbackById.js");
const feedbackList_js_1 = require("../funcs/feedbackList.js");
const feedbackSubmit_js_1 = require("../funcs/feedbackSubmit.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Feedback extends sdks_js_1.ClientSDK {
    /**
     * Log Feedback
     *
     * @remarks
     * Logs new feedback or updates an existing one.
     *
     * **API Key Types:**  `WEB`, `API`
     */
    async submit(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, feedbackSubmit_js_1.feedbackSubmit)(this, request, options));
    }
    /**
     * Get All Feedback
     */
    async list(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, feedbackList_js_1.feedbackList)(this, request, options));
    }
    /**
     * Get Feedback by ID
     */
    async getFeedbackById(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, feedbackGetFeedbackById_js_1.feedbackGetFeedbackById)(this, request, options));
    }
    /**
     * Delete Feedback by ID
     */
    async deleteFeedbackById(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, feedbackDeleteFeedbackById_js_1.feedbackDeleteFeedbackById)(this, request, options));
    }
}
exports.Feedback = Feedback;
//# sourceMappingURL=feedback.js.map