"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Annotations = void 0;
const annotationsCreate_js_1 = require("../funcs/annotationsCreate.js");
const annotationsDelete_js_1 = require("../funcs/annotationsDelete.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Annotations extends sdks_js_1.ClientSDK {
    /**
     * Annotate a span
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, annotationsCreate_js_1.annotationsCreate)(this, request, options));
    }
    /**
     * Remove an annotation from a span
     */
    async delete(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, annotationsDelete_js_1.annotationsDelete)(this, request, options));
    }
}
exports.Annotations = Annotations;
//# sourceMappingURL=annotations.js.map