"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DebugCommand = void 0;
const shared_1 = require("../shared");
class DebugCommand extends shared_1.AbstractCommand {
    getDebug(options = {}) {
        const path = '/api/v1/server/debug';
        return this.getRequestBody(Object.assign(Object.assign({}, options), { path, implicitToken: true, defaultExpectedStatus: 200 }));
    }
    sendCommand(options) {
        const { body } = options;
        const path = '/api/v1/server/debug/run-command';
        return this.postBodyRequest(Object.assign(Object.assign({}, options), { path, fields: body, implicitToken: true, defaultExpectedStatus: 204 }));
    }
}
exports.DebugCommand = DebugCommand;
//# sourceMappingURL=debug-command.js.map