"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Responses = exports.CreateAcceptEnum = void 0;
const responsesCreate_js_1 = require("../funcs/responsesCreate.js");
const responsesGet_js_1 = require("../funcs/responsesGet.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
var responsesCreate_js_2 = require("../funcs/responsesCreate.js");
Object.defineProperty(exports, "CreateAcceptEnum", { enumerable: true, get: function () { return responsesCreate_js_2.CreateAcceptEnum; } });
class Responses extends sdks_js_1.ClientSDK {
    /**
     * Create response
     *
     * @remarks
     * Creates a model response for the given input. Returns a response object or a stream of server-sent events.
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, responsesCreate_js_1.responsesCreate)(this, request, options));
    }
    /**
     * Retrieve response
     *
     * @remarks
     * Retrieves a previously created response by its ID.
     */
    async get(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, responsesGet_js_1.responsesGet)(this, request, options));
    }
}
exports.Responses = Responses;
//# sourceMappingURL=responses.js.map