"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Edits = void 0;
const resource_1 = require("openai/resource");
class Edits extends resource_1.APIResource {
    /**
     * Creates a new edit for the provided input, instruction, and parameters.
     *
     * @deprecated The Edits API is deprecated; please use Chat Completions instead.
     *
     * https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api
     */
    create(body, options) {
        return this._client.post('/edits', { body, ...options });
    }
}
exports.Edits = Edits;
(function (Edits) {
})(Edits = exports.Edits || (exports.Edits = {}));
//# sourceMappingURL=edits.js.map