"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetricsCommand = void 0;
const shared_1 = require("../shared");
class MetricsCommand extends shared_1.AbstractCommand {
    addPlaybackMetric(options) {
        const path = '/api/v1/metrics/playback';
        return this.postBodyRequest(Object.assign(Object.assign({}, options), { path, fields: options.metrics, implicitToken: false, defaultExpectedStatus: 204 }));
    }
}
exports.MetricsCommand = MetricsCommand;
//# sourceMappingURL=metrics-command.js.map