diff --git a/package.json b/package.json index 325d683..96aa304 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gooeyai", - "version": "0.0.1-beta23", + "version": "0.0.1-beta24", "private": false, "repository": "https://github.com/GooeyAI/typescript-sdk", "main": "./index.js", @@ -17,8 +17,7 @@ "formdata-node": "^6.0.3", "node-fetch": "2.7.0", "qs": "6.11.2", - "js-base64": "3.7.2", - "form-data-encoder": "^4.0.2" + "js-base64": "3.7.2" }, "devDependencies": { "@types/url-join": "4.0.1", diff --git a/reference.md b/reference.md index bfd1d4c..2f51ec0 100644 --- a/reference.md +++ b/reference.md @@ -1,6 +1,6 @@ # Reference -
client.postV3VideoBotsAsyncForm({ ...params }) -> Gooey.VideoBotsPageStatusResponse +
client.healthStatusGet() -> unknown
@@ -13,7 +13,7 @@
```typescript -await client.postV3VideoBotsAsyncForm({}); +await client.healthStatusGet(); ```
@@ -29,14 +29,6 @@ await client.postV3VideoBotsAsyncForm({});
-**request:** `Gooey.PostV3VideoBotsAsyncFormRequest` - -
-
- -
-
- **requestOptions:** `GooeyClient.RequestOptions`
diff --git a/src/Client.ts b/src/Client.ts index 078295c..234fca2 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -72,7 +72,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -174,7 +174,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -277,7 +277,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -382,7 +382,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -485,7 +485,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -587,7 +587,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -696,7 +696,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -798,7 +798,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -898,7 +898,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1000,7 +1000,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1102,7 +1102,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1204,7 +1204,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1306,7 +1306,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1408,7 +1408,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1510,7 +1510,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1610,7 +1610,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1712,7 +1712,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1814,7 +1814,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1917,7 +1917,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2020,7 +2020,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2123,7 +2123,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2226,7 +2226,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2328,7 +2328,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2430,7 +2430,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2532,7 +2532,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2634,7 +2634,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2720,7 +2720,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2756,4594 +2756,6 @@ export class GooeyClient { } } - /** - * @param {Gooey.PostV3ChyronPlantAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3ChyronPlantAsyncForm({ - * midiNotes: "midi_notes" - * }) - */ - public async postV3ChyronPlantAsyncForm( - request: Gooey.PostV3ChyronPlantAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("midi_notes", request.midiNotes); - if (request.midiNotesPrompt != null) { - await _request.append("midi_notes_prompt", request.midiNotesPrompt); - } - - if (request.chyronPrompt != null) { - await _request.append("chyron_prompt", request.chyronPrompt); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/ChyronPlant/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.ChyronPlantPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3CompareLlmAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3CompareLlmAsyncForm({}) - */ - public async postV3CompareLlmAsyncForm( - request: Gooey.PostV3CompareLlmAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.inputPrompt != null) { - await _request.append("input_prompt", request.inputPrompt); - } - - if (request.selectedModels != null) { - for (const _item of request.selectedModels) { - await _request.append("selected_models", _item); - } - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/CompareLLM/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.CompareLlmPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3CompareText2ImgAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3CompareText2ImgAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3CompareText2ImgAsyncForm( - request: Gooey.PostV3CompareText2ImgAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.dallE3Quality != null) { - await _request.append("dall_e_3_quality", request.dallE3Quality); - } - - if (request.dallE3Style != null) { - await _request.append("dall_e_3_style", request.dallE3Style); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.sd2Upscaling != null) { - await _request.append("sd_2_upscaling", request.sd2Upscaling.toString()); - } - - if (request.selectedModels != null) { - for (const _item of request.selectedModels) { - await _request.append("selected_models", _item); - } - } - - if (request.scheduler != null) { - await _request.append("scheduler", request.scheduler); - } - - if (request.editInstruction != null) { - await _request.append("edit_instruction", request.editInstruction); - } - - if (request.imageGuidanceScale != null) { - await _request.append("image_guidance_scale", request.imageGuidanceScale.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/CompareText2Img/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.CompareText2ImgPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3DeforumSdAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3DeforumSdAsyncForm({ - * animationPrompts: [{ - * frame: "frame", - * prompt: "prompt" - * }] - * }) - */ - public async postV3DeforumSdAsyncForm( - request: Gooey.PostV3DeforumSdAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.animationPrompts) { - await _request.append("animation_prompts", JSON.stringify(_item)); - } - - if (request.maxFrames != null) { - await _request.append("max_frames", request.maxFrames.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.animationMode != null) { - await _request.append("animation_mode", request.animationMode); - } - - if (request.zoom != null) { - await _request.append("zoom", request.zoom); - } - - if (request.translationX != null) { - await _request.append("translation_x", request.translationX); - } - - if (request.translationY != null) { - await _request.append("translation_y", request.translationY); - } - - if (request.rotation3DX != null) { - await _request.append("rotation_3d_x", request.rotation3DX); - } - - if (request.rotation3DY != null) { - await _request.append("rotation_3d_y", request.rotation3DY); - } - - if (request.rotation3DZ != null) { - await _request.append("rotation_3d_z", request.rotation3DZ); - } - - if (request.fps != null) { - await _request.append("fps", request.fps.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/DeforumSD/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.DeforumSdPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3EmailFaceInpaintingAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3EmailFaceInpaintingAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3EmailFaceInpaintingAsyncForm( - request: Gooey.PostV3EmailFaceInpaintingAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.emailAddress != null) { - await _request.append("email_address", request.emailAddress); - } - - if (request.twitterHandle != null) { - await _request.append("twitter_handle", request.twitterHandle); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.faceScale != null) { - await _request.append("face_scale", request.faceScale.toString()); - } - - if (request.facePosX != null) { - await _request.append("face_pos_x", request.facePosX.toString()); - } - - if (request.facePosY != null) { - await _request.append("face_pos_y", request.facePosY.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.upscaleFactor != null) { - await _request.append("upscale_factor", request.upscaleFactor.toString()); - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.shouldSendEmail != null) { - await _request.append("should_send_email", request.shouldSendEmail.toString()); - } - - if (request.emailFrom != null) { - await _request.append("email_from", request.emailFrom); - } - - if (request.emailCc != null) { - await _request.append("email_cc", request.emailCc); - } - - if (request.emailBcc != null) { - await _request.append("email_bcc", request.emailBcc); - } - - if (request.emailSubject != null) { - await _request.append("email_subject", request.emailSubject); - } - - if (request.emailBody != null) { - await _request.append("email_body", request.emailBody); - } - - if (request.emailBodyEnableHtml != null) { - await _request.append("email_body_enable_html", request.emailBodyEnableHtml.toString()); - } - - if (request.fallbackEmailBody != null) { - await _request.append("fallback_email_body", request.fallbackEmailBody); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/EmailFaceInpainting/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.EmailFaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3FaceInpaintingAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3FaceInpaintingAsyncForm({ - * inputImage: "input_image", - * textPrompt: "text_prompt" - * }) - */ - public async postV3FaceInpaintingAsyncForm( - request: Gooey.PostV3FaceInpaintingAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("input_image", request.inputImage); - await _request.append("text_prompt", request.textPrompt); - if (request.faceScale != null) { - await _request.append("face_scale", request.faceScale.toString()); - } - - if (request.facePosX != null) { - await _request.append("face_pos_x", request.facePosX.toString()); - } - - if (request.facePosY != null) { - await _request.append("face_pos_y", request.facePosY.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.upscaleFactor != null) { - await _request.append("upscale_factor", request.upscaleFactor.toString()); - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/FaceInpainting/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.FaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3GoogleImageGenAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3GoogleImageGenAsyncForm({ - * searchQuery: "search_query", - * textPrompt: "text_prompt" - * }) - */ - public async postV3GoogleImageGenAsyncForm( - request: Gooey.PostV3GoogleImageGenAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.serpSearchLocation != null) { - await _request.append("serp_search_location", request.serpSearchLocation); - } - - if (request.scaleserpLocations != null) { - for (const _item of request.scaleserpLocations) { - await _request.append("scaleserp_locations", _item); - } - } - - await _request.append("search_query", request.searchQuery); - await _request.append("text_prompt", request.textPrompt); - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.promptStrength != null) { - await _request.append("prompt_strength", request.promptStrength.toString()); - } - - if (request.sd2Upscaling != null) { - await _request.append("sd_2_upscaling", request.sd2Upscaling.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.imageGuidanceScale != null) { - await _request.append("image_guidance_scale", request.imageGuidanceScale.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/GoogleImageGen/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.GoogleImageGenPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3ImageSegmentationAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3ImageSegmentationAsyncForm({ - * inputImage: "input_image" - * }) - */ - public async postV3ImageSegmentationAsyncForm( - request: Gooey.PostV3ImageSegmentationAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("input_image", request.inputImage); - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.maskThreshold != null) { - await _request.append("mask_threshold", request.maskThreshold.toString()); - } - - if (request.rectPersepectiveTransform != null) { - await _request.append("rect_persepective_transform", request.rectPersepectiveTransform.toString()); - } - - if (request.reflectionOpacity != null) { - await _request.append("reflection_opacity", request.reflectionOpacity.toString()); - } - - if (request.objScale != null) { - await _request.append("obj_scale", request.objScale.toString()); - } - - if (request.objPosX != null) { - await _request.append("obj_pos_x", request.objPosX.toString()); - } - - if (request.objPosY != null) { - await _request.append("obj_pos_y", request.objPosY.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/ImageSegmentation/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.ImageSegmentationPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3Img2ImgAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3Img2ImgAsyncForm({ - * inputImage: "input_image" - * }) - */ - public async postV3Img2ImgAsyncForm( - request: Gooey.PostV3Img2ImgAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("input_image", request.inputImage); - if (request.textPrompt != null) { - await _request.append("text_prompt", request.textPrompt); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.selectedControlnetModel != null) { - if (Array.isArray(request.selectedControlnetModel)) - for (const _item of request.selectedControlnetModel) { - await _request.append( - "selected_controlnet_model", - typeof _item === "string" ? _item : JSON.stringify(_item) - ); - } - } - - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.promptStrength != null) { - await _request.append("prompt_strength", request.promptStrength.toString()); - } - - if (request.controlnetConditioningScale != null) { - for (const _item of request.controlnetConditioningScale) { - await _request.append("controlnet_conditioning_scale", _item.toString()); - } - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.imageGuidanceScale != null) { - await _request.append("image_guidance_scale", request.imageGuidanceScale.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/Img2Img/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.Img2ImgPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3LetterWriterAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3LetterWriterAsyncForm({ - * actionId: "action_id" - * }) - */ - public async postV3LetterWriterAsyncForm( - request: Gooey.PostV3LetterWriterAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("action_id", request.actionId); - if (request.promptHeader != null) { - await _request.append("prompt_header", request.promptHeader); - } - - if (request.exampleLetters != null) { - for (const _item of request.exampleLetters) { - await _request.append("example_letters", JSON.stringify(_item)); - } - } - - if (request.lmSelectedApi != null) { - await _request.append("lm_selected_api", request.lmSelectedApi); - } - - if (request.lmSelectedEngine != null) { - await _request.append("lm_selected_engine", request.lmSelectedEngine); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.lmSamplingTemperature != null) { - await _request.append("lm_sampling_temperature", request.lmSamplingTemperature.toString()); - } - - if (request.apiHttpMethod != null) { - await _request.append("api_http_method", request.apiHttpMethod); - } - - if (request.apiUrl != null) { - await _request.append("api_url", request.apiUrl); - } - - if (request.apiHeaders != null) { - await _request.append("api_headers", request.apiHeaders); - } - - if (request.apiJsonBody != null) { - await _request.append("api_json_body", request.apiJsonBody); - } - - if (request.inputPrompt != null) { - await _request.append("input_prompt", request.inputPrompt); - } - - if (request.stripHtml2Text != null) { - await _request.append("strip_html_2_text", request.stripHtml2Text.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/LetterWriter/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.LetterWriterPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3LipsyncAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3LipsyncAsyncForm({}) - */ - public async postV3LipsyncAsyncForm( - request: Gooey.PostV3LipsyncAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.inputFace != null) { - await _request.append("input_face", request.inputFace); - } - - if (request.facePaddingTop != null) { - await _request.append("face_padding_top", request.facePaddingTop.toString()); - } - - if (request.facePaddingBottom != null) { - await _request.append("face_padding_bottom", request.facePaddingBottom.toString()); - } - - if (request.facePaddingLeft != null) { - await _request.append("face_padding_left", request.facePaddingLeft.toString()); - } - - if (request.facePaddingRight != null) { - await _request.append("face_padding_right", request.facePaddingRight.toString()); - } - - if (request.sadtalkerSettings != null) { - await _request.append("sadtalker_settings", JSON.stringify(request.sadtalkerSettings)); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.inputAudio != null) { - await _request.append("input_audio", request.inputAudio); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/Lipsync/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.LipsyncPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3LipsyncTtsAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3LipsyncTtsAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3LipsyncTtsAsyncForm( - request: Gooey.PostV3LipsyncTtsAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.ttsProvider != null) { - await _request.append("tts_provider", request.ttsProvider); - } - - if (request.uberduckVoiceName != null) { - await _request.append("uberduck_voice_name", request.uberduckVoiceName); - } - - if (request.uberduckSpeakingRate != null) { - await _request.append("uberduck_speaking_rate", request.uberduckSpeakingRate.toString()); - } - - if (request.googleVoiceName != null) { - await _request.append("google_voice_name", request.googleVoiceName); - } - - if (request.googleSpeakingRate != null) { - await _request.append("google_speaking_rate", request.googleSpeakingRate.toString()); - } - - if (request.googlePitch != null) { - await _request.append("google_pitch", request.googlePitch.toString()); - } - - if (request.barkHistoryPrompt != null) { - await _request.append("bark_history_prompt", request.barkHistoryPrompt); - } - - if (request.elevenlabsVoiceName != null) { - await _request.append("elevenlabs_voice_name", request.elevenlabsVoiceName); - } - - if (request.elevenlabsApiKey != null) { - await _request.append("elevenlabs_api_key", request.elevenlabsApiKey); - } - - if (request.elevenlabsVoiceId != null) { - await _request.append("elevenlabs_voice_id", request.elevenlabsVoiceId); - } - - if (request.elevenlabsModel != null) { - await _request.append("elevenlabs_model", request.elevenlabsModel); - } - - if (request.elevenlabsStability != null) { - await _request.append("elevenlabs_stability", request.elevenlabsStability.toString()); - } - - if (request.elevenlabsSimilarityBoost != null) { - await _request.append("elevenlabs_similarity_boost", request.elevenlabsSimilarityBoost.toString()); - } - - if (request.elevenlabsStyle != null) { - await _request.append("elevenlabs_style", request.elevenlabsStyle.toString()); - } - - if (request.elevenlabsSpeakerBoost != null) { - await _request.append("elevenlabs_speaker_boost", request.elevenlabsSpeakerBoost.toString()); - } - - if (request.azureVoiceName != null) { - await _request.append("azure_voice_name", request.azureVoiceName); - } - - if (request.openaiVoiceName != null) { - await _request.append("openai_voice_name", request.openaiVoiceName); - } - - if (request.openaiTtsModel != null) { - await _request.append("openai_tts_model", request.openaiTtsModel); - } - - if (request.inputFace != null) { - await _request.append("input_face", request.inputFace); - } - - if (request.facePaddingTop != null) { - await _request.append("face_padding_top", request.facePaddingTop.toString()); - } - - if (request.facePaddingBottom != null) { - await _request.append("face_padding_bottom", request.facePaddingBottom.toString()); - } - - if (request.facePaddingLeft != null) { - await _request.append("face_padding_left", request.facePaddingLeft.toString()); - } - - if (request.facePaddingRight != null) { - await _request.append("face_padding_right", request.facePaddingRight.toString()); - } - - if (request.sadtalkerSettings != null) { - await _request.append("sadtalker_settings", JSON.stringify(request.sadtalkerSettings)); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/LipsyncTTS/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.LipsyncTtsPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3ObjectInpaintingAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3ObjectInpaintingAsyncForm({ - * inputImage: "input_image", - * textPrompt: "text_prompt" - * }) - */ - public async postV3ObjectInpaintingAsyncForm( - request: Gooey.PostV3ObjectInpaintingAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("input_image", request.inputImage); - await _request.append("text_prompt", request.textPrompt); - if (request.objScale != null) { - await _request.append("obj_scale", request.objScale.toString()); - } - - if (request.objPosX != null) { - await _request.append("obj_pos_x", request.objPosX.toString()); - } - - if (request.objPosY != null) { - await _request.append("obj_pos_y", request.objPosY.toString()); - } - - if (request.maskThreshold != null) { - await _request.append("mask_threshold", request.maskThreshold.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.sd2Upscaling != null) { - await _request.append("sd_2_upscaling", request.sd2Upscaling.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/ObjectInpainting/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.ObjectInpaintingPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3SeoSummaryAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3SeoSummaryAsyncForm({ - * searchQuery: "search_query", - * keywords: "keywords", - * title: "title", - * companyUrl: "company_url" - * }) - */ - public async postV3SeoSummaryAsyncForm( - request: Gooey.PostV3SeoSummaryAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - await _request.append("search_query", request.searchQuery); - await _request.append("keywords", request.keywords); - await _request.append("title", request.title); - await _request.append("company_url", request.companyUrl); - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.enableHtml != null) { - await _request.append("enable_html", request.enableHtml.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.maxSearchUrls != null) { - await _request.append("max_search_urls", request.maxSearchUrls.toString()); - } - - if (request.enableCrosslinks != null) { - await _request.append("enable_crosslinks", request.enableCrosslinks.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.serpSearchLocation != null) { - await _request.append("serp_search_location", request.serpSearchLocation); - } - - if (request.scaleserpLocations != null) { - for (const _item of request.scaleserpLocations) { - await _request.append("scaleserp_locations", _item); - } - } - - if (request.serpSearchType != null) { - await _request.append("serp_search_type", request.serpSearchType); - } - - if (request.scaleserpSearchField != null) { - await _request.append("scaleserp_search_field", request.scaleserpSearchField); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/SEOSummary/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.SeoSummaryPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3SmartGptAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3SmartGptAsyncForm({ - * inputPrompt: "input_prompt" - * }) - */ - public async postV3SmartGptAsyncForm( - request: Gooey.PostV3SmartGptAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("input_prompt", request.inputPrompt); - if (request.cotPrompt != null) { - await _request.append("cot_prompt", request.cotPrompt); - } - - if (request.reflexionPrompt != null) { - await _request.append("reflexion_prompt", request.reflexionPrompt); - } - - if (request.deraPrompt != null) { - await _request.append("dera_prompt", request.deraPrompt); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/SmartGPT/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.SmartGptPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3SocialLookupEmailAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3SocialLookupEmailAsyncForm({ - * emailAddress: "email_address" - * }) - */ - public async postV3SocialLookupEmailAsyncForm( - request: Gooey.PostV3SocialLookupEmailAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("email_address", request.emailAddress); - if (request.inputPrompt != null) { - await _request.append("input_prompt", request.inputPrompt); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/SocialLookupEmail/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.SocialLookupEmailPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3TextToSpeechAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3TextToSpeechAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3TextToSpeechAsyncForm( - request: Gooey.PostV3TextToSpeechAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.ttsProvider != null) { - await _request.append("tts_provider", request.ttsProvider); - } - - if (request.uberduckVoiceName != null) { - await _request.append("uberduck_voice_name", request.uberduckVoiceName); - } - - if (request.uberduckSpeakingRate != null) { - await _request.append("uberduck_speaking_rate", request.uberduckSpeakingRate.toString()); - } - - if (request.googleVoiceName != null) { - await _request.append("google_voice_name", request.googleVoiceName); - } - - if (request.googleSpeakingRate != null) { - await _request.append("google_speaking_rate", request.googleSpeakingRate.toString()); - } - - if (request.googlePitch != null) { - await _request.append("google_pitch", request.googlePitch.toString()); - } - - if (request.barkHistoryPrompt != null) { - await _request.append("bark_history_prompt", request.barkHistoryPrompt); - } - - if (request.elevenlabsVoiceName != null) { - await _request.append("elevenlabs_voice_name", request.elevenlabsVoiceName); - } - - if (request.elevenlabsApiKey != null) { - await _request.append("elevenlabs_api_key", request.elevenlabsApiKey); - } - - if (request.elevenlabsVoiceId != null) { - await _request.append("elevenlabs_voice_id", request.elevenlabsVoiceId); - } - - if (request.elevenlabsModel != null) { - await _request.append("elevenlabs_model", request.elevenlabsModel); - } - - if (request.elevenlabsStability != null) { - await _request.append("elevenlabs_stability", request.elevenlabsStability.toString()); - } - - if (request.elevenlabsSimilarityBoost != null) { - await _request.append("elevenlabs_similarity_boost", request.elevenlabsSimilarityBoost.toString()); - } - - if (request.elevenlabsStyle != null) { - await _request.append("elevenlabs_style", request.elevenlabsStyle.toString()); - } - - if (request.elevenlabsSpeakerBoost != null) { - await _request.append("elevenlabs_speaker_boost", request.elevenlabsSpeakerBoost.toString()); - } - - if (request.azureVoiceName != null) { - await _request.append("azure_voice_name", request.azureVoiceName); - } - - if (request.openaiVoiceName != null) { - await _request.append("openai_voice_name", request.openaiVoiceName); - } - - if (request.openaiTtsModel != null) { - await _request.append("openai_tts_model", request.openaiTtsModel); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/TextToSpeech/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.TextToSpeechPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3ArtQrCodeAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3ArtQrCodeAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3ArtQrCodeAsyncForm( - request: Gooey.PostV3ArtQrCodeAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.qrCodeData != null) { - await _request.append("qr_code_data", request.qrCodeData); - } - - if (request.qrCodeInputImage != null) { - await _request.append("qr_code_input_image", request.qrCodeInputImage); - } - - if (request.qrCodeVcard != null) { - await _request.append("qr_code_vcard", JSON.stringify(request.qrCodeVcard)); - } - - if (request.qrCodeFile != null) { - await _request.append("qr_code_file", request.qrCodeFile); - } - - if (request.useUrlShortener != null) { - await _request.append("use_url_shortener", request.useUrlShortener.toString()); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.imagePrompt != null) { - await _request.append("image_prompt", request.imagePrompt); - } - - if (request.imagePromptControlnetModels != null) { - for (const _item of request.imagePromptControlnetModels) { - await _request.append("image_prompt_controlnet_models", _item); - } - } - - if (request.imagePromptStrength != null) { - await _request.append("image_prompt_strength", request.imagePromptStrength.toString()); - } - - if (request.imagePromptScale != null) { - await _request.append("image_prompt_scale", request.imagePromptScale.toString()); - } - - if (request.imagePromptPosX != null) { - await _request.append("image_prompt_pos_x", request.imagePromptPosX.toString()); - } - - if (request.imagePromptPosY != null) { - await _request.append("image_prompt_pos_y", request.imagePromptPosY.toString()); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.selectedControlnetModel != null) { - for (const _item of request.selectedControlnetModel) { - await _request.append("selected_controlnet_model", _item); - } - } - - if (request.outputWidth != null) { - await _request.append("output_width", request.outputWidth.toString()); - } - - if (request.outputHeight != null) { - await _request.append("output_height", request.outputHeight.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.controlnetConditioningScale != null) { - for (const _item of request.controlnetConditioningScale) { - await _request.append("controlnet_conditioning_scale", _item.toString()); - } - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.scheduler != null) { - await _request.append("scheduler", request.scheduler); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.objScale != null) { - await _request.append("obj_scale", request.objScale.toString()); - } - - if (request.objPosX != null) { - await _request.append("obj_pos_x", request.objPosX.toString()); - } - - if (request.objPosY != null) { - await _request.append("obj_pos_y", request.objPosY.toString()); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/art-qr-code/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.QrCodeGeneratorPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3AsrAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3AsrAsyncForm({ - * documents: ["documents"] - * }) - */ - public async postV3AsrAsyncForm( - request: Gooey.PostV3AsrAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.documents) { - await _request.append("documents", _item); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.language != null) { - await _request.append("language", request.language); - } - - if (request.translationModel != null) { - await _request.append("translation_model", request.translationModel); - } - - if (request.outputFormat != null) { - await _request.append("output_format", request.outputFormat); - } - - if (request.googleTranslateTarget != null) { - await _request.append("google_translate_target", request.googleTranslateTarget); - } - - if (request.translationSource != null) { - await _request.append("translation_source", request.translationSource); - } - - if (request.translationTarget != null) { - await _request.append("translation_target", request.translationTarget); - } - - if (request.glossaryDocument != null) { - await _request.append("glossary_document", request.glossaryDocument); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/asr/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.AsrPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3BulkEvalAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3BulkEvalAsyncForm({ - * documents: ["documents"] - * }) - */ - public async postV3BulkEvalAsyncForm( - request: Gooey.PostV3BulkEvalAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.documents) { - await _request.append("documents", _item); - } - - if (request.evalPrompts != null) { - for (const _item of request.evalPrompts) { - await _request.append("eval_prompts", JSON.stringify(_item)); - } - } - - if (request.aggFunctions != null) { - for (const _item of request.aggFunctions) { - await _request.append("agg_functions", JSON.stringify(_item)); - } - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/bulk-eval/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.BulkEvalPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3BulkRunnerAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3BulkRunnerAsyncForm({ - * documents: ["documents"], - * runUrls: ["run_urls"], - * inputColumns: { - * "key": "value" - * }, - * outputColumns: { - * "key": "value" - * } - * }) - */ - public async postV3BulkRunnerAsyncForm( - request: Gooey.PostV3BulkRunnerAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.documents) { - await _request.append("documents", _item); - } - - for (const _item of request.runUrls) { - await _request.append("run_urls", _item); - } - - await _request.append("input_columns", JSON.stringify(request.inputColumns)); - await _request.append("output_columns", JSON.stringify(request.outputColumns)); - if (request.evalUrls != null) { - for (const _item of request.evalUrls) { - await _request.append("eval_urls", _item); - } - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/bulk-runner/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.BulkRunnerPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3CompareAiUpscalersAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3CompareAiUpscalersAsyncForm({ - * scale: 1 - * }) - */ - public async postV3CompareAiUpscalersAsyncForm( - request: Gooey.PostV3CompareAiUpscalersAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.inputImage != null) { - await _request.append("input_image", request.inputImage); - } - - if (request.inputVideo != null) { - await _request.append("input_video", request.inputVideo); - } - - await _request.append("scale", request.scale.toString()); - if (request.selectedModels != null) { - for (const _item of request.selectedModels) { - await _request.append("selected_models", _item); - } - } - - if (request.selectedBgModel != null) { - await _request.append("selected_bg_model", request.selectedBgModel); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/compare-ai-upscalers/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.CompareUpscalerPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3DocExtractAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3DocExtractAsyncForm({ - * documents: ["documents"] - * }) - */ - public async postV3DocExtractAsyncForm( - request: Gooey.PostV3DocExtractAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.documents) { - await _request.append("documents", _item); - } - - if (request.sheetUrl != null) { - await _request.append("sheet_url", request.sheetUrl); - } - - if (request.selectedAsrModel != null) { - await _request.append("selected_asr_model", request.selectedAsrModel); - } - - if (request.googleTranslateTarget != null) { - await _request.append("google_translate_target", request.googleTranslateTarget); - } - - if (request.glossaryDocument != null) { - await _request.append("glossary_document", request.glossaryDocument); - } - - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/doc-extract/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.DocExtractPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3DocSearchAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3DocSearchAsyncForm({ - * searchQuery: "search_query" - * }) - */ - public async postV3DocSearchAsyncForm( - request: Gooey.PostV3DocSearchAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("search_query", request.searchQuery); - if (request.keywordQuery != null) { - if (Array.isArray(request.keywordQuery)) - for (const _item of request.keywordQuery) { - await _request.append("keyword_query", typeof _item === "string" ? _item : JSON.stringify(_item)); - } - } - - if (request.documents != null) { - for (const _item of request.documents) { - await _request.append("documents", _item); - } - } - - if (request.maxReferences != null) { - await _request.append("max_references", request.maxReferences.toString()); - } - - if (request.maxContextWords != null) { - await _request.append("max_context_words", request.maxContextWords.toString()); - } - - if (request.scrollJump != null) { - await _request.append("scroll_jump", request.scrollJump.toString()); - } - - if (request.docExtractUrl != null) { - await _request.append("doc_extract_url", request.docExtractUrl); - } - - if (request.embeddingModel != null) { - await _request.append("embedding_model", request.embeddingModel); - } - - if (request.denseWeight != null) { - await _request.append("dense_weight", request.denseWeight.toString()); - } - - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.queryInstructions != null) { - await _request.append("query_instructions", request.queryInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.citationStyle != null) { - await _request.append("citation_style", request.citationStyle); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/doc-search/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.DocSearchPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3DocSummaryAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3DocSummaryAsyncForm({ - * documents: ["documents"] - * }) - */ - public async postV3DocSummaryAsyncForm( - request: Gooey.PostV3DocSummaryAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.documents) { - await _request.append("documents", _item); - } - - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.mergeInstructions != null) { - await _request.append("merge_instructions", request.mergeInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.chainType != null) { - await _request.append("chain_type", request.chainType); - } - - if (request.selectedAsrModel != null) { - await _request.append("selected_asr_model", request.selectedAsrModel); - } - - if (request.googleTranslateTarget != null) { - await _request.append("google_translate_target", request.googleTranslateTarget); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/doc-summary/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.DocSummaryPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3EmbeddingsAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3EmbeddingsAsyncForm({ - * texts: ["texts"] - * }) - */ - public async postV3EmbeddingsAsyncForm( - request: Gooey.PostV3EmbeddingsAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - for (const _item of request.texts) { - await _request.append("texts", _item); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/embeddings/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.EmbeddingsPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3FunctionsAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3FunctionsAsyncForm({}) - */ - public async postV3FunctionsAsyncForm( - request: Gooey.PostV3FunctionsAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.code != null) { - await _request.append("code", request.code); - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/functions/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.FunctionsPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3GoogleGptAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3GoogleGptAsyncForm({ - * searchQuery: "search_query", - * siteFilter: "site_filter" - * }) - */ - public async postV3GoogleGptAsyncForm( - request: Gooey.PostV3GoogleGptAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("search_query", request.searchQuery); - await _request.append("site_filter", request.siteFilter); - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.queryInstructions != null) { - await _request.append("query_instructions", request.queryInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.maxSearchUrls != null) { - await _request.append("max_search_urls", request.maxSearchUrls.toString()); - } - - if (request.maxReferences != null) { - await _request.append("max_references", request.maxReferences.toString()); - } - - if (request.maxContextWords != null) { - await _request.append("max_context_words", request.maxContextWords.toString()); - } - - if (request.scrollJump != null) { - await _request.append("scroll_jump", request.scrollJump.toString()); - } - - if (request.embeddingModel != null) { - await _request.append("embedding_model", request.embeddingModel); - } - - if (request.denseWeight != null) { - await _request.append("dense_weight", request.denseWeight.toString()); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.serpSearchLocation != null) { - await _request.append("serp_search_location", request.serpSearchLocation); - } - - if (request.scaleserpLocations != null) { - for (const _item of request.scaleserpLocations) { - await _request.append("scaleserp_locations", _item); - } - } - - if (request.serpSearchType != null) { - await _request.append("serp_search_type", request.serpSearchType); - } - - if (request.scaleserpSearchField != null) { - await _request.append("scaleserp_search_field", request.scaleserpSearchField); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/google-gpt/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.GoogleGptPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3RelatedQnaMakerDocAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3RelatedQnaMakerDocAsyncForm({ - * searchQuery: "search_query" - * }) - */ - public async postV3RelatedQnaMakerDocAsyncForm( - request: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("search_query", request.searchQuery); - if (request.keywordQuery != null) { - if (Array.isArray(request.keywordQuery)) - for (const _item of request.keywordQuery) { - await _request.append("keyword_query", typeof _item === "string" ? _item : JSON.stringify(_item)); - } - } - - if (request.documents != null) { - for (const _item of request.documents) { - await _request.append("documents", _item); - } - } - - if (request.maxReferences != null) { - await _request.append("max_references", request.maxReferences.toString()); - } - - if (request.maxContextWords != null) { - await _request.append("max_context_words", request.maxContextWords.toString()); - } - - if (request.scrollJump != null) { - await _request.append("scroll_jump", request.scrollJump.toString()); - } - - if (request.docExtractUrl != null) { - await _request.append("doc_extract_url", request.docExtractUrl); - } - - if (request.embeddingModel != null) { - await _request.append("embedding_model", request.embeddingModel); - } - - if (request.denseWeight != null) { - await _request.append("dense_weight", request.denseWeight.toString()); - } - - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.queryInstructions != null) { - await _request.append("query_instructions", request.queryInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.citationStyle != null) { - await _request.append("citation_style", request.citationStyle); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.serpSearchLocation != null) { - await _request.append("serp_search_location", request.serpSearchLocation); - } - - if (request.scaleserpLocations != null) { - for (const _item of request.scaleserpLocations) { - await _request.append("scaleserp_locations", _item); - } - } - - if (request.serpSearchType != null) { - await _request.append("serp_search_type", request.serpSearchType); - } - - if (request.scaleserpSearchField != null) { - await _request.append("scaleserp_search_field", request.scaleserpSearchField); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/related-qna-maker-doc/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.RelatedQnADocPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3RelatedQnaMakerAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3RelatedQnaMakerAsyncForm({ - * searchQuery: "search_query", - * siteFilter: "site_filter" - * }) - */ - public async postV3RelatedQnaMakerAsyncForm( - request: Gooey.PostV3RelatedQnaMakerAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("search_query", request.searchQuery); - await _request.append("site_filter", request.siteFilter); - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.queryInstructions != null) { - await _request.append("query_instructions", request.queryInstructions); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.maxSearchUrls != null) { - await _request.append("max_search_urls", request.maxSearchUrls.toString()); - } - - if (request.maxReferences != null) { - await _request.append("max_references", request.maxReferences.toString()); - } - - if (request.maxContextWords != null) { - await _request.append("max_context_words", request.maxContextWords.toString()); - } - - if (request.scrollJump != null) { - await _request.append("scroll_jump", request.scrollJump.toString()); - } - - if (request.embeddingModel != null) { - await _request.append("embedding_model", request.embeddingModel); - } - - if (request.denseWeight != null) { - await _request.append("dense_weight", request.denseWeight.toString()); - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.serpSearchLocation != null) { - await _request.append("serp_search_location", request.serpSearchLocation); - } - - if (request.scaleserpLocations != null) { - for (const _item of request.scaleserpLocations) { - await _request.append("scaleserp_locations", _item); - } - } - - if (request.serpSearchType != null) { - await _request.append("serp_search_type", request.serpSearchType); - } - - if (request.scaleserpSearchField != null) { - await _request.append("scaleserp_search_field", request.scaleserpSearchField); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/related-qna-maker/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.RelatedQnAPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3Text2AudioAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3Text2AudioAsyncForm({ - * textPrompt: "text_prompt" - * }) - */ - public async postV3Text2AudioAsyncForm( - request: Gooey.PostV3Text2AudioAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - await _request.append("text_prompt", request.textPrompt); - if (request.negativePrompt != null) { - await _request.append("negative_prompt", request.negativePrompt); - } - - if (request.durationSec != null) { - await _request.append("duration_sec", request.durationSec.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.guidanceScale != null) { - await _request.append("guidance_scale", request.guidanceScale.toString()); - } - - if (request.seed != null) { - await _request.append("seed", request.seed.toString()); - } - - if (request.sd2Upscaling != null) { - await _request.append("sd_2_upscaling", request.sd2Upscaling.toString()); - } - - if (request.selectedModels != null) { - for (const _item of request.selectedModels) { - await _request.append("selected_models", _item); - } - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/text2audio/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.Text2AudioPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3TranslateAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3TranslateAsyncForm({}) - */ - public async postV3TranslateAsyncForm( - request: Gooey.PostV3TranslateAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.texts != null) { - for (const _item of request.texts) { - await _request.append("texts", _item); - } - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.translationSource != null) { - await _request.append("translation_source", request.translationSource); - } - - if (request.translationTarget != null) { - await _request.append("translation_target", request.translationTarget); - } - - if (request.glossaryDocument != null) { - await _request.append("glossary_document", request.glossaryDocument); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/translate/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.TranslationPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - - /** - * @param {Gooey.PostV3VideoBotsAsyncFormRequest} request - * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.postV3VideoBotsAsyncForm({}) - */ - public async postV3VideoBotsAsyncForm( - request: Gooey.PostV3VideoBotsAsyncFormRequest, - requestOptions?: GooeyClient.RequestOptions - ): Promise { - const _request = await core.newFormData(); - if (request.functions != null) { - for (const _item of request.functions) { - await _request.append("functions", JSON.stringify(_item)); - } - } - - if (request.variables != null) { - await _request.append("variables", JSON.stringify(request.variables)); - } - - if (request.inputPrompt != null) { - await _request.append("input_prompt", request.inputPrompt); - } - - if (request.inputAudio != null) { - await _request.append("input_audio", request.inputAudio); - } - - if (request.inputImages != null) { - for (const _item of request.inputImages) { - await _request.append("input_images", _item); - } - } - - if (request.inputDocuments != null) { - for (const _item of request.inputDocuments) { - await _request.append("input_documents", _item); - } - } - - if (request.docExtractUrl != null) { - await _request.append("doc_extract_url", request.docExtractUrl); - } - - if (request.messages != null) { - for (const _item of request.messages) { - await _request.append("messages", JSON.stringify(_item)); - } - } - - if (request.botScript != null) { - await _request.append("bot_script", request.botScript); - } - - if (request.selectedModel != null) { - await _request.append("selected_model", request.selectedModel); - } - - if (request.documentModel != null) { - await _request.append("document_model", request.documentModel); - } - - if (request.taskInstructions != null) { - await _request.append("task_instructions", request.taskInstructions); - } - - if (request.queryInstructions != null) { - await _request.append("query_instructions", request.queryInstructions); - } - - if (request.keywordInstructions != null) { - await _request.append("keyword_instructions", request.keywordInstructions); - } - - if (request.documents != null) { - for (const _item of request.documents) { - await _request.append("documents", _item); - } - } - - if (request.maxReferences != null) { - await _request.append("max_references", request.maxReferences.toString()); - } - - if (request.maxContextWords != null) { - await _request.append("max_context_words", request.maxContextWords.toString()); - } - - if (request.scrollJump != null) { - await _request.append("scroll_jump", request.scrollJump.toString()); - } - - if (request.embeddingModel != null) { - await _request.append("embedding_model", request.embeddingModel); - } - - if (request.denseWeight != null) { - await _request.append("dense_weight", request.denseWeight.toString()); - } - - if (request.citationStyle != null) { - await _request.append("citation_style", request.citationStyle); - } - - if (request.useUrlShortener != null) { - await _request.append("use_url_shortener", request.useUrlShortener.toString()); - } - - if (request.asrModel != null) { - await _request.append("asr_model", request.asrModel); - } - - if (request.asrLanguage != null) { - await _request.append("asr_language", request.asrLanguage); - } - - if (request.translationModel != null) { - await _request.append("translation_model", request.translationModel); - } - - if (request.userLanguage != null) { - await _request.append("user_language", request.userLanguage); - } - - if (request.inputGlossaryDocument != null) { - await _request.append("input_glossary_document", request.inputGlossaryDocument); - } - - if (request.outputGlossaryDocument != null) { - await _request.append("output_glossary_document", request.outputGlossaryDocument); - } - - if (request.lipsyncModel != null) { - await _request.append("lipsync_model", request.lipsyncModel); - } - - if (request.tools != null) { - for (const _item of request.tools) { - await _request.append("tools", _item); - } - } - - if (request.avoidRepetition != null) { - await _request.append("avoid_repetition", request.avoidRepetition.toString()); - } - - if (request.numOutputs != null) { - await _request.append("num_outputs", request.numOutputs.toString()); - } - - if (request.quality != null) { - await _request.append("quality", request.quality.toString()); - } - - if (request.maxTokens != null) { - await _request.append("max_tokens", request.maxTokens.toString()); - } - - if (request.samplingTemperature != null) { - await _request.append("sampling_temperature", request.samplingTemperature.toString()); - } - - if (request.responseFormatType != null) { - await _request.append("response_format_type", request.responseFormatType); - } - - if (request.ttsProvider != null) { - await _request.append("tts_provider", request.ttsProvider); - } - - if (request.uberduckVoiceName != null) { - await _request.append("uberduck_voice_name", request.uberduckVoiceName); - } - - if (request.uberduckSpeakingRate != null) { - await _request.append("uberduck_speaking_rate", request.uberduckSpeakingRate.toString()); - } - - if (request.googleVoiceName != null) { - await _request.append("google_voice_name", request.googleVoiceName); - } - - if (request.googleSpeakingRate != null) { - await _request.append("google_speaking_rate", request.googleSpeakingRate.toString()); - } - - if (request.googlePitch != null) { - await _request.append("google_pitch", request.googlePitch.toString()); - } - - if (request.barkHistoryPrompt != null) { - await _request.append("bark_history_prompt", request.barkHistoryPrompt); - } - - if (request.elevenlabsVoiceName != null) { - await _request.append("elevenlabs_voice_name", request.elevenlabsVoiceName); - } - - if (request.elevenlabsApiKey != null) { - await _request.append("elevenlabs_api_key", request.elevenlabsApiKey); - } - - if (request.elevenlabsVoiceId != null) { - await _request.append("elevenlabs_voice_id", request.elevenlabsVoiceId); - } - - if (request.elevenlabsModel != null) { - await _request.append("elevenlabs_model", request.elevenlabsModel); - } - - if (request.elevenlabsStability != null) { - await _request.append("elevenlabs_stability", request.elevenlabsStability.toString()); - } - - if (request.elevenlabsSimilarityBoost != null) { - await _request.append("elevenlabs_similarity_boost", request.elevenlabsSimilarityBoost.toString()); - } - - if (request.elevenlabsStyle != null) { - await _request.append("elevenlabs_style", request.elevenlabsStyle.toString()); - } - - if (request.elevenlabsSpeakerBoost != null) { - await _request.append("elevenlabs_speaker_boost", request.elevenlabsSpeakerBoost.toString()); - } - - if (request.azureVoiceName != null) { - await _request.append("azure_voice_name", request.azureVoiceName); - } - - if (request.openaiVoiceName != null) { - await _request.append("openai_voice_name", request.openaiVoiceName); - } - - if (request.openaiTtsModel != null) { - await _request.append("openai_tts_model", request.openaiTtsModel); - } - - if (request.inputFace != null) { - await _request.append("input_face", request.inputFace); - } - - if (request.facePaddingTop != null) { - await _request.append("face_padding_top", request.facePaddingTop.toString()); - } - - if (request.facePaddingBottom != null) { - await _request.append("face_padding_bottom", request.facePaddingBottom.toString()); - } - - if (request.facePaddingLeft != null) { - await _request.append("face_padding_left", request.facePaddingLeft.toString()); - } - - if (request.facePaddingRight != null) { - await _request.append("face_padding_right", request.facePaddingRight.toString()); - } - - if (request.sadtalkerSettings != null) { - await _request.append("sadtalker_settings", JSON.stringify(request.sadtalkerSettings)); - } - - if (request.settings != null) { - await _request.append("settings", JSON.stringify(request.settings)); - } - - const _maybeEncodedRequest = await _request.getRequest(); - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v3/video-bots/async/form" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - ..._maybeEncodedRequest.headers, - }, - requestType: "file", - duplex: _maybeEncodedRequest.duplex, - body: _maybeEncodedRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return serializers.VideoBotsPageStatusResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.GooeyError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.GooeyTimeoutError(); - case "unknown": - throw new errors.GooeyError({ - message: _response.error.errorMessage, - }); - } - } - protected _copilotIntegrations: CopilotIntegrations | undefined; public get copilotIntegrations(): CopilotIntegrations { diff --git a/src/api/client/requests/PostV3ArtQrCodeAsyncFormRequest.ts b/src/api/client/requests/PostV3ArtQrCodeAsyncFormRequest.ts deleted file mode 100644 index c1aa4e2..0000000 --- a/src/api/client/requests/PostV3ArtQrCodeAsyncFormRequest.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3ArtQrCodeAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - qrCodeData?: string; - qrCodeInputImage?: string; - qrCodeVcard?: Gooey.Vcard; - qrCodeFile?: string; - useUrlShortener?: boolean; - textPrompt: string; - negativePrompt?: string; - imagePrompt?: string; - imagePromptControlnetModels?: Gooey.PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem[]; - imagePromptStrength?: number; - imagePromptScale?: number; - imagePromptPosX?: number; - imagePromptPosY?: number; - selectedModel?: Gooey.PostV3ArtQrCodeAsyncFormRequestSelectedModel; - selectedControlnetModel?: Gooey.PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem[]; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - controlnetConditioningScale?: number[]; - numOutputs?: number; - quality?: number; - scheduler?: Gooey.PostV3ArtQrCodeAsyncFormRequestScheduler; - seed?: number; - objScale?: number; - objPosX?: number; - objPosY?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3AsrAsyncFormRequest.ts b/src/api/client/requests/PostV3AsrAsyncFormRequest.ts deleted file mode 100644 index 52e5fac..0000000 --- a/src/api/client/requests/PostV3AsrAsyncFormRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * documents: ["documents"] - * } - */ -export interface PostV3AsrAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - selectedModel?: Gooey.PostV3AsrAsyncFormRequestSelectedModel; - language?: string; - translationModel?: Gooey.PostV3AsrAsyncFormRequestTranslationModel; - outputFormat?: Gooey.PostV3AsrAsyncFormRequestOutputFormat; - /** use `translation_model` & `translation_target` instead. */ - googleTranslateTarget?: string; - translationSource?: string; - translationTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3BulkEvalAsyncFormRequest.ts b/src/api/client/requests/PostV3BulkEvalAsyncFormRequest.ts deleted file mode 100644 index e4a4779..0000000 --- a/src/api/client/requests/PostV3BulkEvalAsyncFormRequest.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * documents: ["documents"] - * } - */ -export interface PostV3BulkEvalAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** - * Upload or link to a CSV or google sheet that contains your sample input data. - * For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs. - * Remember to includes header names in your CSV too. - * - */ - documents: string[]; - /** - * Specify custom LLM prompts to calculate metrics that evaluate each row of the input data. The output should be a JSON object mapping the metric names to values. - * _The `columns` dictionary can be used to reference the spreadsheet columns._ - * - */ - evalPrompts?: Gooey.EvalPrompt[]; - /** - * Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats). - * - */ - aggFunctions?: Gooey.AggFunction[]; - selectedModel?: Gooey.PostV3BulkEvalAsyncFormRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3BulkEvalAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3BulkRunnerAsyncFormRequest.ts b/src/api/client/requests/PostV3BulkRunnerAsyncFormRequest.ts deleted file mode 100644 index f31025d..0000000 --- a/src/api/client/requests/PostV3BulkRunnerAsyncFormRequest.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * documents: ["documents"], - * runUrls: ["run_urls"], - * inputColumns: { - * "key": "value" - * }, - * outputColumns: { - * "key": "value" - * } - * } - */ -export interface PostV3BulkRunnerAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** - * Upload or link to a CSV or google sheet that contains your sample input data. - * For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs. - * Remember to includes header names in your CSV too. - * - */ - documents: string[]; - /** - * Provide one or more Gooey.AI workflow runs. - * You can add multiple runs from the same recipe (e.g. two versions of your copilot) and we'll run the inputs over both of them. - * - */ - runUrls: string[]; - /** - * For each input field in the Gooey.AI workflow, specify the column in your input data that corresponds to it. - * - */ - inputColumns: Record; - /** - * For each output field in the Gooey.AI workflow, specify the column name that you'd like to use for it in the output data. - * - */ - outputColumns: Record; - /** - * _(optional)_ Add one or more Gooey.AI Evaluator Workflows to evaluate the results of your runs. - * - */ - evalUrls?: string[]; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3ChyronPlantAsyncFormRequest.ts b/src/api/client/requests/PostV3ChyronPlantAsyncFormRequest.ts deleted file mode 100644 index 0fc50d3..0000000 --- a/src/api/client/requests/PostV3ChyronPlantAsyncFormRequest.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * midiNotes: "midi_notes" - * } - */ -export interface PostV3ChyronPlantAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - midiNotes: string; - midiNotesPrompt?: string; - chyronPrompt?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3CompareAiUpscalersAsyncFormRequest.ts b/src/api/client/requests/PostV3CompareAiUpscalersAsyncFormRequest.ts deleted file mode 100644 index ecab4c9..0000000 --- a/src/api/client/requests/PostV3CompareAiUpscalersAsyncFormRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * scale: 1 - * } - */ -export interface PostV3CompareAiUpscalersAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** Input Image */ - inputImage?: string; - /** Input Video */ - inputVideo?: string; - /** The final upsampling scale of the image */ - scale: number; - selectedModels?: Gooey.PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem[]; - selectedBgModel?: "real_esrgan_x2"; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3CompareLlmAsyncFormRequest.ts b/src/api/client/requests/PostV3CompareLlmAsyncFormRequest.ts deleted file mode 100644 index f0e611d..0000000 --- a/src/api/client/requests/PostV3CompareLlmAsyncFormRequest.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * {} - */ -export interface PostV3CompareLlmAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt?: string; - selectedModels?: Gooey.PostV3CompareLlmAsyncFormRequestSelectedModelsItem[]; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3CompareLlmAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3CompareText2ImgAsyncFormRequest.ts b/src/api/client/requests/PostV3CompareText2ImgAsyncFormRequest.ts deleted file mode 100644 index 47ffc4d..0000000 --- a/src/api/client/requests/PostV3CompareText2ImgAsyncFormRequest.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3CompareText2ImgAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - negativePrompt?: string; - outputWidth?: number; - outputHeight?: number; - numOutputs?: number; - quality?: number; - dallE3Quality?: string; - dallE3Style?: string; - guidanceScale?: number; - seed?: number; - sd2Upscaling?: boolean; - selectedModels?: Gooey.PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem[]; - scheduler?: Gooey.PostV3CompareText2ImgAsyncFormRequestScheduler; - editInstruction?: string; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3DeforumSdAsyncFormRequest.ts b/src/api/client/requests/PostV3DeforumSdAsyncFormRequest.ts deleted file mode 100644 index 71db53c..0000000 --- a/src/api/client/requests/PostV3DeforumSdAsyncFormRequest.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * animationPrompts: [{ - * frame: "frame", - * prompt: "prompt" - * }] - * } - */ -export interface PostV3DeforumSdAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - animationPrompts: Gooey.AnimationPrompt[]; - maxFrames?: number; - selectedModel?: Gooey.PostV3DeforumSdAsyncFormRequestSelectedModel; - animationMode?: string; - zoom?: string; - translationX?: string; - translationY?: string; - rotation3DX?: string; - rotation3DY?: string; - rotation3DZ?: string; - fps?: number; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3DocExtractAsyncFormRequest.ts b/src/api/client/requests/PostV3DocExtractAsyncFormRequest.ts deleted file mode 100644 index 7aaa9a6..0000000 --- a/src/api/client/requests/PostV3DocExtractAsyncFormRequest.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * documents: ["documents"] - * } - */ -export interface PostV3DocExtractAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - sheetUrl?: string; - selectedAsrModel?: Gooey.PostV3DocExtractAsyncFormRequestSelectedAsrModel; - googleTranslateTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - taskInstructions?: string; - selectedModel?: Gooey.PostV3DocExtractAsyncFormRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3DocExtractAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3DocSearchAsyncFormRequest.ts b/src/api/client/requests/PostV3DocSearchAsyncFormRequest.ts deleted file mode 100644 index 91a5c9e..0000000 --- a/src/api/client/requests/PostV3DocSearchAsyncFormRequest.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query" - * } - */ -export interface PostV3DocSearchAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - keywordQuery?: Gooey.PostV3DocSearchAsyncFormRequestKeywordQuery; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - docExtractUrl?: string; - embeddingModel?: Gooey.PostV3DocSearchAsyncFormRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - * - */ - denseWeight?: number; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.PostV3DocSearchAsyncFormRequestSelectedModel; - citationStyle?: Gooey.PostV3DocSearchAsyncFormRequestCitationStyle; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3DocSearchAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3DocSummaryAsyncFormRequest.ts b/src/api/client/requests/PostV3DocSummaryAsyncFormRequest.ts deleted file mode 100644 index 0bad96d..0000000 --- a/src/api/client/requests/PostV3DocSummaryAsyncFormRequest.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * documents: ["documents"] - * } - */ -export interface PostV3DocSummaryAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - taskInstructions?: string; - mergeInstructions?: string; - selectedModel?: Gooey.PostV3DocSummaryAsyncFormRequestSelectedModel; - chainType?: "map_reduce"; - selectedAsrModel?: Gooey.PostV3DocSummaryAsyncFormRequestSelectedAsrModel; - googleTranslateTarget?: string; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3DocSummaryAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3EmailFaceInpaintingAsyncFormRequest.ts b/src/api/client/requests/PostV3EmailFaceInpaintingAsyncFormRequest.ts deleted file mode 100644 index 1531d82..0000000 --- a/src/api/client/requests/PostV3EmailFaceInpaintingAsyncFormRequest.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3EmailFaceInpaintingAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - emailAddress?: string; - twitterHandle?: string; - textPrompt: string; - faceScale?: number; - facePosX?: number; - facePosY?: number; - selectedModel?: Gooey.PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - upscaleFactor?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - shouldSendEmail?: boolean; - emailFrom?: string; - emailCc?: string; - emailBcc?: string; - emailSubject?: string; - emailBody?: string; - emailBodyEnableHtml?: boolean; - fallbackEmailBody?: string; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3EmbeddingsAsyncFormRequest.ts b/src/api/client/requests/PostV3EmbeddingsAsyncFormRequest.ts deleted file mode 100644 index a87e96c..0000000 --- a/src/api/client/requests/PostV3EmbeddingsAsyncFormRequest.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * texts: ["texts"] - * } - */ -export interface PostV3EmbeddingsAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - texts: string[]; - selectedModel?: Gooey.PostV3EmbeddingsAsyncFormRequestSelectedModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3FaceInpaintingAsyncFormRequest.ts b/src/api/client/requests/PostV3FaceInpaintingAsyncFormRequest.ts deleted file mode 100644 index ef358c7..0000000 --- a/src/api/client/requests/PostV3FaceInpaintingAsyncFormRequest.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * inputImage: "input_image", - * textPrompt: "text_prompt" - * } - */ -export interface PostV3FaceInpaintingAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt: string; - faceScale?: number; - facePosX?: number; - facePosY?: number; - selectedModel?: Gooey.PostV3FaceInpaintingAsyncFormRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - upscaleFactor?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3FunctionsAsyncFormRequest.ts b/src/api/client/requests/PostV3FunctionsAsyncFormRequest.ts deleted file mode 100644 index f21250c..0000000 --- a/src/api/client/requests/PostV3FunctionsAsyncFormRequest.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * {} - */ -export interface PostV3FunctionsAsyncFormRequest { - /** The JS code to be executed. */ - code?: string; - /** Variables to be used in the code */ - variables?: Record; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3GoogleGptAsyncFormRequest.ts b/src/api/client/requests/PostV3GoogleGptAsyncFormRequest.ts deleted file mode 100644 index b4a275b..0000000 --- a/src/api/client/requests/PostV3GoogleGptAsyncFormRequest.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query", - * siteFilter: "site_filter" - * } - */ -export interface PostV3GoogleGptAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - siteFilter: string; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.PostV3GoogleGptAsyncFormRequestSelectedModel; - maxSearchUrls?: number; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.PostV3GoogleGptAsyncFormRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - * - */ - denseWeight?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3GoogleGptAsyncFormRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3GoogleImageGenAsyncFormRequest.ts b/src/api/client/requests/PostV3GoogleImageGenAsyncFormRequest.ts deleted file mode 100644 index 5c215d5..0000000 --- a/src/api/client/requests/PostV3GoogleImageGenAsyncFormRequest.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query", - * textPrompt: "text_prompt" - * } - */ -export interface PostV3GoogleImageGenAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - searchQuery: string; - textPrompt: string; - selectedModel?: Gooey.PostV3GoogleImageGenAsyncFormRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - guidanceScale?: number; - promptStrength?: number; - sd2Upscaling?: boolean; - seed?: number; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3ImageSegmentationAsyncFormRequest.ts b/src/api/client/requests/PostV3ImageSegmentationAsyncFormRequest.ts deleted file mode 100644 index 10befa5..0000000 --- a/src/api/client/requests/PostV3ImageSegmentationAsyncFormRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * inputImage: "input_image" - * } - */ -export interface PostV3ImageSegmentationAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - selectedModel?: Gooey.PostV3ImageSegmentationAsyncFormRequestSelectedModel; - maskThreshold?: number; - rectPersepectiveTransform?: boolean; - reflectionOpacity?: number; - objScale?: number; - objPosX?: number; - objPosY?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3Img2ImgAsyncFormRequest.ts b/src/api/client/requests/PostV3Img2ImgAsyncFormRequest.ts deleted file mode 100644 index 7f4f0ae..0000000 --- a/src/api/client/requests/PostV3Img2ImgAsyncFormRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * inputImage: "input_image" - * } - */ -export interface PostV3Img2ImgAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt?: string; - selectedModel?: Gooey.PostV3Img2ImgAsyncFormRequestSelectedModel; - selectedControlnetModel?: Gooey.PostV3Img2ImgAsyncFormRequestSelectedControlnetModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - promptStrength?: number; - controlnetConditioningScale?: number[]; - seed?: number; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3LetterWriterAsyncFormRequest.ts b/src/api/client/requests/PostV3LetterWriterAsyncFormRequest.ts deleted file mode 100644 index ceef614..0000000 --- a/src/api/client/requests/PostV3LetterWriterAsyncFormRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * actionId: "action_id" - * } - */ -export interface PostV3LetterWriterAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - actionId: string; - promptHeader?: string; - exampleLetters?: Gooey.TrainingDataModel[]; - lmSelectedApi?: string; - lmSelectedEngine?: string; - numOutputs?: number; - quality?: number; - lmSamplingTemperature?: number; - apiHttpMethod?: string; - apiUrl?: string; - apiHeaders?: string; - apiJsonBody?: string; - inputPrompt?: string; - stripHtml2Text?: boolean; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3LipsyncAsyncFormRequest.ts b/src/api/client/requests/PostV3LipsyncAsyncFormRequest.ts deleted file mode 100644 index 99cf156..0000000 --- a/src/api/client/requests/PostV3LipsyncAsyncFormRequest.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * {} - */ -export interface PostV3LipsyncAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - selectedModel?: Gooey.PostV3LipsyncAsyncFormRequestSelectedModel; - inputAudio?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3LipsyncTtsAsyncFormRequest.ts b/src/api/client/requests/PostV3LipsyncTtsAsyncFormRequest.ts deleted file mode 100644 index ddb7ce7..0000000 --- a/src/api/client/requests/PostV3LipsyncTtsAsyncFormRequest.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3LipsyncTtsAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - ttsProvider?: Gooey.PostV3LipsyncTtsAsyncFormRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - selectedModel?: Gooey.PostV3LipsyncTtsAsyncFormRequestSelectedModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3ObjectInpaintingAsyncFormRequest.ts b/src/api/client/requests/PostV3ObjectInpaintingAsyncFormRequest.ts deleted file mode 100644 index bc8c458..0000000 --- a/src/api/client/requests/PostV3ObjectInpaintingAsyncFormRequest.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * inputImage: "input_image", - * textPrompt: "text_prompt" - * } - */ -export interface PostV3ObjectInpaintingAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt: string; - objScale?: number; - objPosX?: number; - objPosY?: number; - maskThreshold?: number; - selectedModel?: Gooey.PostV3ObjectInpaintingAsyncFormRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - sd2Upscaling?: boolean; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3RelatedQnaMakerAsyncFormRequest.ts b/src/api/client/requests/PostV3RelatedQnaMakerAsyncFormRequest.ts deleted file mode 100644 index 27f3a9a..0000000 --- a/src/api/client/requests/PostV3RelatedQnaMakerAsyncFormRequest.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query", - * siteFilter: "site_filter" - * } - */ -export interface PostV3RelatedQnaMakerAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - siteFilter: string; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.PostV3RelatedQnaMakerAsyncFormRequestSelectedModel; - maxSearchUrls?: number; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - * - */ - denseWeight?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3RelatedQnaMakerDocAsyncFormRequest.ts b/src/api/client/requests/PostV3RelatedQnaMakerDocAsyncFormRequest.ts deleted file mode 100644 index 47628ce..0000000 --- a/src/api/client/requests/PostV3RelatedQnaMakerDocAsyncFormRequest.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query" - * } - */ -export interface PostV3RelatedQnaMakerDocAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - keywordQuery?: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - docExtractUrl?: string; - embeddingModel?: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - * - */ - denseWeight?: number; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel; - citationStyle?: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3SeoSummaryAsyncFormRequest.ts b/src/api/client/requests/PostV3SeoSummaryAsyncFormRequest.ts deleted file mode 100644 index b226f27..0000000 --- a/src/api/client/requests/PostV3SeoSummaryAsyncFormRequest.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * searchQuery: "search_query", - * keywords: "keywords", - * title: "title", - * companyUrl: "company_url" - * } - */ -export interface PostV3SeoSummaryAsyncFormRequest { - searchQuery: string; - keywords: string; - title: string; - companyUrl: string; - taskInstructions?: string; - enableHtml?: boolean; - selectedModel?: Gooey.PostV3SeoSummaryAsyncFormRequestSelectedModel; - maxSearchUrls?: number; - enableCrosslinks?: boolean; - seed?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3SeoSummaryAsyncFormRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3SmartGptAsyncFormRequest.ts b/src/api/client/requests/PostV3SmartGptAsyncFormRequest.ts deleted file mode 100644 index b962611..0000000 --- a/src/api/client/requests/PostV3SmartGptAsyncFormRequest.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * inputPrompt: "input_prompt" - * } - */ -export interface PostV3SmartGptAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt: string; - cotPrompt?: string; - reflexionPrompt?: string; - deraPrompt?: string; - selectedModel?: Gooey.PostV3SmartGptAsyncFormRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3SmartGptAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3SocialLookupEmailAsyncFormRequest.ts b/src/api/client/requests/PostV3SocialLookupEmailAsyncFormRequest.ts deleted file mode 100644 index 67b5971..0000000 --- a/src/api/client/requests/PostV3SocialLookupEmailAsyncFormRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * emailAddress: "email_address" - * } - */ -export interface PostV3SocialLookupEmailAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - emailAddress: string; - inputPrompt?: string; - selectedModel?: Gooey.PostV3SocialLookupEmailAsyncFormRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3SocialLookupEmailAsyncFormRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3Text2AudioAsyncFormRequest.ts b/src/api/client/requests/PostV3Text2AudioAsyncFormRequest.ts deleted file mode 100644 index c8907f7..0000000 --- a/src/api/client/requests/PostV3Text2AudioAsyncFormRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3Text2AudioAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - negativePrompt?: string; - durationSec?: number; - numOutputs?: number; - quality?: number; - guidanceScale?: number; - seed?: number; - sd2Upscaling?: boolean; - selectedModels?: "audio_ldm"[]; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3TextToSpeechAsyncFormRequest.ts b/src/api/client/requests/PostV3TextToSpeechAsyncFormRequest.ts deleted file mode 100644 index 22cb8c9..0000000 --- a/src/api/client/requests/PostV3TextToSpeechAsyncFormRequest.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * { - * textPrompt: "text_prompt" - * } - */ -export interface PostV3TextToSpeechAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - ttsProvider?: Gooey.PostV3TextToSpeechAsyncFormRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3TranslateAsyncFormRequest.ts b/src/api/client/requests/PostV3TranslateAsyncFormRequest.ts deleted file mode 100644 index 03cb05f..0000000 --- a/src/api/client/requests/PostV3TranslateAsyncFormRequest.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * {} - */ -export interface PostV3TranslateAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - texts?: string[]; - selectedModel?: Gooey.PostV3TranslateAsyncFormRequestSelectedModel; - translationSource?: string; - translationTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/PostV3VideoBotsAsyncFormRequest.ts b/src/api/client/requests/PostV3VideoBotsAsyncFormRequest.ts deleted file mode 100644 index e37bbc5..0000000 --- a/src/api/client/requests/PostV3VideoBotsAsyncFormRequest.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../../index"; - -/** - * @example - * {} - */ -export interface PostV3VideoBotsAsyncFormRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt?: string; - inputAudio?: string; - inputImages?: string[]; - inputDocuments?: string[]; - /** Select a workflow to extract text from documents and images. */ - docExtractUrl?: string; - messages?: Gooey.ConversationEntry[]; - botScript?: string; - selectedModel?: Gooey.PostV3VideoBotsAsyncFormRequestSelectedModel; - /** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */ - documentModel?: string; - taskInstructions?: string; - queryInstructions?: string; - keywordInstructions?: string; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.PostV3VideoBotsAsyncFormRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - * - */ - denseWeight?: number; - citationStyle?: Gooey.PostV3VideoBotsAsyncFormRequestCitationStyle; - useUrlShortener?: boolean; - /** Choose a model to transcribe incoming audio messages to text. */ - asrModel?: Gooey.PostV3VideoBotsAsyncFormRequestAsrModel; - /** Choose a language to transcribe incoming audio messages to text. */ - asrLanguage?: string; - translationModel?: Gooey.PostV3VideoBotsAsyncFormRequestTranslationModel; - /** Choose a language to translate incoming text & audio messages to English and responses back to your selected language. Useful for low-resource languages. */ - userLanguage?: string; - /** - * Translation Glossary for User Langauge -> LLM Language (English) - * - */ - inputGlossaryDocument?: string; - /** - * Translation Glossary for LLM Language (English) -> User Langauge - * - */ - outputGlossaryDocument?: string; - lipsyncModel?: Gooey.PostV3VideoBotsAsyncFormRequestLipsyncModel; - /** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */ - tools?: Gooey.LlmTools[]; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.PostV3VideoBotsAsyncFormRequestResponseFormatType; - ttsProvider?: Gooey.PostV3VideoBotsAsyncFormRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.PostV3VideoBotsAsyncFormRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.PostV3VideoBotsAsyncFormRequestOpenaiTtsModel; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - settings?: Gooey.RunSettings; -} diff --git a/src/api/client/requests/index.ts b/src/api/client/requests/index.ts index b2bb3b7..03749f9 100644 --- a/src/api/client/requests/index.ts +++ b/src/api/client/requests/index.ts @@ -24,36 +24,3 @@ export { type ImageSegmentationPageRequest } from "./ImageSegmentationPageReques export { type CompareUpscalerPageRequest } from "./CompareUpscalerPageRequest"; export { type EmbeddingsPageRequest } from "./EmbeddingsPageRequest"; export { type RelatedQnADocPageRequest } from "./RelatedQnADocPageRequest"; -export { type PostV3ChyronPlantAsyncFormRequest } from "./PostV3ChyronPlantAsyncFormRequest"; -export { type PostV3CompareLlmAsyncFormRequest } from "./PostV3CompareLlmAsyncFormRequest"; -export { type PostV3CompareText2ImgAsyncFormRequest } from "./PostV3CompareText2ImgAsyncFormRequest"; -export { type PostV3DeforumSdAsyncFormRequest } from "./PostV3DeforumSdAsyncFormRequest"; -export { type PostV3EmailFaceInpaintingAsyncFormRequest } from "./PostV3EmailFaceInpaintingAsyncFormRequest"; -export { type PostV3FaceInpaintingAsyncFormRequest } from "./PostV3FaceInpaintingAsyncFormRequest"; -export { type PostV3GoogleImageGenAsyncFormRequest } from "./PostV3GoogleImageGenAsyncFormRequest"; -export { type PostV3ImageSegmentationAsyncFormRequest } from "./PostV3ImageSegmentationAsyncFormRequest"; -export { type PostV3Img2ImgAsyncFormRequest } from "./PostV3Img2ImgAsyncFormRequest"; -export { type PostV3LetterWriterAsyncFormRequest } from "./PostV3LetterWriterAsyncFormRequest"; -export { type PostV3LipsyncAsyncFormRequest } from "./PostV3LipsyncAsyncFormRequest"; -export { type PostV3LipsyncTtsAsyncFormRequest } from "./PostV3LipsyncTtsAsyncFormRequest"; -export { type PostV3ObjectInpaintingAsyncFormRequest } from "./PostV3ObjectInpaintingAsyncFormRequest"; -export { type PostV3SeoSummaryAsyncFormRequest } from "./PostV3SeoSummaryAsyncFormRequest"; -export { type PostV3SmartGptAsyncFormRequest } from "./PostV3SmartGptAsyncFormRequest"; -export { type PostV3SocialLookupEmailAsyncFormRequest } from "./PostV3SocialLookupEmailAsyncFormRequest"; -export { type PostV3TextToSpeechAsyncFormRequest } from "./PostV3TextToSpeechAsyncFormRequest"; -export { type PostV3ArtQrCodeAsyncFormRequest } from "./PostV3ArtQrCodeAsyncFormRequest"; -export { type PostV3AsrAsyncFormRequest } from "./PostV3AsrAsyncFormRequest"; -export { type PostV3BulkEvalAsyncFormRequest } from "./PostV3BulkEvalAsyncFormRequest"; -export { type PostV3BulkRunnerAsyncFormRequest } from "./PostV3BulkRunnerAsyncFormRequest"; -export { type PostV3CompareAiUpscalersAsyncFormRequest } from "./PostV3CompareAiUpscalersAsyncFormRequest"; -export { type PostV3DocExtractAsyncFormRequest } from "./PostV3DocExtractAsyncFormRequest"; -export { type PostV3DocSearchAsyncFormRequest } from "./PostV3DocSearchAsyncFormRequest"; -export { type PostV3DocSummaryAsyncFormRequest } from "./PostV3DocSummaryAsyncFormRequest"; -export { type PostV3EmbeddingsAsyncFormRequest } from "./PostV3EmbeddingsAsyncFormRequest"; -export { type PostV3FunctionsAsyncFormRequest } from "./PostV3FunctionsAsyncFormRequest"; -export { type PostV3GoogleGptAsyncFormRequest } from "./PostV3GoogleGptAsyncFormRequest"; -export { type PostV3RelatedQnaMakerDocAsyncFormRequest } from "./PostV3RelatedQnaMakerDocAsyncFormRequest"; -export { type PostV3RelatedQnaMakerAsyncFormRequest } from "./PostV3RelatedQnaMakerAsyncFormRequest"; -export { type PostV3Text2AudioAsyncFormRequest } from "./PostV3Text2AudioAsyncFormRequest"; -export { type PostV3TranslateAsyncFormRequest } from "./PostV3TranslateAsyncFormRequest"; -export { type PostV3VideoBotsAsyncFormRequest } from "./PostV3VideoBotsAsyncFormRequest"; diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts index e4dcb60..8f8398e 100644 --- a/src/api/resources/copilotForYourEnterprise/client/Client.ts +++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts @@ -60,7 +60,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts index 5a94a72..b410dc1 100644 --- a/src/api/resources/copilotIntegrations/client/Client.ts +++ b/src/api/resources/copilotIntegrations/client/Client.ts @@ -55,7 +55,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -137,7 +137,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts index 3a7753e..d64c82e 100644 --- a/src/api/resources/evaluator/client/Client.ts +++ b/src/api/resources/evaluator/client/Client.ts @@ -62,7 +62,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts index 69fa69c..15f00d5 100644 --- a/src/api/resources/functions/client/Client.ts +++ b/src/api/resources/functions/client/Client.ts @@ -60,7 +60,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts index 1895129..1cf96e3 100644 --- a/src/api/resources/lipSyncing/client/Client.ts +++ b/src/api/resources/lipSyncing/client/Client.ts @@ -60,7 +60,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts index 5fe5037..05a95bb 100644 --- a/src/api/resources/misc/client/Client.ts +++ b/src/api/resources/misc/client/Client.ts @@ -46,7 +46,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -123,7 +123,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts index 2c2f7fb..06be26b 100644 --- a/src/api/resources/smartGpt/client/Client.ts +++ b/src/api/resources/smartGpt/client/Client.ts @@ -62,7 +62,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta23", + "X-Fern-SDK-Version": "0.0.1-beta24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts b/src/api/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts deleted file mode 100644 index e929d99..0000000 --- a/src/api/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts b/src/api/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts deleted file mode 100644 index 5306dd1..0000000 --- a/src/api/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ArtQrCodeAsyncFormRequestScheduler = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; - -export const PostV3ArtQrCodeAsyncFormRequestScheduler = { - SinglestepDpmSolver: "singlestep_dpm_solver", - MultistepDpmSolver: "multistep_dpm_solver", - DpmSde: "dpm_sde", - DpmDiscrete: "dpm_discrete", - DpmDiscreteAncestral: "dpm_discrete_ancestral", - Unipc: "unipc", - LmsDiscrete: "lms_discrete", - Heun: "heun", - Euler: "euler", - EulerAncestral: "euler_ancestral", - Pndm: "pndm", - Ddpm: "ddpm", - Ddim: "ddim", - Deis: "deis", -} as const; diff --git a/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts b/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts deleted file mode 100644 index 4874210..0000000 --- a/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 545e965..0000000 --- a/src/api/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ArtQrCodeAsyncFormRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; - -export const PostV3ArtQrCodeAsyncFormRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - DallE3: "dall_e_3", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", - DeepfloydIf: "deepfloyd_if", -} as const; diff --git a/src/api/types/PostV3AsrAsyncFormRequestOutputFormat.ts b/src/api/types/PostV3AsrAsyncFormRequestOutputFormat.ts deleted file mode 100644 index cab2d6c..0000000 --- a/src/api/types/PostV3AsrAsyncFormRequestOutputFormat.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3AsrAsyncFormRequestOutputFormat = "text" | "json" | "srt" | "vtt"; - -export const PostV3AsrAsyncFormRequestOutputFormat = { - Text: "text", - Json: "json", - Srt: "srt", - Vtt: "vtt", -} as const; diff --git a/src/api/types/PostV3AsrAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3AsrAsyncFormRequestSelectedModel.ts deleted file mode 100644 index b303807..0000000 --- a/src/api/types/PostV3AsrAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3AsrAsyncFormRequestSelectedModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const PostV3AsrAsyncFormRequestSelectedModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/PostV3AsrAsyncFormRequestTranslationModel.ts b/src/api/types/PostV3AsrAsyncFormRequestTranslationModel.ts deleted file mode 100644 index 272456f..0000000 --- a/src/api/types/PostV3AsrAsyncFormRequestTranslationModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3AsrAsyncFormRequestTranslationModel = "google" | "ghana_nlp"; - -export const PostV3AsrAsyncFormRequestTranslationModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 16053f6..0000000 --- a/src/api/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3BulkEvalAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3BulkEvalAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 9778ba0..0000000 --- a/src/api/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3BulkEvalAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3BulkEvalAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts b/src/api/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index b624e82..0000000 --- a/src/api/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem = - | "gfpgan_1_4" - | "real_esrgan_x2" - | "sd_x4" - | "real_esrgan" - | "gfpgan"; - -export const PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem = { - Gfpgan14: "gfpgan_1_4", - RealEsrganX2: "real_esrgan_x2", - SdX4: "sd_x4", - RealEsrgan: "real_esrgan", - Gfpgan: "gfpgan", -} as const; diff --git a/src/api/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 6ff2dd1..0000000 --- a/src/api/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3CompareLlmAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3CompareLlmAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts b/src/api/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index 450f2c2..0000000 --- a/src/api/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3CompareLlmAsyncFormRequestSelectedModelsItem = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3CompareLlmAsyncFormRequestSelectedModelsItem = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts b/src/api/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts deleted file mode 100644 index 1494cc7..0000000 --- a/src/api/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3CompareText2ImgAsyncFormRequestScheduler = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; - -export const PostV3CompareText2ImgAsyncFormRequestScheduler = { - SinglestepDpmSolver: "singlestep_dpm_solver", - MultistepDpmSolver: "multistep_dpm_solver", - DpmSde: "dpm_sde", - DpmDiscrete: "dpm_discrete", - DpmDiscreteAncestral: "dpm_discrete_ancestral", - Unipc: "unipc", - LmsDiscrete: "lms_discrete", - Heun: "heun", - Euler: "euler", - EulerAncestral: "euler_ancestral", - Pndm: "pndm", - Ddpm: "ddpm", - Ddim: "ddim", - Deis: "deis", -} as const; diff --git a/src/api/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts b/src/api/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index f81d3ca..0000000 --- a/src/api/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; - -export const PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - DallE3: "dall_e_3", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", - DeepfloydIf: "deepfloyd_if", -} as const; diff --git a/src/api/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 174ddba..0000000 --- a/src/api/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DeforumSdAsyncFormRequestSelectedModel = "protogen_2_2" | "epicdream"; - -export const PostV3DeforumSdAsyncFormRequestSelectedModel = { - Protogen22: "protogen_2_2", - Epicdream: "epicdream", -} as const; diff --git a/src/api/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 6edccd8..0000000 --- a/src/api/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocExtractAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3DocExtractAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts b/src/api/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts deleted file mode 100644 index 3925ab1..0000000 --- a/src/api/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocExtractAsyncFormRequestSelectedAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const PostV3DocExtractAsyncFormRequestSelectedAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 496df0e..0000000 --- a/src/api/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocExtractAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3DocExtractAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts b/src/api/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 3f052ed..0000000 --- a/src/api/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSearchAsyncFormRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const PostV3DocSearchAsyncFormRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts b/src/api/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index ee401d9..0000000 --- a/src/api/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSearchAsyncFormRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3DocSearchAsyncFormRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts b/src/api/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts deleted file mode 100644 index 3cc9843..0000000 --- a/src/api/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSearchAsyncFormRequestKeywordQuery = string | string[]; diff --git a/src/api/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 1befc23..0000000 --- a/src/api/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSearchAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3DocSearchAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 2fec1c9..0000000 --- a/src/api/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSearchAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3DocSearchAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index aaff3c2..0000000 --- a/src/api/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSummaryAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3DocSummaryAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts b/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts deleted file mode 100644 index 6a9ea9d..0000000 --- a/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSummaryAsyncFormRequestSelectedAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const PostV3DocSummaryAsyncFormRequestSelectedAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 63f3a21..0000000 --- a/src/api/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3DocSummaryAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3DocSummaryAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 3f79aa9..0000000 --- a/src/api/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index eb17c0c..0000000 --- a/src/api/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3EmbeddingsAsyncFormRequestSelectedModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3EmbeddingsAsyncFormRequestSelectedModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 37528a0..0000000 --- a/src/api/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3FaceInpaintingAsyncFormRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const PostV3FaceInpaintingAsyncFormRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts b/src/api/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index 94ccd43..0000000 --- a/src/api/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3GoogleGptAsyncFormRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3GoogleGptAsyncFormRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 30a8f8d..0000000 --- a/src/api/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3GoogleGptAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3GoogleGptAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 1e03b69..0000000 --- a/src/api/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3GoogleGptAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3GoogleGptAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts deleted file mode 100644 index afc7462..0000000 --- a/src/api/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3GoogleImageGenAsyncFormRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; - -export const PostV3GoogleImageGenAsyncFormRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - InstructPix2Pix: "instruct_pix2pix", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", -} as const; diff --git a/src/api/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts deleted file mode 100644 index f552945..0000000 --- a/src/api/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ImageSegmentationAsyncFormRequestSelectedModel = "dis" | "u2net"; - -export const PostV3ImageSegmentationAsyncFormRequestSelectedModel = { - Dis: "dis", - U2Net: "u2net", -} as const; diff --git a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts b/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts deleted file mode 100644 index 538049c..0000000 --- a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export type PostV3Img2ImgAsyncFormRequestSelectedControlnetModel = - | Gooey.PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem[] - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; diff --git a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts b/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts deleted file mode 100644 index 3ed270c..0000000 --- a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts deleted file mode 100644 index d96632b..0000000 --- a/src/api/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3Img2ImgAsyncFormRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; - -export const PostV3Img2ImgAsyncFormRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - InstructPix2Pix: "instruct_pix2pix", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", -} as const; diff --git a/src/api/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 3b39692..0000000 --- a/src/api/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3LipsyncAsyncFormRequestSelectedModel = "Wav2Lip" | "SadTalker"; - -export const PostV3LipsyncAsyncFormRequestSelectedModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts b/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index 6b9bff3..0000000 --- a/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts b/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index a50686e..0000000 --- a/src/api/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; - -export const PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 1d37c88..0000000 --- a/src/api/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3LipsyncTtsAsyncFormRequestSelectedModel = "Wav2Lip" | "SadTalker"; - -export const PostV3LipsyncTtsAsyncFormRequestSelectedModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts b/src/api/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts deleted file mode 100644 index b16aecb..0000000 --- a/src/api/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3LipsyncTtsAsyncFormRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const PostV3LipsyncTtsAsyncFormRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 75f9444..0000000 --- a/src/api/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3ObjectInpaintingAsyncFormRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const PostV3ObjectInpaintingAsyncFormRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts b/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index 23d1e3d..0000000 --- a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 7472c58..0000000 --- a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 85976d2..0000000 --- a/src/api/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3RelatedQnaMakerAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts b/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 6d25c1f..0000000 --- a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts b/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index fbe0e5a..0000000 --- a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts b/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts deleted file mode 100644 index 8f3fbe7..0000000 --- a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery = string | string[]; diff --git a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index c690bd9..0000000 --- a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 787d89c..0000000 --- a/src/api/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index f29901b..0000000 --- a/src/api/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SeoSummaryAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3SeoSummaryAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 651d04d..0000000 --- a/src/api/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SeoSummaryAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3SeoSummaryAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 78f2f39..0000000 --- a/src/api/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SmartGptAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3SmartGptAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 507fbe0..0000000 --- a/src/api/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SmartGptAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3SmartGptAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 7afe3c6..0000000 --- a/src/api/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SocialLookupEmailAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3SocialLookupEmailAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts deleted file mode 100644 index dba264f..0000000 --- a/src/api/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3SocialLookupEmailAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3SocialLookupEmailAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts b/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index b94031f..0000000 --- a/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts b/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index c5c97e1..0000000 --- a/src/api/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName = - | "alloy" - | "echo" - | "fable" - | "onyx" - | "nova" - | "shimmer"; - -export const PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts b/src/api/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts deleted file mode 100644 index 8ba59d9..0000000 --- a/src/api/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3TextToSpeechAsyncFormRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const PostV3TextToSpeechAsyncFormRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/PostV3TranslateAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3TranslateAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 768b012..0000000 --- a/src/api/types/PostV3TranslateAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3TranslateAsyncFormRequestSelectedModel = "google" | "ghana_nlp"; - -export const PostV3TranslateAsyncFormRequestSelectedModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts deleted file mode 100644 index ac54db2..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * Choose a model to transcribe incoming audio messages to text. - */ -export type PostV3VideoBotsAsyncFormRequestAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const PostV3VideoBotsAsyncFormRequestAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 19df104..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const PostV3VideoBotsAsyncFormRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index 03f53b8..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const PostV3VideoBotsAsyncFormRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts deleted file mode 100644 index e08db08..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestLipsyncModel = "Wav2Lip" | "SadTalker"; - -export const PostV3VideoBotsAsyncFormRequestLipsyncModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index 9c8e427..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const PostV3VideoBotsAsyncFormRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index 3e20f87..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; - -export const PostV3VideoBotsAsyncFormRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index b203015..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestResponseFormatType = "text" | "json_object"; - -export const PostV3VideoBotsAsyncFormRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 847a2ae..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const PostV3VideoBotsAsyncFormRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts deleted file mode 100644 index 7e7f629..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestTranslationModel = "google" | "ghana_nlp"; - -export const PostV3VideoBotsAsyncFormRequestTranslationModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts b/src/api/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts deleted file mode 100644 index cd83c3e..0000000 --- a/src/api/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type PostV3VideoBotsAsyncFormRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const PostV3VideoBotsAsyncFormRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index b49da94..83d6126 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -54,77 +54,6 @@ export * from "./RelatedQnADocPageRequestEmbeddingModel"; export * from "./RelatedQnADocPageRequestSelectedModel"; export * from "./RelatedQnADocPageRequestCitationStyle"; export * from "./RelatedQnADocPageRequestResponseFormatType"; -export * from "./PostV3CompareLlmAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3CompareLlmAsyncFormRequestResponseFormatType"; -export * from "./PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3CompareText2ImgAsyncFormRequestScheduler"; -export * from "./PostV3DeforumSdAsyncFormRequestSelectedModel"; -export * from "./PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3FaceInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleImageGenAsyncFormRequestSelectedModel"; -export * from "./PostV3ImageSegmentationAsyncFormRequestSelectedModel"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedModel"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedControlnetModel"; -export * from "./PostV3LipsyncAsyncFormRequestSelectedModel"; -export * from "./PostV3LipsyncTtsAsyncFormRequestTtsProvider"; -export * from "./PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel"; -export * from "./PostV3LipsyncTtsAsyncFormRequestSelectedModel"; -export * from "./PostV3ObjectInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3SeoSummaryAsyncFormRequestSelectedModel"; -export * from "./PostV3SeoSummaryAsyncFormRequestResponseFormatType"; -export * from "./PostV3SmartGptAsyncFormRequestSelectedModel"; -export * from "./PostV3SmartGptAsyncFormRequestResponseFormatType"; -export * from "./PostV3SocialLookupEmailAsyncFormRequestSelectedModel"; -export * from "./PostV3SocialLookupEmailAsyncFormRequestResponseFormatType"; -export * from "./PostV3TextToSpeechAsyncFormRequestTtsProvider"; -export * from "./PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel"; -export * from "./PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem"; -export * from "./PostV3ArtQrCodeAsyncFormRequestSelectedModel"; -export * from "./PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem"; -export * from "./PostV3ArtQrCodeAsyncFormRequestScheduler"; -export * from "./PostV3AsrAsyncFormRequestSelectedModel"; -export * from "./PostV3AsrAsyncFormRequestTranslationModel"; -export * from "./PostV3AsrAsyncFormRequestOutputFormat"; -export * from "./PostV3BulkEvalAsyncFormRequestSelectedModel"; -export * from "./PostV3BulkEvalAsyncFormRequestResponseFormatType"; -export * from "./PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3DocExtractAsyncFormRequestSelectedAsrModel"; -export * from "./PostV3DocExtractAsyncFormRequestSelectedModel"; -export * from "./PostV3DocExtractAsyncFormRequestResponseFormatType"; -export * from "./PostV3DocSearchAsyncFormRequestKeywordQuery"; -export * from "./PostV3DocSearchAsyncFormRequestEmbeddingModel"; -export * from "./PostV3DocSearchAsyncFormRequestSelectedModel"; -export * from "./PostV3DocSearchAsyncFormRequestCitationStyle"; -export * from "./PostV3DocSearchAsyncFormRequestResponseFormatType"; -export * from "./PostV3DocSummaryAsyncFormRequestSelectedModel"; -export * from "./PostV3DocSummaryAsyncFormRequestSelectedAsrModel"; -export * from "./PostV3DocSummaryAsyncFormRequestResponseFormatType"; -export * from "./PostV3EmbeddingsAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleGptAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleGptAsyncFormRequestEmbeddingModel"; -export * from "./PostV3GoogleGptAsyncFormRequestResponseFormatType"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestSelectedModel"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType"; -export * from "./PostV3TranslateAsyncFormRequestSelectedModel"; -export * from "./PostV3VideoBotsAsyncFormRequestSelectedModel"; -export * from "./PostV3VideoBotsAsyncFormRequestEmbeddingModel"; -export * from "./PostV3VideoBotsAsyncFormRequestCitationStyle"; -export * from "./PostV3VideoBotsAsyncFormRequestAsrModel"; -export * from "./PostV3VideoBotsAsyncFormRequestTranslationModel"; -export * from "./PostV3VideoBotsAsyncFormRequestLipsyncModel"; -export * from "./PostV3VideoBotsAsyncFormRequestResponseFormatType"; -export * from "./PostV3VideoBotsAsyncFormRequestTtsProvider"; -export * from "./PostV3VideoBotsAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3VideoBotsAsyncFormRequestOpenaiTtsModel"; export * from "./AggFunctionFunction"; export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; diff --git a/src/core/form-data-utils/FormDataWrapper.ts b/src/core/form-data-utils/FormDataWrapper.ts deleted file mode 100644 index fb88797..0000000 --- a/src/core/form-data-utils/FormDataWrapper.ts +++ /dev/null @@ -1,156 +0,0 @@ -import { RUNTIME } from "../runtime"; - -export type MaybePromise = Promise | T; - -type FormDataRequest = { - body: Body; - headers: Record; - duplex?: "half"; -}; - -export interface CrossPlatformFormData { - setup(): Promise; - - append(key: string, value: unknown): void; - - appendFile(key: string, value: unknown, fileName?: string): Promise; - - getRequest(): MaybePromise>; -} - -export async function newFormData(): Promise { - let formdata: CrossPlatformFormData; - if (RUNTIME.type === "node" && RUNTIME.parsedVersion != null && RUNTIME.parsedVersion >= 18) { - formdata = new Node18FormData(); - } else if (RUNTIME.type === "node") { - formdata = new Node16FormData(); - } else { - formdata = new WebFormData(); - } - await formdata.setup(); - return formdata; -} - -/** - * Form Data Implementation for Node.js 18+ - */ -class Node18FormData implements CrossPlatformFormData { - private fd: - | { - append(name: string, value: unknown, fileName?: string): void; - } - | undefined; - - public async setup() { - this.fd = new (await import("formdata-node")).FormData(); - } - - public append(key: string, value: any): void { - this.fd?.append(key, value); - } - - public async appendFile(key: string, value: unknown, fileName?: string): Promise { - if (value instanceof (await import("stream")).Readable) { - this.fd?.append(key, { - type: undefined, - name: fileName, - [Symbol.toStringTag]: "File", - stream() { - return value; - }, - }); - } else { - this.fd?.append(key, value, fileName); - } - } - - public async getRequest(): Promise> { - const encoder = new (await import("form-data-encoder")).FormDataEncoder(this.fd as any); - return { - body: await (await import("stream")).Readable.from(encoder), - headers: encoder.headers, - duplex: "half", - }; - } -} - -/** - * Form Data Implementation for Node.js 16-18 - */ -class Node16FormData implements CrossPlatformFormData { - private fd: - | { - append( - name: string, - value: unknown, - options?: - | string - | { - header?: string | Headers; - knownLength?: number; - filename?: string; - filepath?: string; - contentType?: string; - } - ): void; - - getHeaders(): Record; - } - | undefined; - - public async setup(): Promise { - this.fd = new (await import("form-data")).default(); - } - - public append(key: string, value: any): void { - this.fd?.append(key, value); - } - - public async appendFile(key: string, value: unknown, fileName?: string): Promise { - let bufferedValue; - if (!(value instanceof (await import("stream")).Readable)) { - bufferedValue = Buffer.from(await (value as any).arrayBuffer()); - } else { - bufferedValue = value; - } - - if (fileName == null) { - this.fd?.append(key, bufferedValue); - } else { - this.fd?.append(key, bufferedValue, { filename: fileName }); - } - } - - public getRequest(): FormDataRequest { - return { - body: this.fd, - headers: this.fd ? this.fd.getHeaders() : {}, - }; - } -} - -/** - * Form Data Implementation for Web - */ -class WebFormData implements CrossPlatformFormData { - private fd: { append(name: string, value: string | Blob, fileName?: string): void } | undefined; - - public async setup(): Promise { - this.fd = new FormData(); - } - - public append(key: string, value: any): void { - this.fd?.append(key, value); - } - - public async appendFile(key: string, value: any, fileName?: string): Promise { - this.fd?.append(key, new Blob([value]), fileName); - } - - public getRequest(): FormDataRequest { - return { - body: this.fd, - headers: {}, - }; - } -} diff --git a/src/core/form-data-utils/index.ts b/src/core/form-data-utils/index.ts deleted file mode 100644 index f210ac4..0000000 --- a/src/core/form-data-utils/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./FormDataWrapper"; diff --git a/src/core/index.ts b/src/core/index.ts index a554e23..2d20c46 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,5 +1,4 @@ export * from "./fetcher"; export * from "./auth"; export * from "./runtime"; -export * from "./form-data-utils"; export * as serialization from "./schemas"; diff --git a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts b/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts deleted file mode 100644 index 6eb6057..0000000 --- a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem: core.serialization.Schema< - serializers.PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem.Raw, - Gooey.PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts b/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts deleted file mode 100644 index 39b7081..0000000 --- a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestScheduler.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ArtQrCodeAsyncFormRequestScheduler: core.serialization.Schema< - serializers.PostV3ArtQrCodeAsyncFormRequestScheduler.Raw, - Gooey.PostV3ArtQrCodeAsyncFormRequestScheduler -> = core.serialization.enum_([ - "singlestep_dpm_solver", - "multistep_dpm_solver", - "dpm_sde", - "dpm_discrete", - "dpm_discrete_ancestral", - "unipc", - "lms_discrete", - "heun", - "euler", - "euler_ancestral", - "pndm", - "ddpm", - "ddim", - "deis", -]); - -export declare namespace PostV3ArtQrCodeAsyncFormRequestScheduler { - type Raw = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; -} diff --git a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts b/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts deleted file mode 100644 index de51516..0000000 --- a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem: core.serialization.Schema< - serializers.PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem.Raw, - Gooey.PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 9aa6f09..0000000 --- a/src/serialization/types/PostV3ArtQrCodeAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ArtQrCodeAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3ArtQrCodeAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3ArtQrCodeAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "dall_e_3", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", - "deepfloyd_if", -]); - -export declare namespace PostV3ArtQrCodeAsyncFormRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; -} diff --git a/src/serialization/types/PostV3AsrAsyncFormRequestOutputFormat.ts b/src/serialization/types/PostV3AsrAsyncFormRequestOutputFormat.ts deleted file mode 100644 index 1fe5b94..0000000 --- a/src/serialization/types/PostV3AsrAsyncFormRequestOutputFormat.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3AsrAsyncFormRequestOutputFormat: core.serialization.Schema< - serializers.PostV3AsrAsyncFormRequestOutputFormat.Raw, - Gooey.PostV3AsrAsyncFormRequestOutputFormat -> = core.serialization.enum_(["text", "json", "srt", "vtt"]); - -export declare namespace PostV3AsrAsyncFormRequestOutputFormat { - type Raw = "text" | "json" | "srt" | "vtt"; -} diff --git a/src/serialization/types/PostV3AsrAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3AsrAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 2699d8a..0000000 --- a/src/serialization/types/PostV3AsrAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3AsrAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3AsrAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3AsrAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace PostV3AsrAsyncFormRequestSelectedModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/PostV3AsrAsyncFormRequestTranslationModel.ts b/src/serialization/types/PostV3AsrAsyncFormRequestTranslationModel.ts deleted file mode 100644 index c9274f6..0000000 --- a/src/serialization/types/PostV3AsrAsyncFormRequestTranslationModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3AsrAsyncFormRequestTranslationModel: core.serialization.Schema< - serializers.PostV3AsrAsyncFormRequestTranslationModel.Raw, - Gooey.PostV3AsrAsyncFormRequestTranslationModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace PostV3AsrAsyncFormRequestTranslationModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 4ca75a5..0000000 --- a/src/serialization/types/PostV3BulkEvalAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3BulkEvalAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3BulkEvalAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3BulkEvalAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3BulkEvalAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 43e790d..0000000 --- a/src/serialization/types/PostV3BulkEvalAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3BulkEvalAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3BulkEvalAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3BulkEvalAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3BulkEvalAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts b/src/serialization/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index a8af828..0000000 --- a/src/serialization/types/PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem: core.serialization.Schema< - serializers.PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem.Raw, - Gooey.PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem -> = core.serialization.enum_(["gfpgan_1_4", "real_esrgan_x2", "sd_x4", "real_esrgan", "gfpgan"]); - -export declare namespace PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem { - type Raw = "gfpgan_1_4" | "real_esrgan_x2" | "sd_x4" | "real_esrgan" | "gfpgan"; -} diff --git a/src/serialization/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index b5503b0..0000000 --- a/src/serialization/types/PostV3CompareLlmAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3CompareLlmAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3CompareLlmAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3CompareLlmAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3CompareLlmAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts b/src/serialization/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index 03e55ff..0000000 --- a/src/serialization/types/PostV3CompareLlmAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3CompareLlmAsyncFormRequestSelectedModelsItem: core.serialization.Schema< - serializers.PostV3CompareLlmAsyncFormRequestSelectedModelsItem.Raw, - Gooey.PostV3CompareLlmAsyncFormRequestSelectedModelsItem -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3CompareLlmAsyncFormRequestSelectedModelsItem { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts b/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts deleted file mode 100644 index ff2a9ba..0000000 --- a/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestScheduler.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3CompareText2ImgAsyncFormRequestScheduler: core.serialization.Schema< - serializers.PostV3CompareText2ImgAsyncFormRequestScheduler.Raw, - Gooey.PostV3CompareText2ImgAsyncFormRequestScheduler -> = core.serialization.enum_([ - "singlestep_dpm_solver", - "multistep_dpm_solver", - "dpm_sde", - "dpm_discrete", - "dpm_discrete_ancestral", - "unipc", - "lms_discrete", - "heun", - "euler", - "euler_ancestral", - "pndm", - "ddpm", - "ddim", - "deis", -]); - -export declare namespace PostV3CompareText2ImgAsyncFormRequestScheduler { - type Raw = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; -} diff --git a/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts b/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts deleted file mode 100644 index a6f836b..0000000 --- a/src/serialization/types/PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem: core.serialization.Schema< - serializers.PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem.Raw, - Gooey.PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "dall_e_3", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", - "deepfloyd_if", -]); - -export declare namespace PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; -} diff --git a/src/serialization/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 0b0ac0b..0000000 --- a/src/serialization/types/PostV3DeforumSdAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DeforumSdAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3DeforumSdAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3DeforumSdAsyncFormRequestSelectedModel -> = core.serialization.enum_(["protogen_2_2", "epicdream"]); - -export declare namespace PostV3DeforumSdAsyncFormRequestSelectedModel { - type Raw = "protogen_2_2" | "epicdream"; -} diff --git a/src/serialization/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index b44fabc..0000000 --- a/src/serialization/types/PostV3DocExtractAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocExtractAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3DocExtractAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3DocExtractAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3DocExtractAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts b/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts deleted file mode 100644 index 34e6890..0000000 --- a/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocExtractAsyncFormRequestSelectedAsrModel: core.serialization.Schema< - serializers.PostV3DocExtractAsyncFormRequestSelectedAsrModel.Raw, - Gooey.PostV3DocExtractAsyncFormRequestSelectedAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace PostV3DocExtractAsyncFormRequestSelectedAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts deleted file mode 100644 index f03c006..0000000 --- a/src/serialization/types/PostV3DocExtractAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocExtractAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3DocExtractAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3DocExtractAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3DocExtractAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts b/src/serialization/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 7ccfa66..0000000 --- a/src/serialization/types/PostV3DocSearchAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSearchAsyncFormRequestCitationStyle: core.serialization.Schema< - serializers.PostV3DocSearchAsyncFormRequestCitationStyle.Raw, - Gooey.PostV3DocSearchAsyncFormRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace PostV3DocSearchAsyncFormRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts b/src/serialization/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index f6da06a..0000000 --- a/src/serialization/types/PostV3DocSearchAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSearchAsyncFormRequestEmbeddingModel: core.serialization.Schema< - serializers.PostV3DocSearchAsyncFormRequestEmbeddingModel.Raw, - Gooey.PostV3DocSearchAsyncFormRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3DocSearchAsyncFormRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts b/src/serialization/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts deleted file mode 100644 index 602f22f..0000000 --- a/src/serialization/types/PostV3DocSearchAsyncFormRequestKeywordQuery.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSearchAsyncFormRequestKeywordQuery: core.serialization.Schema< - serializers.PostV3DocSearchAsyncFormRequestKeywordQuery.Raw, - Gooey.PostV3DocSearchAsyncFormRequestKeywordQuery -> = core.serialization.undiscriminatedUnion([ - core.serialization.string(), - core.serialization.list(core.serialization.string()), -]); - -export declare namespace PostV3DocSearchAsyncFormRequestKeywordQuery { - type Raw = string | string[]; -} diff --git a/src/serialization/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 5b0b805..0000000 --- a/src/serialization/types/PostV3DocSearchAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSearchAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3DocSearchAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3DocSearchAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3DocSearchAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 6735e6b..0000000 --- a/src/serialization/types/PostV3DocSearchAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSearchAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3DocSearchAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3DocSearchAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3DocSearchAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 4f74206..0000000 --- a/src/serialization/types/PostV3DocSummaryAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSummaryAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3DocSummaryAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3DocSummaryAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3DocSummaryAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts b/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts deleted file mode 100644 index 29420f8..0000000 --- a/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSummaryAsyncFormRequestSelectedAsrModel: core.serialization.Schema< - serializers.PostV3DocSummaryAsyncFormRequestSelectedAsrModel.Raw, - Gooey.PostV3DocSummaryAsyncFormRequestSelectedAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace PostV3DocSummaryAsyncFormRequestSelectedAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 7669cdd..0000000 --- a/src/serialization/types/PostV3DocSummaryAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3DocSummaryAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3DocSummaryAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3DocSummaryAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3DocSummaryAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 14e5d03..0000000 --- a/src/serialization/types/PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index cd7db33..0000000 --- a/src/serialization/types/PostV3EmbeddingsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3EmbeddingsAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3EmbeddingsAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3EmbeddingsAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3EmbeddingsAsyncFormRequestSelectedModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 58c9642..0000000 --- a/src/serialization/types/PostV3FaceInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3FaceInpaintingAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3FaceInpaintingAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3FaceInpaintingAsyncFormRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace PostV3FaceInpaintingAsyncFormRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts b/src/serialization/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index 882b4aa..0000000 --- a/src/serialization/types/PostV3GoogleGptAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3GoogleGptAsyncFormRequestEmbeddingModel: core.serialization.Schema< - serializers.PostV3GoogleGptAsyncFormRequestEmbeddingModel.Raw, - Gooey.PostV3GoogleGptAsyncFormRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3GoogleGptAsyncFormRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index a601850..0000000 --- a/src/serialization/types/PostV3GoogleGptAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3GoogleGptAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3GoogleGptAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3GoogleGptAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3GoogleGptAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 8a796c7..0000000 --- a/src/serialization/types/PostV3GoogleGptAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3GoogleGptAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3GoogleGptAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3GoogleGptAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3GoogleGptAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 3aab92d..0000000 --- a/src/serialization/types/PostV3GoogleImageGenAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3GoogleImageGenAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3GoogleImageGenAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3GoogleImageGenAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "instruct_pix2pix", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", -]); - -export declare namespace PostV3GoogleImageGenAsyncFormRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; -} diff --git a/src/serialization/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts deleted file mode 100644 index cb536be..0000000 --- a/src/serialization/types/PostV3ImageSegmentationAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ImageSegmentationAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3ImageSegmentationAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3ImageSegmentationAsyncFormRequestSelectedModel -> = core.serialization.enum_(["dis", "u2net"]); - -export declare namespace PostV3ImageSegmentationAsyncFormRequestSelectedModel { - type Raw = "dis" | "u2net"; -} diff --git a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts b/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts deleted file mode 100644 index 4ee5a85..0000000 --- a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem } from "./PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem"; - -export const PostV3Img2ImgAsyncFormRequestSelectedControlnetModel: core.serialization.Schema< - serializers.PostV3Img2ImgAsyncFormRequestSelectedControlnetModel.Raw, - Gooey.PostV3Img2ImgAsyncFormRequestSelectedControlnetModel -> = core.serialization.undiscriminatedUnion([ - core.serialization.list(PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem), - core.serialization.stringLiteral("sd_controlnet_canny"), - core.serialization.stringLiteral("sd_controlnet_depth"), - core.serialization.stringLiteral("sd_controlnet_hed"), - core.serialization.stringLiteral("sd_controlnet_mlsd"), - core.serialization.stringLiteral("sd_controlnet_normal"), - core.serialization.stringLiteral("sd_controlnet_openpose"), - core.serialization.stringLiteral("sd_controlnet_scribble"), - core.serialization.stringLiteral("sd_controlnet_seg"), - core.serialization.stringLiteral("sd_controlnet_tile"), - core.serialization.stringLiteral("sd_controlnet_brightness"), - core.serialization.stringLiteral("control_v1p_sd15_qrcode_monster_v2"), -]); - -export declare namespace PostV3Img2ImgAsyncFormRequestSelectedControlnetModel { - type Raw = - | PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.Raw[] - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts b/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts deleted file mode 100644 index ef08f3d..0000000 --- a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem: core.serialization.Schema< - serializers.PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem.Raw, - Gooey.PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 1a3086c..0000000 --- a/src/serialization/types/PostV3Img2ImgAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3Img2ImgAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3Img2ImgAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3Img2ImgAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "instruct_pix2pix", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", -]); - -export declare namespace PostV3Img2ImgAsyncFormRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; -} diff --git a/src/serialization/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 2b2c4cb..0000000 --- a/src/serialization/types/PostV3LipsyncAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3LipsyncAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3LipsyncAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3LipsyncAsyncFormRequestSelectedModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace PostV3LipsyncAsyncFormRequestSelectedModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts b/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index 879992a..0000000 --- a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel: core.serialization.Schema< - serializers.PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel.Raw, - Gooey.PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts b/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index 8e6b780..0000000 --- a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName: core.serialization.Schema< - serializers.PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName.Raw, - Gooey.PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 8f15e2d..0000000 --- a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3LipsyncTtsAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3LipsyncTtsAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3LipsyncTtsAsyncFormRequestSelectedModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace PostV3LipsyncTtsAsyncFormRequestSelectedModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts b/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts deleted file mode 100644 index 5eb850f..0000000 --- a/src/serialization/types/PostV3LipsyncTtsAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3LipsyncTtsAsyncFormRequestTtsProvider: core.serialization.Schema< - serializers.PostV3LipsyncTtsAsyncFormRequestTtsProvider.Raw, - Gooey.PostV3LipsyncTtsAsyncFormRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace PostV3LipsyncTtsAsyncFormRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 3e6ab1c..0000000 --- a/src/serialization/types/PostV3ObjectInpaintingAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3ObjectInpaintingAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3ObjectInpaintingAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3ObjectInpaintingAsyncFormRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace PostV3ObjectInpaintingAsyncFormRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts b/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index afbd86b..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel.Raw, - Gooey.PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 0f887b6..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts deleted file mode 100644 index ac44a13..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3RelatedQnaMakerAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3RelatedQnaMakerAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts b/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 575cdd6..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle.Raw, - Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts b/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index 20e9428..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel.Raw, - Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts b/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts deleted file mode 100644 index f348eff..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery.Raw, - Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery -> = core.serialization.undiscriminatedUnion([ - core.serialization.string(), - core.serialization.list(core.serialization.string()), -]); - -export declare namespace PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery { - type Raw = string | string[]; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 7820f9a..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 033c44a..0000000 --- a/src/serialization/types/PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 0377638..0000000 --- a/src/serialization/types/PostV3SeoSummaryAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SeoSummaryAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3SeoSummaryAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3SeoSummaryAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3SeoSummaryAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 6aa7605..0000000 --- a/src/serialization/types/PostV3SeoSummaryAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SeoSummaryAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3SeoSummaryAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3SeoSummaryAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3SeoSummaryAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 9a4929e..0000000 --- a/src/serialization/types/PostV3SmartGptAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SmartGptAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3SmartGptAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3SmartGptAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3SmartGptAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 44e1f67..0000000 --- a/src/serialization/types/PostV3SmartGptAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SmartGptAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3SmartGptAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3SmartGptAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3SmartGptAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index 53d536b..0000000 --- a/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SocialLookupEmailAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3SocialLookupEmailAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3SocialLookupEmailAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3SocialLookupEmailAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts deleted file mode 100644 index aa2dd6b..0000000 --- a/src/serialization/types/PostV3SocialLookupEmailAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3SocialLookupEmailAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3SocialLookupEmailAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3SocialLookupEmailAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3SocialLookupEmailAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts b/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index 5faa1b1..0000000 --- a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel: core.serialization.Schema< - serializers.PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel.Raw, - Gooey.PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts b/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index bdbf62f..0000000 --- a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName: core.serialization.Schema< - serializers.PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName.Raw, - Gooey.PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts b/src/serialization/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts deleted file mode 100644 index 5c52cb1..0000000 --- a/src/serialization/types/PostV3TextToSpeechAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3TextToSpeechAsyncFormRequestTtsProvider: core.serialization.Schema< - serializers.PostV3TextToSpeechAsyncFormRequestTtsProvider.Raw, - Gooey.PostV3TextToSpeechAsyncFormRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace PostV3TextToSpeechAsyncFormRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/PostV3TranslateAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3TranslateAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 5cda39a..0000000 --- a/src/serialization/types/PostV3TranslateAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3TranslateAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3TranslateAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3TranslateAsyncFormRequestSelectedModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace PostV3TranslateAsyncFormRequestSelectedModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts deleted file mode 100644 index e317969..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestAsrModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestAsrModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace PostV3VideoBotsAsyncFormRequestAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts deleted file mode 100644 index 26b4284..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestCitationStyle: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestCitationStyle.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace PostV3VideoBotsAsyncFormRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts deleted file mode 100644 index e8fb477..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestEmbeddingModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestEmbeddingModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace PostV3VideoBotsAsyncFormRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts deleted file mode 100644 index ec99e71..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestLipsyncModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestLipsyncModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestLipsyncModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestLipsyncModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestLipsyncModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts deleted file mode 100644 index d47926d..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestOpenaiTtsModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestOpenaiTtsModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts deleted file mode 100644 index 550f7a4..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestOpenaiVoiceName: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestOpenaiVoiceName.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts deleted file mode 100644 index d6f267b..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestResponseFormatType: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestResponseFormatType.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts deleted file mode 100644 index 290c5e3..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestSelectedModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestSelectedModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace PostV3VideoBotsAsyncFormRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts deleted file mode 100644 index 8df52b8..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestTranslationModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestTranslationModel: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestTranslationModel.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestTranslationModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestTranslationModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts b/src/serialization/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts deleted file mode 100644 index 34a2720..0000000 --- a/src/serialization/types/PostV3VideoBotsAsyncFormRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const PostV3VideoBotsAsyncFormRequestTtsProvider: core.serialization.Schema< - serializers.PostV3VideoBotsAsyncFormRequestTtsProvider.Raw, - Gooey.PostV3VideoBotsAsyncFormRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace PostV3VideoBotsAsyncFormRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index b49da94..83d6126 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -54,77 +54,6 @@ export * from "./RelatedQnADocPageRequestEmbeddingModel"; export * from "./RelatedQnADocPageRequestSelectedModel"; export * from "./RelatedQnADocPageRequestCitationStyle"; export * from "./RelatedQnADocPageRequestResponseFormatType"; -export * from "./PostV3CompareLlmAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3CompareLlmAsyncFormRequestResponseFormatType"; -export * from "./PostV3CompareText2ImgAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3CompareText2ImgAsyncFormRequestScheduler"; -export * from "./PostV3DeforumSdAsyncFormRequestSelectedModel"; -export * from "./PostV3EmailFaceInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3FaceInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleImageGenAsyncFormRequestSelectedModel"; -export * from "./PostV3ImageSegmentationAsyncFormRequestSelectedModel"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedModel"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedControlnetModelItem"; -export * from "./PostV3Img2ImgAsyncFormRequestSelectedControlnetModel"; -export * from "./PostV3LipsyncAsyncFormRequestSelectedModel"; -export * from "./PostV3LipsyncTtsAsyncFormRequestTtsProvider"; -export * from "./PostV3LipsyncTtsAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3LipsyncTtsAsyncFormRequestOpenaiTtsModel"; -export * from "./PostV3LipsyncTtsAsyncFormRequestSelectedModel"; -export * from "./PostV3ObjectInpaintingAsyncFormRequestSelectedModel"; -export * from "./PostV3SeoSummaryAsyncFormRequestSelectedModel"; -export * from "./PostV3SeoSummaryAsyncFormRequestResponseFormatType"; -export * from "./PostV3SmartGptAsyncFormRequestSelectedModel"; -export * from "./PostV3SmartGptAsyncFormRequestResponseFormatType"; -export * from "./PostV3SocialLookupEmailAsyncFormRequestSelectedModel"; -export * from "./PostV3SocialLookupEmailAsyncFormRequestResponseFormatType"; -export * from "./PostV3TextToSpeechAsyncFormRequestTtsProvider"; -export * from "./PostV3TextToSpeechAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3TextToSpeechAsyncFormRequestOpenaiTtsModel"; -export * from "./PostV3ArtQrCodeAsyncFormRequestImagePromptControlnetModelsItem"; -export * from "./PostV3ArtQrCodeAsyncFormRequestSelectedModel"; -export * from "./PostV3ArtQrCodeAsyncFormRequestSelectedControlnetModelItem"; -export * from "./PostV3ArtQrCodeAsyncFormRequestScheduler"; -export * from "./PostV3AsrAsyncFormRequestSelectedModel"; -export * from "./PostV3AsrAsyncFormRequestTranslationModel"; -export * from "./PostV3AsrAsyncFormRequestOutputFormat"; -export * from "./PostV3BulkEvalAsyncFormRequestSelectedModel"; -export * from "./PostV3BulkEvalAsyncFormRequestResponseFormatType"; -export * from "./PostV3CompareAiUpscalersAsyncFormRequestSelectedModelsItem"; -export * from "./PostV3DocExtractAsyncFormRequestSelectedAsrModel"; -export * from "./PostV3DocExtractAsyncFormRequestSelectedModel"; -export * from "./PostV3DocExtractAsyncFormRequestResponseFormatType"; -export * from "./PostV3DocSearchAsyncFormRequestKeywordQuery"; -export * from "./PostV3DocSearchAsyncFormRequestEmbeddingModel"; -export * from "./PostV3DocSearchAsyncFormRequestSelectedModel"; -export * from "./PostV3DocSearchAsyncFormRequestCitationStyle"; -export * from "./PostV3DocSearchAsyncFormRequestResponseFormatType"; -export * from "./PostV3DocSummaryAsyncFormRequestSelectedModel"; -export * from "./PostV3DocSummaryAsyncFormRequestSelectedAsrModel"; -export * from "./PostV3DocSummaryAsyncFormRequestResponseFormatType"; -export * from "./PostV3EmbeddingsAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleGptAsyncFormRequestSelectedModel"; -export * from "./PostV3GoogleGptAsyncFormRequestEmbeddingModel"; -export * from "./PostV3GoogleGptAsyncFormRequestResponseFormatType"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestKeywordQuery"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestEmbeddingModel"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestSelectedModel"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestCitationStyle"; -export * from "./PostV3RelatedQnaMakerDocAsyncFormRequestResponseFormatType"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestSelectedModel"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestEmbeddingModel"; -export * from "./PostV3RelatedQnaMakerAsyncFormRequestResponseFormatType"; -export * from "./PostV3TranslateAsyncFormRequestSelectedModel"; -export * from "./PostV3VideoBotsAsyncFormRequestSelectedModel"; -export * from "./PostV3VideoBotsAsyncFormRequestEmbeddingModel"; -export * from "./PostV3VideoBotsAsyncFormRequestCitationStyle"; -export * from "./PostV3VideoBotsAsyncFormRequestAsrModel"; -export * from "./PostV3VideoBotsAsyncFormRequestTranslationModel"; -export * from "./PostV3VideoBotsAsyncFormRequestLipsyncModel"; -export * from "./PostV3VideoBotsAsyncFormRequestResponseFormatType"; -export * from "./PostV3VideoBotsAsyncFormRequestTtsProvider"; -export * from "./PostV3VideoBotsAsyncFormRequestOpenaiVoiceName"; -export * from "./PostV3VideoBotsAsyncFormRequestOpenaiTtsModel"; export * from "./AggFunctionFunction"; export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; diff --git a/yarn.lock b/yarn.lock index eb457ba..d1d9276 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1240,11 +1240,6 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -form-data-encoder@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-4.0.2.tgz#dd286fd5f9049e8ded1d44ce427f5e29185c7c12" - integrity sha512-KQVhvhK8ZkWzxKxOr56CPulAhH3dobtuQ4+hNQ+HekH/Wp5gSOafqRAeTphQUJAIk0GBvHZgJ2ZGRWd5kphMuw== - form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"