"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Completions = exports.CreateAcceptEnum = void 0;
const routerCompletionsCreate_js_1 = require("../funcs/routerCompletionsCreate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
var routerCompletionsCreate_js_2 = require("../funcs/routerCompletionsCreate.js");
Object.defineProperty(exports, "CreateAcceptEnum", { enumerable: true, get: function () { return routerCompletionsCreate_js_2.CreateAcceptEnum; } });
class Completions extends sdks_js_1.ClientSDK {
    /**
     * Create completion
     *
     * @remarks
     * For sending requests to legacy completion models
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, routerCompletionsCreate_js_1.routerCompletionsCreate)(this, request, options));
    }
}
exports.Completions = Completions;
//# sourceMappingURL=completions.js.map