"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrqCompletions = exports.CreateAcceptEnum = void 0;
const routerChatCompletionsCreate_js_1 = require("../funcs/routerChatCompletionsCreate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
var routerChatCompletionsCreate_js_2 = require("../funcs/routerChatCompletionsCreate.js");
Object.defineProperty(exports, "CreateAcceptEnum", { enumerable: true, get: function () { return routerChatCompletionsCreate_js_2.CreateAcceptEnum; } });
class OrqCompletions extends sdks_js_1.ClientSDK {
    /**
     * Create chat completion
     *
     * @remarks
     * Creates a model response for the given chat conversation with support for retries, fallbacks, prompts, and variables.
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, routerChatCompletionsCreate_js_1.routerChatCompletionsCreate)(this, request, options));
    }
}
exports.OrqCompletions = OrqCompletions;
//# sourceMappingURL=orqcompletions.js.map