diff --git a/README.md b/README.md index d56b49c..5d2bd63 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,43 @@ npm i -s gooeyai Instantiate and use the client with the following: ```typescript -import { GooeyClient } from "gooeyai"; +import { GooeyClient, Gooey } from "gooeyai"; const client = new GooeyClient({ apiKey: "YOUR_API_KEY" }); -await client.animate(); +await client.animate({ + exampleId: "string", + functions: [ + { + url: "string", + trigger: Gooey.RecipeFunctionTrigger.Pre, + }, + ], + variables: { + string: { + key: "value", + }, + }, + animationPrompts: [ + { + frame: "string", + prompt: "string", + }, + ], + maxFrames: 1, + selectedModel: Gooey.DeforumSdPageRequestSelectedModel.Protogen22, + animationMode: "string", + zoom: "string", + translationX: "string", + translationY: "string", + rotation3DX: "string", + rotation3DY: "string", + rotation3DZ: "string", + fps: 1, + seed: 1, + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ``` ## Request And Response Types diff --git a/package.json b/package.json index 11c4b69..ca039cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gooeyai", - "version": "0.0.1-beta17", + "version": "0.0.1-beta16", "private": false, "repository": "https://github.com/GooeyAI/typescript-sdk", "main": "./index.js", diff --git a/reference.md b/reference.md index 3311717..741e6fb 100644 --- a/reference.md +++ b/reference.md @@ -144,7 +144,7 @@ await client.copilotIntegrations.videoBotsStream("request_id"); ## CopilotForYourEnterprise -
client.copilotForYourEnterprise.asyncFormVideoBots({ ...params }) -> Gooey.BodyAsyncFormVideoBots +
client.copilotForYourEnterprise.asyncFormVideoBots({ ...params }) -> unknown
@@ -157,7 +157,97 @@ await client.copilotIntegrations.videoBotsStream("request_id");
```typescript -await client.copilotForYourEnterprise.asyncFormVideoBots(); +await client.copilotForYourEnterprise.asyncFormVideoBots({ + exampleId: "string", + functions: [ + { + url: "string", + trigger: Gooey.RecipeFunctionTrigger.Pre, + }, + ], + variables: { + string: { + key: "value", + }, + }, + inputPrompt: "string", + inputAudio: "string", + inputImages: ["string"], + inputDocuments: ["string"], + docExtractUrl: "string", + messages: [ + { + role: Gooey.ConversationEntryRole.User, + content: "string", + displayName: "string", + }, + ], + botScript: "string", + selectedModel: Gooey.VideoBotsPageRequestSelectedModel.Gpt4O, + documentModel: "string", + taskInstructions: "string", + queryInstructions: "string", + keywordInstructions: "string", + documents: ["string"], + maxReferences: 1, + maxContextWords: 1, + scrollJump: 1, + embeddingModel: Gooey.VideoBotsPageRequestEmbeddingModel.Openai3Large, + denseWeight: 1.1, + citationStyle: Gooey.VideoBotsPageRequestCitationStyle.Number, + useUrlShortener: true, + asrModel: Gooey.VideoBotsPageRequestAsrModel.WhisperLargeV2, + asrLanguage: "string", + translationModel: Gooey.VideoBotsPageRequestTranslationModel.Google, + userLanguage: "string", + inputGlossaryDocument: "string", + outputGlossaryDocument: "string", + lipsyncModel: Gooey.VideoBotsPageRequestLipsyncModel.Wav2Lip, + tools: ["json_to_pdf"], + avoidRepetition: true, + numOutputs: 1, + quality: 1.1, + maxTokens: 1, + samplingTemperature: 1.1, + responseFormatType: Gooey.VideoBotsPageRequestResponseFormatType.Text, + ttsProvider: Gooey.VideoBotsPageRequestTtsProvider.GoogleTts, + uberduckVoiceName: "string", + uberduckSpeakingRate: 1.1, + googleVoiceName: "string", + googleSpeakingRate: 1.1, + googlePitch: 1.1, + barkHistoryPrompt: "string", + elevenlabsVoiceName: "string", + elevenlabsApiKey: "string", + elevenlabsVoiceId: "string", + elevenlabsModel: "string", + elevenlabsStability: 1.1, + elevenlabsSimilarityBoost: 1.1, + elevenlabsStyle: 1.1, + elevenlabsSpeakerBoost: true, + azureVoiceName: "string", + openaiVoiceName: Gooey.VideoBotsPageRequestOpenaiVoiceName.Alloy, + openaiTtsModel: Gooey.VideoBotsPageRequestOpenaiTtsModel.Tts1, + inputFace: "string", + facePaddingTop: 1, + facePaddingBottom: 1, + facePaddingLeft: 1, + facePaddingRight: 1, + sadtalkerSettings: { + still: true, + preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + poseStyle: 1, + expressionScale: 1.1, + refEyeblink: "string", + refPose: "string", + inputYaw: [1], + inputPitch: [1], + inputRoll: [1], + }, + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ```
@@ -173,7 +263,7 @@ await client.copilotForYourEnterprise.asyncFormVideoBots();
-**request:** `Gooey.AsyncFormVideoBotsRequest` +**request:** `Gooey.VideoBotsPageRequest`
@@ -648,7 +738,7 @@ await client.bulkRunner.post(); ## Evaluator -
client.evaluator.asyncFormBulkEval({ ...params }) -> Gooey.BodyAsyncFormBulkEval +
client.evaluator.asyncFormBulkEval({ ...params }) -> unknown
@@ -661,7 +751,43 @@ await client.bulkRunner.post();
```typescript -await client.evaluator.asyncFormBulkEval(); +await client.evaluator.asyncFormBulkEval({ + exampleId: "string", + functions: [ + { + url: "string", + trigger: Gooey.RecipeFunctionTrigger.Pre, + }, + ], + variables: { + string: { + key: "value", + }, + }, + documents: ["string"], + evalPrompts: [ + { + name: "string", + prompt: "string", + }, + ], + aggFunctions: [ + { + column: "string", + function: Gooey.AggFunctionFunction.Mean, + }, + ], + selectedModel: Gooey.BulkEvalPageRequestSelectedModel.Gpt4O, + avoidRepetition: true, + numOutputs: 1, + quality: 1.1, + maxTokens: 1, + samplingTemperature: 1.1, + responseFormatType: Gooey.BulkEvalPageRequestResponseFormatType.Text, + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ```
@@ -677,7 +803,7 @@ await client.evaluator.asyncFormBulkEval();
-**request:** `Gooey.AsyncFormBulkEvalRequest` +**request:** `Gooey.BulkEvalPageRequest`
@@ -904,7 +1030,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({ ## SmartGpt -
client.smartGpt.asyncFormSmartGpt({ ...params }) -> Gooey.BodyAsyncFormSmartGpt +
client.smartGpt.asyncFormSmartGpt({ ...params }) -> unknown
@@ -917,7 +1043,34 @@ await client.searchYourDocsWithGpt.statusDocSearch({
```typescript -await client.smartGpt.asyncFormSmartGpt(); +await client.smartGpt.asyncFormSmartGpt({ + exampleId: "string", + functions: [ + { + url: "string", + trigger: Gooey.RecipeFunctionTrigger.Pre, + }, + ], + variables: { + string: { + key: "value", + }, + }, + inputPrompt: "string", + cotPrompt: "string", + reflexionPrompt: "string", + deraPrompt: "string", + selectedModel: Gooey.SmartGptPageRequestSelectedModel.Gpt4O, + avoidRepetition: true, + numOutputs: 1, + quality: 1.1, + maxTokens: 1, + samplingTemperature: 1.1, + responseFormatType: Gooey.SmartGptPageRequestResponseFormatType.Text, + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ```
@@ -933,7 +1086,7 @@ await client.smartGpt.asyncFormSmartGpt();
-**request:** `Gooey.AsyncFormSmartGptRequest` +**request:** `Gooey.SmartGptPageRequest`
@@ -1096,7 +1249,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({ ## Functions -
client.functions.asyncFormFunctions({ ...params }) -> Gooey.BodyAsyncFormFunctions +
client.functions.asyncFormFunctions({ ...params }) -> unknown
@@ -1109,7 +1262,18 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
```typescript -await client.functions.asyncFormFunctions(); +await client.functions.asyncFormFunctions({ + exampleId: "string", + code: "string", + variables: { + string: { + key: "value", + }, + }, + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ```
@@ -1125,7 +1289,7 @@ await client.functions.asyncFormFunctions();
-**request:** `Gooey.AsyncFormFunctionsRequest` +**request:** `Gooey.FunctionsPageRequest`
@@ -1236,7 +1400,7 @@ await client.functions.post(); ## LipSyncing -
client.lipSyncing.asyncFormLipsync({ ...params }) -> Gooey.BodyAsyncFormLipsync +
client.lipSyncing.asyncFormLipsync({ ...params }) -> unknown
@@ -1249,7 +1413,41 @@ await client.functions.post();
```typescript -await client.lipSyncing.asyncFormLipsync(); +await client.lipSyncing.asyncFormLipsync({ + exampleId: "string", + functions: [ + { + url: "string", + trigger: Gooey.RecipeFunctionTrigger.Pre, + }, + ], + variables: { + string: { + key: "value", + }, + }, + inputFace: "string", + facePaddingTop: 1, + facePaddingBottom: 1, + facePaddingLeft: 1, + facePaddingRight: 1, + sadtalkerSettings: { + still: true, + preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + poseStyle: 1, + expressionScale: 1.1, + refEyeblink: "string", + refPose: "string", + inputYaw: [1], + inputPitch: [1], + inputRoll: [1], + }, + selectedModel: Gooey.LipsyncPageRequestSelectedModel.Wav2Lip, + inputAudio: "string", + settings: { + retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, + }, +}); ```
@@ -1265,7 +1463,7 @@ await client.lipSyncing.asyncFormLipsync();
-**request:** `Gooey.AsyncFormLipsyncRequest` +**request:** `Gooey.LipsyncPageRequest`
diff --git a/src/Client.ts b/src/Client.ts index 6443a16..28f81d8 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -5,8 +5,8 @@ import * as environments from "./environments"; import * as core from "./core"; import * as Gooey from "./api/index"; -import urlJoin from "url-join"; import * as serializers from "./serialization/index"; +import urlJoin from "url-join"; import * as errors from "./errors/index"; import { CopilotIntegrations } from "./api/resources/copilotIntegrations/client/Client"; import { CopilotForYourEnterprise } from "./api/resources/copilotForYourEnterprise/client/Client"; @@ -65,7 +65,7 @@ export class GooeyClient { constructor(protected readonly _options: GooeyClient.Options = {}) {} /** - * @param {Gooey.AnimateRequest} request + * @param {Gooey.DeforumSdPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -75,13 +75,42 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.animate() + * await client.animate({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * animationPrompts: [{ + * frame: "string", + * prompt: "string" + * }], + * maxFrames: 1, + * selectedModel: Gooey.DeforumSdPageRequestSelectedModel.Protogen22, + * animationMode: "string", + * zoom: "string", + * translationX: "string", + * translationY: "string", + * rotation3DX: "string", + * rotation3DY: "string", + * rotation3DZ: "string", + * fps: 1, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async animate( - request: Gooey.AnimateRequest = {}, + request: Gooey.DeforumSdPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -97,25 +126,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.DeforumSdPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormDeforumSd.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -186,7 +210,7 @@ export class GooeyClient { } /** - * @param {Gooey.QrCodeRequest} request + * @param {Gooey.QrCodeGeneratorPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -196,13 +220,80 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.qrCode() + * await client.qrCode({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * qrCodeData: "string", + * qrCodeInputImage: "string", + * qrCodeVcard: { + * formatName: "string", + * email: "string", + * gender: "string", + * birthdayYear: 1, + * birthdayMonth: 1, + * birthdayDay: 1, + * familyName: "string", + * givenName: "string", + * middleNames: "string", + * honorificPrefixes: "string", + * honorificSuffixes: "string", + * impp: "string", + * address: "string", + * calendarUrl: "string", + * commaSeparatedCategories: "string", + * kind: "string", + * language: "string", + * organization: "string", + * photoUrl: "string", + * logoUrl: "string", + * role: "string", + * timezone: "string", + * jobTitle: "string", + * urls: ["string"], + * tel: "string", + * note: "string" + * }, + * qrCodeFile: "string", + * useUrlShortener: true, + * textPrompt: "string", + * negativePrompt: "string", + * imagePrompt: "string", + * imagePromptControlnetModels: [Gooey.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.SdControlnetCanny], + * imagePromptStrength: 1.1, + * imagePromptScale: 1.1, + * imagePromptPosX: 1.1, + * imagePromptPosY: 1.1, + * selectedModel: Gooey.QrCodeGeneratorPageRequestSelectedModel.DreamShaper, + * selectedControlnetModel: [Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem.SdControlnetCanny], + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * controlnetConditioningScale: [1.1], + * numOutputs: 1, + * quality: 1, + * scheduler: Gooey.QrCodeGeneratorPageRequestScheduler.SinglestepDpmSolver, + * seed: 1, + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async qrCode( - request: Gooey.QrCodeRequest = {}, + request: Gooey.QrCodeGeneratorPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -218,25 +309,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.QrCodeGeneratorPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormArtQrCode.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -307,7 +393,7 @@ export class GooeyClient { } /** - * @param {Gooey.SeoPeopleAlsoAskRequest} request + * @param {Gooey.RelatedQnAPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -317,13 +403,48 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.seoPeopleAlsoAsk() + * await client.seoPeopleAlsoAsk({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * siteFilter: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.RelatedQnAPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.RelatedQnAPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.RelatedQnAPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async seoPeopleAlsoAsk( - request: Gooey.SeoPeopleAlsoAskRequest = {}, + request: Gooey.RelatedQnAPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -339,25 +460,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.RelatedQnAPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormRelatedQnaMaker.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -428,7 +544,7 @@ export class GooeyClient { } /** - * @param {Gooey.SeoContentRequest} request + * @param {Gooey.SeoSummaryPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -438,13 +554,38 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.seoContent() + * await client.seoContent({ + * exampleId: "string", + * searchQuery: "string", + * keywords: "string", + * title: "string", + * companyUrl: "string", + * taskInstructions: "string", + * enableHtml: true, + * selectedModel: Gooey.SeoSummaryPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * enableCrosslinks: true, + * seed: 1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SeoSummaryPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async seoContent( - request: Gooey.SeoContentRequest = {}, + request: Gooey.SeoSummaryPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -460,25 +601,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.SeoSummaryPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormSeoSummary.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -549,7 +685,7 @@ export class GooeyClient { } /** - * @param {Gooey.WebSearchLlmRequest} request + * @param {Gooey.GoogleGptPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -559,13 +695,48 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.webSearchLlm() + * await client.webSearchLlm({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * siteFilter: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.GoogleGptPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.GoogleGptPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.GoogleGptPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async webSearchLlm( - request: Gooey.WebSearchLlmRequest = {}, + request: Gooey.GoogleGptPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -581,25 +752,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.GoogleGptPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormGoogleGpt.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -670,7 +836,7 @@ export class GooeyClient { } /** - * @param {Gooey.PersonalizeEmailRequest} request + * @param {Gooey.SocialLookupEmailPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -680,13 +846,36 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.personalizeEmail() + * await client.personalizeEmail({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * emailAddress: "string", + * inputPrompt: "string", + * selectedModel: Gooey.SocialLookupEmailPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SocialLookupEmailPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async personalizeEmail( - request: Gooey.PersonalizeEmailRequest = {}, + request: Gooey.SocialLookupEmailPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -702,25 +891,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.SocialLookupEmailPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormSocialLookupEmail.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -791,7 +975,7 @@ export class GooeyClient { } /** - * @param {Gooey.BulkRunRequest} request + * @param {Gooey.BulkRunnerPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -801,13 +985,36 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.bulkRun() + * await client.bulkRun({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * runUrls: ["string"], + * inputColumns: { + * "string": "string" + * }, + * outputColumns: { + * "string": "string" + * }, + * evalUrls: ["string"], + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async bulkRun( - request: Gooey.BulkRunRequest = {}, + request: Gooey.BulkRunnerPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -823,25 +1030,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.BulkRunnerPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormBulkRunner.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -912,7 +1114,7 @@ export class GooeyClient { } /** - * @param {Gooey.SynthesizeDataRequest} request + * @param {Gooey.DocExtractPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -922,13 +1124,40 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.synthesizeData() + * await client.synthesizeData({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * sheetUrl: "string", + * selectedAsrModel: Gooey.DocExtractPageRequestSelectedAsrModel.WhisperLargeV2, + * googleTranslateTarget: "string", + * glossaryDocument: "string", + * taskInstructions: "string", + * selectedModel: Gooey.DocExtractPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocExtractPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async synthesizeData( - request: Gooey.SynthesizeDataRequest = {}, + request: Gooey.DocExtractPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -944,25 +1173,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.DocExtractPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormDocExtract.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1033,7 +1257,7 @@ export class GooeyClient { } /** - * @param {Gooey.LlmRequest} request + * @param {Gooey.CompareLlmPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1043,13 +1267,35 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.llm() + * await client.llm({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * selectedModels: [Gooey.CompareLlmPageRequestSelectedModelsItem.Gpt4O], + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.CompareLlmPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async llm( - request: Gooey.LlmRequest = {}, + request: Gooey.CompareLlmPageRequest = {}, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1065,25 +1311,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.CompareLlmPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormCompareLlm.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1154,7 +1395,7 @@ export class GooeyClient { } /** - * @param {Gooey.RagRequest} request + * @param {Gooey.DocSearchPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1164,13 +1405,46 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.rag() + * await client.rag({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * keywordQuery: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * docExtractUrl: "string", + * embeddingModel: Gooey.DocSearchPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.DocSearchPageRequestSelectedModel.Gpt4O, + * citationStyle: Gooey.DocSearchPageRequestCitationStyle.Number, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocSearchPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async rag( - request: Gooey.RagRequest = {}, + request: Gooey.DocSearchPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1186,25 +1460,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.DocSearchPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormDocSearch.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1275,7 +1544,7 @@ export class GooeyClient { } /** - * @param {Gooey.DocSummaryRequest} request + * @param {Gooey.DocSummaryPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1285,13 +1554,40 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.docSummary() + * await client.docSummary({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * taskInstructions: "string", + * mergeInstructions: "string", + * selectedModel: Gooey.DocSummaryPageRequestSelectedModel.Gpt4O, + * chainType: "map_reduce", + * selectedAsrModel: Gooey.DocSummaryPageRequestSelectedAsrModel.WhisperLargeV2, + * googleTranslateTarget: "string", + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocSummaryPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async docSummary( - request: Gooey.DocSummaryRequest = {}, + request: Gooey.DocSummaryPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1307,25 +1603,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.DocSummaryPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormDocSummary.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1396,7 +1687,7 @@ export class GooeyClient { } /** - * @param {Gooey.LipsyncTtsRequest} request + * @param {Gooey.LipsyncTtsPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1406,13 +1697,63 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.lipsyncTts() + * await client.lipsyncTts({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * ttsProvider: Gooey.LipsyncTtsPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.LipsyncTtsPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.LipsyncTtsPageRequestOpenaiTtsModel.Tts1, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * selectedModel: Gooey.LipsyncTtsPageRequestSelectedModel.Wav2Lip, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async lipsyncTts( - request: Gooey.LipsyncTtsRequest = {}, + request: Gooey.LipsyncTtsPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1428,25 +1769,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.LipsyncTtsPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormLipsyncTts.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1517,7 +1853,7 @@ export class GooeyClient { } /** - * @param {Gooey.TextToSpeechRequest} request + * @param {Gooey.TextToSpeechPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1527,13 +1863,46 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.textToSpeech() + * await client.textToSpeech({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * ttsProvider: Gooey.TextToSpeechPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.TextToSpeechPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.TextToSpeechPageRequestOpenaiTtsModel.Tts1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async textToSpeech( - request: Gooey.TextToSpeechRequest = {}, + request: Gooey.TextToSpeechPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1549,25 +1918,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.TextToSpeechPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormTextToSpeech.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1638,7 +2002,7 @@ export class GooeyClient { } /** - * @param {Gooey.SpeechRecognitionRequest} request + * @param {Gooey.AsrPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1648,13 +2012,36 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.speechRecognition() + * await client.speechRecognition({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * selectedModel: Gooey.AsrPageRequestSelectedModel.WhisperLargeV2, + * language: "string", + * translationModel: Gooey.AsrPageRequestTranslationModel.Google, + * outputFormat: Gooey.AsrPageRequestOutputFormat.Text, + * googleTranslateTarget: "string", + * translationSource: "string", + * translationTarget: "string", + * glossaryDocument: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async speechRecognition( - request: Gooey.SpeechRecognitionRequest = {}, + request: Gooey.AsrPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1670,25 +2057,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.AsrPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormAsr.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1759,7 +2141,7 @@ export class GooeyClient { } /** - * @param {Gooey.TextToMusicRequest} request + * @param {Gooey.Text2AudioPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1769,13 +2151,36 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.textToMusic() + * await client.textToMusic({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * negativePrompt: "string", + * durationSec: 1.1, + * numOutputs: 1, + * quality: 1, + * guidanceScale: 1.1, + * seed: 1, + * sd2Upscaling: true, + * selectedModels: ["audio_ldm"], + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async textToMusic( - request: Gooey.TextToMusicRequest = {}, + request: Gooey.Text2AudioPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1791,25 +2196,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.Text2AudioPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormText2Audio.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -1880,7 +2280,7 @@ export class GooeyClient { } /** - * @param {Gooey.TranslateRequest} request + * @param {Gooey.TranslationPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -1890,13 +2290,32 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.translate() + * await client.translate({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * texts: ["string"], + * selectedModel: Gooey.TranslationPageRequestSelectedModel.Google, + * translationSource: "string", + * translationTarget: "string", + * glossaryDocument: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async translate( - request: Gooey.TranslateRequest = {}, + request: Gooey.TranslationPageRequest = {}, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -1912,25 +2331,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.TranslationPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormTranslate.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2001,7 +2415,7 @@ export class GooeyClient { } /** - * @param {Gooey.RemixImageRequest} request + * @param {Gooey.Img2ImgPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2011,13 +2425,41 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.remixImage() + * await client.remixImage({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * selectedModel: Gooey.Img2ImgPageRequestSelectedModel.DreamShaper, + * selectedControlnetModel: [Gooey.Img2ImgPageRequestSelectedControlnetModelItem.SdControlnetCanny], + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * promptStrength: 1.1, + * controlnetConditioningScale: [1.1], + * seed: 1, + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async remixImage( - request: Gooey.RemixImageRequest = {}, + request: Gooey.Img2ImgPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2033,25 +2475,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.Img2ImgPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormImg2Img.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2122,7 +2559,7 @@ export class GooeyClient { } /** - * @param {Gooey.TextToImageRequest} request + * @param {Gooey.CompareText2ImgPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2132,13 +2569,42 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.textToImage() + * await client.textToImage({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * negativePrompt: "string", + * outputWidth: 1, + * outputHeight: 1, + * numOutputs: 1, + * quality: 1, + * dallE3Quality: "string", + * dallE3Style: "string", + * guidanceScale: 1.1, + * seed: 1, + * sd2Upscaling: true, + * selectedModels: [Gooey.CompareText2ImgPageRequestSelectedModelsItem.DreamShaper], + * scheduler: Gooey.CompareText2ImgPageRequestScheduler.SinglestepDpmSolver, + * editInstruction: "string", + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async textToImage( - request: Gooey.TextToImageRequest = {}, + request: Gooey.CompareText2ImgPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2154,25 +2620,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.CompareText2ImgPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormCompareText2Img.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2243,7 +2704,7 @@ export class GooeyClient { } /** - * @param {Gooey.ProductImageRequest} request + * @param {Gooey.ObjectInpaintingPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2253,13 +2714,42 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.productImage() + * await client.productImage({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * maskThreshold: 1.1, + * selectedModel: Gooey.ObjectInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * sd2Upscaling: true, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async productImage( - request: Gooey.ProductImageRequest = {}, + request: Gooey.ObjectInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2275,25 +2765,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.ObjectInpaintingPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormObjectInpainting.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2364,7 +2849,7 @@ export class GooeyClient { } /** - * @param {Gooey.PortraitRequest} request + * @param {Gooey.FaceInpaintingPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2374,13 +2859,41 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.portrait() + * await client.portrait({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * faceScale: 1.1, + * facePosX: 1.1, + * facePosY: 1.1, + * selectedModel: Gooey.FaceInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * upscaleFactor: 1.1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async portrait( - request: Gooey.PortraitRequest = {}, + request: Gooey.FaceInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2396,25 +2909,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.FaceInpaintingPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormFaceInpainting.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2485,7 +2993,7 @@ export class GooeyClient { } /** - * @param {Gooey.ImageFromEmailRequest} request + * @param {Gooey.EmailFaceInpaintingPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2495,13 +3003,50 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.imageFromEmail() + * await client.imageFromEmail({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * emailAddress: "string", + * twitterHandle: "string", + * textPrompt: "string", + * faceScale: 1.1, + * facePosX: 1.1, + * facePosY: 1.1, + * selectedModel: Gooey.EmailFaceInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * upscaleFactor: 1.1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * shouldSendEmail: true, + * emailFrom: "string", + * emailCc: "string", + * emailBcc: "string", + * emailSubject: "string", + * emailBody: "string", + * emailBodyEnableHtml: true, + * fallbackEmailBody: "string", + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async imageFromEmail( - request: Gooey.ImageFromEmailRequest = {}, + request: Gooey.EmailFaceInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2517,25 +3062,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.EmailFaceInpaintingPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormEmailFaceInpainting.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2606,7 +3146,7 @@ export class GooeyClient { } /** - * @param {Gooey.ImageFromWebSearchRequest} request + * @param {Gooey.GoogleImageGenPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2616,13 +3156,40 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.imageFromWebSearch() + * await client.imageFromWebSearch({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * searchQuery: "string", + * textPrompt: "string", + * selectedModel: Gooey.GoogleImageGenPageRequestSelectedModel.DreamShaper, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * guidanceScale: 1.1, + * promptStrength: 1.1, + * sd2Upscaling: true, + * seed: 1, + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async imageFromWebSearch( - request: Gooey.ImageFromWebSearchRequest = {}, + request: Gooey.GoogleImageGenPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2638,25 +3205,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.GoogleImageGenPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormGoogleImageGen.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2727,7 +3289,7 @@ export class GooeyClient { } /** - * @param {Gooey.RemoveBackgroundRequest} request + * @param {Gooey.ImageSegmentationPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2737,13 +3299,35 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.removeBackground() + * await client.removeBackground({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * selectedModel: Gooey.ImageSegmentationPageRequestSelectedModel.Dis, + * maskThreshold: 1.1, + * rectPersepectiveTransform: true, + * reflectionOpacity: 1.1, + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async removeBackground( - request: Gooey.RemoveBackgroundRequest = {}, + request: Gooey.ImageSegmentationPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2759,25 +3343,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.ImageSegmentationPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormImageSegmentation.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2848,7 +3427,7 @@ export class GooeyClient { } /** - * @param {Gooey.UpscaleRequest} request + * @param {Gooey.CompareUpscalerPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2858,13 +3437,32 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.upscale() + * await client.upscale({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * inputVideo: "string", + * scale: 1, + * selectedModels: [Gooey.CompareUpscalerPageRequestSelectedModelsItem.Gfpgan14], + * selectedBgModel: "real_esrgan_x2", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async upscale( - request: Gooey.UpscaleRequest = {}, + request: Gooey.CompareUpscalerPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -2880,25 +3478,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.CompareUpscalerPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormCompareAiUpscalers.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -2969,7 +3562,7 @@ export class GooeyClient { } /** - * @param {Gooey.EmbedRequest} request + * @param {Gooey.EmbeddingsPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -2979,13 +3572,29 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.embed() + * await client.embed({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * texts: ["string"], + * selectedModel: Gooey.EmbeddingsPageRequestSelectedModel.Openai3Large, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async embed( - request: Gooey.EmbedRequest = {}, + request: Gooey.EmbeddingsPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -3001,25 +3610,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.EmbeddingsPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormEmbeddings.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -3090,7 +3694,7 @@ export class GooeyClient { } /** - * @param {Gooey.SeoPeopleAlsoAskDocRequest} request + * @param {Gooey.RelatedQnADocPageRequest} request * @param {GooeyClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -3100,13 +3704,50 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * await client.seoPeopleAlsoAskDoc() + * await client.seoPeopleAlsoAskDoc({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * keywordQuery: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * docExtractUrl: "string", + * embeddingModel: Gooey.RelatedQnADocPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.RelatedQnADocPageRequestSelectedModel.Gpt4O, + * citationStyle: Gooey.RelatedQnADocPageRequestCitationStyle.Number, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.RelatedQnADocPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async seoPeopleAlsoAskDoc( - request: Gooey.SeoPeopleAlsoAskDocRequest = {}, + request: Gooey.RelatedQnADocPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -3122,25 +3763,20 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.RelatedQnADocPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormRelatedQnaMakerDoc.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -3227,7 +3863,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3280,7 +3916,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3333,7 +3969,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3386,7 +4022,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3439,7 +4075,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3492,7 +4128,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3545,7 +4181,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3598,7 +4234,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3651,7 +4287,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3704,7 +4340,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3757,7 +4393,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3810,7 +4446,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3863,7 +4499,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3916,7 +4552,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3969,7 +4605,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4022,7 +4658,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4075,7 +4711,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4128,7 +4764,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4181,7 +4817,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4234,7 +4870,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4287,7 +4923,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4340,7 +4976,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4393,7 +5029,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4446,7 +5082,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4499,7 +5135,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4552,7 +5188,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4605,7 +5241,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4658,7 +5294,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4711,7 +5347,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4764,7 +5400,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4817,7 +5453,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4870,7 +5506,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4923,7 +5559,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4976,7 +5612,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/client/requests/AnimateRequest.ts b/src/api/client/requests/AnimateRequest.ts deleted file mode 100644 index 75483e5..0000000 --- a/src/api/client/requests/AnimateRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AnimateRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/AsrPageRequest.ts b/src/api/client/requests/AsrPageRequest.ts new file mode 100644 index 0000000..603d240 --- /dev/null +++ b/src/api/client/requests/AsrPageRequest.ts @@ -0,0 +1,54 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * selectedModel: Gooey.AsrPageRequestSelectedModel.WhisperLargeV2, + * language: "string", + * translationModel: Gooey.AsrPageRequestTranslationModel.Google, + * outputFormat: Gooey.AsrPageRequestOutputFormat.Text, + * googleTranslateTarget: "string", + * translationSource: "string", + * translationTarget: "string", + * glossaryDocument: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface AsrPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + documents: string[]; + selectedModel?: Gooey.AsrPageRequestSelectedModel; + language?: string; + translationModel?: Gooey.AsrPageRequestTranslationModel; + outputFormat?: Gooey.AsrPageRequestOutputFormat; + /** 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/BulkRunRequest.ts b/src/api/client/requests/BulkRunRequest.ts deleted file mode 100644 index 50d9e38..0000000 --- a/src/api/client/requests/BulkRunRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface BulkRunRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/BulkRunnerPageRequest.ts b/src/api/client/requests/BulkRunnerPageRequest.ts new file mode 100644 index 0000000..2f1d59c --- /dev/null +++ b/src/api/client/requests/BulkRunnerPageRequest.ts @@ -0,0 +1,68 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * runUrls: ["string"], + * inputColumns: { + * "string": "string" + * }, + * outputColumns: { + * "string": "string" + * }, + * evalUrls: ["string"], + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface BulkRunnerPageRequest { + exampleId?: string; + 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/CompareLlmPageRequest.ts b/src/api/client/requests/CompareLlmPageRequest.ts new file mode 100644 index 0000000..ac123f1 --- /dev/null +++ b/src/api/client/requests/CompareLlmPageRequest.ts @@ -0,0 +1,47 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * selectedModels: [Gooey.CompareLlmPageRequestSelectedModelsItem.Gpt4O], + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.CompareLlmPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface CompareLlmPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + inputPrompt?: string; + selectedModels?: Gooey.CompareLlmPageRequestSelectedModelsItem[]; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.CompareLlmPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/CompareText2ImgPageRequest.ts b/src/api/client/requests/CompareText2ImgPageRequest.ts new file mode 100644 index 0000000..3506ea8 --- /dev/null +++ b/src/api/client/requests/CompareText2ImgPageRequest.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * negativePrompt: "string", + * outputWidth: 1, + * outputHeight: 1, + * numOutputs: 1, + * quality: 1, + * dallE3Quality: "string", + * dallE3Style: "string", + * guidanceScale: 1.1, + * seed: 1, + * sd2Upscaling: true, + * selectedModels: [Gooey.CompareText2ImgPageRequestSelectedModelsItem.DreamShaper], + * scheduler: Gooey.CompareText2ImgPageRequestScheduler.SinglestepDpmSolver, + * editInstruction: "string", + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface CompareText2ImgPageRequest { + exampleId?: string; + 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.CompareText2ImgPageRequestSelectedModelsItem[]; + scheduler?: Gooey.CompareText2ImgPageRequestScheduler; + editInstruction?: string; + imageGuidanceScale?: number; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/CompareUpscalerPageRequest.ts b/src/api/client/requests/CompareUpscalerPageRequest.ts new file mode 100644 index 0000000..8b45d15 --- /dev/null +++ b/src/api/client/requests/CompareUpscalerPageRequest.ts @@ -0,0 +1,44 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * inputVideo: "string", + * scale: 1, + * selectedModels: [Gooey.CompareUpscalerPageRequestSelectedModelsItem.Gfpgan14], + * selectedBgModel: "real_esrgan_x2", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface CompareUpscalerPageRequest { + exampleId?: string; + 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.CompareUpscalerPageRequestSelectedModelsItem[]; + selectedBgModel?: "real_esrgan_x2"; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/DeforumSdPageRequest.ts b/src/api/client/requests/DeforumSdPageRequest.ts new file mode 100644 index 0000000..2c652b1 --- /dev/null +++ b/src/api/client/requests/DeforumSdPageRequest.ts @@ -0,0 +1,58 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * animationPrompts: [{ + * frame: "string", + * prompt: "string" + * }], + * maxFrames: 1, + * selectedModel: Gooey.DeforumSdPageRequestSelectedModel.Protogen22, + * animationMode: "string", + * zoom: "string", + * translationX: "string", + * translationY: "string", + * rotation3DX: "string", + * rotation3DY: "string", + * rotation3DZ: "string", + * fps: 1, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface DeforumSdPageRequest { + exampleId?: string; + 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.DeforumSdPageRequestSelectedModel; + 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/DocExtractPageRequest.ts b/src/api/client/requests/DocExtractPageRequest.ts new file mode 100644 index 0000000..7d5182e --- /dev/null +++ b/src/api/client/requests/DocExtractPageRequest.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * sheetUrl: "string", + * selectedAsrModel: Gooey.DocExtractPageRequestSelectedAsrModel.WhisperLargeV2, + * googleTranslateTarget: "string", + * glossaryDocument: "string", + * taskInstructions: "string", + * selectedModel: Gooey.DocExtractPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocExtractPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface DocExtractPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + documents: string[]; + sheetUrl?: string; + selectedAsrModel?: Gooey.DocExtractPageRequestSelectedAsrModel; + 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.DocExtractPageRequestSelectedModel; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.DocExtractPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/DocSearchPageRequest.ts b/src/api/client/requests/DocSearchPageRequest.ts new file mode 100644 index 0000000..2503a65 --- /dev/null +++ b/src/api/client/requests/DocSearchPageRequest.ts @@ -0,0 +1,74 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * keywordQuery: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * docExtractUrl: "string", + * embeddingModel: Gooey.DocSearchPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.DocSearchPageRequestSelectedModel.Gpt4O, + * citationStyle: Gooey.DocSearchPageRequestCitationStyle.Number, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocSearchPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface DocSearchPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + searchQuery: string; + keywordQuery?: Gooey.DocSearchPageRequestKeywordQuery; + documents?: string[]; + maxReferences?: number; + maxContextWords?: number; + scrollJump?: number; + docExtractUrl?: string; + embeddingModel?: Gooey.DocSearchPageRequestEmbeddingModel; + /** + * 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.DocSearchPageRequestSelectedModel; + citationStyle?: Gooey.DocSearchPageRequestCitationStyle; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.DocSearchPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/DocSummaryPageRequest.ts b/src/api/client/requests/DocSummaryPageRequest.ts new file mode 100644 index 0000000..63d499c --- /dev/null +++ b/src/api/client/requests/DocSummaryPageRequest.ts @@ -0,0 +1,57 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * taskInstructions: "string", + * mergeInstructions: "string", + * selectedModel: Gooey.DocSummaryPageRequestSelectedModel.Gpt4O, + * chainType: "map_reduce", + * selectedAsrModel: Gooey.DocSummaryPageRequestSelectedAsrModel.WhisperLargeV2, + * googleTranslateTarget: "string", + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.DocSummaryPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface DocSummaryPageRequest { + exampleId?: string; + 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.DocSummaryPageRequestSelectedModel; + chainType?: "map_reduce"; + selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel; + googleTranslateTarget?: string; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.DocSummaryPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/DocSummaryRequest.ts b/src/api/client/requests/DocSummaryRequest.ts deleted file mode 100644 index 7bb510e..0000000 --- a/src/api/client/requests/DocSummaryRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface DocSummaryRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/EmailFaceInpaintingPageRequest.ts b/src/api/client/requests/EmailFaceInpaintingPageRequest.ts new file mode 100644 index 0000000..c1187cc --- /dev/null +++ b/src/api/client/requests/EmailFaceInpaintingPageRequest.ts @@ -0,0 +1,77 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * emailAddress: "string", + * twitterHandle: "string", + * textPrompt: "string", + * faceScale: 1.1, + * facePosX: 1.1, + * facePosY: 1.1, + * selectedModel: Gooey.EmailFaceInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * upscaleFactor: 1.1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * shouldSendEmail: true, + * emailFrom: "string", + * emailCc: "string", + * emailBcc: "string", + * emailSubject: "string", + * emailBody: "string", + * emailBodyEnableHtml: true, + * fallbackEmailBody: "string", + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface EmailFaceInpaintingPageRequest { + exampleId?: string; + 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.EmailFaceInpaintingPageRequestSelectedModel; + 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/EmbedRequest.ts b/src/api/client/requests/EmbedRequest.ts deleted file mode 100644 index e801c72..0000000 --- a/src/api/client/requests/EmbedRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface EmbedRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/EmbeddingsPageRequest.ts b/src/api/client/requests/EmbeddingsPageRequest.ts new file mode 100644 index 0000000..0eb8d1f --- /dev/null +++ b/src/api/client/requests/EmbeddingsPageRequest.ts @@ -0,0 +1,35 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * texts: ["string"], + * selectedModel: Gooey.EmbeddingsPageRequestSelectedModel.Openai3Large, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface EmbeddingsPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + texts: string[]; + selectedModel?: Gooey.EmbeddingsPageRequestSelectedModel; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/FaceInpaintingPageRequest.ts b/src/api/client/requests/FaceInpaintingPageRequest.ts new file mode 100644 index 0000000..706598d --- /dev/null +++ b/src/api/client/requests/FaceInpaintingPageRequest.ts @@ -0,0 +1,59 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * faceScale: 1.1, + * facePosX: 1.1, + * facePosY: 1.1, + * selectedModel: Gooey.FaceInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * upscaleFactor: 1.1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface FaceInpaintingPageRequest { + exampleId?: string; + 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.FaceInpaintingPageRequestSelectedModel; + 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/GoogleGptPageRequest.ts b/src/api/client/requests/GoogleGptPageRequest.ts new file mode 100644 index 0000000..e11693c --- /dev/null +++ b/src/api/client/requests/GoogleGptPageRequest.ts @@ -0,0 +1,80 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * siteFilter: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.GoogleGptPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.GoogleGptPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.GoogleGptPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface GoogleGptPageRequest { + exampleId?: string; + 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.GoogleGptPageRequestSelectedModel; + maxSearchUrls?: number; + maxReferences?: number; + maxContextWords?: number; + scrollJump?: number; + embeddingModel?: Gooey.GoogleGptPageRequestEmbeddingModel; + /** + * 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.GoogleGptPageRequestResponseFormatType; + 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/GoogleImageGenPageRequest.ts b/src/api/client/requests/GoogleImageGenPageRequest.ts new file mode 100644 index 0000000..e0620ad --- /dev/null +++ b/src/api/client/requests/GoogleImageGenPageRequest.ts @@ -0,0 +1,58 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * searchQuery: "string", + * textPrompt: "string", + * selectedModel: Gooey.GoogleImageGenPageRequestSelectedModel.DreamShaper, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * guidanceScale: 1.1, + * promptStrength: 1.1, + * sd2Upscaling: true, + * seed: 1, + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface GoogleImageGenPageRequest { + exampleId?: string; + 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.GoogleImageGenPageRequestSelectedModel; + 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/ImageFromEmailRequest.ts b/src/api/client/requests/ImageFromEmailRequest.ts deleted file mode 100644 index fd05cfd..0000000 --- a/src/api/client/requests/ImageFromEmailRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface ImageFromEmailRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/ImageFromWebSearchRequest.ts b/src/api/client/requests/ImageFromWebSearchRequest.ts deleted file mode 100644 index 2b6e552..0000000 --- a/src/api/client/requests/ImageFromWebSearchRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface ImageFromWebSearchRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/ImageSegmentationPageRequest.ts b/src/api/client/requests/ImageSegmentationPageRequest.ts new file mode 100644 index 0000000..0c59253 --- /dev/null +++ b/src/api/client/requests/ImageSegmentationPageRequest.ts @@ -0,0 +1,47 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * selectedModel: Gooey.ImageSegmentationPageRequestSelectedModel.Dis, + * maskThreshold: 1.1, + * rectPersepectiveTransform: true, + * reflectionOpacity: 1.1, + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface ImageSegmentationPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + inputImage: string; + selectedModel?: Gooey.ImageSegmentationPageRequestSelectedModel; + maskThreshold?: number; + rectPersepectiveTransform?: boolean; + reflectionOpacity?: number; + objScale?: number; + objPosX?: number; + objPosY?: number; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/Img2ImgPageRequest.ts b/src/api/client/requests/Img2ImgPageRequest.ts new file mode 100644 index 0000000..8dd563e --- /dev/null +++ b/src/api/client/requests/Img2ImgPageRequest.ts @@ -0,0 +1,59 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * selectedModel: Gooey.Img2ImgPageRequestSelectedModel.DreamShaper, + * selectedControlnetModel: [Gooey.Img2ImgPageRequestSelectedControlnetModelItem.SdControlnetCanny], + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * promptStrength: 1.1, + * controlnetConditioningScale: [1.1], + * seed: 1, + * imageGuidanceScale: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface Img2ImgPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + inputImage: string; + textPrompt?: string; + selectedModel?: Gooey.Img2ImgPageRequestSelectedModel; + selectedControlnetModel?: Gooey.Img2ImgPageRequestSelectedControlnetModel; + 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/LipsyncTtsPageRequest.ts b/src/api/client/requests/LipsyncTtsPageRequest.ts new file mode 100644 index 0000000..ca7a6f9 --- /dev/null +++ b/src/api/client/requests/LipsyncTtsPageRequest.ts @@ -0,0 +1,94 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * ttsProvider: Gooey.LipsyncTtsPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.LipsyncTtsPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.LipsyncTtsPageRequestOpenaiTtsModel.Tts1, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * selectedModel: Gooey.LipsyncTtsPageRequestSelectedModel.Wav2Lip, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface LipsyncTtsPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + textPrompt: string; + ttsProvider?: Gooey.LipsyncTtsPageRequestTtsProvider; + 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.LipsyncTtsPageRequestOpenaiVoiceName; + openaiTtsModel?: Gooey.LipsyncTtsPageRequestOpenaiTtsModel; + inputFace?: string; + facePaddingTop?: number; + facePaddingBottom?: number; + facePaddingLeft?: number; + facePaddingRight?: number; + sadtalkerSettings?: Gooey.SadTalkerSettings; + selectedModel?: Gooey.LipsyncTtsPageRequestSelectedModel; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/LipsyncTtsRequest.ts b/src/api/client/requests/LipsyncTtsRequest.ts deleted file mode 100644 index 7efac26..0000000 --- a/src/api/client/requests/LipsyncTtsRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface LipsyncTtsRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/LlmRequest.ts b/src/api/client/requests/LlmRequest.ts deleted file mode 100644 index daae316..0000000 --- a/src/api/client/requests/LlmRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface LlmRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/ObjectInpaintingPageRequest.ts b/src/api/client/requests/ObjectInpaintingPageRequest.ts new file mode 100644 index 0000000..2802fd7 --- /dev/null +++ b/src/api/client/requests/ObjectInpaintingPageRequest.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputImage: "string", + * textPrompt: "string", + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * maskThreshold: 1.1, + * selectedModel: Gooey.ObjectInpaintingPageRequestSelectedModel.Sd2, + * negativePrompt: "string", + * numOutputs: 1, + * quality: 1, + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * sd2Upscaling: true, + * seed: 1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface ObjectInpaintingPageRequest { + exampleId?: string; + 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.ObjectInpaintingPageRequestSelectedModel; + 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/PersonalizeEmailRequest.ts b/src/api/client/requests/PersonalizeEmailRequest.ts deleted file mode 100644 index 08e1e25..0000000 --- a/src/api/client/requests/PersonalizeEmailRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface PersonalizeEmailRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/PortraitRequest.ts b/src/api/client/requests/PortraitRequest.ts deleted file mode 100644 index 6a284a9..0000000 --- a/src/api/client/requests/PortraitRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface PortraitRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/ProductImageRequest.ts b/src/api/client/requests/ProductImageRequest.ts deleted file mode 100644 index 80f4382..0000000 --- a/src/api/client/requests/ProductImageRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface ProductImageRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/QrCodeGeneratorPageRequest.ts b/src/api/client/requests/QrCodeGeneratorPageRequest.ts new file mode 100644 index 0000000..6ac0d9e --- /dev/null +++ b/src/api/client/requests/QrCodeGeneratorPageRequest.ts @@ -0,0 +1,110 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * qrCodeData: "string", + * qrCodeInputImage: "string", + * qrCodeVcard: { + * formatName: "string", + * email: "string", + * gender: "string", + * birthdayYear: 1, + * birthdayMonth: 1, + * birthdayDay: 1, + * familyName: "string", + * givenName: "string", + * middleNames: "string", + * honorificPrefixes: "string", + * honorificSuffixes: "string", + * impp: "string", + * address: "string", + * calendarUrl: "string", + * commaSeparatedCategories: "string", + * kind: "string", + * language: "string", + * organization: "string", + * photoUrl: "string", + * logoUrl: "string", + * role: "string", + * timezone: "string", + * jobTitle: "string", + * urls: ["string"], + * tel: "string", + * note: "string" + * }, + * qrCodeFile: "string", + * useUrlShortener: true, + * textPrompt: "string", + * negativePrompt: "string", + * imagePrompt: "string", + * imagePromptControlnetModels: [Gooey.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.SdControlnetCanny], + * imagePromptStrength: 1.1, + * imagePromptScale: 1.1, + * imagePromptPosX: 1.1, + * imagePromptPosY: 1.1, + * selectedModel: Gooey.QrCodeGeneratorPageRequestSelectedModel.DreamShaper, + * selectedControlnetModel: [Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem.SdControlnetCanny], + * outputWidth: 1, + * outputHeight: 1, + * guidanceScale: 1.1, + * controlnetConditioningScale: [1.1], + * numOutputs: 1, + * quality: 1, + * scheduler: Gooey.QrCodeGeneratorPageRequestScheduler.SinglestepDpmSolver, + * seed: 1, + * objScale: 1.1, + * objPosX: 1.1, + * objPosY: 1.1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface QrCodeGeneratorPageRequest { + exampleId?: string; + 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.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem[]; + imagePromptStrength?: number; + imagePromptScale?: number; + imagePromptPosX?: number; + imagePromptPosY?: number; + selectedModel?: Gooey.QrCodeGeneratorPageRequestSelectedModel; + selectedControlnetModel?: Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem[]; + outputWidth?: number; + outputHeight?: number; + guidanceScale?: number; + controlnetConditioningScale?: number[]; + numOutputs?: number; + quality?: number; + scheduler?: Gooey.QrCodeGeneratorPageRequestScheduler; + seed?: number; + objScale?: number; + objPosX?: number; + objPosY?: number; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/QrCodeRequest.ts b/src/api/client/requests/QrCodeRequest.ts deleted file mode 100644 index bc5229d..0000000 --- a/src/api/client/requests/QrCodeRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface QrCodeRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/RagRequest.ts b/src/api/client/requests/RagRequest.ts deleted file mode 100644 index af5ad21..0000000 --- a/src/api/client/requests/RagRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface RagRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/RelatedQnADocPageRequest.ts b/src/api/client/requests/RelatedQnADocPageRequest.ts new file mode 100644 index 0000000..0168475 --- /dev/null +++ b/src/api/client/requests/RelatedQnADocPageRequest.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * keywordQuery: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * docExtractUrl: "string", + * embeddingModel: Gooey.RelatedQnADocPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.RelatedQnADocPageRequestSelectedModel.Gpt4O, + * citationStyle: Gooey.RelatedQnADocPageRequestCitationStyle.Number, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.RelatedQnADocPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface RelatedQnADocPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + searchQuery: string; + keywordQuery?: Gooey.RelatedQnADocPageRequestKeywordQuery; + documents?: string[]; + maxReferences?: number; + maxContextWords?: number; + scrollJump?: number; + docExtractUrl?: string; + embeddingModel?: Gooey.RelatedQnADocPageRequestEmbeddingModel; + /** + * 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.RelatedQnADocPageRequestSelectedModel; + citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.RelatedQnADocPageRequestResponseFormatType; + 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/RelatedQnAPageRequest.ts b/src/api/client/requests/RelatedQnAPageRequest.ts new file mode 100644 index 0000000..c29e870 --- /dev/null +++ b/src/api/client/requests/RelatedQnAPageRequest.ts @@ -0,0 +1,80 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * searchQuery: "string", + * siteFilter: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * selectedModel: Gooey.RelatedQnAPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.RelatedQnAPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.RelatedQnAPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface RelatedQnAPageRequest { + exampleId?: string; + 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.RelatedQnAPageRequestSelectedModel; + maxSearchUrls?: number; + maxReferences?: number; + maxContextWords?: number; + scrollJump?: number; + embeddingModel?: Gooey.RelatedQnAPageRequestEmbeddingModel; + /** + * 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.RelatedQnAPageRequestResponseFormatType; + 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/RemixImageRequest.ts b/src/api/client/requests/RemixImageRequest.ts deleted file mode 100644 index da6d6ac..0000000 --- a/src/api/client/requests/RemixImageRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface RemixImageRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/RemoveBackgroundRequest.ts b/src/api/client/requests/RemoveBackgroundRequest.ts deleted file mode 100644 index 03a5fae..0000000 --- a/src/api/client/requests/RemoveBackgroundRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface RemoveBackgroundRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/SeoContentRequest.ts b/src/api/client/requests/SeoContentRequest.ts deleted file mode 100644 index d3a1857..0000000 --- a/src/api/client/requests/SeoContentRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface SeoContentRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/SeoPeopleAlsoAskDocRequest.ts b/src/api/client/requests/SeoPeopleAlsoAskDocRequest.ts deleted file mode 100644 index e68484e..0000000 --- a/src/api/client/requests/SeoPeopleAlsoAskDocRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface SeoPeopleAlsoAskDocRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/SeoPeopleAlsoAskRequest.ts b/src/api/client/requests/SeoPeopleAlsoAskRequest.ts deleted file mode 100644 index dcfd701..0000000 --- a/src/api/client/requests/SeoPeopleAlsoAskRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface SeoPeopleAlsoAskRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/SeoSummaryPageRequest.ts b/src/api/client/requests/SeoSummaryPageRequest.ts new file mode 100644 index 0000000..0727427 --- /dev/null +++ b/src/api/client/requests/SeoSummaryPageRequest.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * searchQuery: "string", + * keywords: "string", + * title: "string", + * companyUrl: "string", + * taskInstructions: "string", + * enableHtml: true, + * selectedModel: Gooey.SeoSummaryPageRequestSelectedModel.Gpt4O, + * maxSearchUrls: 1, + * enableCrosslinks: true, + * seed: 1, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SeoSummaryPageRequestResponseFormatType.Text, + * serpSearchLocation: Gooey.SerpSearchLocation.Af, + * scaleserpLocations: ["string"], + * serpSearchType: Gooey.SerpSearchType.Search, + * scaleserpSearchField: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface SeoSummaryPageRequest { + exampleId?: string; + searchQuery: string; + keywords: string; + title: string; + companyUrl: string; + taskInstructions?: string; + enableHtml?: boolean; + selectedModel?: Gooey.SeoSummaryPageRequestSelectedModel; + maxSearchUrls?: number; + enableCrosslinks?: boolean; + seed?: number; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.SeoSummaryPageRequestResponseFormatType; + 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/SocialLookupEmailPageRequest.ts b/src/api/client/requests/SocialLookupEmailPageRequest.ts new file mode 100644 index 0000000..066e31b --- /dev/null +++ b/src/api/client/requests/SocialLookupEmailPageRequest.ts @@ -0,0 +1,49 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * emailAddress: "string", + * inputPrompt: "string", + * selectedModel: Gooey.SocialLookupEmailPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SocialLookupEmailPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface SocialLookupEmailPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + emailAddress: string; + inputPrompt?: string; + selectedModel?: Gooey.SocialLookupEmailPageRequestSelectedModel; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.SocialLookupEmailPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/SpeechRecognitionRequest.ts b/src/api/client/requests/SpeechRecognitionRequest.ts deleted file mode 100644 index 39974c6..0000000 --- a/src/api/client/requests/SpeechRecognitionRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface SpeechRecognitionRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/SynthesizeDataRequest.ts b/src/api/client/requests/SynthesizeDataRequest.ts deleted file mode 100644 index 7ce5438..0000000 --- a/src/api/client/requests/SynthesizeDataRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface SynthesizeDataRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/Text2AudioPageRequest.ts b/src/api/client/requests/Text2AudioPageRequest.ts new file mode 100644 index 0000000..f7de8b4 --- /dev/null +++ b/src/api/client/requests/Text2AudioPageRequest.ts @@ -0,0 +1,49 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * negativePrompt: "string", + * durationSec: 1.1, + * numOutputs: 1, + * quality: 1, + * guidanceScale: 1.1, + * seed: 1, + * sd2Upscaling: true, + * selectedModels: ["audio_ldm"], + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface Text2AudioPageRequest { + exampleId?: string; + 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/TextToImageRequest.ts b/src/api/client/requests/TextToImageRequest.ts deleted file mode 100644 index 4bb33fc..0000000 --- a/src/api/client/requests/TextToImageRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface TextToImageRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/TextToMusicRequest.ts b/src/api/client/requests/TextToMusicRequest.ts deleted file mode 100644 index d08e82b..0000000 --- a/src/api/client/requests/TextToMusicRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface TextToMusicRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/TextToSpeechPageRequest.ts b/src/api/client/requests/TextToSpeechPageRequest.ts new file mode 100644 index 0000000..2925396 --- /dev/null +++ b/src/api/client/requests/TextToSpeechPageRequest.ts @@ -0,0 +1,70 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * textPrompt: "string", + * ttsProvider: Gooey.TextToSpeechPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.TextToSpeechPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.TextToSpeechPageRequestOpenaiTtsModel.Tts1, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface TextToSpeechPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + textPrompt: string; + ttsProvider?: Gooey.TextToSpeechPageRequestTtsProvider; + 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.TextToSpeechPageRequestOpenaiVoiceName; + openaiTtsModel?: Gooey.TextToSpeechPageRequestOpenaiTtsModel; + settings?: Gooey.RunSettings; +} diff --git a/src/api/client/requests/TextToSpeechRequest.ts b/src/api/client/requests/TextToSpeechRequest.ts deleted file mode 100644 index 789b499..0000000 --- a/src/api/client/requests/TextToSpeechRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface TextToSpeechRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/TranslateRequest.ts b/src/api/client/requests/TranslateRequest.ts deleted file mode 100644 index 3a95409..0000000 --- a/src/api/client/requests/TranslateRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface TranslateRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/TranslationPageRequest.ts b/src/api/client/requests/TranslationPageRequest.ts new file mode 100644 index 0000000..ee93087 --- /dev/null +++ b/src/api/client/requests/TranslationPageRequest.ts @@ -0,0 +1,45 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * texts: ["string"], + * selectedModel: Gooey.TranslationPageRequestSelectedModel.Google, + * translationSource: "string", + * translationTarget: "string", + * glossaryDocument: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface TranslationPageRequest { + exampleId?: string; + functions?: Gooey.RecipeFunction[]; + /** Variables to be used as Jinja prompt templates and in functions as arguments */ + variables?: Record; + texts?: string[]; + selectedModel?: Gooey.TranslationPageRequestSelectedModel; + 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/UpscaleRequest.ts b/src/api/client/requests/UpscaleRequest.ts deleted file mode 100644 index 4dfafdc..0000000 --- a/src/api/client/requests/UpscaleRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface UpscaleRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/WebSearchLlmRequest.ts b/src/api/client/requests/WebSearchLlmRequest.ts deleted file mode 100644 index 272d138..0000000 --- a/src/api/client/requests/WebSearchLlmRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface WebSearchLlmRequest { - exampleId?: string; -} diff --git a/src/api/client/requests/index.ts b/src/api/client/requests/index.ts index 1278d59..03749f9 100644 --- a/src/api/client/requests/index.ts +++ b/src/api/client/requests/index.ts @@ -1,26 +1,26 @@ -export { type AnimateRequest } from "./AnimateRequest"; -export { type QrCodeRequest } from "./QrCodeRequest"; -export { type SeoPeopleAlsoAskRequest } from "./SeoPeopleAlsoAskRequest"; -export { type SeoContentRequest } from "./SeoContentRequest"; -export { type WebSearchLlmRequest } from "./WebSearchLlmRequest"; -export { type PersonalizeEmailRequest } from "./PersonalizeEmailRequest"; -export { type BulkRunRequest } from "./BulkRunRequest"; -export { type SynthesizeDataRequest } from "./SynthesizeDataRequest"; -export { type LlmRequest } from "./LlmRequest"; -export { type RagRequest } from "./RagRequest"; -export { type DocSummaryRequest } from "./DocSummaryRequest"; -export { type LipsyncTtsRequest } from "./LipsyncTtsRequest"; -export { type TextToSpeechRequest } from "./TextToSpeechRequest"; -export { type SpeechRecognitionRequest } from "./SpeechRecognitionRequest"; -export { type TextToMusicRequest } from "./TextToMusicRequest"; -export { type TranslateRequest } from "./TranslateRequest"; -export { type RemixImageRequest } from "./RemixImageRequest"; -export { type TextToImageRequest } from "./TextToImageRequest"; -export { type ProductImageRequest } from "./ProductImageRequest"; -export { type PortraitRequest } from "./PortraitRequest"; -export { type ImageFromEmailRequest } from "./ImageFromEmailRequest"; -export { type ImageFromWebSearchRequest } from "./ImageFromWebSearchRequest"; -export { type RemoveBackgroundRequest } from "./RemoveBackgroundRequest"; -export { type UpscaleRequest } from "./UpscaleRequest"; -export { type EmbedRequest } from "./EmbedRequest"; -export { type SeoPeopleAlsoAskDocRequest } from "./SeoPeopleAlsoAskDocRequest"; +export { type DeforumSdPageRequest } from "./DeforumSdPageRequest"; +export { type QrCodeGeneratorPageRequest } from "./QrCodeGeneratorPageRequest"; +export { type RelatedQnAPageRequest } from "./RelatedQnAPageRequest"; +export { type SeoSummaryPageRequest } from "./SeoSummaryPageRequest"; +export { type GoogleGptPageRequest } from "./GoogleGptPageRequest"; +export { type SocialLookupEmailPageRequest } from "./SocialLookupEmailPageRequest"; +export { type BulkRunnerPageRequest } from "./BulkRunnerPageRequest"; +export { type DocExtractPageRequest } from "./DocExtractPageRequest"; +export { type CompareLlmPageRequest } from "./CompareLlmPageRequest"; +export { type DocSearchPageRequest } from "./DocSearchPageRequest"; +export { type DocSummaryPageRequest } from "./DocSummaryPageRequest"; +export { type LipsyncTtsPageRequest } from "./LipsyncTtsPageRequest"; +export { type TextToSpeechPageRequest } from "./TextToSpeechPageRequest"; +export { type AsrPageRequest } from "./AsrPageRequest"; +export { type Text2AudioPageRequest } from "./Text2AudioPageRequest"; +export { type TranslationPageRequest } from "./TranslationPageRequest"; +export { type Img2ImgPageRequest } from "./Img2ImgPageRequest"; +export { type CompareText2ImgPageRequest } from "./CompareText2ImgPageRequest"; +export { type ObjectInpaintingPageRequest } from "./ObjectInpaintingPageRequest"; +export { type FaceInpaintingPageRequest } from "./FaceInpaintingPageRequest"; +export { type EmailFaceInpaintingPageRequest } from "./EmailFaceInpaintingPageRequest"; +export { type GoogleImageGenPageRequest } from "./GoogleImageGenPageRequest"; +export { type ImageSegmentationPageRequest } from "./ImageSegmentationPageRequest"; +export { type CompareUpscalerPageRequest } from "./CompareUpscalerPageRequest"; +export { type EmbeddingsPageRequest } from "./EmbeddingsPageRequest"; +export { type RelatedQnADocPageRequest } from "./RelatedQnADocPageRequest"; diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts index e676c1f..148e043 100644 --- a/src/api/resources/aiAnimationGenerator/client/Client.ts +++ b/src/api/resources/aiAnimationGenerator/client/Client.ts @@ -59,7 +59,7 @@ export class AiAnimationGenerator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts index 59cfc95..ff83bdc 100644 --- a/src/api/resources/aiArtQrCode/client/Client.ts +++ b/src/api/resources/aiArtQrCode/client/Client.ts @@ -59,7 +59,7 @@ export class AiArtQrCode { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts index c8d0ca9..414e5af 100644 --- a/src/api/resources/aiBackgroundChanger/client/Client.ts +++ b/src/api/resources/aiBackgroundChanger/client/Client.ts @@ -59,7 +59,7 @@ export class AiBackgroundChanger { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts index 3375844..44454cd 100644 --- a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts @@ -59,7 +59,7 @@ export class AiGeneratedPhotoFromEmailProfileLookup { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts index a792f95..ee69af5 100644 --- a/src/api/resources/aiImageWithAFace/client/Client.ts +++ b/src/api/resources/aiImageWithAFace/client/Client.ts @@ -59,7 +59,7 @@ export class AiImageWithAFace { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts index a59996a..76886c9 100644 --- a/src/api/resources/bulkRunner/client/Client.ts +++ b/src/api/resources/bulkRunner/client/Client.ts @@ -59,7 +59,7 @@ export class BulkRunner { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -144,7 +144,7 @@ export class BulkRunner { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts index 6f38886..612b866 100644 --- a/src/api/resources/chyronPlantBot/client/Client.ts +++ b/src/api/resources/chyronPlantBot/client/Client.ts @@ -59,7 +59,7 @@ export class ChyronPlantBot { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts index ab531a4..e7d2373 100644 --- a/src/api/resources/compareAiImageGenerators/client/Client.ts +++ b/src/api/resources/compareAiImageGenerators/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiImageGenerators { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts index 18bd3d9..c2428f3 100644 --- a/src/api/resources/compareAiImageUpscalers/client/Client.ts +++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiImageUpscalers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts index 1cdf187..43c06e9 100644 --- a/src/api/resources/compareAiTranslations/client/Client.ts +++ b/src/api/resources/compareAiTranslations/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiTranslations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts index 87f75c3..ee7fc9c 100644 --- a/src/api/resources/compareAiVoiceGenerators/client/Client.ts +++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiVoiceGenerators { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts index 3c73c35..67fb3b9 100644 --- a/src/api/resources/copilotForYourEnterprise/client/Client.ts +++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Gooey from "../../../index"; -import urlJoin from "url-join"; import * as serializers from "../../../../serialization/index"; +import urlJoin from "url-join"; import * as errors from "../../../../errors/index"; export declare namespace CopilotForYourEnterprise { @@ -30,7 +30,7 @@ export class CopilotForYourEnterprise { constructor(protected readonly _options: CopilotForYourEnterprise.Options = {}) {} /** - * @param {Gooey.AsyncFormVideoBotsRequest} request + * @param {Gooey.VideoBotsPageRequest} request * @param {CopilotForYourEnterprise.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -40,13 +40,99 @@ export class CopilotForYourEnterprise { * @throws {@link Gooey.InternalServerError} * * @example - * await client.copilotForYourEnterprise.asyncFormVideoBots() + * await client.copilotForYourEnterprise.asyncFormVideoBots({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * inputAudio: "string", + * inputImages: ["string"], + * inputDocuments: ["string"], + * docExtractUrl: "string", + * messages: [{ + * role: Gooey.ConversationEntryRole.User, + * content: "string", + * displayName: "string" + * }], + * botScript: "string", + * selectedModel: Gooey.VideoBotsPageRequestSelectedModel.Gpt4O, + * documentModel: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * keywordInstructions: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.VideoBotsPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * citationStyle: Gooey.VideoBotsPageRequestCitationStyle.Number, + * useUrlShortener: true, + * asrModel: Gooey.VideoBotsPageRequestAsrModel.WhisperLargeV2, + * asrLanguage: "string", + * translationModel: Gooey.VideoBotsPageRequestTranslationModel.Google, + * userLanguage: "string", + * inputGlossaryDocument: "string", + * outputGlossaryDocument: "string", + * lipsyncModel: Gooey.VideoBotsPageRequestLipsyncModel.Wav2Lip, + * tools: ["json_to_pdf"], + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.VideoBotsPageRequestResponseFormatType.Text, + * ttsProvider: Gooey.VideoBotsPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.VideoBotsPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.VideoBotsPageRequestOpenaiTtsModel.Tts1, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async asyncFormVideoBots( - request: Gooey.AsyncFormVideoBotsRequest = {}, + request: Gooey.VideoBotsPageRequest = {}, requestOptions?: CopilotForYourEnterprise.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -62,25 +148,20 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.VideoBotsPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormVideoBots.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -180,7 +261,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/AsyncFormVideoBotsRequest.ts b/src/api/resources/copilotForYourEnterprise/client/requests/AsyncFormVideoBotsRequest.ts deleted file mode 100644 index 511c59c..0000000 --- a/src/api/resources/copilotForYourEnterprise/client/requests/AsyncFormVideoBotsRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AsyncFormVideoBotsRequest { - exampleId?: string; -} diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts b/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts new file mode 100644 index 0000000..db0bbc8 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts @@ -0,0 +1,181 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * inputAudio: "string", + * inputImages: ["string"], + * inputDocuments: ["string"], + * docExtractUrl: "string", + * messages: [{ + * role: Gooey.ConversationEntryRole.User, + * content: "string", + * displayName: "string" + * }], + * botScript: "string", + * selectedModel: Gooey.VideoBotsPageRequestSelectedModel.Gpt4O, + * documentModel: "string", + * taskInstructions: "string", + * queryInstructions: "string", + * keywordInstructions: "string", + * documents: ["string"], + * maxReferences: 1, + * maxContextWords: 1, + * scrollJump: 1, + * embeddingModel: Gooey.VideoBotsPageRequestEmbeddingModel.Openai3Large, + * denseWeight: 1.1, + * citationStyle: Gooey.VideoBotsPageRequestCitationStyle.Number, + * useUrlShortener: true, + * asrModel: Gooey.VideoBotsPageRequestAsrModel.WhisperLargeV2, + * asrLanguage: "string", + * translationModel: Gooey.VideoBotsPageRequestTranslationModel.Google, + * userLanguage: "string", + * inputGlossaryDocument: "string", + * outputGlossaryDocument: "string", + * lipsyncModel: Gooey.VideoBotsPageRequestLipsyncModel.Wav2Lip, + * tools: ["json_to_pdf"], + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.VideoBotsPageRequestResponseFormatType.Text, + * ttsProvider: Gooey.VideoBotsPageRequestTtsProvider.GoogleTts, + * uberduckVoiceName: "string", + * uberduckSpeakingRate: 1.1, + * googleVoiceName: "string", + * googleSpeakingRate: 1.1, + * googlePitch: 1.1, + * barkHistoryPrompt: "string", + * elevenlabsVoiceName: "string", + * elevenlabsApiKey: "string", + * elevenlabsVoiceId: "string", + * elevenlabsModel: "string", + * elevenlabsStability: 1.1, + * elevenlabsSimilarityBoost: 1.1, + * elevenlabsStyle: 1.1, + * elevenlabsSpeakerBoost: true, + * azureVoiceName: "string", + * openaiVoiceName: Gooey.VideoBotsPageRequestOpenaiVoiceName.Alloy, + * openaiTtsModel: Gooey.VideoBotsPageRequestOpenaiTtsModel.Tts1, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface VideoBotsPageRequest { + exampleId?: string; + 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.VideoBotsPageRequestSelectedModel; + /** 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.VideoBotsPageRequestEmbeddingModel; + /** + * 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.VideoBotsPageRequestCitationStyle; + useUrlShortener?: boolean; + /** Choose a model to transcribe incoming audio messages to text. */ + asrModel?: Gooey.VideoBotsPageRequestAsrModel; + /** Choose a language to transcribe incoming audio messages to text. */ + asrLanguage?: string; + translationModel?: Gooey.VideoBotsPageRequestTranslationModel; + /** 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.VideoBotsPageRequestLipsyncModel; + /** 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.VideoBotsPageRequestResponseFormatType; + ttsProvider?: Gooey.VideoBotsPageRequestTtsProvider; + 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.VideoBotsPageRequestOpenaiVoiceName; + openaiTtsModel?: Gooey.VideoBotsPageRequestOpenaiTtsModel; + inputFace?: string; + facePaddingTop?: number; + facePaddingBottom?: number; + facePaddingLeft?: number; + facePaddingRight?: number; + sadtalkerSettings?: Gooey.SadTalkerSettings; + settings?: Gooey.RunSettings; +} diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/index.ts b/src/api/resources/copilotForYourEnterprise/client/requests/index.ts index 7586726..3e0ebcf 100644 --- a/src/api/resources/copilotForYourEnterprise/client/requests/index.ts +++ b/src/api/resources/copilotForYourEnterprise/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type AsyncFormVideoBotsRequest } from "./AsyncFormVideoBotsRequest"; +export { type VideoBotsPageRequest } from "./VideoBotsPageRequest"; export { type StatusVideoBotsRequest } from "./StatusVideoBotsRequest"; diff --git a/src/api/resources/copilotForYourEnterprise/index.ts b/src/api/resources/copilotForYourEnterprise/index.ts index 5ec7692..c9240f8 100644 --- a/src/api/resources/copilotForYourEnterprise/index.ts +++ b/src/api/resources/copilotForYourEnterprise/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts new file mode 100644 index 0000000..7437b3f --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts @@ -0,0 +1,39 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * Choose a model to transcribe incoming audio messages to text. + */ +export type VideoBotsPageRequestAsrModel = + | "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 VideoBotsPageRequestAsrModel = { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts new file mode 100644 index 0000000..58a7d44 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts @@ -0,0 +1,40 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestCitationStyle = + | "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 VideoBotsPageRequestCitationStyle = { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..9250afd --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestEmbeddingModel = + | "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 VideoBotsPageRequestEmbeddingModel = { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts new file mode 100644 index 0000000..cc626d0 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestLipsyncModel = "Wav2Lip" | "SadTalker"; + +export const VideoBotsPageRequestLipsyncModel = { + Wav2Lip: "Wav2Lip", + SadTalker: "SadTalker", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..f35f452 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; + +export const VideoBotsPageRequestOpenaiTtsModel = { + Tts1: "tts_1", + Tts1Hd: "tts_1_hd", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..197ce47 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; + +export const VideoBotsPageRequestOpenaiVoiceName = { + Alloy: "alloy", + Echo: "echo", + Fable: "fable", + Onyx: "onyx", + Nova: "nova", + Shimmer: "shimmer", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts new file mode 100644 index 0000000..22db7fa --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestResponseFormatType = "text" | "json_object"; + +export const VideoBotsPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts new file mode 100644 index 0000000..acc163e --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestSelectedModel = + | "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 VideoBotsPageRequestSelectedModel = { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts new file mode 100644 index 0000000..36fd5c6 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestTranslationModel = "google" | "ghana_nlp"; + +export const VideoBotsPageRequestTranslationModel = { + Google: "google", + GhanaNlp: "ghana_nlp", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts new file mode 100644 index 0000000..317bf7d --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VideoBotsPageRequestTtsProvider = + | "GOOGLE_TTS" + | "ELEVEN_LABS" + | "UBERDUCK" + | "BARK" + | "AZURE_TTS" + | "OPEN_AI"; + +export const VideoBotsPageRequestTtsProvider = { + GoogleTts: "GOOGLE_TTS", + ElevenLabs: "ELEVEN_LABS", + Uberduck: "UBERDUCK", + Bark: "BARK", + AzureTts: "AZURE_TTS", + OpenAi: "OPEN_AI", +} as const; diff --git a/src/api/resources/copilotForYourEnterprise/types/index.ts b/src/api/resources/copilotForYourEnterprise/types/index.ts new file mode 100644 index 0000000..5270588 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/types/index.ts @@ -0,0 +1,10 @@ +export * from "./VideoBotsPageRequestSelectedModel"; +export * from "./VideoBotsPageRequestEmbeddingModel"; +export * from "./VideoBotsPageRequestCitationStyle"; +export * from "./VideoBotsPageRequestAsrModel"; +export * from "./VideoBotsPageRequestTranslationModel"; +export * from "./VideoBotsPageRequestLipsyncModel"; +export * from "./VideoBotsPageRequestResponseFormatType"; +export * from "./VideoBotsPageRequestTtsProvider"; +export * from "./VideoBotsPageRequestOpenaiVoiceName"; +export * from "./VideoBotsPageRequestOpenaiTtsModel"; diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts index 7592a92..b271841 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-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts index e448741..659068b 100644 --- a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts @@ -59,7 +59,7 @@ export class CreateAPerfectSeoOptimizedTitleParagraph { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts index c65385e..479bf5b 100644 --- a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts +++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts @@ -59,7 +59,7 @@ export class EditAnImageWithAiPrompt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts index 7aeadcf..fc42640 100644 --- a/src/api/resources/embeddings/client/Client.ts +++ b/src/api/resources/embeddings/client/Client.ts @@ -59,7 +59,7 @@ export class Embeddings { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -144,7 +144,7 @@ export class Embeddings { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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 4c3d6c7..1d32c56 100644 --- a/src/api/resources/evaluator/client/Client.ts +++ b/src/api/resources/evaluator/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Gooey from "../../../index"; -import urlJoin from "url-join"; import * as serializers from "../../../../serialization/index"; +import urlJoin from "url-join"; import * as errors from "../../../../errors/index"; export declare namespace Evaluator { @@ -30,7 +30,7 @@ export class Evaluator { constructor(protected readonly _options: Evaluator.Options = {}) {} /** - * @param {Gooey.AsyncFormBulkEvalRequest} request + * @param {Gooey.BulkEvalPageRequest} request * @param {Evaluator.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -40,13 +40,43 @@ export class Evaluator { * @throws {@link Gooey.InternalServerError} * * @example - * await client.evaluator.asyncFormBulkEval() + * await client.evaluator.asyncFormBulkEval({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * evalPrompts: [{ + * name: "string", + * prompt: "string" + * }], + * aggFunctions: [{ + * column: "string", + * function: Gooey.AggFunctionFunction.Mean + * }], + * selectedModel: Gooey.BulkEvalPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.BulkEvalPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async asyncFormBulkEval( - request: Gooey.AsyncFormBulkEvalRequest = {}, + request: Gooey.BulkEvalPageRequest, requestOptions?: Evaluator.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -62,25 +92,20 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.BulkEvalPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormBulkEval.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -180,7 +205,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/evaluator/client/requests/AsyncFormBulkEvalRequest.ts b/src/api/resources/evaluator/client/requests/AsyncFormBulkEvalRequest.ts deleted file mode 100644 index 684b6a7..0000000 --- a/src/api/resources/evaluator/client/requests/AsyncFormBulkEvalRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AsyncFormBulkEvalRequest { - exampleId?: string; -} diff --git a/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts b/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts new file mode 100644 index 0000000..7c79cbf --- /dev/null +++ b/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts @@ -0,0 +1,72 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * documents: ["string"], + * evalPrompts: [{ + * name: "string", + * prompt: "string" + * }], + * aggFunctions: [{ + * column: "string", + * function: Gooey.AggFunctionFunction.Mean + * }], + * selectedModel: Gooey.BulkEvalPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.BulkEvalPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface BulkEvalPageRequest { + exampleId?: string; + 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.BulkEvalPageRequestSelectedModel; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.BulkEvalPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/resources/evaluator/client/requests/index.ts b/src/api/resources/evaluator/client/requests/index.ts index 617239f..67f78b7 100644 --- a/src/api/resources/evaluator/client/requests/index.ts +++ b/src/api/resources/evaluator/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type AsyncFormBulkEvalRequest } from "./AsyncFormBulkEvalRequest"; +export { type BulkEvalPageRequest } from "./BulkEvalPageRequest"; export { type StatusBulkEvalRequest } from "./StatusBulkEvalRequest"; diff --git a/src/api/resources/evaluator/index.ts b/src/api/resources/evaluator/index.ts index 5ec7692..c9240f8 100644 --- a/src/api/resources/evaluator/index.ts +++ b/src/api/resources/evaluator/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts b/src/api/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts new file mode 100644 index 0000000..bc5865c --- /dev/null +++ b/src/api/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type BulkEvalPageRequestResponseFormatType = "text" | "json_object"; + +export const BulkEvalPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts b/src/api/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts new file mode 100644 index 0000000..f6a22dc --- /dev/null +++ b/src/api/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type BulkEvalPageRequestSelectedModel = + | "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 BulkEvalPageRequestSelectedModel = { + 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/resources/evaluator/types/index.ts b/src/api/resources/evaluator/types/index.ts new file mode 100644 index 0000000..ec26d74 --- /dev/null +++ b/src/api/resources/evaluator/types/index.ts @@ -0,0 +1,2 @@ +export * from "./BulkEvalPageRequestSelectedModel"; +export * from "./BulkEvalPageRequestResponseFormatType"; diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts index 77f660c..37e532e 100644 --- a/src/api/resources/functions/client/Client.ts +++ b/src/api/resources/functions/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Gooey from "../../../index"; -import urlJoin from "url-join"; import * as serializers from "../../../../serialization/index"; +import urlJoin from "url-join"; import * as errors from "../../../../errors/index"; export declare namespace Functions { @@ -30,7 +30,7 @@ export class Functions { constructor(protected readonly _options: Functions.Options = {}) {} /** - * @param {Gooey.AsyncFormFunctionsRequest} request + * @param {Gooey.FunctionsPageRequest} request * @param {Functions.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -40,13 +40,24 @@ export class Functions { * @throws {@link Gooey.InternalServerError} * * @example - * await client.functions.asyncFormFunctions() + * await client.functions.asyncFormFunctions({ + * exampleId: "string", + * code: "string", + * variables: { + * "string": { + * "key": "value" + * } + * }, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async asyncFormFunctions( - request: Gooey.AsyncFormFunctionsRequest = {}, + request: Gooey.FunctionsPageRequest = {}, requestOptions?: Functions.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -62,25 +73,20 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.FunctionsPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormFunctions.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -180,7 +186,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -265,7 +271,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/functions/client/requests/AsyncFormFunctionsRequest.ts b/src/api/resources/functions/client/requests/AsyncFormFunctionsRequest.ts deleted file mode 100644 index 59f93ce..0000000 --- a/src/api/resources/functions/client/requests/AsyncFormFunctionsRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AsyncFormFunctionsRequest { - exampleId?: string; -} diff --git a/src/api/resources/functions/client/requests/FunctionsPageRequest.ts b/src/api/resources/functions/client/requests/FunctionsPageRequest.ts new file mode 100644 index 0000000..4a87b56 --- /dev/null +++ b/src/api/resources/functions/client/requests/FunctionsPageRequest.ts @@ -0,0 +1,29 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../../../index"; + +/** + * @example + * { + * exampleId: "string", + * code: "string", + * variables: { + * "string": { + * "key": "value" + * } + * }, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface FunctionsPageRequest { + exampleId?: string; + /** 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/resources/functions/client/requests/index.ts b/src/api/resources/functions/client/requests/index.ts index 6eb4f54..7b5769e 100644 --- a/src/api/resources/functions/client/requests/index.ts +++ b/src/api/resources/functions/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type AsyncFormFunctionsRequest } from "./AsyncFormFunctionsRequest"; +export { type FunctionsPageRequest } from "./FunctionsPageRequest"; export { type StatusFunctionsRequest } from "./StatusFunctionsRequest"; diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts index 8bf078e..6aaab31 100644 --- a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts @@ -59,7 +59,7 @@ export class GeneratePeopleAlsoAskSeoContent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts index 2e08a63..cf18575 100644 --- a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts +++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts @@ -59,7 +59,7 @@ export class GenerateProductPhotoBackgrounds { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 9d9e75c..abeeb30 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,6 +1,13 @@ export * as copilotIntegrations from "./copilotIntegrations"; export * from "./copilotIntegrations/types"; export * as copilotForYourEnterprise from "./copilotForYourEnterprise"; +export * from "./copilotForYourEnterprise/types"; +export * as evaluator from "./evaluator"; +export * from "./evaluator/types"; +export * as smartGpt from "./smartGpt"; +export * from "./smartGpt/types"; +export * as lipSyncing from "./lipSyncing"; +export * from "./lipSyncing/types"; export * as aiAnimationGenerator from "./aiAnimationGenerator"; export * as aiArtQrCode from "./aiArtQrCode"; export * as generatePeopleAlsoAskSeoContent from "./generatePeopleAlsoAskSeoContent"; @@ -8,14 +15,11 @@ export * as createAPerfectSeoOptimizedTitleParagraph from "./createAPerfectSeoOp export * as webSearchGpt3 from "./webSearchGpt3"; export * as profileLookupGpt3ForAiPersonalizedEmails from "./profileLookupGpt3ForAiPersonalizedEmails"; export * as bulkRunner from "./bulkRunner"; -export * as evaluator from "./evaluator"; export * as syntheticDataMakerForVideosPdFs from "./syntheticDataMakerForVideosPdFs"; export * as largeLanguageModelsGpt3 from "./largeLanguageModelsGpt3"; export * as searchYourDocsWithGpt from "./searchYourDocsWithGpt"; -export * as smartGpt from "./smartGpt"; export * as summarizeYourDocsWithGpt from "./summarizeYourDocsWithGpt"; export * as functions from "./functions"; -export * as lipSyncing from "./lipSyncing"; export * as lipsyncVideoWithAnyText from "./lipsyncVideoWithAnyText"; export * as compareAiVoiceGenerators from "./compareAiVoiceGenerators"; export * as speechRecognitionTranslation from "./speechRecognitionTranslation"; diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts index b41f961..3d47215 100644 --- a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts +++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts @@ -59,7 +59,7 @@ export class LargeLanguageModelsGpt3 { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts index 0afd92d..a00f5d4 100644 --- a/src/api/resources/letterWriter/client/Client.ts +++ b/src/api/resources/letterWriter/client/Client.ts @@ -59,7 +59,7 @@ export class LetterWriter { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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 5b99c8d..568fb4d 100644 --- a/src/api/resources/lipSyncing/client/Client.ts +++ b/src/api/resources/lipSyncing/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Gooey from "../../../index"; -import urlJoin from "url-join"; import * as serializers from "../../../../serialization/index"; +import urlJoin from "url-join"; import * as errors from "../../../../errors/index"; export declare namespace LipSyncing { @@ -30,7 +30,7 @@ export class LipSyncing { constructor(protected readonly _options: LipSyncing.Options = {}) {} /** - * @param {Gooey.AsyncFormLipsyncRequest} request + * @param {Gooey.LipsyncPageRequest} request * @param {LipSyncing.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -40,13 +40,45 @@ export class LipSyncing { * @throws {@link Gooey.InternalServerError} * * @example - * await client.lipSyncing.asyncFormLipsync() + * await client.lipSyncing.asyncFormLipsync({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * selectedModel: Gooey.LipsyncPageRequestSelectedModel.Wav2Lip, + * inputAudio: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async asyncFormLipsync( - request: Gooey.AsyncFormLipsyncRequest = {}, + request: Gooey.LipsyncPageRequest = {}, requestOptions?: LipSyncing.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -62,25 +94,20 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.LipsyncPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormLipsync.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -180,7 +207,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/lipSyncing/client/requests/AsyncFormLipsyncRequest.ts b/src/api/resources/lipSyncing/client/requests/AsyncFormLipsyncRequest.ts deleted file mode 100644 index a297f2a..0000000 --- a/src/api/resources/lipSyncing/client/requests/AsyncFormLipsyncRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AsyncFormLipsyncRequest { - exampleId?: string; -} diff --git a/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts b/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts new file mode 100644 index 0000000..be4a2c7 --- /dev/null +++ b/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts @@ -0,0 +1,57 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputFace: "string", + * facePaddingTop: 1, + * facePaddingBottom: 1, + * facePaddingLeft: 1, + * facePaddingRight: 1, + * sadtalkerSettings: { + * still: true, + * preprocess: Gooey.SadTalkerSettingsPreprocess.Crop, + * poseStyle: 1, + * expressionScale: 1.1, + * refEyeblink: "string", + * refPose: "string", + * inputYaw: [1], + * inputPitch: [1], + * inputRoll: [1] + * }, + * selectedModel: Gooey.LipsyncPageRequestSelectedModel.Wav2Lip, + * inputAudio: "string", + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface LipsyncPageRequest { + exampleId?: string; + 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.LipsyncPageRequestSelectedModel; + inputAudio?: string; + settings?: Gooey.RunSettings; +} diff --git a/src/api/resources/lipSyncing/client/requests/index.ts b/src/api/resources/lipSyncing/client/requests/index.ts index 6d90c0b..1e0c2fa 100644 --- a/src/api/resources/lipSyncing/client/requests/index.ts +++ b/src/api/resources/lipSyncing/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type AsyncFormLipsyncRequest } from "./AsyncFormLipsyncRequest"; +export { type LipsyncPageRequest } from "./LipsyncPageRequest"; export { type StatusLipsyncRequest } from "./StatusLipsyncRequest"; diff --git a/src/api/resources/lipSyncing/index.ts b/src/api/resources/lipSyncing/index.ts index 5ec7692..c9240f8 100644 --- a/src/api/resources/lipSyncing/index.ts +++ b/src/api/resources/lipSyncing/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts b/src/api/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts new file mode 100644 index 0000000..9351bcb --- /dev/null +++ b/src/api/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type LipsyncPageRequestSelectedModel = "Wav2Lip" | "SadTalker"; + +export const LipsyncPageRequestSelectedModel = { + Wav2Lip: "Wav2Lip", + SadTalker: "SadTalker", +} as const; diff --git a/src/api/resources/lipSyncing/types/index.ts b/src/api/resources/lipSyncing/types/index.ts new file mode 100644 index 0000000..5c8618b --- /dev/null +++ b/src/api/resources/lipSyncing/types/index.ts @@ -0,0 +1 @@ +export * from "./LipsyncPageRequestSelectedModel"; diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts index 3425367..6ba1e6c 100644 --- a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts +++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts @@ -59,7 +59,7 @@ export class LipsyncVideoWithAnyText { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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 ec269fd..92c70bf 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-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts index 898f388..943b2ff 100644 --- a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts @@ -59,7 +59,7 @@ export class PeopleAlsoAskAnswersFromADoc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts index c65b823..c121d52 100644 --- a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts @@ -59,7 +59,7 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts index 7849beb..11e116a 100644 --- a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts +++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts @@ -59,7 +59,7 @@ export class RenderImageSearchResultsWithAi { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts index 0d44c20..c9a4371 100644 --- a/src/api/resources/searchYourDocsWithGpt/client/Client.ts +++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts @@ -59,7 +59,7 @@ export class SearchYourDocsWithGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "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 c9ba8a8..54d263c 100644 --- a/src/api/resources/smartGpt/client/Client.ts +++ b/src/api/resources/smartGpt/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Gooey from "../../../index"; -import urlJoin from "url-join"; import * as serializers from "../../../../serialization/index"; +import urlJoin from "url-join"; import * as errors from "../../../../errors/index"; export declare namespace SmartGpt { @@ -30,7 +30,7 @@ export class SmartGpt { constructor(protected readonly _options: SmartGpt.Options = {}) {} /** - * @param {Gooey.AsyncFormSmartGptRequest} request + * @param {Gooey.SmartGptPageRequest} request * @param {SmartGpt.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Gooey.BadRequestError} @@ -40,13 +40,38 @@ export class SmartGpt { * @throws {@link Gooey.InternalServerError} * * @example - * await client.smartGpt.asyncFormSmartGpt() + * await client.smartGpt.asyncFormSmartGpt({ + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * cotPrompt: "string", + * reflexionPrompt: "string", + * deraPrompt: "string", + * selectedModel: Gooey.SmartGptPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SmartGptPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * }) */ public async asyncFormSmartGpt( - request: Gooey.AsyncFormSmartGptRequest = {}, + request: Gooey.SmartGptPageRequest, requestOptions?: SmartGpt.RequestOptions - ): Promise { - const { exampleId } = request; + ): Promise { + const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { _queryParams["example_id"] = exampleId; @@ -62,25 +87,20 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, contentType: "application/json", queryParameters: _queryParams, requestType: "json", + body: serializers.SmartGptPageRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, maxRetries: requestOptions?.maxRetries, abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return serializers.BodyAsyncFormSmartGpt.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); + return _response.body; } if (_response.error.reason === "status-code") { @@ -180,7 +200,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -265,7 +285,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/smartGpt/client/requests/AsyncFormSmartGptRequest.ts b/src/api/resources/smartGpt/client/requests/AsyncFormSmartGptRequest.ts deleted file mode 100644 index 75977e3..0000000 --- a/src/api/resources/smartGpt/client/requests/AsyncFormSmartGptRequest.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * @example - * {} - */ -export interface AsyncFormSmartGptRequest { - exampleId?: string; -} diff --git a/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts b/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts new file mode 100644 index 0000000..645bdf4 --- /dev/null +++ b/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts @@ -0,0 +1,53 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../../../../index"; + +/** + * @example + * { + * exampleId: "string", + * functions: [{ + * url: "string", + * trigger: Gooey.RecipeFunctionTrigger.Pre + * }], + * variables: { + * "string": { + * "key": "value" + * } + * }, + * inputPrompt: "string", + * cotPrompt: "string", + * reflexionPrompt: "string", + * deraPrompt: "string", + * selectedModel: Gooey.SmartGptPageRequestSelectedModel.Gpt4O, + * avoidRepetition: true, + * numOutputs: 1, + * quality: 1.1, + * maxTokens: 1, + * samplingTemperature: 1.1, + * responseFormatType: Gooey.SmartGptPageRequestResponseFormatType.Text, + * settings: { + * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * } + * } + */ +export interface SmartGptPageRequest { + exampleId?: string; + 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.SmartGptPageRequestSelectedModel; + avoidRepetition?: boolean; + numOutputs?: number; + quality?: number; + maxTokens?: number; + samplingTemperature?: number; + responseFormatType?: Gooey.SmartGptPageRequestResponseFormatType; + settings?: Gooey.RunSettings; +} diff --git a/src/api/resources/smartGpt/client/requests/index.ts b/src/api/resources/smartGpt/client/requests/index.ts index 915a8ab..bf453a3 100644 --- a/src/api/resources/smartGpt/client/requests/index.ts +++ b/src/api/resources/smartGpt/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type AsyncFormSmartGptRequest } from "./AsyncFormSmartGptRequest"; +export { type SmartGptPageRequest } from "./SmartGptPageRequest"; export { type StatusSmartGptRequest } from "./StatusSmartGptRequest"; diff --git a/src/api/resources/smartGpt/index.ts b/src/api/resources/smartGpt/index.ts index 5ec7692..c9240f8 100644 --- a/src/api/resources/smartGpt/index.ts +++ b/src/api/resources/smartGpt/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts b/src/api/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts new file mode 100644 index 0000000..ca94411 --- /dev/null +++ b/src/api/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SmartGptPageRequestResponseFormatType = "text" | "json_object"; + +export const SmartGptPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts b/src/api/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts new file mode 100644 index 0000000..c8dcc3d --- /dev/null +++ b/src/api/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SmartGptPageRequestSelectedModel = + | "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 SmartGptPageRequestSelectedModel = { + 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/resources/smartGpt/types/index.ts b/src/api/resources/smartGpt/types/index.ts new file mode 100644 index 0000000..ba40064 --- /dev/null +++ b/src/api/resources/smartGpt/types/index.ts @@ -0,0 +1,2 @@ +export * from "./SmartGptPageRequestSelectedModel"; +export * from "./SmartGptPageRequestResponseFormatType"; diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts index 88fbbb6..afffd38 100644 --- a/src/api/resources/speechRecognitionTranslation/client/Client.ts +++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts @@ -59,7 +59,7 @@ export class SpeechRecognitionTranslation { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts index 738c6f8..2a88f4c 100644 --- a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts +++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts @@ -59,7 +59,7 @@ export class SummarizeYourDocsWithGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts index 1b98f0c..ad996f7 100644 --- a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts @@ -59,7 +59,7 @@ export class SyntheticDataMakerForVideosPdFs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts index 7b3c508..97c8650 100644 --- a/src/api/resources/textGuidedAudioGenerator/client/Client.ts +++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts @@ -59,7 +59,7 @@ export class TextGuidedAudioGenerator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts index c36e666..7a3fa39 100644 --- a/src/api/resources/webSearchGpt3/client/Client.ts +++ b/src/api/resources/webSearchGpt3/client/Client.ts @@ -59,7 +59,7 @@ export class WebSearchGpt3 { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-SDK-Version": "0.0.1-beta16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/types/AggFunction.ts b/src/api/types/AggFunction.ts new file mode 100644 index 0000000..85843ad --- /dev/null +++ b/src/api/types/AggFunction.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../index"; + +export interface AggFunction { + column?: string; + function: Gooey.AggFunctionFunction; +} diff --git a/src/api/types/AggFunctionFunction.ts b/src/api/types/AggFunctionFunction.ts new file mode 100644 index 0000000..3253d31 --- /dev/null +++ b/src/api/types/AggFunctionFunction.ts @@ -0,0 +1,40 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AggFunctionFunction = + | "mean" + | "median" + | "min" + | "max" + | "sum" + | "cumsum" + | "prod" + | "cumprod" + | "std" + | "var" + | "first" + | "last" + | "count" + | "cumcount" + | "nunique" + | "rank"; + +export const AggFunctionFunction = { + Mean: "mean", + Median: "median", + Min: "min", + Max: "max", + Sum: "sum", + Cumsum: "cumsum", + Prod: "prod", + Cumprod: "cumprod", + Std: "std", + Var: "var", + First: "first", + Last: "last", + Count: "count", + Cumcount: "cumcount", + Nunique: "nunique", + Rank: "rank", +} as const; diff --git a/src/api/types/BodyAsyncFormAsr.ts b/src/api/types/AnimationPrompt.ts similarity index 50% rename from src/api/types/BodyAsyncFormAsr.ts rename to src/api/types/AnimationPrompt.ts index f09ea87..fd588f6 100644 --- a/src/api/types/BodyAsyncFormAsr.ts +++ b/src/api/types/AnimationPrompt.ts @@ -2,6 +2,7 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface BodyAsyncFormAsr { - json: string; +export interface AnimationPrompt { + frame: string; + prompt: string; } diff --git a/src/api/types/AsrPageRequestOutputFormat.ts b/src/api/types/AsrPageRequestOutputFormat.ts new file mode 100644 index 0000000..fa713cf --- /dev/null +++ b/src/api/types/AsrPageRequestOutputFormat.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AsrPageRequestOutputFormat = "text" | "json" | "srt" | "vtt"; + +export const AsrPageRequestOutputFormat = { + Text: "text", + Json: "json", + Srt: "srt", + Vtt: "vtt", +} as const; diff --git a/src/api/types/AsrPageRequestSelectedModel.ts b/src/api/types/AsrPageRequestSelectedModel.ts new file mode 100644 index 0000000..86b15e7 --- /dev/null +++ b/src/api/types/AsrPageRequestSelectedModel.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AsrPageRequestSelectedModel = + | "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 AsrPageRequestSelectedModel = { + 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/AsrPageRequestTranslationModel.ts b/src/api/types/AsrPageRequestTranslationModel.ts new file mode 100644 index 0000000..0bdb923 --- /dev/null +++ b/src/api/types/AsrPageRequestTranslationModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AsrPageRequestTranslationModel = "google" | "ghana_nlp"; + +export const AsrPageRequestTranslationModel = { + Google: "google", + GhanaNlp: "ghana_nlp", +} as const; diff --git a/src/api/types/BodyAsyncFormChyronPlant.ts b/src/api/types/BodyAsyncFormChyronPlant.ts deleted file mode 100644 index 6d7af27..0000000 --- a/src/api/types/BodyAsyncFormChyronPlant.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormChyronPlant { - json: string; -} diff --git a/src/api/types/BodyAsyncFormCompareAiUpscalers.ts b/src/api/types/BodyAsyncFormCompareAiUpscalers.ts deleted file mode 100644 index 927687f..0000000 --- a/src/api/types/BodyAsyncFormCompareAiUpscalers.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormCompareAiUpscalers { - json: string; -} diff --git a/src/api/types/BodyAsyncFormCompareLlm.ts b/src/api/types/BodyAsyncFormCompareLlm.ts deleted file mode 100644 index 60acdaa..0000000 --- a/src/api/types/BodyAsyncFormCompareLlm.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormCompareLlm { - json: string; -} diff --git a/src/api/types/BodyAsyncFormCompareText2Img.ts b/src/api/types/BodyAsyncFormCompareText2Img.ts deleted file mode 100644 index be14360..0000000 --- a/src/api/types/BodyAsyncFormCompareText2Img.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormCompareText2Img { - json: string; -} diff --git a/src/api/types/BodyAsyncFormDeforumSd.ts b/src/api/types/BodyAsyncFormDeforumSd.ts deleted file mode 100644 index 4dea3f0..0000000 --- a/src/api/types/BodyAsyncFormDeforumSd.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormDeforumSd { - json: string; -} diff --git a/src/api/types/BodyAsyncFormDocExtract.ts b/src/api/types/BodyAsyncFormDocExtract.ts deleted file mode 100644 index 3550b5a..0000000 --- a/src/api/types/BodyAsyncFormDocExtract.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormDocExtract { - json: string; -} diff --git a/src/api/types/BodyAsyncFormDocSearch.ts b/src/api/types/BodyAsyncFormDocSearch.ts deleted file mode 100644 index 33d5348..0000000 --- a/src/api/types/BodyAsyncFormDocSearch.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormDocSearch { - json: string; -} diff --git a/src/api/types/BodyAsyncFormDocSummary.ts b/src/api/types/BodyAsyncFormDocSummary.ts deleted file mode 100644 index 9339702..0000000 --- a/src/api/types/BodyAsyncFormDocSummary.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormDocSummary { - json: string; -} diff --git a/src/api/types/BodyAsyncFormEmailFaceInpainting.ts b/src/api/types/BodyAsyncFormEmailFaceInpainting.ts deleted file mode 100644 index e7a32db..0000000 --- a/src/api/types/BodyAsyncFormEmailFaceInpainting.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormEmailFaceInpainting { - json: string; -} diff --git a/src/api/types/BodyAsyncFormEmbeddings.ts b/src/api/types/BodyAsyncFormEmbeddings.ts deleted file mode 100644 index 0d706d8..0000000 --- a/src/api/types/BodyAsyncFormEmbeddings.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormEmbeddings { - json: string; -} diff --git a/src/api/types/BodyAsyncFormFaceInpainting.ts b/src/api/types/BodyAsyncFormFaceInpainting.ts deleted file mode 100644 index 7db19d4..0000000 --- a/src/api/types/BodyAsyncFormFaceInpainting.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormFaceInpainting { - json: string; -} diff --git a/src/api/types/BodyAsyncFormFunctions.ts b/src/api/types/BodyAsyncFormFunctions.ts deleted file mode 100644 index c49e415..0000000 --- a/src/api/types/BodyAsyncFormFunctions.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormFunctions { - json: string; -} diff --git a/src/api/types/BodyAsyncFormGoogleGpt.ts b/src/api/types/BodyAsyncFormGoogleGpt.ts deleted file mode 100644 index 8a325b1..0000000 --- a/src/api/types/BodyAsyncFormGoogleGpt.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormGoogleGpt { - json: string; -} diff --git a/src/api/types/BodyAsyncFormGoogleImageGen.ts b/src/api/types/BodyAsyncFormGoogleImageGen.ts deleted file mode 100644 index 46540c8..0000000 --- a/src/api/types/BodyAsyncFormGoogleImageGen.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormGoogleImageGen { - json: string; -} diff --git a/src/api/types/BodyAsyncFormImageSegmentation.ts b/src/api/types/BodyAsyncFormImageSegmentation.ts deleted file mode 100644 index 407dff6..0000000 --- a/src/api/types/BodyAsyncFormImageSegmentation.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormImageSegmentation { - json: string; -} diff --git a/src/api/types/BodyAsyncFormImg2Img.ts b/src/api/types/BodyAsyncFormImg2Img.ts deleted file mode 100644 index 332998c..0000000 --- a/src/api/types/BodyAsyncFormImg2Img.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormImg2Img { - json: string; -} diff --git a/src/api/types/BodyAsyncFormLetterWriter.ts b/src/api/types/BodyAsyncFormLetterWriter.ts deleted file mode 100644 index cef4aec..0000000 --- a/src/api/types/BodyAsyncFormLetterWriter.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormLetterWriter { - json: string; -} diff --git a/src/api/types/BodyAsyncFormLipsync.ts b/src/api/types/BodyAsyncFormLipsync.ts deleted file mode 100644 index 3ef1edb..0000000 --- a/src/api/types/BodyAsyncFormLipsync.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormLipsync { - json: string; -} diff --git a/src/api/types/BodyAsyncFormLipsyncTts.ts b/src/api/types/BodyAsyncFormLipsyncTts.ts deleted file mode 100644 index bfcbfb5..0000000 --- a/src/api/types/BodyAsyncFormLipsyncTts.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormLipsyncTts { - json: string; -} diff --git a/src/api/types/BodyAsyncFormObjectInpainting.ts b/src/api/types/BodyAsyncFormObjectInpainting.ts deleted file mode 100644 index d2fb52e..0000000 --- a/src/api/types/BodyAsyncFormObjectInpainting.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormObjectInpainting { - json: string; -} diff --git a/src/api/types/BodyAsyncFormRelatedQnaMaker.ts b/src/api/types/BodyAsyncFormRelatedQnaMaker.ts deleted file mode 100644 index 3cbc9bb..0000000 --- a/src/api/types/BodyAsyncFormRelatedQnaMaker.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormRelatedQnaMaker { - json: string; -} diff --git a/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts b/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts deleted file mode 100644 index 8901c77..0000000 --- a/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormRelatedQnaMakerDoc { - json: string; -} diff --git a/src/api/types/BodyAsyncFormSeoSummary.ts b/src/api/types/BodyAsyncFormSeoSummary.ts deleted file mode 100644 index 3924bab..0000000 --- a/src/api/types/BodyAsyncFormSeoSummary.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormSeoSummary { - json: string; -} diff --git a/src/api/types/BodyAsyncFormSmartGpt.ts b/src/api/types/BodyAsyncFormSmartGpt.ts deleted file mode 100644 index 78769ea..0000000 --- a/src/api/types/BodyAsyncFormSmartGpt.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormSmartGpt { - json: string; -} diff --git a/src/api/types/BodyAsyncFormSocialLookupEmail.ts b/src/api/types/BodyAsyncFormSocialLookupEmail.ts deleted file mode 100644 index 7eec8ab..0000000 --- a/src/api/types/BodyAsyncFormSocialLookupEmail.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormSocialLookupEmail { - json: string; -} diff --git a/src/api/types/BodyAsyncFormText2Audio.ts b/src/api/types/BodyAsyncFormText2Audio.ts deleted file mode 100644 index d366353..0000000 --- a/src/api/types/BodyAsyncFormText2Audio.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormText2Audio { - json: string; -} diff --git a/src/api/types/BodyAsyncFormTextToSpeech.ts b/src/api/types/BodyAsyncFormTextToSpeech.ts deleted file mode 100644 index bd74fa1..0000000 --- a/src/api/types/BodyAsyncFormTextToSpeech.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormTextToSpeech { - json: string; -} diff --git a/src/api/types/BodyAsyncFormTranslate.ts b/src/api/types/BodyAsyncFormTranslate.ts deleted file mode 100644 index 50c1db1..0000000 --- a/src/api/types/BodyAsyncFormTranslate.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormTranslate { - json: string; -} diff --git a/src/api/types/BodyAsyncFormVideoBots.ts b/src/api/types/BodyAsyncFormVideoBots.ts deleted file mode 100644 index 95cb30f..0000000 --- a/src/api/types/BodyAsyncFormVideoBots.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface BodyAsyncFormVideoBots { - json: string; -} diff --git a/src/api/types/ChyronPlantPageRequest.ts b/src/api/types/ChyronPlantPageRequest.ts new file mode 100644 index 0000000..4b6ba0d --- /dev/null +++ b/src/api/types/ChyronPlantPageRequest.ts @@ -0,0 +1,15 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../index"; + +export interface ChyronPlantPageRequest { + 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/types/CompareLlmPageRequestResponseFormatType.ts b/src/api/types/CompareLlmPageRequestResponseFormatType.ts new file mode 100644 index 0000000..194a91d --- /dev/null +++ b/src/api/types/CompareLlmPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type CompareLlmPageRequestResponseFormatType = "text" | "json_object"; + +export const CompareLlmPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..4771658 --- /dev/null +++ b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type CompareLlmPageRequestSelectedModelsItem = + | "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 CompareLlmPageRequestSelectedModelsItem = { + 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/CompareText2ImgPageRequestScheduler.ts b/src/api/types/CompareText2ImgPageRequestScheduler.ts new file mode 100644 index 0000000..6934b04 --- /dev/null +++ b/src/api/types/CompareText2ImgPageRequestScheduler.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type CompareText2ImgPageRequestScheduler = + | "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 CompareText2ImgPageRequestScheduler = { + 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/CompareText2ImgPageRequestSelectedModelsItem.ts b/src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..dc5fe7a --- /dev/null +++ b/src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts @@ -0,0 +1,34 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type CompareText2ImgPageRequestSelectedModelsItem = + | "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 CompareText2ImgPageRequestSelectedModelsItem = { + 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/CompareUpscalerPageRequestSelectedModelsItem.ts b/src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..719cdde --- /dev/null +++ b/src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type CompareUpscalerPageRequestSelectedModelsItem = + | "gfpgan_1_4" + | "real_esrgan_x2" + | "sd_x4" + | "real_esrgan" + | "gfpgan"; + +export const CompareUpscalerPageRequestSelectedModelsItem = { + Gfpgan14: "gfpgan_1_4", + RealEsrganX2: "real_esrgan_x2", + SdX4: "sd_x4", + RealEsrgan: "real_esrgan", + Gfpgan: "gfpgan", +} as const; diff --git a/src/api/types/DeforumSdPageRequestSelectedModel.ts b/src/api/types/DeforumSdPageRequestSelectedModel.ts new file mode 100644 index 0000000..741bfe7 --- /dev/null +++ b/src/api/types/DeforumSdPageRequestSelectedModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DeforumSdPageRequestSelectedModel = "protogen_2_2" | "epicdream"; + +export const DeforumSdPageRequestSelectedModel = { + Protogen22: "protogen_2_2", + Epicdream: "epicdream", +} as const; diff --git a/src/api/types/DocExtractPageRequestResponseFormatType.ts b/src/api/types/DocExtractPageRequestResponseFormatType.ts new file mode 100644 index 0000000..c8a93ac --- /dev/null +++ b/src/api/types/DocExtractPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocExtractPageRequestResponseFormatType = "text" | "json_object"; + +export const DocExtractPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/DocExtractPageRequestSelectedAsrModel.ts b/src/api/types/DocExtractPageRequestSelectedAsrModel.ts new file mode 100644 index 0000000..2379b6b --- /dev/null +++ b/src/api/types/DocExtractPageRequestSelectedAsrModel.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocExtractPageRequestSelectedAsrModel = + | "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 DocExtractPageRequestSelectedAsrModel = { + 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/DocExtractPageRequestSelectedModel.ts b/src/api/types/DocExtractPageRequestSelectedModel.ts new file mode 100644 index 0000000..60ba7d0 --- /dev/null +++ b/src/api/types/DocExtractPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocExtractPageRequestSelectedModel = + | "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 DocExtractPageRequestSelectedModel = { + 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/DocSearchPageRequestCitationStyle.ts b/src/api/types/DocSearchPageRequestCitationStyle.ts new file mode 100644 index 0000000..50305e7 --- /dev/null +++ b/src/api/types/DocSearchPageRequestCitationStyle.ts @@ -0,0 +1,40 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSearchPageRequestCitationStyle = + | "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 DocSearchPageRequestCitationStyle = { + 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/DocSearchPageRequestEmbeddingModel.ts b/src/api/types/DocSearchPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..0313fbf --- /dev/null +++ b/src/api/types/DocSearchPageRequestEmbeddingModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSearchPageRequestEmbeddingModel = + | "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 DocSearchPageRequestEmbeddingModel = { + 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/BodyAsyncFormArtQrCode.ts b/src/api/types/DocSearchPageRequestKeywordQuery.ts similarity index 52% rename from src/api/types/BodyAsyncFormArtQrCode.ts rename to src/api/types/DocSearchPageRequestKeywordQuery.ts index c514529..bd68c37 100644 --- a/src/api/types/BodyAsyncFormArtQrCode.ts +++ b/src/api/types/DocSearchPageRequestKeywordQuery.ts @@ -2,6 +2,4 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface BodyAsyncFormArtQrCode { - json: string; -} +export type DocSearchPageRequestKeywordQuery = string | string[]; diff --git a/src/api/types/DocSearchPageRequestResponseFormatType.ts b/src/api/types/DocSearchPageRequestResponseFormatType.ts new file mode 100644 index 0000000..b36205e --- /dev/null +++ b/src/api/types/DocSearchPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSearchPageRequestResponseFormatType = "text" | "json_object"; + +export const DocSearchPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/DocSearchPageRequestSelectedModel.ts b/src/api/types/DocSearchPageRequestSelectedModel.ts new file mode 100644 index 0000000..30a5ec8 --- /dev/null +++ b/src/api/types/DocSearchPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSearchPageRequestSelectedModel = + | "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 DocSearchPageRequestSelectedModel = { + 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/DocSummaryPageRequestResponseFormatType.ts b/src/api/types/DocSummaryPageRequestResponseFormatType.ts new file mode 100644 index 0000000..db82b26 --- /dev/null +++ b/src/api/types/DocSummaryPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSummaryPageRequestResponseFormatType = "text" | "json_object"; + +export const DocSummaryPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts b/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts new file mode 100644 index 0000000..63c33bd --- /dev/null +++ b/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSummaryPageRequestSelectedAsrModel = + | "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 DocSummaryPageRequestSelectedAsrModel = { + 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/DocSummaryPageRequestSelectedModel.ts b/src/api/types/DocSummaryPageRequestSelectedModel.ts new file mode 100644 index 0000000..6e6b928 --- /dev/null +++ b/src/api/types/DocSummaryPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type DocSummaryPageRequestSelectedModel = + | "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 DocSummaryPageRequestSelectedModel = { + 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/EmailFaceInpaintingPageRequestSelectedModel.ts b/src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..19cc6b3 --- /dev/null +++ b/src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type EmailFaceInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; + +export const EmailFaceInpaintingPageRequestSelectedModel = { + Sd2: "sd_2", + RunwayMl: "runway_ml", + DallE: "dall_e", + JackQiao: "jack_qiao", +} as const; diff --git a/src/api/types/EmbeddingsPageRequestSelectedModel.ts b/src/api/types/EmbeddingsPageRequestSelectedModel.ts new file mode 100644 index 0000000..87071e1 --- /dev/null +++ b/src/api/types/EmbeddingsPageRequestSelectedModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type EmbeddingsPageRequestSelectedModel = + | "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 EmbeddingsPageRequestSelectedModel = { + 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/BodyAsyncFormBulkEval.ts b/src/api/types/EvalPrompt.ts similarity index 52% rename from src/api/types/BodyAsyncFormBulkEval.ts rename to src/api/types/EvalPrompt.ts index bfc0809..9255dfe 100644 --- a/src/api/types/BodyAsyncFormBulkEval.ts +++ b/src/api/types/EvalPrompt.ts @@ -2,6 +2,7 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface BodyAsyncFormBulkEval { - json: string; +export interface EvalPrompt { + name: string; + prompt: string; } diff --git a/src/api/types/FaceInpaintingPageRequestSelectedModel.ts b/src/api/types/FaceInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..a022194 --- /dev/null +++ b/src/api/types/FaceInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type FaceInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; + +export const FaceInpaintingPageRequestSelectedModel = { + Sd2: "sd_2", + RunwayMl: "runway_ml", + DallE: "dall_e", + JackQiao: "jack_qiao", +} as const; diff --git a/src/api/types/GoogleGptPageRequestEmbeddingModel.ts b/src/api/types/GoogleGptPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..04e3da0 --- /dev/null +++ b/src/api/types/GoogleGptPageRequestEmbeddingModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type GoogleGptPageRequestEmbeddingModel = + | "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 GoogleGptPageRequestEmbeddingModel = { + 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/GoogleGptPageRequestResponseFormatType.ts b/src/api/types/GoogleGptPageRequestResponseFormatType.ts new file mode 100644 index 0000000..d9c400b --- /dev/null +++ b/src/api/types/GoogleGptPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type GoogleGptPageRequestResponseFormatType = "text" | "json_object"; + +export const GoogleGptPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/GoogleGptPageRequestSelectedModel.ts b/src/api/types/GoogleGptPageRequestSelectedModel.ts new file mode 100644 index 0000000..70faa22 --- /dev/null +++ b/src/api/types/GoogleGptPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type GoogleGptPageRequestSelectedModel = + | "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 GoogleGptPageRequestSelectedModel = { + 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/GoogleImageGenPageRequestSelectedModel.ts b/src/api/types/GoogleImageGenPageRequestSelectedModel.ts new file mode 100644 index 0000000..9dc44ff --- /dev/null +++ b/src/api/types/GoogleImageGenPageRequestSelectedModel.ts @@ -0,0 +1,32 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type GoogleImageGenPageRequestSelectedModel = + | "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 GoogleImageGenPageRequestSelectedModel = { + 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/ImageSegmentationPageRequestSelectedModel.ts b/src/api/types/ImageSegmentationPageRequestSelectedModel.ts new file mode 100644 index 0000000..34d3972 --- /dev/null +++ b/src/api/types/ImageSegmentationPageRequestSelectedModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type ImageSegmentationPageRequestSelectedModel = "dis" | "u2net"; + +export const ImageSegmentationPageRequestSelectedModel = { + Dis: "dis", + U2Net: "u2net", +} as const; diff --git a/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts b/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts new file mode 100644 index 0000000..69dd726 --- /dev/null +++ b/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../index"; + +export type Img2ImgPageRequestSelectedControlnetModel = + | Gooey.Img2ImgPageRequestSelectedControlnetModelItem[] + | "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/Img2ImgPageRequestSelectedControlnetModelItem.ts b/src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts new file mode 100644 index 0000000..af039e4 --- /dev/null +++ b/src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts @@ -0,0 +1,30 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type Img2ImgPageRequestSelectedControlnetModelItem = + | "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 Img2ImgPageRequestSelectedControlnetModelItem = { + 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/Img2ImgPageRequestSelectedModel.ts b/src/api/types/Img2ImgPageRequestSelectedModel.ts new file mode 100644 index 0000000..822e9bc --- /dev/null +++ b/src/api/types/Img2ImgPageRequestSelectedModel.ts @@ -0,0 +1,32 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type Img2ImgPageRequestSelectedModel = + | "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 Img2ImgPageRequestSelectedModel = { + 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/LetterWriterPageRequest.ts b/src/api/types/LetterWriterPageRequest.ts new file mode 100644 index 0000000..bd1c8a9 --- /dev/null +++ b/src/api/types/LetterWriterPageRequest.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../index"; + +export interface LetterWriterPageRequest { + 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/types/LipsyncTtsPageRequestOpenaiTtsModel.ts b/src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..71f7dce --- /dev/null +++ b/src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type LipsyncTtsPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; + +export const LipsyncTtsPageRequestOpenaiTtsModel = { + Tts1: "tts_1", + Tts1Hd: "tts_1_hd", +} as const; diff --git a/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts b/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..7f5899b --- /dev/null +++ b/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type LipsyncTtsPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; + +export const LipsyncTtsPageRequestOpenaiVoiceName = { + Alloy: "alloy", + Echo: "echo", + Fable: "fable", + Onyx: "onyx", + Nova: "nova", + Shimmer: "shimmer", +} as const; diff --git a/src/api/types/LipsyncTtsPageRequestSelectedModel.ts b/src/api/types/LipsyncTtsPageRequestSelectedModel.ts new file mode 100644 index 0000000..2c15926 --- /dev/null +++ b/src/api/types/LipsyncTtsPageRequestSelectedModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type LipsyncTtsPageRequestSelectedModel = "Wav2Lip" | "SadTalker"; + +export const LipsyncTtsPageRequestSelectedModel = { + Wav2Lip: "Wav2Lip", + SadTalker: "SadTalker", +} as const; diff --git a/src/api/types/LipsyncTtsPageRequestTtsProvider.ts b/src/api/types/LipsyncTtsPageRequestTtsProvider.ts new file mode 100644 index 0000000..f558fae --- /dev/null +++ b/src/api/types/LipsyncTtsPageRequestTtsProvider.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type LipsyncTtsPageRequestTtsProvider = + | "GOOGLE_TTS" + | "ELEVEN_LABS" + | "UBERDUCK" + | "BARK" + | "AZURE_TTS" + | "OPEN_AI"; + +export const LipsyncTtsPageRequestTtsProvider = { + GoogleTts: "GOOGLE_TTS", + ElevenLabs: "ELEVEN_LABS", + Uberduck: "UBERDUCK", + Bark: "BARK", + AzureTts: "AZURE_TTS", + OpenAi: "OPEN_AI", +} as const; diff --git a/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts b/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..430601a --- /dev/null +++ b/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type ObjectInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; + +export const ObjectInpaintingPageRequestSelectedModel = { + Sd2: "sd_2", + RunwayMl: "runway_ml", + DallE: "dall_e", + JackQiao: "jack_qiao", +} as const; diff --git a/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts b/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts new file mode 100644 index 0000000..2c4fd53 --- /dev/null +++ b/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts @@ -0,0 +1,30 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type QrCodeGeneratorPageRequestImagePromptControlnetModelsItem = + | "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 QrCodeGeneratorPageRequestImagePromptControlnetModelsItem = { + 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/QrCodeGeneratorPageRequestScheduler.ts b/src/api/types/QrCodeGeneratorPageRequestScheduler.ts new file mode 100644 index 0000000..514f53f --- /dev/null +++ b/src/api/types/QrCodeGeneratorPageRequestScheduler.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type QrCodeGeneratorPageRequestScheduler = + | "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 QrCodeGeneratorPageRequestScheduler = { + 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/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts b/src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts new file mode 100644 index 0000000..3607125 --- /dev/null +++ b/src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts @@ -0,0 +1,30 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type QrCodeGeneratorPageRequestSelectedControlnetModelItem = + | "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 QrCodeGeneratorPageRequestSelectedControlnetModelItem = { + 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/QrCodeGeneratorPageRequestSelectedModel.ts b/src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts new file mode 100644 index 0000000..c146de0 --- /dev/null +++ b/src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts @@ -0,0 +1,34 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type QrCodeGeneratorPageRequestSelectedModel = + | "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 QrCodeGeneratorPageRequestSelectedModel = { + 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/RelatedQnADocPageRequestCitationStyle.ts b/src/api/types/RelatedQnADocPageRequestCitationStyle.ts new file mode 100644 index 0000000..1709230 --- /dev/null +++ b/src/api/types/RelatedQnADocPageRequestCitationStyle.ts @@ -0,0 +1,40 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnADocPageRequestCitationStyle = + | "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 RelatedQnADocPageRequestCitationStyle = { + 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/RelatedQnADocPageRequestEmbeddingModel.ts b/src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..099e7bf --- /dev/null +++ b/src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnADocPageRequestEmbeddingModel = + | "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 RelatedQnADocPageRequestEmbeddingModel = { + 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/BodyAsyncFormBulkRunner.ts b/src/api/types/RelatedQnADocPageRequestKeywordQuery.ts similarity index 51% rename from src/api/types/BodyAsyncFormBulkRunner.ts rename to src/api/types/RelatedQnADocPageRequestKeywordQuery.ts index a3fc324..03d8220 100644 --- a/src/api/types/BodyAsyncFormBulkRunner.ts +++ b/src/api/types/RelatedQnADocPageRequestKeywordQuery.ts @@ -2,6 +2,4 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface BodyAsyncFormBulkRunner { - json: string; -} +export type RelatedQnADocPageRequestKeywordQuery = string | string[]; diff --git a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts new file mode 100644 index 0000000..43a197c --- /dev/null +++ b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnADocPageRequestResponseFormatType = "text" | "json_object"; + +export const RelatedQnADocPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts new file mode 100644 index 0000000..d30786a --- /dev/null +++ b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnADocPageRequestSelectedModel = + | "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 RelatedQnADocPageRequestSelectedModel = { + 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/RelatedQnAPageRequestEmbeddingModel.ts b/src/api/types/RelatedQnAPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..39ae645 --- /dev/null +++ b/src/api/types/RelatedQnAPageRequestEmbeddingModel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnAPageRequestEmbeddingModel = + | "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 RelatedQnAPageRequestEmbeddingModel = { + 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/RelatedQnAPageRequestResponseFormatType.ts b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts new file mode 100644 index 0000000..7d5e361 --- /dev/null +++ b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnAPageRequestResponseFormatType = "text" | "json_object"; + +export const RelatedQnAPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/RelatedQnAPageRequestSelectedModel.ts b/src/api/types/RelatedQnAPageRequestSelectedModel.ts new file mode 100644 index 0000000..33a2a8c --- /dev/null +++ b/src/api/types/RelatedQnAPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RelatedQnAPageRequestSelectedModel = + | "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 RelatedQnAPageRequestSelectedModel = { + 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/RunSettings.ts b/src/api/types/RunSettings.ts new file mode 100644 index 0000000..7e9c19e --- /dev/null +++ b/src/api/types/RunSettings.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Gooey from "../index"; + +export interface RunSettings { + /** Policy for retaining the run data. */ + retentionPolicy?: Gooey.RunSettingsRetentionPolicy; +} diff --git a/src/api/types/RunSettingsRetentionPolicy.ts b/src/api/types/RunSettingsRetentionPolicy.ts new file mode 100644 index 0000000..3bb8062 --- /dev/null +++ b/src/api/types/RunSettingsRetentionPolicy.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * Policy for retaining the run data. + */ +export type RunSettingsRetentionPolicy = "keep" | "delete"; + +export const RunSettingsRetentionPolicy = { + Keep: "keep", + Delete: "delete", +} as const; diff --git a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts new file mode 100644 index 0000000..4e22241 --- /dev/null +++ b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SeoSummaryPageRequestResponseFormatType = "text" | "json_object"; + +export const SeoSummaryPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/SeoSummaryPageRequestSelectedModel.ts b/src/api/types/SeoSummaryPageRequestSelectedModel.ts new file mode 100644 index 0000000..d7ede42 --- /dev/null +++ b/src/api/types/SeoSummaryPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SeoSummaryPageRequestSelectedModel = + | "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 SeoSummaryPageRequestSelectedModel = { + 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/SerpSearchLocation.ts b/src/api/types/SerpSearchLocation.ts new file mode 100644 index 0000000..a62ffa0 --- /dev/null +++ b/src/api/types/SerpSearchLocation.ts @@ -0,0 +1,489 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * An enumeration. + */ +export type SerpSearchLocation = + | "af" + | "al" + | "dz" + | "as" + | "ad" + | "ao" + | "ai" + | "aq" + | "ag" + | "ar" + | "am" + | "aw" + | "au" + | "at" + | "az" + | "bs" + | "bh" + | "bd" + | "bb" + | "by" + | "be" + | "bz" + | "bj" + | "bm" + | "bt" + | "bo" + | "ba" + | "bw" + | "bv" + | "br" + | "io" + | "bn" + | "bg" + | "bf" + | "bi" + | "kh" + | "cm" + | "ca" + | "cv" + | "ky" + | "cf" + | "td" + | "cl" + | "cn" + | "cx" + | "cc" + | "co" + | "km" + | "cg" + | "cd" + | "ck" + | "cr" + | "ci" + | "hr" + | "cu" + | "cy" + | "cz" + | "dk" + | "dj" + | "dm" + | "do" + | "ec" + | "eg" + | "sv" + | "gq" + | "er" + | "ee" + | "et" + | "fk" + | "fo" + | "fj" + | "fi" + | "fr" + | "gf" + | "pf" + | "tf" + | "ga" + | "gm" + | "ge" + | "de" + | "gh" + | "gi" + | "gr" + | "gl" + | "gd" + | "gp" + | "gu" + | "gt" + | "gn" + | "gw" + | "gy" + | "ht" + | "hm" + | "va" + | "hn" + | "hk" + | "hu" + | "is" + | "in" + | "id" + | "ir" + | "iq" + | "ie" + | "il" + | "it" + | "jm" + | "jp" + | "jo" + | "kz" + | "ke" + | "ki" + | "kp" + | "kr" + | "kw" + | "kg" + | "la" + | "lv" + | "lb" + | "ls" + | "lr" + | "ly" + | "li" + | "lt" + | "lu" + | "mo" + | "mk" + | "mg" + | "mw" + | "my" + | "mv" + | "ml" + | "mt" + | "mh" + | "mq" + | "mr" + | "mu" + | "yt" + | "mx" + | "fm" + | "md" + | "mc" + | "mn" + | "ms" + | "ma" + | "mz" + | "mm" + | "na" + | "nr" + | "np" + | "nl" + | "an" + | "nc" + | "nz" + | "ni" + | "ne" + | "ng" + | "nu" + | "nf" + | "mp" + | "no" + | "om" + | "pk" + | "pw" + | "ps" + | "pa" + | "pg" + | "py" + | "pe" + | "ph" + | "pn" + | "pl" + | "pt" + | "pr" + | "qa" + | "re" + | "ro" + | "ru" + | "rw" + | "sh" + | "kn" + | "lc" + | "pm" + | "vc" + | "ws" + | "sm" + | "gui" + | "sa" + | "sn" + | "rs" + | "sc" + | "sl" + | "sg" + | "sk" + | "si" + | "sb" + | "so" + | "za" + | "gs" + | "es" + | "lk" + | "sd" + | "sr" + | "sj" + | "sz" + | "se" + | "ch" + | "sy" + | "tw" + | "tj" + | "tz" + | "th" + | "tl" + | "tg" + | "tk" + | "to" + | "tt" + | "tn" + | "tr" + | "tm" + | "tc" + | "tv" + | "ug" + | "ua" + | "ae" + | "gb" + | "us" + | "um" + | "uy" + | "uz" + | "vu" + | "ve" + | "vn" + | "vg" + | "vi" + | "wf" + | "eh" + | "ye" + | "zm" + | "zw"; + +export const SerpSearchLocation = { + Af: "af", + Al: "al", + Dz: "dz", + As: "as", + Ad: "ad", + Ao: "ao", + Ai: "ai", + Aq: "aq", + Ag: "ag", + Ar: "ar", + Am: "am", + Aw: "aw", + Au: "au", + At: "at", + Az: "az", + Bs: "bs", + Bh: "bh", + Bd: "bd", + Bb: "bb", + By: "by", + Be: "be", + Bz: "bz", + Bj: "bj", + Bm: "bm", + Bt: "bt", + Bo: "bo", + Ba: "ba", + Bw: "bw", + Bv: "bv", + Br: "br", + Io: "io", + Bn: "bn", + Bg: "bg", + Bf: "bf", + Bi: "bi", + Kh: "kh", + Cm: "cm", + Ca: "ca", + Cv: "cv", + Ky: "ky", + Cf: "cf", + Td: "td", + Cl: "cl", + Cn: "cn", + Cx: "cx", + Cc: "cc", + Co: "co", + Km: "km", + Cg: "cg", + Cd: "cd", + Ck: "ck", + Cr: "cr", + Ci: "ci", + Hr: "hr", + Cu: "cu", + Cy: "cy", + Cz: "cz", + Dk: "dk", + Dj: "dj", + Dm: "dm", + Do: "do", + Ec: "ec", + Eg: "eg", + Sv: "sv", + Gq: "gq", + Er: "er", + Ee: "ee", + Et: "et", + Fk: "fk", + Fo: "fo", + Fj: "fj", + Fi: "fi", + Fr: "fr", + Gf: "gf", + Pf: "pf", + Tf: "tf", + Ga: "ga", + Gm: "gm", + Ge: "ge", + De: "de", + Gh: "gh", + Gi: "gi", + Gr: "gr", + Gl: "gl", + Gd: "gd", + Gp: "gp", + Gu: "gu", + Gt: "gt", + Gn: "gn", + Gw: "gw", + Gy: "gy", + Ht: "ht", + Hm: "hm", + Va: "va", + Hn: "hn", + Hk: "hk", + Hu: "hu", + Is: "is", + In: "in", + Id: "id", + Ir: "ir", + Iq: "iq", + Ie: "ie", + Il: "il", + It: "it", + Jm: "jm", + Jp: "jp", + Jo: "jo", + Kz: "kz", + Ke: "ke", + Ki: "ki", + Kp: "kp", + Kr: "kr", + Kw: "kw", + Kg: "kg", + La: "la", + Lv: "lv", + Lb: "lb", + Ls: "ls", + Lr: "lr", + Ly: "ly", + Li: "li", + Lt: "lt", + Lu: "lu", + Mo: "mo", + Mk: "mk", + Mg: "mg", + Mw: "mw", + My: "my", + Mv: "mv", + Ml: "ml", + Mt: "mt", + Mh: "mh", + Mq: "mq", + Mr: "mr", + Mu: "mu", + Yt: "yt", + Mx: "mx", + Fm: "fm", + Md: "md", + Mc: "mc", + Mn: "mn", + Ms: "ms", + Ma: "ma", + Mz: "mz", + Mm: "mm", + Na: "na", + Nr: "nr", + Np: "np", + Nl: "nl", + An: "an", + Nc: "nc", + Nz: "nz", + Ni: "ni", + Ne: "ne", + Ng: "ng", + Nu: "nu", + Nf: "nf", + Mp: "mp", + No: "no", + Om: "om", + Pk: "pk", + Pw: "pw", + Ps: "ps", + Pa: "pa", + Pg: "pg", + Py: "py", + Pe: "pe", + Ph: "ph", + Pn: "pn", + Pl: "pl", + Pt: "pt", + Pr: "pr", + Qa: "qa", + Re: "re", + Ro: "ro", + Ru: "ru", + Rw: "rw", + Sh: "sh", + Kn: "kn", + Lc: "lc", + Pm: "pm", + Vc: "vc", + Ws: "ws", + Sm: "sm", + Gui: "gui", + Sa: "sa", + Sn: "sn", + Rs: "rs", + Sc: "sc", + Sl: "sl", + Sg: "sg", + Sk: "sk", + Si: "si", + Sb: "sb", + So: "so", + Za: "za", + Gs: "gs", + Es: "es", + Lk: "lk", + Sd: "sd", + Sr: "sr", + Sj: "sj", + Sz: "sz", + Se: "se", + Ch: "ch", + Sy: "sy", + Tw: "tw", + Tj: "tj", + Tz: "tz", + Th: "th", + Tl: "tl", + Tg: "tg", + Tk: "tk", + To: "to", + Tt: "tt", + Tn: "tn", + Tr: "tr", + Tm: "tm", + Tc: "tc", + Tv: "tv", + Ug: "ug", + Ua: "ua", + Ae: "ae", + Gb: "gb", + Us: "us", + Um: "um", + Uy: "uy", + Uz: "uz", + Vu: "vu", + Ve: "ve", + Vn: "vn", + Vg: "vg", + Vi: "vi", + Wf: "wf", + Eh: "eh", + Ye: "ye", + Zm: "zm", + Zw: "zw", +} as const; diff --git a/src/api/types/SerpSearchType.ts b/src/api/types/SerpSearchType.ts new file mode 100644 index 0000000..ad1eb35 --- /dev/null +++ b/src/api/types/SerpSearchType.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * An enumeration. + */ +export type SerpSearchType = "search" | "images" | "videos" | "places" | "news"; + +export const SerpSearchType = { + Search: "search", + Images: "images", + Videos: "videos", + Places: "places", + News: "news", +} as const; diff --git a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts new file mode 100644 index 0000000..202d1c6 --- /dev/null +++ b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SocialLookupEmailPageRequestResponseFormatType = "text" | "json_object"; + +export const SocialLookupEmailPageRequestResponseFormatType = { + Text: "text", + JsonObject: "json_object", +} as const; diff --git a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts new file mode 100644 index 0000000..31b886a --- /dev/null +++ b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts @@ -0,0 +1,84 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SocialLookupEmailPageRequestSelectedModel = + | "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 SocialLookupEmailPageRequestSelectedModel = { + 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/TextToSpeechPageRequestOpenaiTtsModel.ts b/src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..f775470 --- /dev/null +++ b/src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type TextToSpeechPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; + +export const TextToSpeechPageRequestOpenaiTtsModel = { + Tts1: "tts_1", + Tts1Hd: "tts_1_hd", +} as const; diff --git a/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts b/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..05af736 --- /dev/null +++ b/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type TextToSpeechPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; + +export const TextToSpeechPageRequestOpenaiVoiceName = { + Alloy: "alloy", + Echo: "echo", + Fable: "fable", + Onyx: "onyx", + Nova: "nova", + Shimmer: "shimmer", +} as const; diff --git a/src/api/types/TextToSpeechPageRequestTtsProvider.ts b/src/api/types/TextToSpeechPageRequestTtsProvider.ts new file mode 100644 index 0000000..0629bac --- /dev/null +++ b/src/api/types/TextToSpeechPageRequestTtsProvider.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type TextToSpeechPageRequestTtsProvider = + | "GOOGLE_TTS" + | "ELEVEN_LABS" + | "UBERDUCK" + | "BARK" + | "AZURE_TTS" + | "OPEN_AI"; + +export const TextToSpeechPageRequestTtsProvider = { + GoogleTts: "GOOGLE_TTS", + ElevenLabs: "ELEVEN_LABS", + Uberduck: "UBERDUCK", + Bark: "BARK", + AzureTts: "AZURE_TTS", + OpenAi: "OPEN_AI", +} as const; diff --git a/src/api/types/TrainingDataModel.ts b/src/api/types/TrainingDataModel.ts new file mode 100644 index 0000000..c3b93e9 --- /dev/null +++ b/src/api/types/TrainingDataModel.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface TrainingDataModel { + prompt: string; + completion: string; +} diff --git a/src/api/types/TranslationPageRequestSelectedModel.ts b/src/api/types/TranslationPageRequestSelectedModel.ts new file mode 100644 index 0000000..2d13368 --- /dev/null +++ b/src/api/types/TranslationPageRequestSelectedModel.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type TranslationPageRequestSelectedModel = "google" | "ghana_nlp"; + +export const TranslationPageRequestSelectedModel = { + Google: "google", + GhanaNlp: "ghana_nlp", +} as const; diff --git a/src/api/types/Vcard.ts b/src/api/types/Vcard.ts new file mode 100644 index 0000000..b98ed0a --- /dev/null +++ b/src/api/types/Vcard.ts @@ -0,0 +1,32 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface Vcard { + formatName: string; + email?: string; + gender?: string; + birthdayYear?: number; + birthdayMonth?: number; + birthdayDay?: number; + familyName?: string; + givenName?: string; + middleNames?: string; + honorificPrefixes?: string; + honorificSuffixes?: string; + impp?: string; + address?: string; + calendarUrl?: string; + commaSeparatedCategories?: string; + kind?: string; + language?: string; + organization?: string; + photoUrl?: string; + logoUrl?: string; + role?: string; + timezone?: string; + jobTitle?: string; + urls?: string[]; + tel?: string; + note?: string; +} diff --git a/src/api/types/index.ts b/src/api/types/index.ts index cc3a5e7..0d58180 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -1,3 +1,61 @@ +export * from "./DeforumSdPageRequestSelectedModel"; +export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; +export * from "./QrCodeGeneratorPageRequestSelectedModel"; +export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem"; +export * from "./QrCodeGeneratorPageRequestScheduler"; +export * from "./RelatedQnAPageRequestSelectedModel"; +export * from "./RelatedQnAPageRequestEmbeddingModel"; +export * from "./RelatedQnAPageRequestResponseFormatType"; +export * from "./SeoSummaryPageRequestSelectedModel"; +export * from "./SeoSummaryPageRequestResponseFormatType"; +export * from "./GoogleGptPageRequestSelectedModel"; +export * from "./GoogleGptPageRequestEmbeddingModel"; +export * from "./GoogleGptPageRequestResponseFormatType"; +export * from "./SocialLookupEmailPageRequestSelectedModel"; +export * from "./SocialLookupEmailPageRequestResponseFormatType"; +export * from "./DocExtractPageRequestSelectedAsrModel"; +export * from "./DocExtractPageRequestSelectedModel"; +export * from "./DocExtractPageRequestResponseFormatType"; +export * from "./CompareLlmPageRequestSelectedModelsItem"; +export * from "./CompareLlmPageRequestResponseFormatType"; +export * from "./DocSearchPageRequestKeywordQuery"; +export * from "./DocSearchPageRequestEmbeddingModel"; +export * from "./DocSearchPageRequestSelectedModel"; +export * from "./DocSearchPageRequestCitationStyle"; +export * from "./DocSearchPageRequestResponseFormatType"; +export * from "./DocSummaryPageRequestSelectedModel"; +export * from "./DocSummaryPageRequestSelectedAsrModel"; +export * from "./DocSummaryPageRequestResponseFormatType"; +export * from "./LipsyncTtsPageRequestTtsProvider"; +export * from "./LipsyncTtsPageRequestOpenaiVoiceName"; +export * from "./LipsyncTtsPageRequestOpenaiTtsModel"; +export * from "./LipsyncTtsPageRequestSelectedModel"; +export * from "./TextToSpeechPageRequestTtsProvider"; +export * from "./TextToSpeechPageRequestOpenaiVoiceName"; +export * from "./TextToSpeechPageRequestOpenaiTtsModel"; +export * from "./AsrPageRequestSelectedModel"; +export * from "./AsrPageRequestTranslationModel"; +export * from "./AsrPageRequestOutputFormat"; +export * from "./TranslationPageRequestSelectedModel"; +export * from "./Img2ImgPageRequestSelectedModel"; +export * from "./Img2ImgPageRequestSelectedControlnetModelItem"; +export * from "./Img2ImgPageRequestSelectedControlnetModel"; +export * from "./CompareText2ImgPageRequestSelectedModelsItem"; +export * from "./CompareText2ImgPageRequestScheduler"; +export * from "./ObjectInpaintingPageRequestSelectedModel"; +export * from "./FaceInpaintingPageRequestSelectedModel"; +export * from "./EmailFaceInpaintingPageRequestSelectedModel"; +export * from "./GoogleImageGenPageRequestSelectedModel"; +export * from "./ImageSegmentationPageRequestSelectedModel"; +export * from "./CompareUpscalerPageRequestSelectedModelsItem"; +export * from "./EmbeddingsPageRequestSelectedModel"; +export * from "./RelatedQnADocPageRequestKeywordQuery"; +export * from "./RelatedQnADocPageRequestEmbeddingModel"; +export * from "./RelatedQnADocPageRequestSelectedModel"; +export * from "./RelatedQnADocPageRequestCitationStyle"; +export * from "./RelatedQnADocPageRequestResponseFormatType"; +export * from "./AggFunctionFunction"; +export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; export * from "./AggFunctionResult"; export * from "./AsrChunk"; @@ -7,39 +65,6 @@ export * from "./AsrPageOutput"; export * from "./AsrPageStatusResponse"; export * from "./AsyncApiResponseModelV3"; export * from "./BalanceResponse"; -export * from "./BodyAsyncFormChyronPlant"; -export * from "./BodyAsyncFormCompareLlm"; -export * from "./BodyAsyncFormCompareText2Img"; -export * from "./BodyAsyncFormDeforumSd"; -export * from "./BodyAsyncFormEmailFaceInpainting"; -export * from "./BodyAsyncFormFaceInpainting"; -export * from "./BodyAsyncFormGoogleImageGen"; -export * from "./BodyAsyncFormImageSegmentation"; -export * from "./BodyAsyncFormImg2Img"; -export * from "./BodyAsyncFormLetterWriter"; -export * from "./BodyAsyncFormLipsync"; -export * from "./BodyAsyncFormLipsyncTts"; -export * from "./BodyAsyncFormObjectInpainting"; -export * from "./BodyAsyncFormSeoSummary"; -export * from "./BodyAsyncFormSmartGpt"; -export * from "./BodyAsyncFormSocialLookupEmail"; -export * from "./BodyAsyncFormTextToSpeech"; -export * from "./BodyAsyncFormArtQrCode"; -export * from "./BodyAsyncFormAsr"; -export * from "./BodyAsyncFormBulkEval"; -export * from "./BodyAsyncFormBulkRunner"; -export * from "./BodyAsyncFormCompareAiUpscalers"; -export * from "./BodyAsyncFormDocExtract"; -export * from "./BodyAsyncFormDocSearch"; -export * from "./BodyAsyncFormDocSummary"; -export * from "./BodyAsyncFormEmbeddings"; -export * from "./BodyAsyncFormFunctions"; -export * from "./BodyAsyncFormGoogleGpt"; -export * from "./BodyAsyncFormRelatedQnaMaker"; -export * from "./BodyAsyncFormRelatedQnaMakerDoc"; -export * from "./BodyAsyncFormText2Audio"; -export * from "./BodyAsyncFormTranslate"; -export * from "./BodyAsyncFormVideoBots"; export * from "./BotBroadcastFilters"; export * from "./BulkEvalPageOutput"; export * from "./BulkEvalPageStatusResponse"; @@ -51,6 +76,7 @@ export * from "./CalledFunctionResponse"; export * from "./ChatCompletionContentPartImageParam"; export * from "./ChatCompletionContentPartTextParam"; export * from "./ChyronPlantPageOutput"; +export * from "./ChyronPlantPageRequest"; export * from "./ChyronPlantPageStatusResponse"; export * from "./CompareLlmPageOutput"; export * from "./CompareLlmPageStatusResponse"; @@ -78,6 +104,7 @@ export * from "./EmailFaceInpaintingPageOutput"; export * from "./EmailFaceInpaintingPageStatusResponse"; export * from "./EmbeddingsPageOutput"; export * from "./EmbeddingsPageStatusResponse"; +export * from "./EvalPrompt"; export * from "./FaceInpaintingPageOutput"; export * from "./FaceInpaintingPageStatusResponse"; export * from "./FailedReponseModelV2"; @@ -100,6 +127,7 @@ export * from "./Img2ImgPageOutput"; export * from "./Img2ImgPageStatusResponse"; export * from "./LlmTools"; export * from "./LetterWriterPageOutput"; +export * from "./LetterWriterPageRequest"; export * from "./LetterWriterPageStatusResponse"; export * from "./LipsyncPageOutput"; export * from "./LipsyncPageStatusResponse"; @@ -125,12 +153,16 @@ export * from "./ReplyButton"; export * from "./ResponseModelFinalPrompt"; export * from "./ResponseModelFinalKeywordQuery"; export * from "./ResponseModel"; +export * from "./RunSettingsRetentionPolicy"; +export * from "./RunSettings"; export * from "./RunStart"; export * from "./SeoSummaryPageOutput"; export * from "./SeoSummaryPageStatusResponse"; export * from "./SadTalkerSettingsPreprocess"; export * from "./SadTalkerSettings"; export * from "./SearchReference"; +export * from "./SerpSearchLocation"; +export * from "./SerpSearchType"; export * from "./SmartGptPageOutput"; export * from "./SmartGptPageStatusResponse"; export * from "./SocialLookupEmailPageOutput"; @@ -140,11 +172,14 @@ export * from "./Text2AudioPageOutput"; export * from "./Text2AudioPageStatusResponse"; export * from "./TextToSpeechPageOutput"; export * from "./TextToSpeechPageStatusResponse"; +export * from "./TrainingDataModel"; export * from "./TranslationPageOutput"; export * from "./TranslationPageStatusResponse"; +export * from "./Vcard"; export * from "./ValidationErrorLocItem"; export * from "./ValidationError"; export * from "./VideoBotsPageOutputFinalPrompt"; export * from "./VideoBotsPageOutputFinalKeywordQuery"; export * from "./VideoBotsPageOutput"; export * from "./VideoBotsPageStatusResponse"; +export * from "./AnimationPrompt"; diff --git a/src/serialization/client/index.ts b/src/serialization/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/client/requests/AsrPageRequest.ts b/src/serialization/client/requests/AsrPageRequest.ts new file mode 100644 index 0000000..452dc65 --- /dev/null +++ b/src/serialization/client/requests/AsrPageRequest.ts @@ -0,0 +1,50 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { AsrPageRequestSelectedModel } from "../../types/AsrPageRequestSelectedModel"; +import { AsrPageRequestTranslationModel } from "../../types/AsrPageRequestTranslationModel"; +import { AsrPageRequestOutputFormat } from "../../types/AsrPageRequestOutputFormat"; +import { RunSettings } from "../../types/RunSettings"; + +export const AsrPageRequest: core.serialization.Schema< + serializers.AsrPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + documents: core.serialization.list(core.serialization.string()), + selectedModel: core.serialization.property("selected_model", AsrPageRequestSelectedModel.optional()), + language: core.serialization.string().optional(), + translationModel: core.serialization.property("translation_model", AsrPageRequestTranslationModel.optional()), + outputFormat: core.serialization.property("output_format", AsrPageRequestOutputFormat.optional()), + googleTranslateTarget: core.serialization.property( + "google_translate_target", + core.serialization.string().optional() + ), + translationSource: core.serialization.property("translation_source", core.serialization.string().optional()), + translationTarget: core.serialization.property("translation_target", core.serialization.string().optional()), + glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace AsrPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + documents: string[]; + selected_model?: AsrPageRequestSelectedModel.Raw | null; + language?: string | null; + translation_model?: AsrPageRequestTranslationModel.Raw | null; + output_format?: AsrPageRequestOutputFormat.Raw | null; + google_translate_target?: string | null; + translation_source?: string | null; + translation_target?: string | null; + glossary_document?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/BulkRunnerPageRequest.ts b/src/serialization/client/requests/BulkRunnerPageRequest.ts new file mode 100644 index 0000000..044b5cb --- /dev/null +++ b/src/serialization/client/requests/BulkRunnerPageRequest.ts @@ -0,0 +1,42 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { RunSettings } from "../../types/RunSettings"; + +export const BulkRunnerPageRequest: core.serialization.Schema< + serializers.BulkRunnerPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + documents: core.serialization.list(core.serialization.string()), + runUrls: core.serialization.property("run_urls", core.serialization.list(core.serialization.string())), + inputColumns: core.serialization.property( + "input_columns", + core.serialization.record(core.serialization.string(), core.serialization.string()) + ), + outputColumns: core.serialization.property( + "output_columns", + core.serialization.record(core.serialization.string(), core.serialization.string()) + ), + evalUrls: core.serialization.property("eval_urls", core.serialization.list(core.serialization.string()).optional()), + settings: RunSettings.optional(), +}); + +export declare namespace BulkRunnerPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + documents: string[]; + run_urls: string[]; + input_columns: Record; + output_columns: Record; + eval_urls?: string[] | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/CompareLlmPageRequest.ts b/src/serialization/client/requests/CompareLlmPageRequest.ts new file mode 100644 index 0000000..fe931eb --- /dev/null +++ b/src/serialization/client/requests/CompareLlmPageRequest.ts @@ -0,0 +1,50 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { CompareLlmPageRequestSelectedModelsItem } from "../../types/CompareLlmPageRequestSelectedModelsItem"; +import { CompareLlmPageRequestResponseFormatType } from "../../types/CompareLlmPageRequestResponseFormatType"; +import { RunSettings } from "../../types/RunSettings"; + +export const CompareLlmPageRequest: core.serialization.Schema< + serializers.CompareLlmPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), + selectedModels: core.serialization.property( + "selected_models", + core.serialization.list(CompareLlmPageRequestSelectedModelsItem).optional() + ), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + CompareLlmPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace CompareLlmPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_prompt?: string | null; + selected_models?: CompareLlmPageRequestSelectedModelsItem.Raw[] | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: CompareLlmPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/CompareText2ImgPageRequest.ts b/src/serialization/client/requests/CompareText2ImgPageRequest.ts new file mode 100644 index 0000000..1493079 --- /dev/null +++ b/src/serialization/client/requests/CompareText2ImgPageRequest.ts @@ -0,0 +1,61 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { CompareText2ImgPageRequestSelectedModelsItem } from "../../types/CompareText2ImgPageRequestSelectedModelsItem"; +import { CompareText2ImgPageRequestScheduler } from "../../types/CompareText2ImgPageRequestScheduler"; +import { RunSettings } from "../../types/RunSettings"; + +export const CompareText2ImgPageRequest: core.serialization.Schema< + serializers.CompareText2ImgPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + dallE3Quality: core.serialization.property("dall_e_3_quality", core.serialization.string().optional()), + dallE3Style: core.serialization.property("dall_e_3_style", core.serialization.string().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + seed: core.serialization.number().optional(), + sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), + selectedModels: core.serialization.property( + "selected_models", + core.serialization.list(CompareText2ImgPageRequestSelectedModelsItem).optional() + ), + scheduler: CompareText2ImgPageRequestScheduler.optional(), + editInstruction: core.serialization.property("edit_instruction", core.serialization.string().optional()), + imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace CompareText2ImgPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + text_prompt: string; + negative_prompt?: string | null; + output_width?: number | null; + output_height?: number | null; + num_outputs?: number | null; + quality?: number | null; + dall_e_3_quality?: string | null; + dall_e_3_style?: string | null; + guidance_scale?: number | null; + seed?: number | null; + sd_2_upscaling?: boolean | null; + selected_models?: CompareText2ImgPageRequestSelectedModelsItem.Raw[] | null; + scheduler?: CompareText2ImgPageRequestScheduler.Raw | null; + edit_instruction?: string | null; + image_guidance_scale?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/CompareUpscalerPageRequest.ts b/src/serialization/client/requests/CompareUpscalerPageRequest.ts new file mode 100644 index 0000000..682626d --- /dev/null +++ b/src/serialization/client/requests/CompareUpscalerPageRequest.ts @@ -0,0 +1,43 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { CompareUpscalerPageRequestSelectedModelsItem } from "../../types/CompareUpscalerPageRequestSelectedModelsItem"; +import { RunSettings } from "../../types/RunSettings"; + +export const CompareUpscalerPageRequest: core.serialization.Schema< + serializers.CompareUpscalerPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputImage: core.serialization.property("input_image", core.serialization.string().optional()), + inputVideo: core.serialization.property("input_video", core.serialization.string().optional()), + scale: core.serialization.number(), + selectedModels: core.serialization.property( + "selected_models", + core.serialization.list(CompareUpscalerPageRequestSelectedModelsItem).optional() + ), + selectedBgModel: core.serialization.property( + "selected_bg_model", + core.serialization.stringLiteral("real_esrgan_x2").optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace CompareUpscalerPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_image?: string | null; + input_video?: string | null; + scale: number; + selected_models?: CompareUpscalerPageRequestSelectedModelsItem.Raw[] | null; + selected_bg_model?: "real_esrgan_x2" | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/DeforumSdPageRequest.ts b/src/serialization/client/requests/DeforumSdPageRequest.ts new file mode 100644 index 0000000..c28698a --- /dev/null +++ b/src/serialization/client/requests/DeforumSdPageRequest.ts @@ -0,0 +1,52 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { AnimationPrompt } from "../../types/AnimationPrompt"; +import { DeforumSdPageRequestSelectedModel } from "../../types/DeforumSdPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const DeforumSdPageRequest: core.serialization.Schema< + serializers.DeforumSdPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + animationPrompts: core.serialization.property("animation_prompts", core.serialization.list(AnimationPrompt)), + maxFrames: core.serialization.property("max_frames", core.serialization.number().optional()), + selectedModel: core.serialization.property("selected_model", DeforumSdPageRequestSelectedModel.optional()), + animationMode: core.serialization.property("animation_mode", core.serialization.string().optional()), + zoom: core.serialization.string().optional(), + translationX: core.serialization.property("translation_x", core.serialization.string().optional()), + translationY: core.serialization.property("translation_y", core.serialization.string().optional()), + rotation3DX: core.serialization.property("rotation_3d_x", core.serialization.string().optional()), + rotation3DY: core.serialization.property("rotation_3d_y", core.serialization.string().optional()), + rotation3DZ: core.serialization.property("rotation_3d_z", core.serialization.string().optional()), + fps: core.serialization.number().optional(), + seed: core.serialization.number().optional(), + settings: RunSettings.optional(), +}); + +export declare namespace DeforumSdPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + animation_prompts: AnimationPrompt.Raw[]; + max_frames?: number | null; + selected_model?: DeforumSdPageRequestSelectedModel.Raw | null; + animation_mode?: string | null; + zoom?: string | null; + translation_x?: string | null; + translation_y?: string | null; + rotation_3d_x?: string | null; + rotation_3d_y?: string | null; + rotation_3d_z?: string | null; + fps?: number | null; + seed?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/DocExtractPageRequest.ts b/src/serialization/client/requests/DocExtractPageRequest.ts new file mode 100644 index 0000000..bdb5fa9 --- /dev/null +++ b/src/serialization/client/requests/DocExtractPageRequest.ts @@ -0,0 +1,64 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { DocExtractPageRequestSelectedAsrModel } from "../../types/DocExtractPageRequestSelectedAsrModel"; +import { DocExtractPageRequestSelectedModel } from "../../types/DocExtractPageRequestSelectedModel"; +import { DocExtractPageRequestResponseFormatType } from "../../types/DocExtractPageRequestResponseFormatType"; +import { RunSettings } from "../../types/RunSettings"; + +export const DocExtractPageRequest: core.serialization.Schema< + serializers.DocExtractPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + documents: core.serialization.list(core.serialization.string()), + sheetUrl: core.serialization.property("sheet_url", core.serialization.string().optional()), + selectedAsrModel: core.serialization.property( + "selected_asr_model", + DocExtractPageRequestSelectedAsrModel.optional() + ), + googleTranslateTarget: core.serialization.property( + "google_translate_target", + core.serialization.string().optional() + ), + glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", DocExtractPageRequestSelectedModel.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + DocExtractPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace DocExtractPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + documents: string[]; + sheet_url?: string | null; + selected_asr_model?: DocExtractPageRequestSelectedAsrModel.Raw | null; + google_translate_target?: string | null; + glossary_document?: string | null; + task_instructions?: string | null; + selected_model?: DocExtractPageRequestSelectedModel.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: DocExtractPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/DocSearchPageRequest.ts b/src/serialization/client/requests/DocSearchPageRequest.ts new file mode 100644 index 0000000..bd4a568 --- /dev/null +++ b/src/serialization/client/requests/DocSearchPageRequest.ts @@ -0,0 +1,72 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { DocSearchPageRequestKeywordQuery } from "../../types/DocSearchPageRequestKeywordQuery"; +import { DocSearchPageRequestEmbeddingModel } from "../../types/DocSearchPageRequestEmbeddingModel"; +import { DocSearchPageRequestSelectedModel } from "../../types/DocSearchPageRequestSelectedModel"; +import { DocSearchPageRequestCitationStyle } from "../../types/DocSearchPageRequestCitationStyle"; +import { DocSearchPageRequestResponseFormatType } from "../../types/DocSearchPageRequestResponseFormatType"; +import { RunSettings } from "../../types/RunSettings"; + +export const DocSearchPageRequest: core.serialization.Schema< + serializers.DocSearchPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + searchQuery: core.serialization.property("search_query", core.serialization.string()), + keywordQuery: core.serialization.property("keyword_query", DocSearchPageRequestKeywordQuery.optional()), + documents: core.serialization.list(core.serialization.string()).optional(), + maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), + maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), + scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), + docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), + embeddingModel: core.serialization.property("embedding_model", DocSearchPageRequestEmbeddingModel.optional()), + denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", DocSearchPageRequestSelectedModel.optional()), + citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + DocSearchPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace DocSearchPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + search_query: string; + keyword_query?: DocSearchPageRequestKeywordQuery.Raw | null; + documents?: string[] | null; + max_references?: number | null; + max_context_words?: number | null; + scroll_jump?: number | null; + doc_extract_url?: string | null; + embedding_model?: DocSearchPageRequestEmbeddingModel.Raw | null; + dense_weight?: number | null; + task_instructions?: string | null; + query_instructions?: string | null; + selected_model?: DocSearchPageRequestSelectedModel.Raw | null; + citation_style?: DocSearchPageRequestCitationStyle.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: DocSearchPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/DocSummaryPageRequest.ts b/src/serialization/client/requests/DocSummaryPageRequest.ts new file mode 100644 index 0000000..967080e --- /dev/null +++ b/src/serialization/client/requests/DocSummaryPageRequest.ts @@ -0,0 +1,64 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { DocSummaryPageRequestSelectedModel } from "../../types/DocSummaryPageRequestSelectedModel"; +import { DocSummaryPageRequestSelectedAsrModel } from "../../types/DocSummaryPageRequestSelectedAsrModel"; +import { DocSummaryPageRequestResponseFormatType } from "../../types/DocSummaryPageRequestResponseFormatType"; +import { RunSettings } from "../../types/RunSettings"; + +export const DocSummaryPageRequest: core.serialization.Schema< + serializers.DocSummaryPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + documents: core.serialization.list(core.serialization.string()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + mergeInstructions: core.serialization.property("merge_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", DocSummaryPageRequestSelectedModel.optional()), + chainType: core.serialization.property("chain_type", core.serialization.stringLiteral("map_reduce").optional()), + selectedAsrModel: core.serialization.property( + "selected_asr_model", + DocSummaryPageRequestSelectedAsrModel.optional() + ), + googleTranslateTarget: core.serialization.property( + "google_translate_target", + core.serialization.string().optional() + ), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + DocSummaryPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace DocSummaryPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + documents: string[]; + task_instructions?: string | null; + merge_instructions?: string | null; + selected_model?: DocSummaryPageRequestSelectedModel.Raw | null; + chain_type?: "map_reduce" | null; + selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null; + google_translate_target?: string | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: DocSummaryPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/EmailFaceInpaintingPageRequest.ts b/src/serialization/client/requests/EmailFaceInpaintingPageRequest.ts new file mode 100644 index 0000000..faaa9fe --- /dev/null +++ b/src/serialization/client/requests/EmailFaceInpaintingPageRequest.ts @@ -0,0 +1,76 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { EmailFaceInpaintingPageRequestSelectedModel } from "../../types/EmailFaceInpaintingPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const EmailFaceInpaintingPageRequest: core.serialization.Schema< + serializers.EmailFaceInpaintingPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + emailAddress: core.serialization.property("email_address", core.serialization.string().optional()), + twitterHandle: core.serialization.property("twitter_handle", core.serialization.string().optional()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + faceScale: core.serialization.property("face_scale", core.serialization.number().optional()), + facePosX: core.serialization.property("face_pos_x", core.serialization.number().optional()), + facePosY: core.serialization.property("face_pos_y", core.serialization.number().optional()), + selectedModel: core.serialization.property( + "selected_model", + EmailFaceInpaintingPageRequestSelectedModel.optional() + ), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + upscaleFactor: core.serialization.property("upscale_factor", core.serialization.number().optional()), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + shouldSendEmail: core.serialization.property("should_send_email", core.serialization.boolean().optional()), + emailFrom: core.serialization.property("email_from", core.serialization.string().optional()), + emailCc: core.serialization.property("email_cc", core.serialization.string().optional()), + emailBcc: core.serialization.property("email_bcc", core.serialization.string().optional()), + emailSubject: core.serialization.property("email_subject", core.serialization.string().optional()), + emailBody: core.serialization.property("email_body", core.serialization.string().optional()), + emailBodyEnableHtml: core.serialization.property("email_body_enable_html", core.serialization.boolean().optional()), + fallbackEmailBody: core.serialization.property("fallback_email_body", core.serialization.string().optional()), + seed: core.serialization.number().optional(), + settings: RunSettings.optional(), +}); + +export declare namespace EmailFaceInpaintingPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + email_address?: string | null; + twitter_handle?: string | null; + text_prompt: string; + face_scale?: number | null; + face_pos_x?: number | null; + face_pos_y?: number | null; + selected_model?: EmailFaceInpaintingPageRequestSelectedModel.Raw | null; + negative_prompt?: string | null; + num_outputs?: number | null; + quality?: number | null; + upscale_factor?: number | null; + output_width?: number | null; + output_height?: number | null; + guidance_scale?: number | null; + should_send_email?: boolean | null; + email_from?: string | null; + email_cc?: string | null; + email_bcc?: string | null; + email_subject?: string | null; + email_body?: string | null; + email_body_enable_html?: boolean | null; + fallback_email_body?: string | null; + seed?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/EmbeddingsPageRequest.ts b/src/serialization/client/requests/EmbeddingsPageRequest.ts new file mode 100644 index 0000000..8cfb559 --- /dev/null +++ b/src/serialization/client/requests/EmbeddingsPageRequest.ts @@ -0,0 +1,31 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { EmbeddingsPageRequestSelectedModel } from "../../types/EmbeddingsPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const EmbeddingsPageRequest: core.serialization.Schema< + serializers.EmbeddingsPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + texts: core.serialization.list(core.serialization.string()), + selectedModel: core.serialization.property("selected_model", EmbeddingsPageRequestSelectedModel.optional()), + settings: RunSettings.optional(), +}); + +export declare namespace EmbeddingsPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + texts: string[]; + selected_model?: EmbeddingsPageRequestSelectedModel.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/FaceInpaintingPageRequest.ts b/src/serialization/client/requests/FaceInpaintingPageRequest.ts new file mode 100644 index 0000000..4f73aca --- /dev/null +++ b/src/serialization/client/requests/FaceInpaintingPageRequest.ts @@ -0,0 +1,55 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { FaceInpaintingPageRequestSelectedModel } from "../../types/FaceInpaintingPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const FaceInpaintingPageRequest: core.serialization.Schema< + serializers.FaceInpaintingPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputImage: core.serialization.property("input_image", core.serialization.string()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + faceScale: core.serialization.property("face_scale", core.serialization.number().optional()), + facePosX: core.serialization.property("face_pos_x", core.serialization.number().optional()), + facePosY: core.serialization.property("face_pos_y", core.serialization.number().optional()), + selectedModel: core.serialization.property("selected_model", FaceInpaintingPageRequestSelectedModel.optional()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + upscaleFactor: core.serialization.property("upscale_factor", core.serialization.number().optional()), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + seed: core.serialization.number().optional(), + settings: RunSettings.optional(), +}); + +export declare namespace FaceInpaintingPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_image: string; + text_prompt: string; + face_scale?: number | null; + face_pos_x?: number | null; + face_pos_y?: number | null; + selected_model?: FaceInpaintingPageRequestSelectedModel.Raw | null; + negative_prompt?: string | null; + num_outputs?: number | null; + quality?: number | null; + upscale_factor?: number | null; + output_width?: number | null; + output_height?: number | null; + guidance_scale?: number | null; + seed?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/GoogleGptPageRequest.ts b/src/serialization/client/requests/GoogleGptPageRequest.ts new file mode 100644 index 0000000..464fa98 --- /dev/null +++ b/src/serialization/client/requests/GoogleGptPageRequest.ts @@ -0,0 +1,79 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { GoogleGptPageRequestSelectedModel } from "../../types/GoogleGptPageRequestSelectedModel"; +import { GoogleGptPageRequestEmbeddingModel } from "../../types/GoogleGptPageRequestEmbeddingModel"; +import { GoogleGptPageRequestResponseFormatType } from "../../types/GoogleGptPageRequestResponseFormatType"; +import { SerpSearchLocation } from "../../types/SerpSearchLocation"; +import { SerpSearchType } from "../../types/SerpSearchType"; +import { RunSettings } from "../../types/RunSettings"; + +export const GoogleGptPageRequest: core.serialization.Schema< + serializers.GoogleGptPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + searchQuery: core.serialization.property("search_query", core.serialization.string()), + siteFilter: core.serialization.property("site_filter", core.serialization.string()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", GoogleGptPageRequestSelectedModel.optional()), + maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), + maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), + maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), + scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), + embeddingModel: core.serialization.property("embedding_model", GoogleGptPageRequestEmbeddingModel.optional()), + denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + GoogleGptPageRequestResponseFormatType.optional() + ), + serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), + scaleserpLocations: core.serialization.property( + "scaleserp_locations", + core.serialization.list(core.serialization.string()).optional() + ), + serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), + scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace GoogleGptPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + search_query: string; + site_filter: string; + task_instructions?: string | null; + query_instructions?: string | null; + selected_model?: GoogleGptPageRequestSelectedModel.Raw | null; + max_search_urls?: number | null; + max_references?: number | null; + max_context_words?: number | null; + scroll_jump?: number | null; + embedding_model?: GoogleGptPageRequestEmbeddingModel.Raw | null; + dense_weight?: number | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: GoogleGptPageRequestResponseFormatType.Raw | null; + serp_search_location?: SerpSearchLocation.Raw | null; + scaleserp_locations?: string[] | null; + serp_search_type?: SerpSearchType.Raw | null; + scaleserp_search_field?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/GoogleImageGenPageRequest.ts b/src/serialization/client/requests/GoogleImageGenPageRequest.ts new file mode 100644 index 0000000..aad2f69 --- /dev/null +++ b/src/serialization/client/requests/GoogleImageGenPageRequest.ts @@ -0,0 +1,57 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { SerpSearchLocation } from "../../types/SerpSearchLocation"; +import { GoogleImageGenPageRequestSelectedModel } from "../../types/GoogleImageGenPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const GoogleImageGenPageRequest: core.serialization.Schema< + serializers.GoogleImageGenPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), + scaleserpLocations: core.serialization.property( + "scaleserp_locations", + core.serialization.list(core.serialization.string()).optional() + ), + searchQuery: core.serialization.property("search_query", core.serialization.string()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + selectedModel: core.serialization.property("selected_model", GoogleImageGenPageRequestSelectedModel.optional()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + promptStrength: core.serialization.property("prompt_strength", core.serialization.number().optional()), + sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), + seed: core.serialization.number().optional(), + imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace GoogleImageGenPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + serp_search_location?: SerpSearchLocation.Raw | null; + scaleserp_locations?: string[] | null; + search_query: string; + text_prompt: string; + selected_model?: GoogleImageGenPageRequestSelectedModel.Raw | null; + negative_prompt?: string | null; + num_outputs?: number | null; + quality?: number | null; + guidance_scale?: number | null; + prompt_strength?: number | null; + sd_2_upscaling?: boolean | null; + seed?: number | null; + image_guidance_scale?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/ImageSegmentationPageRequest.ts b/src/serialization/client/requests/ImageSegmentationPageRequest.ts new file mode 100644 index 0000000..0c0dd9a --- /dev/null +++ b/src/serialization/client/requests/ImageSegmentationPageRequest.ts @@ -0,0 +1,46 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { ImageSegmentationPageRequestSelectedModel } from "../../types/ImageSegmentationPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const ImageSegmentationPageRequest: core.serialization.Schema< + serializers.ImageSegmentationPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputImage: core.serialization.property("input_image", core.serialization.string()), + selectedModel: core.serialization.property("selected_model", ImageSegmentationPageRequestSelectedModel.optional()), + maskThreshold: core.serialization.property("mask_threshold", core.serialization.number().optional()), + rectPersepectiveTransform: core.serialization.property( + "rect_persepective_transform", + core.serialization.boolean().optional() + ), + reflectionOpacity: core.serialization.property("reflection_opacity", core.serialization.number().optional()), + objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), + objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), + objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace ImageSegmentationPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_image: string; + selected_model?: ImageSegmentationPageRequestSelectedModel.Raw | null; + mask_threshold?: number | null; + rect_persepective_transform?: boolean | null; + reflection_opacity?: number | null; + obj_scale?: number | null; + obj_pos_x?: number | null; + obj_pos_y?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/Img2ImgPageRequest.ts b/src/serialization/client/requests/Img2ImgPageRequest.ts new file mode 100644 index 0000000..615030c --- /dev/null +++ b/src/serialization/client/requests/Img2ImgPageRequest.ts @@ -0,0 +1,62 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { Img2ImgPageRequestSelectedModel } from "../../types/Img2ImgPageRequestSelectedModel"; +import { Img2ImgPageRequestSelectedControlnetModel } from "../../types/Img2ImgPageRequestSelectedControlnetModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const Img2ImgPageRequest: core.serialization.Schema< + serializers.Img2ImgPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputImage: core.serialization.property("input_image", core.serialization.string()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", Img2ImgPageRequestSelectedModel.optional()), + selectedControlnetModel: core.serialization.property( + "selected_controlnet_model", + Img2ImgPageRequestSelectedControlnetModel.optional() + ), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + promptStrength: core.serialization.property("prompt_strength", core.serialization.number().optional()), + controlnetConditioningScale: core.serialization.property( + "controlnet_conditioning_scale", + core.serialization.list(core.serialization.number()).optional() + ), + seed: core.serialization.number().optional(), + imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace Img2ImgPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_image: string; + text_prompt?: string | null; + selected_model?: Img2ImgPageRequestSelectedModel.Raw | null; + selected_controlnet_model?: Img2ImgPageRequestSelectedControlnetModel.Raw | null; + negative_prompt?: string | null; + num_outputs?: number | null; + quality?: number | null; + output_width?: number | null; + output_height?: number | null; + guidance_scale?: number | null; + prompt_strength?: number | null; + controlnet_conditioning_scale?: number[] | null; + seed?: number | null; + image_guidance_scale?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/LipsyncTtsPageRequest.ts b/src/serialization/client/requests/LipsyncTtsPageRequest.ts new file mode 100644 index 0000000..a39a477 --- /dev/null +++ b/src/serialization/client/requests/LipsyncTtsPageRequest.ts @@ -0,0 +1,89 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { LipsyncTtsPageRequestTtsProvider } from "../../types/LipsyncTtsPageRequestTtsProvider"; +import { LipsyncTtsPageRequestOpenaiVoiceName } from "../../types/LipsyncTtsPageRequestOpenaiVoiceName"; +import { LipsyncTtsPageRequestOpenaiTtsModel } from "../../types/LipsyncTtsPageRequestOpenaiTtsModel"; +import { SadTalkerSettings } from "../../types/SadTalkerSettings"; +import { LipsyncTtsPageRequestSelectedModel } from "../../types/LipsyncTtsPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const LipsyncTtsPageRequest: core.serialization.Schema< + serializers.LipsyncTtsPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + ttsProvider: core.serialization.property("tts_provider", LipsyncTtsPageRequestTtsProvider.optional()), + uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), + uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), + googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), + googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), + googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), + barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), + elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), + elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), + elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), + elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), + elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), + elevenlabsSimilarityBoost: core.serialization.property( + "elevenlabs_similarity_boost", + core.serialization.number().optional() + ), + elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), + elevenlabsSpeakerBoost: core.serialization.property( + "elevenlabs_speaker_boost", + core.serialization.boolean().optional() + ), + azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), + openaiVoiceName: core.serialization.property("openai_voice_name", LipsyncTtsPageRequestOpenaiVoiceName.optional()), + openaiTtsModel: core.serialization.property("openai_tts_model", LipsyncTtsPageRequestOpenaiTtsModel.optional()), + inputFace: core.serialization.property("input_face", core.serialization.string().optional()), + facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), + facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), + facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), + facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), + sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), + selectedModel: core.serialization.property("selected_model", LipsyncTtsPageRequestSelectedModel.optional()), + settings: RunSettings.optional(), +}); + +export declare namespace LipsyncTtsPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + text_prompt: string; + tts_provider?: LipsyncTtsPageRequestTtsProvider.Raw | null; + uberduck_voice_name?: string | null; + uberduck_speaking_rate?: number | null; + google_voice_name?: string | null; + google_speaking_rate?: number | null; + google_pitch?: number | null; + bark_history_prompt?: string | null; + elevenlabs_voice_name?: string | null; + elevenlabs_api_key?: string | null; + elevenlabs_voice_id?: string | null; + elevenlabs_model?: string | null; + elevenlabs_stability?: number | null; + elevenlabs_similarity_boost?: number | null; + elevenlabs_style?: number | null; + elevenlabs_speaker_boost?: boolean | null; + azure_voice_name?: string | null; + openai_voice_name?: LipsyncTtsPageRequestOpenaiVoiceName.Raw | null; + openai_tts_model?: LipsyncTtsPageRequestOpenaiTtsModel.Raw | null; + input_face?: string | null; + face_padding_top?: number | null; + face_padding_bottom?: number | null; + face_padding_left?: number | null; + face_padding_right?: number | null; + sadtalker_settings?: SadTalkerSettings.Raw | null; + selected_model?: LipsyncTtsPageRequestSelectedModel.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/ObjectInpaintingPageRequest.ts b/src/serialization/client/requests/ObjectInpaintingPageRequest.ts new file mode 100644 index 0000000..2050888 --- /dev/null +++ b/src/serialization/client/requests/ObjectInpaintingPageRequest.ts @@ -0,0 +1,57 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { ObjectInpaintingPageRequestSelectedModel } from "../../types/ObjectInpaintingPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const ObjectInpaintingPageRequest: core.serialization.Schema< + serializers.ObjectInpaintingPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputImage: core.serialization.property("input_image", core.serialization.string()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), + objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), + objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), + maskThreshold: core.serialization.property("mask_threshold", core.serialization.number().optional()), + selectedModel: core.serialization.property("selected_model", ObjectInpaintingPageRequestSelectedModel.optional()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), + seed: core.serialization.number().optional(), + settings: RunSettings.optional(), +}); + +export declare namespace ObjectInpaintingPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_image: string; + text_prompt: string; + obj_scale?: number | null; + obj_pos_x?: number | null; + obj_pos_y?: number | null; + mask_threshold?: number | null; + selected_model?: ObjectInpaintingPageRequestSelectedModel.Raw | null; + negative_prompt?: string | null; + num_outputs?: number | null; + quality?: number | null; + output_width?: number | null; + output_height?: number | null; + guidance_scale?: number | null; + sd_2_upscaling?: boolean | null; + seed?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/QrCodeGeneratorPageRequest.ts b/src/serialization/client/requests/QrCodeGeneratorPageRequest.ts new file mode 100644 index 0000000..293cffc --- /dev/null +++ b/src/serialization/client/requests/QrCodeGeneratorPageRequest.ts @@ -0,0 +1,92 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { Vcard } from "../../types/Vcard"; +import { QrCodeGeneratorPageRequestImagePromptControlnetModelsItem } from "../../types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; +import { QrCodeGeneratorPageRequestSelectedModel } from "../../types/QrCodeGeneratorPageRequestSelectedModel"; +import { QrCodeGeneratorPageRequestSelectedControlnetModelItem } from "../../types/QrCodeGeneratorPageRequestSelectedControlnetModelItem"; +import { QrCodeGeneratorPageRequestScheduler } from "../../types/QrCodeGeneratorPageRequestScheduler"; +import { RunSettings } from "../../types/RunSettings"; + +export const QrCodeGeneratorPageRequest: core.serialization.Schema< + serializers.QrCodeGeneratorPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + qrCodeData: core.serialization.property("qr_code_data", core.serialization.string().optional()), + qrCodeInputImage: core.serialization.property("qr_code_input_image", core.serialization.string().optional()), + qrCodeVcard: core.serialization.property("qr_code_vcard", Vcard.optional()), + qrCodeFile: core.serialization.property("qr_code_file", core.serialization.string().optional()), + useUrlShortener: core.serialization.property("use_url_shortener", core.serialization.boolean().optional()), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + imagePrompt: core.serialization.property("image_prompt", core.serialization.string().optional()), + imagePromptControlnetModels: core.serialization.property( + "image_prompt_controlnet_models", + core.serialization.list(QrCodeGeneratorPageRequestImagePromptControlnetModelsItem).optional() + ), + imagePromptStrength: core.serialization.property("image_prompt_strength", core.serialization.number().optional()), + imagePromptScale: core.serialization.property("image_prompt_scale", core.serialization.number().optional()), + imagePromptPosX: core.serialization.property("image_prompt_pos_x", core.serialization.number().optional()), + imagePromptPosY: core.serialization.property("image_prompt_pos_y", core.serialization.number().optional()), + selectedModel: core.serialization.property("selected_model", QrCodeGeneratorPageRequestSelectedModel.optional()), + selectedControlnetModel: core.serialization.property( + "selected_controlnet_model", + core.serialization.list(QrCodeGeneratorPageRequestSelectedControlnetModelItem).optional() + ), + outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), + outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + controlnetConditioningScale: core.serialization.property( + "controlnet_conditioning_scale", + core.serialization.list(core.serialization.number()).optional() + ), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + scheduler: QrCodeGeneratorPageRequestScheduler.optional(), + seed: core.serialization.number().optional(), + objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), + objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), + objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace QrCodeGeneratorPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + qr_code_data?: string | null; + qr_code_input_image?: string | null; + qr_code_vcard?: Vcard.Raw | null; + qr_code_file?: string | null; + use_url_shortener?: boolean | null; + text_prompt: string; + negative_prompt?: string | null; + image_prompt?: string | null; + image_prompt_controlnet_models?: QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.Raw[] | null; + image_prompt_strength?: number | null; + image_prompt_scale?: number | null; + image_prompt_pos_x?: number | null; + image_prompt_pos_y?: number | null; + selected_model?: QrCodeGeneratorPageRequestSelectedModel.Raw | null; + selected_controlnet_model?: QrCodeGeneratorPageRequestSelectedControlnetModelItem.Raw[] | null; + output_width?: number | null; + output_height?: number | null; + guidance_scale?: number | null; + controlnet_conditioning_scale?: number[] | null; + num_outputs?: number | null; + quality?: number | null; + scheduler?: QrCodeGeneratorPageRequestScheduler.Raw | null; + seed?: number | null; + obj_scale?: number | null; + obj_pos_x?: number | null; + obj_pos_y?: number | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/RelatedQnADocPageRequest.ts b/src/serialization/client/requests/RelatedQnADocPageRequest.ts new file mode 100644 index 0000000..7432e9d --- /dev/null +++ b/src/serialization/client/requests/RelatedQnADocPageRequest.ts @@ -0,0 +1,85 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { RelatedQnADocPageRequestKeywordQuery } from "../../types/RelatedQnADocPageRequestKeywordQuery"; +import { RelatedQnADocPageRequestEmbeddingModel } from "../../types/RelatedQnADocPageRequestEmbeddingModel"; +import { RelatedQnADocPageRequestSelectedModel } from "../../types/RelatedQnADocPageRequestSelectedModel"; +import { RelatedQnADocPageRequestCitationStyle } from "../../types/RelatedQnADocPageRequestCitationStyle"; +import { RelatedQnADocPageRequestResponseFormatType } from "../../types/RelatedQnADocPageRequestResponseFormatType"; +import { SerpSearchLocation } from "../../types/SerpSearchLocation"; +import { SerpSearchType } from "../../types/SerpSearchType"; +import { RunSettings } from "../../types/RunSettings"; + +export const RelatedQnADocPageRequest: core.serialization.Schema< + serializers.RelatedQnADocPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + searchQuery: core.serialization.property("search_query", core.serialization.string()), + keywordQuery: core.serialization.property("keyword_query", RelatedQnADocPageRequestKeywordQuery.optional()), + documents: core.serialization.list(core.serialization.string()).optional(), + maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), + maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), + scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), + docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), + embeddingModel: core.serialization.property("embedding_model", RelatedQnADocPageRequestEmbeddingModel.optional()), + denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", RelatedQnADocPageRequestSelectedModel.optional()), + citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + RelatedQnADocPageRequestResponseFormatType.optional() + ), + serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), + scaleserpLocations: core.serialization.property( + "scaleserp_locations", + core.serialization.list(core.serialization.string()).optional() + ), + serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), + scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace RelatedQnADocPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + search_query: string; + keyword_query?: RelatedQnADocPageRequestKeywordQuery.Raw | null; + documents?: string[] | null; + max_references?: number | null; + max_context_words?: number | null; + scroll_jump?: number | null; + doc_extract_url?: string | null; + embedding_model?: RelatedQnADocPageRequestEmbeddingModel.Raw | null; + dense_weight?: number | null; + task_instructions?: string | null; + query_instructions?: string | null; + selected_model?: RelatedQnADocPageRequestSelectedModel.Raw | null; + citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: RelatedQnADocPageRequestResponseFormatType.Raw | null; + serp_search_location?: SerpSearchLocation.Raw | null; + scaleserp_locations?: string[] | null; + serp_search_type?: SerpSearchType.Raw | null; + scaleserp_search_field?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/RelatedQnAPageRequest.ts b/src/serialization/client/requests/RelatedQnAPageRequest.ts new file mode 100644 index 0000000..9e9453a --- /dev/null +++ b/src/serialization/client/requests/RelatedQnAPageRequest.ts @@ -0,0 +1,79 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { RelatedQnAPageRequestSelectedModel } from "../../types/RelatedQnAPageRequestSelectedModel"; +import { RelatedQnAPageRequestEmbeddingModel } from "../../types/RelatedQnAPageRequestEmbeddingModel"; +import { RelatedQnAPageRequestResponseFormatType } from "../../types/RelatedQnAPageRequestResponseFormatType"; +import { SerpSearchLocation } from "../../types/SerpSearchLocation"; +import { SerpSearchType } from "../../types/SerpSearchType"; +import { RunSettings } from "../../types/RunSettings"; + +export const RelatedQnAPageRequest: core.serialization.Schema< + serializers.RelatedQnAPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + searchQuery: core.serialization.property("search_query", core.serialization.string()), + siteFilter: core.serialization.property("site_filter", core.serialization.string()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", RelatedQnAPageRequestSelectedModel.optional()), + maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), + maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), + maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), + scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), + embeddingModel: core.serialization.property("embedding_model", RelatedQnAPageRequestEmbeddingModel.optional()), + denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + RelatedQnAPageRequestResponseFormatType.optional() + ), + serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), + scaleserpLocations: core.serialization.property( + "scaleserp_locations", + core.serialization.list(core.serialization.string()).optional() + ), + serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), + scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace RelatedQnAPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + search_query: string; + site_filter: string; + task_instructions?: string | null; + query_instructions?: string | null; + selected_model?: RelatedQnAPageRequestSelectedModel.Raw | null; + max_search_urls?: number | null; + max_references?: number | null; + max_context_words?: number | null; + scroll_jump?: number | null; + embedding_model?: RelatedQnAPageRequestEmbeddingModel.Raw | null; + dense_weight?: number | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: RelatedQnAPageRequestResponseFormatType.Raw | null; + serp_search_location?: SerpSearchLocation.Raw | null; + scaleserp_locations?: string[] | null; + serp_search_type?: SerpSearchType.Raw | null; + scaleserp_search_field?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/SeoSummaryPageRequest.ts b/src/serialization/client/requests/SeoSummaryPageRequest.ts new file mode 100644 index 0000000..da638b7 --- /dev/null +++ b/src/serialization/client/requests/SeoSummaryPageRequest.ts @@ -0,0 +1,71 @@ +/** + * 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 { SeoSummaryPageRequestSelectedModel } from "../../types/SeoSummaryPageRequestSelectedModel"; +import { SeoSummaryPageRequestResponseFormatType } from "../../types/SeoSummaryPageRequestResponseFormatType"; +import { SerpSearchLocation } from "../../types/SerpSearchLocation"; +import { SerpSearchType } from "../../types/SerpSearchType"; +import { RunSettings } from "../../types/RunSettings"; + +export const SeoSummaryPageRequest: core.serialization.Schema< + serializers.SeoSummaryPageRequest.Raw, + Omit +> = core.serialization.object({ + searchQuery: core.serialization.property("search_query", core.serialization.string()), + keywords: core.serialization.string(), + title: core.serialization.string(), + companyUrl: core.serialization.property("company_url", core.serialization.string()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + enableHtml: core.serialization.property("enable_html", core.serialization.boolean().optional()), + selectedModel: core.serialization.property("selected_model", SeoSummaryPageRequestSelectedModel.optional()), + maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), + enableCrosslinks: core.serialization.property("enable_crosslinks", core.serialization.boolean().optional()), + seed: core.serialization.number().optional(), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + SeoSummaryPageRequestResponseFormatType.optional() + ), + serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), + scaleserpLocations: core.serialization.property( + "scaleserp_locations", + core.serialization.list(core.serialization.string()).optional() + ), + serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), + scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace SeoSummaryPageRequest { + interface Raw { + search_query: string; + keywords: string; + title: string; + company_url: string; + task_instructions?: string | null; + enable_html?: boolean | null; + selected_model?: SeoSummaryPageRequestSelectedModel.Raw | null; + max_search_urls?: number | null; + enable_crosslinks?: boolean | null; + seed?: number | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: SeoSummaryPageRequestResponseFormatType.Raw | null; + serp_search_location?: SerpSearchLocation.Raw | null; + scaleserp_locations?: string[] | null; + serp_search_type?: SerpSearchType.Raw | null; + scaleserp_search_field?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/SocialLookupEmailPageRequest.ts b/src/serialization/client/requests/SocialLookupEmailPageRequest.ts new file mode 100644 index 0000000..5e3850f --- /dev/null +++ b/src/serialization/client/requests/SocialLookupEmailPageRequest.ts @@ -0,0 +1,49 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { SocialLookupEmailPageRequestSelectedModel } from "../../types/SocialLookupEmailPageRequestSelectedModel"; +import { SocialLookupEmailPageRequestResponseFormatType } from "../../types/SocialLookupEmailPageRequestResponseFormatType"; +import { RunSettings } from "../../types/RunSettings"; + +export const SocialLookupEmailPageRequest: core.serialization.Schema< + serializers.SocialLookupEmailPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + emailAddress: core.serialization.property("email_address", core.serialization.string()), + inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", SocialLookupEmailPageRequestSelectedModel.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + SocialLookupEmailPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace SocialLookupEmailPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + email_address: string; + input_prompt?: string | null; + selected_model?: SocialLookupEmailPageRequestSelectedModel.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: SocialLookupEmailPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/Text2AudioPageRequest.ts b/src/serialization/client/requests/Text2AudioPageRequest.ts new file mode 100644 index 0000000..119e3de --- /dev/null +++ b/src/serialization/client/requests/Text2AudioPageRequest.ts @@ -0,0 +1,47 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { RunSettings } from "../../types/RunSettings"; + +export const Text2AudioPageRequest: core.serialization.Schema< + serializers.Text2AudioPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), + durationSec: core.serialization.property("duration_sec", core.serialization.number().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), + seed: core.serialization.number().optional(), + sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), + selectedModels: core.serialization.property( + "selected_models", + core.serialization.list(core.serialization.stringLiteral("audio_ldm")).optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace Text2AudioPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + text_prompt: string; + negative_prompt?: string | null; + duration_sec?: number | null; + num_outputs?: number | null; + quality?: number | null; + guidance_scale?: number | null; + seed?: number | null; + sd_2_upscaling?: boolean | null; + selected_models?: "audio_ldm"[] | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/TextToSpeechPageRequest.ts b/src/serialization/client/requests/TextToSpeechPageRequest.ts new file mode 100644 index 0000000..50f33ab --- /dev/null +++ b/src/serialization/client/requests/TextToSpeechPageRequest.ts @@ -0,0 +1,76 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { TextToSpeechPageRequestTtsProvider } from "../../types/TextToSpeechPageRequestTtsProvider"; +import { TextToSpeechPageRequestOpenaiVoiceName } from "../../types/TextToSpeechPageRequestOpenaiVoiceName"; +import { TextToSpeechPageRequestOpenaiTtsModel } from "../../types/TextToSpeechPageRequestOpenaiTtsModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const TextToSpeechPageRequest: core.serialization.Schema< + serializers.TextToSpeechPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + textPrompt: core.serialization.property("text_prompt", core.serialization.string()), + ttsProvider: core.serialization.property("tts_provider", TextToSpeechPageRequestTtsProvider.optional()), + uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), + uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), + googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), + googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), + googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), + barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), + elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), + elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), + elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), + elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), + elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), + elevenlabsSimilarityBoost: core.serialization.property( + "elevenlabs_similarity_boost", + core.serialization.number().optional() + ), + elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), + elevenlabsSpeakerBoost: core.serialization.property( + "elevenlabs_speaker_boost", + core.serialization.boolean().optional() + ), + azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), + openaiVoiceName: core.serialization.property( + "openai_voice_name", + TextToSpeechPageRequestOpenaiVoiceName.optional() + ), + openaiTtsModel: core.serialization.property("openai_tts_model", TextToSpeechPageRequestOpenaiTtsModel.optional()), + settings: RunSettings.optional(), +}); + +export declare namespace TextToSpeechPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + text_prompt: string; + tts_provider?: TextToSpeechPageRequestTtsProvider.Raw | null; + uberduck_voice_name?: string | null; + uberduck_speaking_rate?: number | null; + google_voice_name?: string | null; + google_speaking_rate?: number | null; + google_pitch?: number | null; + bark_history_prompt?: string | null; + elevenlabs_voice_name?: string | null; + elevenlabs_api_key?: string | null; + elevenlabs_voice_id?: string | null; + elevenlabs_model?: string | null; + elevenlabs_stability?: number | null; + elevenlabs_similarity_boost?: number | null; + elevenlabs_style?: number | null; + elevenlabs_speaker_boost?: boolean | null; + azure_voice_name?: string | null; + openai_voice_name?: TextToSpeechPageRequestOpenaiVoiceName.Raw | null; + openai_tts_model?: TextToSpeechPageRequestOpenaiTtsModel.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/TranslationPageRequest.ts b/src/serialization/client/requests/TranslationPageRequest.ts new file mode 100644 index 0000000..0868b0e --- /dev/null +++ b/src/serialization/client/requests/TranslationPageRequest.ts @@ -0,0 +1,37 @@ +/** + * 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 { RecipeFunction } from "../../types/RecipeFunction"; +import { TranslationPageRequestSelectedModel } from "../../types/TranslationPageRequestSelectedModel"; +import { RunSettings } from "../../types/RunSettings"; + +export const TranslationPageRequest: core.serialization.Schema< + serializers.TranslationPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + texts: core.serialization.list(core.serialization.string()).optional(), + selectedModel: core.serialization.property("selected_model", TranslationPageRequestSelectedModel.optional()), + translationSource: core.serialization.property("translation_source", core.serialization.string().optional()), + translationTarget: core.serialization.property("translation_target", core.serialization.string().optional()), + glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace TranslationPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + texts?: string[] | null; + selected_model?: TranslationPageRequestSelectedModel.Raw | null; + translation_source?: string | null; + translation_target?: string | null; + glossary_document?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/client/requests/index.ts b/src/serialization/client/requests/index.ts new file mode 100644 index 0000000..4ffba2c --- /dev/null +++ b/src/serialization/client/requests/index.ts @@ -0,0 +1,26 @@ +export { DeforumSdPageRequest } from "./DeforumSdPageRequest"; +export { QrCodeGeneratorPageRequest } from "./QrCodeGeneratorPageRequest"; +export { RelatedQnAPageRequest } from "./RelatedQnAPageRequest"; +export { SeoSummaryPageRequest } from "./SeoSummaryPageRequest"; +export { GoogleGptPageRequest } from "./GoogleGptPageRequest"; +export { SocialLookupEmailPageRequest } from "./SocialLookupEmailPageRequest"; +export { BulkRunnerPageRequest } from "./BulkRunnerPageRequest"; +export { DocExtractPageRequest } from "./DocExtractPageRequest"; +export { CompareLlmPageRequest } from "./CompareLlmPageRequest"; +export { DocSearchPageRequest } from "./DocSearchPageRequest"; +export { DocSummaryPageRequest } from "./DocSummaryPageRequest"; +export { LipsyncTtsPageRequest } from "./LipsyncTtsPageRequest"; +export { TextToSpeechPageRequest } from "./TextToSpeechPageRequest"; +export { AsrPageRequest } from "./AsrPageRequest"; +export { Text2AudioPageRequest } from "./Text2AudioPageRequest"; +export { TranslationPageRequest } from "./TranslationPageRequest"; +export { Img2ImgPageRequest } from "./Img2ImgPageRequest"; +export { CompareText2ImgPageRequest } from "./CompareText2ImgPageRequest"; +export { ObjectInpaintingPageRequest } from "./ObjectInpaintingPageRequest"; +export { FaceInpaintingPageRequest } from "./FaceInpaintingPageRequest"; +export { EmailFaceInpaintingPageRequest } from "./EmailFaceInpaintingPageRequest"; +export { GoogleImageGenPageRequest } from "./GoogleImageGenPageRequest"; +export { ImageSegmentationPageRequest } from "./ImageSegmentationPageRequest"; +export { CompareUpscalerPageRequest } from "./CompareUpscalerPageRequest"; +export { EmbeddingsPageRequest } from "./EmbeddingsPageRequest"; +export { RelatedQnADocPageRequest } from "./RelatedQnADocPageRequest"; diff --git a/src/serialization/index.ts b/src/serialization/index.ts index 3e15e29..d3c5080 100644 --- a/src/serialization/index.ts +++ b/src/serialization/index.ts @@ -1,2 +1,3 @@ export * from "./resources"; export * from "./types"; +export * from "./client"; diff --git a/src/serialization/resources/copilotForYourEnterprise/client/index.ts b/src/serialization/resources/copilotForYourEnterprise/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts b/src/serialization/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts new file mode 100644 index 0000000..55a4087 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts @@ -0,0 +1,176 @@ +/** + * 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 { RecipeFunction } from "../../../../types/RecipeFunction"; +import { ConversationEntry } from "../../../../types/ConversationEntry"; +import { VideoBotsPageRequestSelectedModel } from "../../types/VideoBotsPageRequestSelectedModel"; +import { VideoBotsPageRequestEmbeddingModel } from "../../types/VideoBotsPageRequestEmbeddingModel"; +import { VideoBotsPageRequestCitationStyle } from "../../types/VideoBotsPageRequestCitationStyle"; +import { VideoBotsPageRequestAsrModel } from "../../types/VideoBotsPageRequestAsrModel"; +import { VideoBotsPageRequestTranslationModel } from "../../types/VideoBotsPageRequestTranslationModel"; +import { VideoBotsPageRequestLipsyncModel } from "../../types/VideoBotsPageRequestLipsyncModel"; +import { LlmTools } from "../../../../types/LlmTools"; +import { VideoBotsPageRequestResponseFormatType } from "../../types/VideoBotsPageRequestResponseFormatType"; +import { VideoBotsPageRequestTtsProvider } from "../../types/VideoBotsPageRequestTtsProvider"; +import { VideoBotsPageRequestOpenaiVoiceName } from "../../types/VideoBotsPageRequestOpenaiVoiceName"; +import { VideoBotsPageRequestOpenaiTtsModel } from "../../types/VideoBotsPageRequestOpenaiTtsModel"; +import { SadTalkerSettings } from "../../../../types/SadTalkerSettings"; +import { RunSettings } from "../../../../types/RunSettings"; + +export const VideoBotsPageRequest: core.serialization.Schema< + serializers.VideoBotsPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), + inputAudio: core.serialization.property("input_audio", core.serialization.string().optional()), + inputImages: core.serialization.property( + "input_images", + core.serialization.list(core.serialization.string()).optional() + ), + inputDocuments: core.serialization.property( + "input_documents", + core.serialization.list(core.serialization.string()).optional() + ), + docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), + messages: core.serialization.list(ConversationEntry).optional(), + botScript: core.serialization.property("bot_script", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", VideoBotsPageRequestSelectedModel.optional()), + documentModel: core.serialization.property("document_model", core.serialization.string().optional()), + taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), + queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), + keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()), + documents: core.serialization.list(core.serialization.string()).optional(), + maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), + maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), + scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), + embeddingModel: core.serialization.property("embedding_model", VideoBotsPageRequestEmbeddingModel.optional()), + denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), + citationStyle: core.serialization.property("citation_style", VideoBotsPageRequestCitationStyle.optional()), + useUrlShortener: core.serialization.property("use_url_shortener", core.serialization.boolean().optional()), + asrModel: core.serialization.property("asr_model", VideoBotsPageRequestAsrModel.optional()), + asrLanguage: core.serialization.property("asr_language", core.serialization.string().optional()), + translationModel: core.serialization.property("translation_model", VideoBotsPageRequestTranslationModel.optional()), + userLanguage: core.serialization.property("user_language", core.serialization.string().optional()), + inputGlossaryDocument: core.serialization.property( + "input_glossary_document", + core.serialization.string().optional() + ), + outputGlossaryDocument: core.serialization.property( + "output_glossary_document", + core.serialization.string().optional() + ), + lipsyncModel: core.serialization.property("lipsync_model", VideoBotsPageRequestLipsyncModel.optional()), + tools: core.serialization.list(LlmTools).optional(), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + VideoBotsPageRequestResponseFormatType.optional() + ), + ttsProvider: core.serialization.property("tts_provider", VideoBotsPageRequestTtsProvider.optional()), + uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), + uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), + googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), + googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), + googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), + barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), + elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), + elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), + elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), + elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), + elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), + elevenlabsSimilarityBoost: core.serialization.property( + "elevenlabs_similarity_boost", + core.serialization.number().optional() + ), + elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), + elevenlabsSpeakerBoost: core.serialization.property( + "elevenlabs_speaker_boost", + core.serialization.boolean().optional() + ), + azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), + openaiVoiceName: core.serialization.property("openai_voice_name", VideoBotsPageRequestOpenaiVoiceName.optional()), + openaiTtsModel: core.serialization.property("openai_tts_model", VideoBotsPageRequestOpenaiTtsModel.optional()), + inputFace: core.serialization.property("input_face", core.serialization.string().optional()), + facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), + facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), + facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), + facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), + sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), + settings: RunSettings.optional(), +}); + +export declare namespace VideoBotsPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_prompt?: string | null; + input_audio?: string | null; + input_images?: string[] | null; + input_documents?: string[] | null; + doc_extract_url?: string | null; + messages?: ConversationEntry.Raw[] | null; + bot_script?: string | null; + selected_model?: VideoBotsPageRequestSelectedModel.Raw | null; + document_model?: string | null; + task_instructions?: string | null; + query_instructions?: string | null; + keyword_instructions?: string | null; + documents?: string[] | null; + max_references?: number | null; + max_context_words?: number | null; + scroll_jump?: number | null; + embedding_model?: VideoBotsPageRequestEmbeddingModel.Raw | null; + dense_weight?: number | null; + citation_style?: VideoBotsPageRequestCitationStyle.Raw | null; + use_url_shortener?: boolean | null; + asr_model?: VideoBotsPageRequestAsrModel.Raw | null; + asr_language?: string | null; + translation_model?: VideoBotsPageRequestTranslationModel.Raw | null; + user_language?: string | null; + input_glossary_document?: string | null; + output_glossary_document?: string | null; + lipsync_model?: VideoBotsPageRequestLipsyncModel.Raw | null; + tools?: LlmTools.Raw[] | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: VideoBotsPageRequestResponseFormatType.Raw | null; + tts_provider?: VideoBotsPageRequestTtsProvider.Raw | null; + uberduck_voice_name?: string | null; + uberduck_speaking_rate?: number | null; + google_voice_name?: string | null; + google_speaking_rate?: number | null; + google_pitch?: number | null; + bark_history_prompt?: string | null; + elevenlabs_voice_name?: string | null; + elevenlabs_api_key?: string | null; + elevenlabs_voice_id?: string | null; + elevenlabs_model?: string | null; + elevenlabs_stability?: number | null; + elevenlabs_similarity_boost?: number | null; + elevenlabs_style?: number | null; + elevenlabs_speaker_boost?: boolean | null; + azure_voice_name?: string | null; + openai_voice_name?: VideoBotsPageRequestOpenaiVoiceName.Raw | null; + openai_tts_model?: VideoBotsPageRequestOpenaiTtsModel.Raw | null; + input_face?: string | null; + face_padding_top?: number | null; + face_padding_bottom?: number | null; + face_padding_left?: number | null; + face_padding_right?: number | null; + sadtalker_settings?: SadTalkerSettings.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/resources/copilotForYourEnterprise/client/requests/index.ts b/src/serialization/resources/copilotForYourEnterprise/client/requests/index.ts new file mode 100644 index 0000000..7f23af3 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/client/requests/index.ts @@ -0,0 +1 @@ +export { VideoBotsPageRequest } from "./VideoBotsPageRequest"; diff --git a/src/serialization/resources/copilotForYourEnterprise/index.ts b/src/serialization/resources/copilotForYourEnterprise/index.ts new file mode 100644 index 0000000..c9240f8 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/index.ts @@ -0,0 +1,2 @@ +export * from "./types"; +export * from "./client"; diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts new file mode 100644 index 0000000..a86f6ce --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestAsrModel.ts @@ -0,0 +1,45 @@ +/** + * 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 VideoBotsPageRequestAsrModel: core.serialization.Schema< + serializers.VideoBotsPageRequestAsrModel.Raw, + Gooey.VideoBotsPageRequestAsrModel +> = 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 VideoBotsPageRequestAsrModel { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts new file mode 100644 index 0000000..f247422 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestCitationStyle.ts @@ -0,0 +1,49 @@ +/** + * 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 VideoBotsPageRequestCitationStyle: core.serialization.Schema< + serializers.VideoBotsPageRequestCitationStyle.Raw, + Gooey.VideoBotsPageRequestCitationStyle +> = 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 VideoBotsPageRequestCitationStyle { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..d839517 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestEmbeddingModel.ts @@ -0,0 +1,35 @@ +/** + * 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 VideoBotsPageRequestEmbeddingModel: core.serialization.Schema< + serializers.VideoBotsPageRequestEmbeddingModel.Raw, + Gooey.VideoBotsPageRequestEmbeddingModel +> = 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 VideoBotsPageRequestEmbeddingModel { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts new file mode 100644 index 0000000..b694d55 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestLipsyncModel.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestLipsyncModel: core.serialization.Schema< + serializers.VideoBotsPageRequestLipsyncModel.Raw, + Gooey.VideoBotsPageRequestLipsyncModel +> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); + +export declare namespace VideoBotsPageRequestLipsyncModel { + type Raw = "Wav2Lip" | "SadTalker"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..dd21bfb --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiTtsModel.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestOpenaiTtsModel: core.serialization.Schema< + serializers.VideoBotsPageRequestOpenaiTtsModel.Raw, + Gooey.VideoBotsPageRequestOpenaiTtsModel +> = core.serialization.enum_(["tts_1", "tts_1_hd"]); + +export declare namespace VideoBotsPageRequestOpenaiTtsModel { + type Raw = "tts_1" | "tts_1_hd"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..f40e7ae --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestOpenaiVoiceName.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestOpenaiVoiceName: core.serialization.Schema< + serializers.VideoBotsPageRequestOpenaiVoiceName.Raw, + Gooey.VideoBotsPageRequestOpenaiVoiceName +> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); + +export declare namespace VideoBotsPageRequestOpenaiVoiceName { + type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts new file mode 100644 index 0000000..b4dc9f9 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestResponseFormatType: core.serialization.Schema< + serializers.VideoBotsPageRequestResponseFormatType.Raw, + Gooey.VideoBotsPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace VideoBotsPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts new file mode 100644 index 0000000..4ecf05e --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 VideoBotsPageRequestSelectedModel: core.serialization.Schema< + serializers.VideoBotsPageRequestSelectedModel.Raw, + Gooey.VideoBotsPageRequestSelectedModel +> = 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 VideoBotsPageRequestSelectedModel { + 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/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts new file mode 100644 index 0000000..2961e65 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTranslationModel.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestTranslationModel: core.serialization.Schema< + serializers.VideoBotsPageRequestTranslationModel.Raw, + Gooey.VideoBotsPageRequestTranslationModel +> = core.serialization.enum_(["google", "ghana_nlp"]); + +export declare namespace VideoBotsPageRequestTranslationModel { + type Raw = "google" | "ghana_nlp"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts new file mode 100644 index 0000000..f487f86 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/VideoBotsPageRequestTtsProvider.ts @@ -0,0 +1,16 @@ +/** + * 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 VideoBotsPageRequestTtsProvider: core.serialization.Schema< + serializers.VideoBotsPageRequestTtsProvider.Raw, + Gooey.VideoBotsPageRequestTtsProvider +> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); + +export declare namespace VideoBotsPageRequestTtsProvider { + type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; +} diff --git a/src/serialization/resources/copilotForYourEnterprise/types/index.ts b/src/serialization/resources/copilotForYourEnterprise/types/index.ts new file mode 100644 index 0000000..5270588 --- /dev/null +++ b/src/serialization/resources/copilotForYourEnterprise/types/index.ts @@ -0,0 +1,10 @@ +export * from "./VideoBotsPageRequestSelectedModel"; +export * from "./VideoBotsPageRequestEmbeddingModel"; +export * from "./VideoBotsPageRequestCitationStyle"; +export * from "./VideoBotsPageRequestAsrModel"; +export * from "./VideoBotsPageRequestTranslationModel"; +export * from "./VideoBotsPageRequestLipsyncModel"; +export * from "./VideoBotsPageRequestResponseFormatType"; +export * from "./VideoBotsPageRequestTtsProvider"; +export * from "./VideoBotsPageRequestOpenaiVoiceName"; +export * from "./VideoBotsPageRequestOpenaiTtsModel"; diff --git a/src/serialization/resources/evaluator/client/index.ts b/src/serialization/resources/evaluator/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/resources/evaluator/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/resources/evaluator/client/requests/BulkEvalPageRequest.ts b/src/serialization/resources/evaluator/client/requests/BulkEvalPageRequest.ts new file mode 100644 index 0000000..7b7e2f6 --- /dev/null +++ b/src/serialization/resources/evaluator/client/requests/BulkEvalPageRequest.ts @@ -0,0 +1,53 @@ +/** + * 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 { RecipeFunction } from "../../../../types/RecipeFunction"; +import { EvalPrompt } from "../../../../types/EvalPrompt"; +import { AggFunction } from "../../../../types/AggFunction"; +import { BulkEvalPageRequestSelectedModel } from "../../types/BulkEvalPageRequestSelectedModel"; +import { BulkEvalPageRequestResponseFormatType } from "../../types/BulkEvalPageRequestResponseFormatType"; +import { RunSettings } from "../../../../types/RunSettings"; + +export const BulkEvalPageRequest: core.serialization.Schema< + serializers.BulkEvalPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + documents: core.serialization.list(core.serialization.string()), + evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()), + aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()), + selectedModel: core.serialization.property("selected_model", BulkEvalPageRequestSelectedModel.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + BulkEvalPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace BulkEvalPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + documents: string[]; + eval_prompts?: EvalPrompt.Raw[] | null; + agg_functions?: AggFunction.Raw[] | null; + selected_model?: BulkEvalPageRequestSelectedModel.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: BulkEvalPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/resources/evaluator/client/requests/index.ts b/src/serialization/resources/evaluator/client/requests/index.ts new file mode 100644 index 0000000..064970e --- /dev/null +++ b/src/serialization/resources/evaluator/client/requests/index.ts @@ -0,0 +1 @@ +export { BulkEvalPageRequest } from "./BulkEvalPageRequest"; diff --git a/src/serialization/resources/evaluator/index.ts b/src/serialization/resources/evaluator/index.ts new file mode 100644 index 0000000..c9240f8 --- /dev/null +++ b/src/serialization/resources/evaluator/index.ts @@ -0,0 +1,2 @@ +export * from "./types"; +export * from "./client"; diff --git a/src/serialization/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts b/src/serialization/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts new file mode 100644 index 0000000..30cbd47 --- /dev/null +++ b/src/serialization/resources/evaluator/types/BulkEvalPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 BulkEvalPageRequestResponseFormatType: core.serialization.Schema< + serializers.BulkEvalPageRequestResponseFormatType.Raw, + Gooey.BulkEvalPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace BulkEvalPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts b/src/serialization/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts new file mode 100644 index 0000000..62d97ee --- /dev/null +++ b/src/serialization/resources/evaluator/types/BulkEvalPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 BulkEvalPageRequestSelectedModel: core.serialization.Schema< + serializers.BulkEvalPageRequestSelectedModel.Raw, + Gooey.BulkEvalPageRequestSelectedModel +> = 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 BulkEvalPageRequestSelectedModel { + 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/resources/evaluator/types/index.ts b/src/serialization/resources/evaluator/types/index.ts new file mode 100644 index 0000000..ec26d74 --- /dev/null +++ b/src/serialization/resources/evaluator/types/index.ts @@ -0,0 +1,2 @@ +export * from "./BulkEvalPageRequestSelectedModel"; +export * from "./BulkEvalPageRequestResponseFormatType"; diff --git a/src/serialization/resources/functions/client/index.ts b/src/serialization/resources/functions/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/resources/functions/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/resources/functions/client/requests/FunctionsPageRequest.ts b/src/serialization/resources/functions/client/requests/FunctionsPageRequest.ts new file mode 100644 index 0000000..922029f --- /dev/null +++ b/src/serialization/resources/functions/client/requests/FunctionsPageRequest.ts @@ -0,0 +1,25 @@ +/** + * 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 { RunSettings } from "../../../../types/RunSettings"; + +export const FunctionsPageRequest: core.serialization.Schema< + serializers.FunctionsPageRequest.Raw, + Omit +> = core.serialization.object({ + code: core.serialization.string().optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + settings: RunSettings.optional(), +}); + +export declare namespace FunctionsPageRequest { + interface Raw { + code?: string | null; + variables?: Record | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/resources/functions/client/requests/index.ts b/src/serialization/resources/functions/client/requests/index.ts new file mode 100644 index 0000000..fe50ef3 --- /dev/null +++ b/src/serialization/resources/functions/client/requests/index.ts @@ -0,0 +1 @@ +export { FunctionsPageRequest } from "./FunctionsPageRequest"; diff --git a/src/serialization/resources/functions/index.ts b/src/serialization/resources/functions/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/serialization/resources/functions/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index bb324e6..ad4ceda 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,5 +1,19 @@ export * as copilotIntegrations from "./copilotIntegrations"; export * from "./copilotIntegrations/types"; +export * as copilotForYourEnterprise from "./copilotForYourEnterprise"; +export * from "./copilotForYourEnterprise/types"; +export * as evaluator from "./evaluator"; +export * from "./evaluator/types"; +export * as smartGpt from "./smartGpt"; +export * from "./smartGpt/types"; +export * as lipSyncing from "./lipSyncing"; +export * from "./lipSyncing/types"; export * from "./copilotIntegrations/client/requests"; +export * from "./copilotForYourEnterprise/client/requests"; +export * from "./evaluator/client/requests"; +export * from "./smartGpt/client/requests"; +export * as functions from "./functions"; +export * from "./functions/client/requests"; +export * from "./lipSyncing/client/requests"; export * as misc from "./misc"; export * from "./misc/client/requests"; diff --git a/src/serialization/resources/lipSyncing/client/index.ts b/src/serialization/resources/lipSyncing/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/resources/lipSyncing/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/resources/lipSyncing/client/requests/LipsyncPageRequest.ts b/src/serialization/resources/lipSyncing/client/requests/LipsyncPageRequest.ts new file mode 100644 index 0000000..e95bc8d --- /dev/null +++ b/src/serialization/resources/lipSyncing/client/requests/LipsyncPageRequest.ts @@ -0,0 +1,44 @@ +/** + * 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 { RecipeFunction } from "../../../../types/RecipeFunction"; +import { SadTalkerSettings } from "../../../../types/SadTalkerSettings"; +import { LipsyncPageRequestSelectedModel } from "../../types/LipsyncPageRequestSelectedModel"; +import { RunSettings } from "../../../../types/RunSettings"; + +export const LipsyncPageRequest: core.serialization.Schema< + serializers.LipsyncPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputFace: core.serialization.property("input_face", core.serialization.string().optional()), + facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), + facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), + facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), + facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), + sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), + selectedModel: core.serialization.property("selected_model", LipsyncPageRequestSelectedModel.optional()), + inputAudio: core.serialization.property("input_audio", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace LipsyncPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_face?: string | null; + face_padding_top?: number | null; + face_padding_bottom?: number | null; + face_padding_left?: number | null; + face_padding_right?: number | null; + sadtalker_settings?: SadTalkerSettings.Raw | null; + selected_model?: LipsyncPageRequestSelectedModel.Raw | null; + input_audio?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/resources/lipSyncing/client/requests/index.ts b/src/serialization/resources/lipSyncing/client/requests/index.ts new file mode 100644 index 0000000..3018053 --- /dev/null +++ b/src/serialization/resources/lipSyncing/client/requests/index.ts @@ -0,0 +1 @@ +export { LipsyncPageRequest } from "./LipsyncPageRequest"; diff --git a/src/serialization/resources/lipSyncing/index.ts b/src/serialization/resources/lipSyncing/index.ts new file mode 100644 index 0000000..c9240f8 --- /dev/null +++ b/src/serialization/resources/lipSyncing/index.ts @@ -0,0 +1,2 @@ +export * from "./types"; +export * from "./client"; diff --git a/src/serialization/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts b/src/serialization/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts new file mode 100644 index 0000000..68e9bbc --- /dev/null +++ b/src/serialization/resources/lipSyncing/types/LipsyncPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 LipsyncPageRequestSelectedModel: core.serialization.Schema< + serializers.LipsyncPageRequestSelectedModel.Raw, + Gooey.LipsyncPageRequestSelectedModel +> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); + +export declare namespace LipsyncPageRequestSelectedModel { + type Raw = "Wav2Lip" | "SadTalker"; +} diff --git a/src/serialization/resources/lipSyncing/types/index.ts b/src/serialization/resources/lipSyncing/types/index.ts new file mode 100644 index 0000000..5c8618b --- /dev/null +++ b/src/serialization/resources/lipSyncing/types/index.ts @@ -0,0 +1 @@ +export * from "./LipsyncPageRequestSelectedModel"; diff --git a/src/serialization/resources/smartGpt/client/index.ts b/src/serialization/resources/smartGpt/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/serialization/resources/smartGpt/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/serialization/resources/smartGpt/client/requests/SmartGptPageRequest.ts b/src/serialization/resources/smartGpt/client/requests/SmartGptPageRequest.ts new file mode 100644 index 0000000..b5e5d3d --- /dev/null +++ b/src/serialization/resources/smartGpt/client/requests/SmartGptPageRequest.ts @@ -0,0 +1,53 @@ +/** + * 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 { RecipeFunction } from "../../../../types/RecipeFunction"; +import { SmartGptPageRequestSelectedModel } from "../../types/SmartGptPageRequestSelectedModel"; +import { SmartGptPageRequestResponseFormatType } from "../../types/SmartGptPageRequestResponseFormatType"; +import { RunSettings } from "../../../../types/RunSettings"; + +export const SmartGptPageRequest: core.serialization.Schema< + serializers.SmartGptPageRequest.Raw, + Omit +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + inputPrompt: core.serialization.property("input_prompt", core.serialization.string()), + cotPrompt: core.serialization.property("cot_prompt", core.serialization.string().optional()), + reflexionPrompt: core.serialization.property("reflexion_prompt", core.serialization.string().optional()), + deraPrompt: core.serialization.property("dera_prompt", core.serialization.string().optional()), + selectedModel: core.serialization.property("selected_model", SmartGptPageRequestSelectedModel.optional()), + avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), + samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), + responseFormatType: core.serialization.property( + "response_format_type", + SmartGptPageRequestResponseFormatType.optional() + ), + settings: RunSettings.optional(), +}); + +export declare namespace SmartGptPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + input_prompt: string; + cot_prompt?: string | null; + reflexion_prompt?: string | null; + dera_prompt?: string | null; + selected_model?: SmartGptPageRequestSelectedModel.Raw | null; + avoid_repetition?: boolean | null; + num_outputs?: number | null; + quality?: number | null; + max_tokens?: number | null; + sampling_temperature?: number | null; + response_format_type?: SmartGptPageRequestResponseFormatType.Raw | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/resources/smartGpt/client/requests/index.ts b/src/serialization/resources/smartGpt/client/requests/index.ts new file mode 100644 index 0000000..818ce6c --- /dev/null +++ b/src/serialization/resources/smartGpt/client/requests/index.ts @@ -0,0 +1 @@ +export { SmartGptPageRequest } from "./SmartGptPageRequest"; diff --git a/src/serialization/resources/smartGpt/index.ts b/src/serialization/resources/smartGpt/index.ts new file mode 100644 index 0000000..c9240f8 --- /dev/null +++ b/src/serialization/resources/smartGpt/index.ts @@ -0,0 +1,2 @@ +export * from "./types"; +export * from "./client"; diff --git a/src/serialization/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts b/src/serialization/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts new file mode 100644 index 0000000..b1ad919 --- /dev/null +++ b/src/serialization/resources/smartGpt/types/SmartGptPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 SmartGptPageRequestResponseFormatType: core.serialization.Schema< + serializers.SmartGptPageRequestResponseFormatType.Raw, + Gooey.SmartGptPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace SmartGptPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts b/src/serialization/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts new file mode 100644 index 0000000..9ea20c5 --- /dev/null +++ b/src/serialization/resources/smartGpt/types/SmartGptPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 SmartGptPageRequestSelectedModel: core.serialization.Schema< + serializers.SmartGptPageRequestSelectedModel.Raw, + Gooey.SmartGptPageRequestSelectedModel +> = 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 SmartGptPageRequestSelectedModel { + 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/resources/smartGpt/types/index.ts b/src/serialization/resources/smartGpt/types/index.ts new file mode 100644 index 0000000..ba40064 --- /dev/null +++ b/src/serialization/resources/smartGpt/types/index.ts @@ -0,0 +1,2 @@ +export * from "./SmartGptPageRequestSelectedModel"; +export * from "./SmartGptPageRequestResponseFormatType"; diff --git a/src/serialization/types/AggFunction.ts b/src/serialization/types/AggFunction.ts new file mode 100644 index 0000000..eadd747 --- /dev/null +++ b/src/serialization/types/AggFunction.ts @@ -0,0 +1,21 @@ +/** + * 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 { AggFunctionFunction } from "./AggFunctionFunction"; + +export const AggFunction: core.serialization.ObjectSchema = + core.serialization.object({ + column: core.serialization.string().optional(), + function: AggFunctionFunction, + }); + +export declare namespace AggFunction { + interface Raw { + column?: string | null; + function: AggFunctionFunction.Raw; + } +} diff --git a/src/serialization/types/AggFunctionFunction.ts b/src/serialization/types/AggFunctionFunction.ts new file mode 100644 index 0000000..cfa660e --- /dev/null +++ b/src/serialization/types/AggFunctionFunction.ts @@ -0,0 +1,49 @@ +/** + * 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 AggFunctionFunction: core.serialization.Schema< + serializers.AggFunctionFunction.Raw, + Gooey.AggFunctionFunction +> = core.serialization.enum_([ + "mean", + "median", + "min", + "max", + "sum", + "cumsum", + "prod", + "cumprod", + "std", + "var", + "first", + "last", + "count", + "cumcount", + "nunique", + "rank", +]); + +export declare namespace AggFunctionFunction { + type Raw = + | "mean" + | "median" + | "min" + | "max" + | "sum" + | "cumsum" + | "prod" + | "cumprod" + | "std" + | "var" + | "first" + | "last" + | "count" + | "cumcount" + | "nunique" + | "rank"; +} diff --git a/src/serialization/types/AnimationPrompt.ts b/src/serialization/types/AnimationPrompt.ts new file mode 100644 index 0000000..7d69858 --- /dev/null +++ b/src/serialization/types/AnimationPrompt.ts @@ -0,0 +1,20 @@ +/** + * 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 AnimationPrompt: core.serialization.ObjectSchema = + core.serialization.object({ + frame: core.serialization.string(), + prompt: core.serialization.string(), + }); + +export declare namespace AnimationPrompt { + interface Raw { + frame: string; + prompt: string; + } +} diff --git a/src/serialization/types/AsrPageRequestOutputFormat.ts b/src/serialization/types/AsrPageRequestOutputFormat.ts new file mode 100644 index 0000000..0d8e85a --- /dev/null +++ b/src/serialization/types/AsrPageRequestOutputFormat.ts @@ -0,0 +1,16 @@ +/** + * 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 AsrPageRequestOutputFormat: core.serialization.Schema< + serializers.AsrPageRequestOutputFormat.Raw, + Gooey.AsrPageRequestOutputFormat +> = core.serialization.enum_(["text", "json", "srt", "vtt"]); + +export declare namespace AsrPageRequestOutputFormat { + type Raw = "text" | "json" | "srt" | "vtt"; +} diff --git a/src/serialization/types/AsrPageRequestSelectedModel.ts b/src/serialization/types/AsrPageRequestSelectedModel.ts new file mode 100644 index 0000000..0e2e13b --- /dev/null +++ b/src/serialization/types/AsrPageRequestSelectedModel.ts @@ -0,0 +1,45 @@ +/** + * 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 AsrPageRequestSelectedModel: core.serialization.Schema< + serializers.AsrPageRequestSelectedModel.Raw, + Gooey.AsrPageRequestSelectedModel +> = 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 AsrPageRequestSelectedModel { + 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/AsrPageRequestTranslationModel.ts b/src/serialization/types/AsrPageRequestTranslationModel.ts new file mode 100644 index 0000000..07dc52a --- /dev/null +++ b/src/serialization/types/AsrPageRequestTranslationModel.ts @@ -0,0 +1,16 @@ +/** + * 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 AsrPageRequestTranslationModel: core.serialization.Schema< + serializers.AsrPageRequestTranslationModel.Raw, + Gooey.AsrPageRequestTranslationModel +> = core.serialization.enum_(["google", "ghana_nlp"]); + +export declare namespace AsrPageRequestTranslationModel { + type Raw = "google" | "ghana_nlp"; +} diff --git a/src/serialization/types/BodyAsyncFormArtQrCode.ts b/src/serialization/types/BodyAsyncFormArtQrCode.ts deleted file mode 100644 index e114d59..0000000 --- a/src/serialization/types/BodyAsyncFormArtQrCode.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormArtQrCode: core.serialization.ObjectSchema< - serializers.BodyAsyncFormArtQrCode.Raw, - Gooey.BodyAsyncFormArtQrCode -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormArtQrCode { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormAsr.ts b/src/serialization/types/BodyAsyncFormAsr.ts deleted file mode 100644 index 1e89fc3..0000000 --- a/src/serialization/types/BodyAsyncFormAsr.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormAsr: core.serialization.ObjectSchema< - serializers.BodyAsyncFormAsr.Raw, - Gooey.BodyAsyncFormAsr -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormAsr { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormBulkEval.ts b/src/serialization/types/BodyAsyncFormBulkEval.ts deleted file mode 100644 index f0054fb..0000000 --- a/src/serialization/types/BodyAsyncFormBulkEval.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormBulkEval: core.serialization.ObjectSchema< - serializers.BodyAsyncFormBulkEval.Raw, - Gooey.BodyAsyncFormBulkEval -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormBulkEval { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormBulkRunner.ts b/src/serialization/types/BodyAsyncFormBulkRunner.ts deleted file mode 100644 index 402889e..0000000 --- a/src/serialization/types/BodyAsyncFormBulkRunner.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormBulkRunner: core.serialization.ObjectSchema< - serializers.BodyAsyncFormBulkRunner.Raw, - Gooey.BodyAsyncFormBulkRunner -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormBulkRunner { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormChyronPlant.ts b/src/serialization/types/BodyAsyncFormChyronPlant.ts deleted file mode 100644 index 1014dff..0000000 --- a/src/serialization/types/BodyAsyncFormChyronPlant.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormChyronPlant: core.serialization.ObjectSchema< - serializers.BodyAsyncFormChyronPlant.Raw, - Gooey.BodyAsyncFormChyronPlant -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormChyronPlant { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts b/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts deleted file mode 100644 index ae3b97f..0000000 --- a/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormCompareAiUpscalers: core.serialization.ObjectSchema< - serializers.BodyAsyncFormCompareAiUpscalers.Raw, - Gooey.BodyAsyncFormCompareAiUpscalers -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormCompareAiUpscalers { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormCompareLlm.ts b/src/serialization/types/BodyAsyncFormCompareLlm.ts deleted file mode 100644 index b1b3410..0000000 --- a/src/serialization/types/BodyAsyncFormCompareLlm.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormCompareLlm: core.serialization.ObjectSchema< - serializers.BodyAsyncFormCompareLlm.Raw, - Gooey.BodyAsyncFormCompareLlm -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormCompareLlm { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormCompareText2Img.ts b/src/serialization/types/BodyAsyncFormCompareText2Img.ts deleted file mode 100644 index f619ece..0000000 --- a/src/serialization/types/BodyAsyncFormCompareText2Img.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormCompareText2Img: core.serialization.ObjectSchema< - serializers.BodyAsyncFormCompareText2Img.Raw, - Gooey.BodyAsyncFormCompareText2Img -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormCompareText2Img { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormDeforumSd.ts b/src/serialization/types/BodyAsyncFormDeforumSd.ts deleted file mode 100644 index 6fc8c5b..0000000 --- a/src/serialization/types/BodyAsyncFormDeforumSd.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormDeforumSd: core.serialization.ObjectSchema< - serializers.BodyAsyncFormDeforumSd.Raw, - Gooey.BodyAsyncFormDeforumSd -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormDeforumSd { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormDocExtract.ts b/src/serialization/types/BodyAsyncFormDocExtract.ts deleted file mode 100644 index c4a4855..0000000 --- a/src/serialization/types/BodyAsyncFormDocExtract.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormDocExtract: core.serialization.ObjectSchema< - serializers.BodyAsyncFormDocExtract.Raw, - Gooey.BodyAsyncFormDocExtract -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormDocExtract { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormDocSearch.ts b/src/serialization/types/BodyAsyncFormDocSearch.ts deleted file mode 100644 index 60be659..0000000 --- a/src/serialization/types/BodyAsyncFormDocSearch.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormDocSearch: core.serialization.ObjectSchema< - serializers.BodyAsyncFormDocSearch.Raw, - Gooey.BodyAsyncFormDocSearch -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormDocSearch { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormDocSummary.ts b/src/serialization/types/BodyAsyncFormDocSummary.ts deleted file mode 100644 index 9146daa..0000000 --- a/src/serialization/types/BodyAsyncFormDocSummary.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormDocSummary: core.serialization.ObjectSchema< - serializers.BodyAsyncFormDocSummary.Raw, - Gooey.BodyAsyncFormDocSummary -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormDocSummary { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts b/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts deleted file mode 100644 index 0eb0e8b..0000000 --- a/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormEmailFaceInpainting: core.serialization.ObjectSchema< - serializers.BodyAsyncFormEmailFaceInpainting.Raw, - Gooey.BodyAsyncFormEmailFaceInpainting -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormEmailFaceInpainting { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormEmbeddings.ts b/src/serialization/types/BodyAsyncFormEmbeddings.ts deleted file mode 100644 index 3afceb4..0000000 --- a/src/serialization/types/BodyAsyncFormEmbeddings.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormEmbeddings: core.serialization.ObjectSchema< - serializers.BodyAsyncFormEmbeddings.Raw, - Gooey.BodyAsyncFormEmbeddings -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormEmbeddings { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormFaceInpainting.ts b/src/serialization/types/BodyAsyncFormFaceInpainting.ts deleted file mode 100644 index 8b4a672..0000000 --- a/src/serialization/types/BodyAsyncFormFaceInpainting.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormFaceInpainting: core.serialization.ObjectSchema< - serializers.BodyAsyncFormFaceInpainting.Raw, - Gooey.BodyAsyncFormFaceInpainting -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormFaceInpainting { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormFunctions.ts b/src/serialization/types/BodyAsyncFormFunctions.ts deleted file mode 100644 index 1d79254..0000000 --- a/src/serialization/types/BodyAsyncFormFunctions.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormFunctions: core.serialization.ObjectSchema< - serializers.BodyAsyncFormFunctions.Raw, - Gooey.BodyAsyncFormFunctions -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormFunctions { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormGoogleGpt.ts b/src/serialization/types/BodyAsyncFormGoogleGpt.ts deleted file mode 100644 index b37d382..0000000 --- a/src/serialization/types/BodyAsyncFormGoogleGpt.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormGoogleGpt: core.serialization.ObjectSchema< - serializers.BodyAsyncFormGoogleGpt.Raw, - Gooey.BodyAsyncFormGoogleGpt -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormGoogleGpt { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormGoogleImageGen.ts b/src/serialization/types/BodyAsyncFormGoogleImageGen.ts deleted file mode 100644 index ffb66b6..0000000 --- a/src/serialization/types/BodyAsyncFormGoogleImageGen.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormGoogleImageGen: core.serialization.ObjectSchema< - serializers.BodyAsyncFormGoogleImageGen.Raw, - Gooey.BodyAsyncFormGoogleImageGen -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormGoogleImageGen { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormImageSegmentation.ts b/src/serialization/types/BodyAsyncFormImageSegmentation.ts deleted file mode 100644 index 144796b..0000000 --- a/src/serialization/types/BodyAsyncFormImageSegmentation.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormImageSegmentation: core.serialization.ObjectSchema< - serializers.BodyAsyncFormImageSegmentation.Raw, - Gooey.BodyAsyncFormImageSegmentation -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormImageSegmentation { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormImg2Img.ts b/src/serialization/types/BodyAsyncFormImg2Img.ts deleted file mode 100644 index 94d3255..0000000 --- a/src/serialization/types/BodyAsyncFormImg2Img.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormImg2Img: core.serialization.ObjectSchema< - serializers.BodyAsyncFormImg2Img.Raw, - Gooey.BodyAsyncFormImg2Img -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormImg2Img { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormLetterWriter.ts b/src/serialization/types/BodyAsyncFormLetterWriter.ts deleted file mode 100644 index e463d81..0000000 --- a/src/serialization/types/BodyAsyncFormLetterWriter.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormLetterWriter: core.serialization.ObjectSchema< - serializers.BodyAsyncFormLetterWriter.Raw, - Gooey.BodyAsyncFormLetterWriter -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormLetterWriter { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormLipsync.ts b/src/serialization/types/BodyAsyncFormLipsync.ts deleted file mode 100644 index e899ebc..0000000 --- a/src/serialization/types/BodyAsyncFormLipsync.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormLipsync: core.serialization.ObjectSchema< - serializers.BodyAsyncFormLipsync.Raw, - Gooey.BodyAsyncFormLipsync -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormLipsync { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormLipsyncTts.ts b/src/serialization/types/BodyAsyncFormLipsyncTts.ts deleted file mode 100644 index 84d704e..0000000 --- a/src/serialization/types/BodyAsyncFormLipsyncTts.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormLipsyncTts: core.serialization.ObjectSchema< - serializers.BodyAsyncFormLipsyncTts.Raw, - Gooey.BodyAsyncFormLipsyncTts -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormLipsyncTts { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormObjectInpainting.ts b/src/serialization/types/BodyAsyncFormObjectInpainting.ts deleted file mode 100644 index 2b7a80d..0000000 --- a/src/serialization/types/BodyAsyncFormObjectInpainting.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormObjectInpainting: core.serialization.ObjectSchema< - serializers.BodyAsyncFormObjectInpainting.Raw, - Gooey.BodyAsyncFormObjectInpainting -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormObjectInpainting { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts b/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts deleted file mode 100644 index f687916..0000000 --- a/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormRelatedQnaMaker: core.serialization.ObjectSchema< - serializers.BodyAsyncFormRelatedQnaMaker.Raw, - Gooey.BodyAsyncFormRelatedQnaMaker -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormRelatedQnaMaker { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts b/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts deleted file mode 100644 index f4f82ff..0000000 --- a/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormRelatedQnaMakerDoc: core.serialization.ObjectSchema< - serializers.BodyAsyncFormRelatedQnaMakerDoc.Raw, - Gooey.BodyAsyncFormRelatedQnaMakerDoc -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormRelatedQnaMakerDoc { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormSeoSummary.ts b/src/serialization/types/BodyAsyncFormSeoSummary.ts deleted file mode 100644 index e0f4757..0000000 --- a/src/serialization/types/BodyAsyncFormSeoSummary.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormSeoSummary: core.serialization.ObjectSchema< - serializers.BodyAsyncFormSeoSummary.Raw, - Gooey.BodyAsyncFormSeoSummary -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormSeoSummary { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormSmartGpt.ts b/src/serialization/types/BodyAsyncFormSmartGpt.ts deleted file mode 100644 index 16b49fc..0000000 --- a/src/serialization/types/BodyAsyncFormSmartGpt.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormSmartGpt: core.serialization.ObjectSchema< - serializers.BodyAsyncFormSmartGpt.Raw, - Gooey.BodyAsyncFormSmartGpt -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormSmartGpt { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts b/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts deleted file mode 100644 index 54b6978..0000000 --- a/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormSocialLookupEmail: core.serialization.ObjectSchema< - serializers.BodyAsyncFormSocialLookupEmail.Raw, - Gooey.BodyAsyncFormSocialLookupEmail -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormSocialLookupEmail { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormText2Audio.ts b/src/serialization/types/BodyAsyncFormText2Audio.ts deleted file mode 100644 index cf51682..0000000 --- a/src/serialization/types/BodyAsyncFormText2Audio.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormText2Audio: core.serialization.ObjectSchema< - serializers.BodyAsyncFormText2Audio.Raw, - Gooey.BodyAsyncFormText2Audio -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormText2Audio { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormTextToSpeech.ts b/src/serialization/types/BodyAsyncFormTextToSpeech.ts deleted file mode 100644 index 7e3d988..0000000 --- a/src/serialization/types/BodyAsyncFormTextToSpeech.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormTextToSpeech: core.serialization.ObjectSchema< - serializers.BodyAsyncFormTextToSpeech.Raw, - Gooey.BodyAsyncFormTextToSpeech -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormTextToSpeech { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormTranslate.ts b/src/serialization/types/BodyAsyncFormTranslate.ts deleted file mode 100644 index df9a40b..0000000 --- a/src/serialization/types/BodyAsyncFormTranslate.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormTranslate: core.serialization.ObjectSchema< - serializers.BodyAsyncFormTranslate.Raw, - Gooey.BodyAsyncFormTranslate -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormTranslate { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/BodyAsyncFormVideoBots.ts b/src/serialization/types/BodyAsyncFormVideoBots.ts deleted file mode 100644 index 50bc14e..0000000 --- a/src/serialization/types/BodyAsyncFormVideoBots.ts +++ /dev/null @@ -1,20 +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 BodyAsyncFormVideoBots: core.serialization.ObjectSchema< - serializers.BodyAsyncFormVideoBots.Raw, - Gooey.BodyAsyncFormVideoBots -> = core.serialization.object({ - json: core.serialization.string(), -}); - -export declare namespace BodyAsyncFormVideoBots { - interface Raw { - json: string; - } -} diff --git a/src/serialization/types/ChyronPlantPageRequest.ts b/src/serialization/types/ChyronPlantPageRequest.ts new file mode 100644 index 0000000..217f3da --- /dev/null +++ b/src/serialization/types/ChyronPlantPageRequest.ts @@ -0,0 +1,32 @@ +/** + * 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 { RecipeFunction } from "./RecipeFunction"; +import { RunSettings } from "./RunSettings"; + +export const ChyronPlantPageRequest: core.serialization.ObjectSchema< + serializers.ChyronPlantPageRequest.Raw, + Gooey.ChyronPlantPageRequest +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + midiNotes: core.serialization.property("midi_notes", core.serialization.string()), + midiNotesPrompt: core.serialization.property("midi_notes_prompt", core.serialization.string().optional()), + chyronPrompt: core.serialization.property("chyron_prompt", core.serialization.string().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace ChyronPlantPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + midi_notes: string; + midi_notes_prompt?: string | null; + chyron_prompt?: string | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts b/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts new file mode 100644 index 0000000..ea3dabc --- /dev/null +++ b/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 CompareLlmPageRequestResponseFormatType: core.serialization.Schema< + serializers.CompareLlmPageRequestResponseFormatType.Raw, + Gooey.CompareLlmPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace CompareLlmPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..73e6e6f --- /dev/null +++ b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts @@ -0,0 +1,93 @@ +/** + * 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 CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema< + serializers.CompareLlmPageRequestSelectedModelsItem.Raw, + Gooey.CompareLlmPageRequestSelectedModelsItem +> = 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 CompareLlmPageRequestSelectedModelsItem { + 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/CompareText2ImgPageRequestScheduler.ts b/src/serialization/types/CompareText2ImgPageRequestScheduler.ts new file mode 100644 index 0000000..41148ca --- /dev/null +++ b/src/serialization/types/CompareText2ImgPageRequestScheduler.ts @@ -0,0 +1,45 @@ +/** + * 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 CompareText2ImgPageRequestScheduler: core.serialization.Schema< + serializers.CompareText2ImgPageRequestScheduler.Raw, + Gooey.CompareText2ImgPageRequestScheduler +> = 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 CompareText2ImgPageRequestScheduler { + 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/CompareText2ImgPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..42d06bf --- /dev/null +++ b/src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts @@ -0,0 +1,43 @@ +/** + * 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 CompareText2ImgPageRequestSelectedModelsItem: core.serialization.Schema< + serializers.CompareText2ImgPageRequestSelectedModelsItem.Raw, + Gooey.CompareText2ImgPageRequestSelectedModelsItem +> = 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 CompareText2ImgPageRequestSelectedModelsItem { + 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/CompareUpscalerPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts new file mode 100644 index 0000000..34fcdc9 --- /dev/null +++ b/src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts @@ -0,0 +1,16 @@ +/** + * 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 CompareUpscalerPageRequestSelectedModelsItem: core.serialization.Schema< + serializers.CompareUpscalerPageRequestSelectedModelsItem.Raw, + Gooey.CompareUpscalerPageRequestSelectedModelsItem +> = core.serialization.enum_(["gfpgan_1_4", "real_esrgan_x2", "sd_x4", "real_esrgan", "gfpgan"]); + +export declare namespace CompareUpscalerPageRequestSelectedModelsItem { + type Raw = "gfpgan_1_4" | "real_esrgan_x2" | "sd_x4" | "real_esrgan" | "gfpgan"; +} diff --git a/src/serialization/types/DeforumSdPageRequestSelectedModel.ts b/src/serialization/types/DeforumSdPageRequestSelectedModel.ts new file mode 100644 index 0000000..0ba01af --- /dev/null +++ b/src/serialization/types/DeforumSdPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 DeforumSdPageRequestSelectedModel: core.serialization.Schema< + serializers.DeforumSdPageRequestSelectedModel.Raw, + Gooey.DeforumSdPageRequestSelectedModel +> = core.serialization.enum_(["protogen_2_2", "epicdream"]); + +export declare namespace DeforumSdPageRequestSelectedModel { + type Raw = "protogen_2_2" | "epicdream"; +} diff --git a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts new file mode 100644 index 0000000..35e1fdf --- /dev/null +++ b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 DocExtractPageRequestResponseFormatType: core.serialization.Schema< + serializers.DocExtractPageRequestResponseFormatType.Raw, + Gooey.DocExtractPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace DocExtractPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts b/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts new file mode 100644 index 0000000..79d05f7 --- /dev/null +++ b/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts @@ -0,0 +1,45 @@ +/** + * 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 DocExtractPageRequestSelectedAsrModel: core.serialization.Schema< + serializers.DocExtractPageRequestSelectedAsrModel.Raw, + Gooey.DocExtractPageRequestSelectedAsrModel +> = 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 DocExtractPageRequestSelectedAsrModel { + 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/DocExtractPageRequestSelectedModel.ts b/src/serialization/types/DocExtractPageRequestSelectedModel.ts new file mode 100644 index 0000000..3af7860 --- /dev/null +++ b/src/serialization/types/DocExtractPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 DocExtractPageRequestSelectedModel: core.serialization.Schema< + serializers.DocExtractPageRequestSelectedModel.Raw, + Gooey.DocExtractPageRequestSelectedModel +> = 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 DocExtractPageRequestSelectedModel { + 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/DocSearchPageRequestCitationStyle.ts b/src/serialization/types/DocSearchPageRequestCitationStyle.ts new file mode 100644 index 0000000..d702905 --- /dev/null +++ b/src/serialization/types/DocSearchPageRequestCitationStyle.ts @@ -0,0 +1,49 @@ +/** + * 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 DocSearchPageRequestCitationStyle: core.serialization.Schema< + serializers.DocSearchPageRequestCitationStyle.Raw, + Gooey.DocSearchPageRequestCitationStyle +> = 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 DocSearchPageRequestCitationStyle { + 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/DocSearchPageRequestEmbeddingModel.ts b/src/serialization/types/DocSearchPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..5cafaef --- /dev/null +++ b/src/serialization/types/DocSearchPageRequestEmbeddingModel.ts @@ -0,0 +1,35 @@ +/** + * 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 DocSearchPageRequestEmbeddingModel: core.serialization.Schema< + serializers.DocSearchPageRequestEmbeddingModel.Raw, + Gooey.DocSearchPageRequestEmbeddingModel +> = 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 DocSearchPageRequestEmbeddingModel { + 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/DocSearchPageRequestKeywordQuery.ts b/src/serialization/types/DocSearchPageRequestKeywordQuery.ts new file mode 100644 index 0000000..21bde39 --- /dev/null +++ b/src/serialization/types/DocSearchPageRequestKeywordQuery.ts @@ -0,0 +1,19 @@ +/** + * 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 DocSearchPageRequestKeywordQuery: core.serialization.Schema< + serializers.DocSearchPageRequestKeywordQuery.Raw, + Gooey.DocSearchPageRequestKeywordQuery +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.list(core.serialization.string()), +]); + +export declare namespace DocSearchPageRequestKeywordQuery { + type Raw = string | string[]; +} diff --git a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts new file mode 100644 index 0000000..33dbdfb --- /dev/null +++ b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 DocSearchPageRequestResponseFormatType: core.serialization.Schema< + serializers.DocSearchPageRequestResponseFormatType.Raw, + Gooey.DocSearchPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace DocSearchPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/DocSearchPageRequestSelectedModel.ts b/src/serialization/types/DocSearchPageRequestSelectedModel.ts new file mode 100644 index 0000000..8965ff1 --- /dev/null +++ b/src/serialization/types/DocSearchPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 DocSearchPageRequestSelectedModel: core.serialization.Schema< + serializers.DocSearchPageRequestSelectedModel.Raw, + Gooey.DocSearchPageRequestSelectedModel +> = 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 DocSearchPageRequestSelectedModel { + 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/DocSummaryPageRequestResponseFormatType.ts b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts new file mode 100644 index 0000000..09aacce --- /dev/null +++ b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 DocSummaryPageRequestResponseFormatType: core.serialization.Schema< + serializers.DocSummaryPageRequestResponseFormatType.Raw, + Gooey.DocSummaryPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace DocSummaryPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts new file mode 100644 index 0000000..f659753 --- /dev/null +++ b/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts @@ -0,0 +1,45 @@ +/** + * 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 DocSummaryPageRequestSelectedAsrModel: core.serialization.Schema< + serializers.DocSummaryPageRequestSelectedAsrModel.Raw, + Gooey.DocSummaryPageRequestSelectedAsrModel +> = 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 DocSummaryPageRequestSelectedAsrModel { + 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/DocSummaryPageRequestSelectedModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts new file mode 100644 index 0000000..88aeb54 --- /dev/null +++ b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 DocSummaryPageRequestSelectedModel: core.serialization.Schema< + serializers.DocSummaryPageRequestSelectedModel.Raw, + Gooey.DocSummaryPageRequestSelectedModel +> = 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 DocSummaryPageRequestSelectedModel { + 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/EmailFaceInpaintingPageRequestSelectedModel.ts b/src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..5bf57e5 --- /dev/null +++ b/src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 EmailFaceInpaintingPageRequestSelectedModel: core.serialization.Schema< + serializers.EmailFaceInpaintingPageRequestSelectedModel.Raw, + Gooey.EmailFaceInpaintingPageRequestSelectedModel +> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); + +export declare namespace EmailFaceInpaintingPageRequestSelectedModel { + type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; +} diff --git a/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts b/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts new file mode 100644 index 0000000..3145479 --- /dev/null +++ b/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts @@ -0,0 +1,35 @@ +/** + * 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 EmbeddingsPageRequestSelectedModel: core.serialization.Schema< + serializers.EmbeddingsPageRequestSelectedModel.Raw, + Gooey.EmbeddingsPageRequestSelectedModel +> = 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 EmbeddingsPageRequestSelectedModel { + 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/EvalPrompt.ts b/src/serialization/types/EvalPrompt.ts new file mode 100644 index 0000000..e0d245d --- /dev/null +++ b/src/serialization/types/EvalPrompt.ts @@ -0,0 +1,20 @@ +/** + * 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 EvalPrompt: core.serialization.ObjectSchema = + core.serialization.object({ + name: core.serialization.string(), + prompt: core.serialization.string(), + }); + +export declare namespace EvalPrompt { + interface Raw { + name: string; + prompt: string; + } +} diff --git a/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts b/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..7b9a9a3 --- /dev/null +++ b/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 FaceInpaintingPageRequestSelectedModel: core.serialization.Schema< + serializers.FaceInpaintingPageRequestSelectedModel.Raw, + Gooey.FaceInpaintingPageRequestSelectedModel +> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); + +export declare namespace FaceInpaintingPageRequestSelectedModel { + type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; +} diff --git a/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts b/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..70aab97 --- /dev/null +++ b/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts @@ -0,0 +1,35 @@ +/** + * 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 GoogleGptPageRequestEmbeddingModel: core.serialization.Schema< + serializers.GoogleGptPageRequestEmbeddingModel.Raw, + Gooey.GoogleGptPageRequestEmbeddingModel +> = 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 GoogleGptPageRequestEmbeddingModel { + 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/GoogleGptPageRequestResponseFormatType.ts b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts new file mode 100644 index 0000000..b5dd550 --- /dev/null +++ b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 GoogleGptPageRequestResponseFormatType: core.serialization.Schema< + serializers.GoogleGptPageRequestResponseFormatType.Raw, + Gooey.GoogleGptPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace GoogleGptPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts new file mode 100644 index 0000000..02273e6 --- /dev/null +++ b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 GoogleGptPageRequestSelectedModel: core.serialization.Schema< + serializers.GoogleGptPageRequestSelectedModel.Raw, + Gooey.GoogleGptPageRequestSelectedModel +> = 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 GoogleGptPageRequestSelectedModel { + 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/GoogleImageGenPageRequestSelectedModel.ts b/src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts new file mode 100644 index 0000000..aaf6e65 --- /dev/null +++ b/src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts @@ -0,0 +1,41 @@ +/** + * 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 GoogleImageGenPageRequestSelectedModel: core.serialization.Schema< + serializers.GoogleImageGenPageRequestSelectedModel.Raw, + Gooey.GoogleImageGenPageRequestSelectedModel +> = 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 GoogleImageGenPageRequestSelectedModel { + 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/ImageSegmentationPageRequestSelectedModel.ts b/src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts new file mode 100644 index 0000000..a39d3dd --- /dev/null +++ b/src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 ImageSegmentationPageRequestSelectedModel: core.serialization.Schema< + serializers.ImageSegmentationPageRequestSelectedModel.Raw, + Gooey.ImageSegmentationPageRequestSelectedModel +> = core.serialization.enum_(["dis", "u2net"]); + +export declare namespace ImageSegmentationPageRequestSelectedModel { + type Raw = "dis" | "u2net"; +} diff --git a/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts new file mode 100644 index 0000000..0ebf799 --- /dev/null +++ b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts @@ -0,0 +1,42 @@ +/** + * 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 { Img2ImgPageRequestSelectedControlnetModelItem } from "./Img2ImgPageRequestSelectedControlnetModelItem"; + +export const Img2ImgPageRequestSelectedControlnetModel: core.serialization.Schema< + serializers.Img2ImgPageRequestSelectedControlnetModel.Raw, + Gooey.Img2ImgPageRequestSelectedControlnetModel +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(Img2ImgPageRequestSelectedControlnetModelItem), + 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 Img2ImgPageRequestSelectedControlnetModel { + type Raw = + | Img2ImgPageRequestSelectedControlnetModelItem.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/Img2ImgPageRequestSelectedControlnetModelItem.ts b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts new file mode 100644 index 0000000..6aeaf03 --- /dev/null +++ b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts @@ -0,0 +1,39 @@ +/** + * 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 Img2ImgPageRequestSelectedControlnetModelItem: core.serialization.Schema< + serializers.Img2ImgPageRequestSelectedControlnetModelItem.Raw, + Gooey.Img2ImgPageRequestSelectedControlnetModelItem +> = 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 Img2ImgPageRequestSelectedControlnetModelItem { + 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/Img2ImgPageRequestSelectedModel.ts b/src/serialization/types/Img2ImgPageRequestSelectedModel.ts new file mode 100644 index 0000000..b25f4fc --- /dev/null +++ b/src/serialization/types/Img2ImgPageRequestSelectedModel.ts @@ -0,0 +1,41 @@ +/** + * 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 Img2ImgPageRequestSelectedModel: core.serialization.Schema< + serializers.Img2ImgPageRequestSelectedModel.Raw, + Gooey.Img2ImgPageRequestSelectedModel +> = 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 Img2ImgPageRequestSelectedModel { + 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/LetterWriterPageRequest.ts b/src/serialization/types/LetterWriterPageRequest.ts new file mode 100644 index 0000000..b49a8e5 --- /dev/null +++ b/src/serialization/types/LetterWriterPageRequest.ts @@ -0,0 +1,61 @@ +/** + * 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 { RecipeFunction } from "./RecipeFunction"; +import { TrainingDataModel } from "./TrainingDataModel"; +import { RunSettings } from "./RunSettings"; + +export const LetterWriterPageRequest: core.serialization.ObjectSchema< + serializers.LetterWriterPageRequest.Raw, + Gooey.LetterWriterPageRequest +> = core.serialization.object({ + functions: core.serialization.list(RecipeFunction).optional(), + variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + actionId: core.serialization.property("action_id", core.serialization.string()), + promptHeader: core.serialization.property("prompt_header", core.serialization.string().optional()), + exampleLetters: core.serialization.property( + "example_letters", + core.serialization.list(TrainingDataModel).optional() + ), + lmSelectedApi: core.serialization.property("lm_selected_api", core.serialization.string().optional()), + lmSelectedEngine: core.serialization.property("lm_selected_engine", core.serialization.string().optional()), + numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), + quality: core.serialization.number().optional(), + lmSamplingTemperature: core.serialization.property( + "lm_sampling_temperature", + core.serialization.number().optional() + ), + apiHttpMethod: core.serialization.property("api_http_method", core.serialization.string().optional()), + apiUrl: core.serialization.property("api_url", core.serialization.string().optional()), + apiHeaders: core.serialization.property("api_headers", core.serialization.string().optional()), + apiJsonBody: core.serialization.property("api_json_body", core.serialization.string().optional()), + inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), + stripHtml2Text: core.serialization.property("strip_html_2_text", core.serialization.boolean().optional()), + settings: RunSettings.optional(), +}); + +export declare namespace LetterWriterPageRequest { + interface Raw { + functions?: RecipeFunction.Raw[] | null; + variables?: Record | null; + action_id: string; + prompt_header?: string | null; + example_letters?: TrainingDataModel.Raw[] | null; + lm_selected_api?: string | null; + lm_selected_engine?: string | null; + num_outputs?: number | null; + quality?: number | null; + lm_sampling_temperature?: number | null; + api_http_method?: string | null; + api_url?: string | null; + api_headers?: string | null; + api_json_body?: string | null; + input_prompt?: string | null; + strip_html_2_text?: boolean | null; + settings?: RunSettings.Raw | null; + } +} diff --git a/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts b/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..6b4cb1f --- /dev/null +++ b/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts @@ -0,0 +1,16 @@ +/** + * 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 LipsyncTtsPageRequestOpenaiTtsModel: core.serialization.Schema< + serializers.LipsyncTtsPageRequestOpenaiTtsModel.Raw, + Gooey.LipsyncTtsPageRequestOpenaiTtsModel +> = core.serialization.enum_(["tts_1", "tts_1_hd"]); + +export declare namespace LipsyncTtsPageRequestOpenaiTtsModel { + type Raw = "tts_1" | "tts_1_hd"; +} diff --git a/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts b/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..9df6659 --- /dev/null +++ b/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts @@ -0,0 +1,16 @@ +/** + * 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 LipsyncTtsPageRequestOpenaiVoiceName: core.serialization.Schema< + serializers.LipsyncTtsPageRequestOpenaiVoiceName.Raw, + Gooey.LipsyncTtsPageRequestOpenaiVoiceName +> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); + +export declare namespace LipsyncTtsPageRequestOpenaiVoiceName { + type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; +} diff --git a/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts b/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts new file mode 100644 index 0000000..984f0f9 --- /dev/null +++ b/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 LipsyncTtsPageRequestSelectedModel: core.serialization.Schema< + serializers.LipsyncTtsPageRequestSelectedModel.Raw, + Gooey.LipsyncTtsPageRequestSelectedModel +> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); + +export declare namespace LipsyncTtsPageRequestSelectedModel { + type Raw = "Wav2Lip" | "SadTalker"; +} diff --git a/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts b/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts new file mode 100644 index 0000000..1a29612 --- /dev/null +++ b/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts @@ -0,0 +1,16 @@ +/** + * 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 LipsyncTtsPageRequestTtsProvider: core.serialization.Schema< + serializers.LipsyncTtsPageRequestTtsProvider.Raw, + Gooey.LipsyncTtsPageRequestTtsProvider +> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); + +export declare namespace LipsyncTtsPageRequestTtsProvider { + type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; +} diff --git a/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts b/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts new file mode 100644 index 0000000..c88a1c3 --- /dev/null +++ b/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 ObjectInpaintingPageRequestSelectedModel: core.serialization.Schema< + serializers.ObjectInpaintingPageRequestSelectedModel.Raw, + Gooey.ObjectInpaintingPageRequestSelectedModel +> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); + +export declare namespace ObjectInpaintingPageRequestSelectedModel { + type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; +} diff --git a/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts b/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts new file mode 100644 index 0000000..0bb2c1d --- /dev/null +++ b/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts @@ -0,0 +1,39 @@ +/** + * 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 QrCodeGeneratorPageRequestImagePromptControlnetModelsItem: core.serialization.Schema< + serializers.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.Raw, + Gooey.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem +> = 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 QrCodeGeneratorPageRequestImagePromptControlnetModelsItem { + 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/QrCodeGeneratorPageRequestScheduler.ts b/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts new file mode 100644 index 0000000..6887bc7 --- /dev/null +++ b/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts @@ -0,0 +1,45 @@ +/** + * 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 QrCodeGeneratorPageRequestScheduler: core.serialization.Schema< + serializers.QrCodeGeneratorPageRequestScheduler.Raw, + Gooey.QrCodeGeneratorPageRequestScheduler +> = 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 QrCodeGeneratorPageRequestScheduler { + 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/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts b/src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts new file mode 100644 index 0000000..c87f635 --- /dev/null +++ b/src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts @@ -0,0 +1,39 @@ +/** + * 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 QrCodeGeneratorPageRequestSelectedControlnetModelItem: core.serialization.Schema< + serializers.QrCodeGeneratorPageRequestSelectedControlnetModelItem.Raw, + Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem +> = 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 QrCodeGeneratorPageRequestSelectedControlnetModelItem { + 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/QrCodeGeneratorPageRequestSelectedModel.ts b/src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts new file mode 100644 index 0000000..59283d9 --- /dev/null +++ b/src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts @@ -0,0 +1,43 @@ +/** + * 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 QrCodeGeneratorPageRequestSelectedModel: core.serialization.Schema< + serializers.QrCodeGeneratorPageRequestSelectedModel.Raw, + Gooey.QrCodeGeneratorPageRequestSelectedModel +> = 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 QrCodeGeneratorPageRequestSelectedModel { + 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/RelatedQnADocPageRequestCitationStyle.ts b/src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts new file mode 100644 index 0000000..de23c31 --- /dev/null +++ b/src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts @@ -0,0 +1,49 @@ +/** + * 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 RelatedQnADocPageRequestCitationStyle: core.serialization.Schema< + serializers.RelatedQnADocPageRequestCitationStyle.Raw, + Gooey.RelatedQnADocPageRequestCitationStyle +> = 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 RelatedQnADocPageRequestCitationStyle { + 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/RelatedQnADocPageRequestEmbeddingModel.ts b/src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..6c0c0c0 --- /dev/null +++ b/src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts @@ -0,0 +1,35 @@ +/** + * 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 RelatedQnADocPageRequestEmbeddingModel: core.serialization.Schema< + serializers.RelatedQnADocPageRequestEmbeddingModel.Raw, + Gooey.RelatedQnADocPageRequestEmbeddingModel +> = 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 RelatedQnADocPageRequestEmbeddingModel { + 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/RelatedQnADocPageRequestKeywordQuery.ts b/src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts new file mode 100644 index 0000000..123be94 --- /dev/null +++ b/src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts @@ -0,0 +1,19 @@ +/** + * 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 RelatedQnADocPageRequestKeywordQuery: core.serialization.Schema< + serializers.RelatedQnADocPageRequestKeywordQuery.Raw, + Gooey.RelatedQnADocPageRequestKeywordQuery +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.list(core.serialization.string()), +]); + +export declare namespace RelatedQnADocPageRequestKeywordQuery { + type Raw = string | string[]; +} diff --git a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts new file mode 100644 index 0000000..2229647 --- /dev/null +++ b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 RelatedQnADocPageRequestResponseFormatType: core.serialization.Schema< + serializers.RelatedQnADocPageRequestResponseFormatType.Raw, + Gooey.RelatedQnADocPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace RelatedQnADocPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts new file mode 100644 index 0000000..074f2b6 --- /dev/null +++ b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 RelatedQnADocPageRequestSelectedModel: core.serialization.Schema< + serializers.RelatedQnADocPageRequestSelectedModel.Raw, + Gooey.RelatedQnADocPageRequestSelectedModel +> = 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 RelatedQnADocPageRequestSelectedModel { + 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/RelatedQnAPageRequestEmbeddingModel.ts b/src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts new file mode 100644 index 0000000..c9ee68a --- /dev/null +++ b/src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts @@ -0,0 +1,35 @@ +/** + * 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 RelatedQnAPageRequestEmbeddingModel: core.serialization.Schema< + serializers.RelatedQnAPageRequestEmbeddingModel.Raw, + Gooey.RelatedQnAPageRequestEmbeddingModel +> = 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 RelatedQnAPageRequestEmbeddingModel { + 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/RelatedQnAPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts new file mode 100644 index 0000000..cbe851b --- /dev/null +++ b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 RelatedQnAPageRequestResponseFormatType: core.serialization.Schema< + serializers.RelatedQnAPageRequestResponseFormatType.Raw, + Gooey.RelatedQnAPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace RelatedQnAPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts new file mode 100644 index 0000000..a02e6a6 --- /dev/null +++ b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 RelatedQnAPageRequestSelectedModel: core.serialization.Schema< + serializers.RelatedQnAPageRequestSelectedModel.Raw, + Gooey.RelatedQnAPageRequestSelectedModel +> = 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 RelatedQnAPageRequestSelectedModel { + 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/RunSettings.ts b/src/serialization/types/RunSettings.ts new file mode 100644 index 0000000..0aedae7 --- /dev/null +++ b/src/serialization/types/RunSettings.ts @@ -0,0 +1,19 @@ +/** + * 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 { RunSettingsRetentionPolicy } from "./RunSettingsRetentionPolicy"; + +export const RunSettings: core.serialization.ObjectSchema = + core.serialization.object({ + retentionPolicy: core.serialization.property("retention_policy", RunSettingsRetentionPolicy.optional()), + }); + +export declare namespace RunSettings { + interface Raw { + retention_policy?: RunSettingsRetentionPolicy.Raw | null; + } +} diff --git a/src/serialization/types/RunSettingsRetentionPolicy.ts b/src/serialization/types/RunSettingsRetentionPolicy.ts new file mode 100644 index 0000000..dbceac1 --- /dev/null +++ b/src/serialization/types/RunSettingsRetentionPolicy.ts @@ -0,0 +1,16 @@ +/** + * 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 RunSettingsRetentionPolicy: core.serialization.Schema< + serializers.RunSettingsRetentionPolicy.Raw, + Gooey.RunSettingsRetentionPolicy +> = core.serialization.enum_(["keep", "delete"]); + +export declare namespace RunSettingsRetentionPolicy { + type Raw = "keep" | "delete"; +} diff --git a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts new file mode 100644 index 0000000..0d346d8 --- /dev/null +++ b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 SeoSummaryPageRequestResponseFormatType: core.serialization.Schema< + serializers.SeoSummaryPageRequestResponseFormatType.Raw, + Gooey.SeoSummaryPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace SeoSummaryPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts new file mode 100644 index 0000000..0254811 --- /dev/null +++ b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 SeoSummaryPageRequestSelectedModel: core.serialization.Schema< + serializers.SeoSummaryPageRequestSelectedModel.Raw, + Gooey.SeoSummaryPageRequestSelectedModel +> = 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 SeoSummaryPageRequestSelectedModel { + 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/SerpSearchLocation.ts b/src/serialization/types/SerpSearchLocation.ts new file mode 100644 index 0000000..47a9a3a --- /dev/null +++ b/src/serialization/types/SerpSearchLocation.ts @@ -0,0 +1,495 @@ +/** + * 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 SerpSearchLocation: core.serialization.Schema< + serializers.SerpSearchLocation.Raw, + Gooey.SerpSearchLocation +> = core.serialization.enum_([ + "af", + "al", + "dz", + "as", + "ad", + "ao", + "ai", + "aq", + "ag", + "ar", + "am", + "aw", + "au", + "at", + "az", + "bs", + "bh", + "bd", + "bb", + "by", + "be", + "bz", + "bj", + "bm", + "bt", + "bo", + "ba", + "bw", + "bv", + "br", + "io", + "bn", + "bg", + "bf", + "bi", + "kh", + "cm", + "ca", + "cv", + "ky", + "cf", + "td", + "cl", + "cn", + "cx", + "cc", + "co", + "km", + "cg", + "cd", + "ck", + "cr", + "ci", + "hr", + "cu", + "cy", + "cz", + "dk", + "dj", + "dm", + "do", + "ec", + "eg", + "sv", + "gq", + "er", + "ee", + "et", + "fk", + "fo", + "fj", + "fi", + "fr", + "gf", + "pf", + "tf", + "ga", + "gm", + "ge", + "de", + "gh", + "gi", + "gr", + "gl", + "gd", + "gp", + "gu", + "gt", + "gn", + "gw", + "gy", + "ht", + "hm", + "va", + "hn", + "hk", + "hu", + "is", + "in", + "id", + "ir", + "iq", + "ie", + "il", + "it", + "jm", + "jp", + "jo", + "kz", + "ke", + "ki", + "kp", + "kr", + "kw", + "kg", + "la", + "lv", + "lb", + "ls", + "lr", + "ly", + "li", + "lt", + "lu", + "mo", + "mk", + "mg", + "mw", + "my", + "mv", + "ml", + "mt", + "mh", + "mq", + "mr", + "mu", + "yt", + "mx", + "fm", + "md", + "mc", + "mn", + "ms", + "ma", + "mz", + "mm", + "na", + "nr", + "np", + "nl", + "an", + "nc", + "nz", + "ni", + "ne", + "ng", + "nu", + "nf", + "mp", + "no", + "om", + "pk", + "pw", + "ps", + "pa", + "pg", + "py", + "pe", + "ph", + "pn", + "pl", + "pt", + "pr", + "qa", + "re", + "ro", + "ru", + "rw", + "sh", + "kn", + "lc", + "pm", + "vc", + "ws", + "sm", + "gui", + "sa", + "sn", + "rs", + "sc", + "sl", + "sg", + "sk", + "si", + "sb", + "so", + "za", + "gs", + "es", + "lk", + "sd", + "sr", + "sj", + "sz", + "se", + "ch", + "sy", + "tw", + "tj", + "tz", + "th", + "tl", + "tg", + "tk", + "to", + "tt", + "tn", + "tr", + "tm", + "tc", + "tv", + "ug", + "ua", + "ae", + "gb", + "us", + "um", + "uy", + "uz", + "vu", + "ve", + "vn", + "vg", + "vi", + "wf", + "eh", + "ye", + "zm", + "zw", +]); + +export declare namespace SerpSearchLocation { + type Raw = + | "af" + | "al" + | "dz" + | "as" + | "ad" + | "ao" + | "ai" + | "aq" + | "ag" + | "ar" + | "am" + | "aw" + | "au" + | "at" + | "az" + | "bs" + | "bh" + | "bd" + | "bb" + | "by" + | "be" + | "bz" + | "bj" + | "bm" + | "bt" + | "bo" + | "ba" + | "bw" + | "bv" + | "br" + | "io" + | "bn" + | "bg" + | "bf" + | "bi" + | "kh" + | "cm" + | "ca" + | "cv" + | "ky" + | "cf" + | "td" + | "cl" + | "cn" + | "cx" + | "cc" + | "co" + | "km" + | "cg" + | "cd" + | "ck" + | "cr" + | "ci" + | "hr" + | "cu" + | "cy" + | "cz" + | "dk" + | "dj" + | "dm" + | "do" + | "ec" + | "eg" + | "sv" + | "gq" + | "er" + | "ee" + | "et" + | "fk" + | "fo" + | "fj" + | "fi" + | "fr" + | "gf" + | "pf" + | "tf" + | "ga" + | "gm" + | "ge" + | "de" + | "gh" + | "gi" + | "gr" + | "gl" + | "gd" + | "gp" + | "gu" + | "gt" + | "gn" + | "gw" + | "gy" + | "ht" + | "hm" + | "va" + | "hn" + | "hk" + | "hu" + | "is" + | "in" + | "id" + | "ir" + | "iq" + | "ie" + | "il" + | "it" + | "jm" + | "jp" + | "jo" + | "kz" + | "ke" + | "ki" + | "kp" + | "kr" + | "kw" + | "kg" + | "la" + | "lv" + | "lb" + | "ls" + | "lr" + | "ly" + | "li" + | "lt" + | "lu" + | "mo" + | "mk" + | "mg" + | "mw" + | "my" + | "mv" + | "ml" + | "mt" + | "mh" + | "mq" + | "mr" + | "mu" + | "yt" + | "mx" + | "fm" + | "md" + | "mc" + | "mn" + | "ms" + | "ma" + | "mz" + | "mm" + | "na" + | "nr" + | "np" + | "nl" + | "an" + | "nc" + | "nz" + | "ni" + | "ne" + | "ng" + | "nu" + | "nf" + | "mp" + | "no" + | "om" + | "pk" + | "pw" + | "ps" + | "pa" + | "pg" + | "py" + | "pe" + | "ph" + | "pn" + | "pl" + | "pt" + | "pr" + | "qa" + | "re" + | "ro" + | "ru" + | "rw" + | "sh" + | "kn" + | "lc" + | "pm" + | "vc" + | "ws" + | "sm" + | "gui" + | "sa" + | "sn" + | "rs" + | "sc" + | "sl" + | "sg" + | "sk" + | "si" + | "sb" + | "so" + | "za" + | "gs" + | "es" + | "lk" + | "sd" + | "sr" + | "sj" + | "sz" + | "se" + | "ch" + | "sy" + | "tw" + | "tj" + | "tz" + | "th" + | "tl" + | "tg" + | "tk" + | "to" + | "tt" + | "tn" + | "tr" + | "tm" + | "tc" + | "tv" + | "ug" + | "ua" + | "ae" + | "gb" + | "us" + | "um" + | "uy" + | "uz" + | "vu" + | "ve" + | "vn" + | "vg" + | "vi" + | "wf" + | "eh" + | "ye" + | "zm" + | "zw"; +} diff --git a/src/serialization/types/SerpSearchType.ts b/src/serialization/types/SerpSearchType.ts new file mode 100644 index 0000000..d639d2b --- /dev/null +++ b/src/serialization/types/SerpSearchType.ts @@ -0,0 +1,14 @@ +/** + * 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 SerpSearchType: core.serialization.Schema = + core.serialization.enum_(["search", "images", "videos", "places", "news"]); + +export declare namespace SerpSearchType { + type Raw = "search" | "images" | "videos" | "places" | "news"; +} diff --git a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts new file mode 100644 index 0000000..ddddd09 --- /dev/null +++ b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts @@ -0,0 +1,16 @@ +/** + * 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 SocialLookupEmailPageRequestResponseFormatType: core.serialization.Schema< + serializers.SocialLookupEmailPageRequestResponseFormatType.Raw, + Gooey.SocialLookupEmailPageRequestResponseFormatType +> = core.serialization.enum_(["text", "json_object"]); + +export declare namespace SocialLookupEmailPageRequestResponseFormatType { + type Raw = "text" | "json_object"; +} diff --git a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts new file mode 100644 index 0000000..c07f217 --- /dev/null +++ b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts @@ -0,0 +1,93 @@ +/** + * 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 SocialLookupEmailPageRequestSelectedModel: core.serialization.Schema< + serializers.SocialLookupEmailPageRequestSelectedModel.Raw, + Gooey.SocialLookupEmailPageRequestSelectedModel +> = 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 SocialLookupEmailPageRequestSelectedModel { + 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/TextToSpeechPageRequestOpenaiTtsModel.ts b/src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts new file mode 100644 index 0000000..9955e2e --- /dev/null +++ b/src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts @@ -0,0 +1,16 @@ +/** + * 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 TextToSpeechPageRequestOpenaiTtsModel: core.serialization.Schema< + serializers.TextToSpeechPageRequestOpenaiTtsModel.Raw, + Gooey.TextToSpeechPageRequestOpenaiTtsModel +> = core.serialization.enum_(["tts_1", "tts_1_hd"]); + +export declare namespace TextToSpeechPageRequestOpenaiTtsModel { + type Raw = "tts_1" | "tts_1_hd"; +} diff --git a/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts b/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts new file mode 100644 index 0000000..1b9115c --- /dev/null +++ b/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts @@ -0,0 +1,16 @@ +/** + * 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 TextToSpeechPageRequestOpenaiVoiceName: core.serialization.Schema< + serializers.TextToSpeechPageRequestOpenaiVoiceName.Raw, + Gooey.TextToSpeechPageRequestOpenaiVoiceName +> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); + +export declare namespace TextToSpeechPageRequestOpenaiVoiceName { + type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; +} diff --git a/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts b/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts new file mode 100644 index 0000000..fb08971 --- /dev/null +++ b/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts @@ -0,0 +1,16 @@ +/** + * 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 TextToSpeechPageRequestTtsProvider: core.serialization.Schema< + serializers.TextToSpeechPageRequestTtsProvider.Raw, + Gooey.TextToSpeechPageRequestTtsProvider +> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); + +export declare namespace TextToSpeechPageRequestTtsProvider { + type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; +} diff --git a/src/serialization/types/TrainingDataModel.ts b/src/serialization/types/TrainingDataModel.ts new file mode 100644 index 0000000..f57e4fa --- /dev/null +++ b/src/serialization/types/TrainingDataModel.ts @@ -0,0 +1,22 @@ +/** + * 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 TrainingDataModel: core.serialization.ObjectSchema< + serializers.TrainingDataModel.Raw, + Gooey.TrainingDataModel +> = core.serialization.object({ + prompt: core.serialization.string(), + completion: core.serialization.string(), +}); + +export declare namespace TrainingDataModel { + interface Raw { + prompt: string; + completion: string; + } +} diff --git a/src/serialization/types/TranslationPageRequestSelectedModel.ts b/src/serialization/types/TranslationPageRequestSelectedModel.ts new file mode 100644 index 0000000..9147b95 --- /dev/null +++ b/src/serialization/types/TranslationPageRequestSelectedModel.ts @@ -0,0 +1,16 @@ +/** + * 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 TranslationPageRequestSelectedModel: core.serialization.Schema< + serializers.TranslationPageRequestSelectedModel.Raw, + Gooey.TranslationPageRequestSelectedModel +> = core.serialization.enum_(["google", "ghana_nlp"]); + +export declare namespace TranslationPageRequestSelectedModel { + type Raw = "google" | "ghana_nlp"; +} diff --git a/src/serialization/types/Vcard.ts b/src/serialization/types/Vcard.ts new file mode 100644 index 0000000..ae5f0e2 --- /dev/null +++ b/src/serialization/types/Vcard.ts @@ -0,0 +1,70 @@ +/** + * 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 Vcard: core.serialization.ObjectSchema = core.serialization.object({ + formatName: core.serialization.property("format_name", core.serialization.string()), + email: core.serialization.string().optional(), + gender: core.serialization.string().optional(), + birthdayYear: core.serialization.property("birthday_year", core.serialization.number().optional()), + birthdayMonth: core.serialization.property("birthday_month", core.serialization.number().optional()), + birthdayDay: core.serialization.property("birthday_day", core.serialization.number().optional()), + familyName: core.serialization.property("family_name", core.serialization.string().optional()), + givenName: core.serialization.property("given_name", core.serialization.string().optional()), + middleNames: core.serialization.property("middle_names", core.serialization.string().optional()), + honorificPrefixes: core.serialization.property("honorific_prefixes", core.serialization.string().optional()), + honorificSuffixes: core.serialization.property("honorific_suffixes", core.serialization.string().optional()), + impp: core.serialization.string().optional(), + address: core.serialization.string().optional(), + calendarUrl: core.serialization.property("calendar_url", core.serialization.string().optional()), + commaSeparatedCategories: core.serialization.property( + "comma_separated_categories", + core.serialization.string().optional() + ), + kind: core.serialization.string().optional(), + language: core.serialization.string().optional(), + organization: core.serialization.string().optional(), + photoUrl: core.serialization.property("photo_url", core.serialization.string().optional()), + logoUrl: core.serialization.property("logo_url", core.serialization.string().optional()), + role: core.serialization.string().optional(), + timezone: core.serialization.string().optional(), + jobTitle: core.serialization.property("job_title", core.serialization.string().optional()), + urls: core.serialization.list(core.serialization.string()).optional(), + tel: core.serialization.string().optional(), + note: core.serialization.string().optional(), +}); + +export declare namespace Vcard { + interface Raw { + format_name: string; + email?: string | null; + gender?: string | null; + birthday_year?: number | null; + birthday_month?: number | null; + birthday_day?: number | null; + family_name?: string | null; + given_name?: string | null; + middle_names?: string | null; + honorific_prefixes?: string | null; + honorific_suffixes?: string | null; + impp?: string | null; + address?: string | null; + calendar_url?: string | null; + comma_separated_categories?: string | null; + kind?: string | null; + language?: string | null; + organization?: string | null; + photo_url?: string | null; + logo_url?: string | null; + role?: string | null; + timezone?: string | null; + job_title?: string | null; + urls?: string[] | null; + tel?: string | null; + note?: string | null; + } +} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index cc3a5e7..0d58180 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -1,3 +1,61 @@ +export * from "./DeforumSdPageRequestSelectedModel"; +export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; +export * from "./QrCodeGeneratorPageRequestSelectedModel"; +export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem"; +export * from "./QrCodeGeneratorPageRequestScheduler"; +export * from "./RelatedQnAPageRequestSelectedModel"; +export * from "./RelatedQnAPageRequestEmbeddingModel"; +export * from "./RelatedQnAPageRequestResponseFormatType"; +export * from "./SeoSummaryPageRequestSelectedModel"; +export * from "./SeoSummaryPageRequestResponseFormatType"; +export * from "./GoogleGptPageRequestSelectedModel"; +export * from "./GoogleGptPageRequestEmbeddingModel"; +export * from "./GoogleGptPageRequestResponseFormatType"; +export * from "./SocialLookupEmailPageRequestSelectedModel"; +export * from "./SocialLookupEmailPageRequestResponseFormatType"; +export * from "./DocExtractPageRequestSelectedAsrModel"; +export * from "./DocExtractPageRequestSelectedModel"; +export * from "./DocExtractPageRequestResponseFormatType"; +export * from "./CompareLlmPageRequestSelectedModelsItem"; +export * from "./CompareLlmPageRequestResponseFormatType"; +export * from "./DocSearchPageRequestKeywordQuery"; +export * from "./DocSearchPageRequestEmbeddingModel"; +export * from "./DocSearchPageRequestSelectedModel"; +export * from "./DocSearchPageRequestCitationStyle"; +export * from "./DocSearchPageRequestResponseFormatType"; +export * from "./DocSummaryPageRequestSelectedModel"; +export * from "./DocSummaryPageRequestSelectedAsrModel"; +export * from "./DocSummaryPageRequestResponseFormatType"; +export * from "./LipsyncTtsPageRequestTtsProvider"; +export * from "./LipsyncTtsPageRequestOpenaiVoiceName"; +export * from "./LipsyncTtsPageRequestOpenaiTtsModel"; +export * from "./LipsyncTtsPageRequestSelectedModel"; +export * from "./TextToSpeechPageRequestTtsProvider"; +export * from "./TextToSpeechPageRequestOpenaiVoiceName"; +export * from "./TextToSpeechPageRequestOpenaiTtsModel"; +export * from "./AsrPageRequestSelectedModel"; +export * from "./AsrPageRequestTranslationModel"; +export * from "./AsrPageRequestOutputFormat"; +export * from "./TranslationPageRequestSelectedModel"; +export * from "./Img2ImgPageRequestSelectedModel"; +export * from "./Img2ImgPageRequestSelectedControlnetModelItem"; +export * from "./Img2ImgPageRequestSelectedControlnetModel"; +export * from "./CompareText2ImgPageRequestSelectedModelsItem"; +export * from "./CompareText2ImgPageRequestScheduler"; +export * from "./ObjectInpaintingPageRequestSelectedModel"; +export * from "./FaceInpaintingPageRequestSelectedModel"; +export * from "./EmailFaceInpaintingPageRequestSelectedModel"; +export * from "./GoogleImageGenPageRequestSelectedModel"; +export * from "./ImageSegmentationPageRequestSelectedModel"; +export * from "./CompareUpscalerPageRequestSelectedModelsItem"; +export * from "./EmbeddingsPageRequestSelectedModel"; +export * from "./RelatedQnADocPageRequestKeywordQuery"; +export * from "./RelatedQnADocPageRequestEmbeddingModel"; +export * from "./RelatedQnADocPageRequestSelectedModel"; +export * from "./RelatedQnADocPageRequestCitationStyle"; +export * from "./RelatedQnADocPageRequestResponseFormatType"; +export * from "./AggFunctionFunction"; +export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; export * from "./AggFunctionResult"; export * from "./AsrChunk"; @@ -7,39 +65,6 @@ export * from "./AsrPageOutput"; export * from "./AsrPageStatusResponse"; export * from "./AsyncApiResponseModelV3"; export * from "./BalanceResponse"; -export * from "./BodyAsyncFormChyronPlant"; -export * from "./BodyAsyncFormCompareLlm"; -export * from "./BodyAsyncFormCompareText2Img"; -export * from "./BodyAsyncFormDeforumSd"; -export * from "./BodyAsyncFormEmailFaceInpainting"; -export * from "./BodyAsyncFormFaceInpainting"; -export * from "./BodyAsyncFormGoogleImageGen"; -export * from "./BodyAsyncFormImageSegmentation"; -export * from "./BodyAsyncFormImg2Img"; -export * from "./BodyAsyncFormLetterWriter"; -export * from "./BodyAsyncFormLipsync"; -export * from "./BodyAsyncFormLipsyncTts"; -export * from "./BodyAsyncFormObjectInpainting"; -export * from "./BodyAsyncFormSeoSummary"; -export * from "./BodyAsyncFormSmartGpt"; -export * from "./BodyAsyncFormSocialLookupEmail"; -export * from "./BodyAsyncFormTextToSpeech"; -export * from "./BodyAsyncFormArtQrCode"; -export * from "./BodyAsyncFormAsr"; -export * from "./BodyAsyncFormBulkEval"; -export * from "./BodyAsyncFormBulkRunner"; -export * from "./BodyAsyncFormCompareAiUpscalers"; -export * from "./BodyAsyncFormDocExtract"; -export * from "./BodyAsyncFormDocSearch"; -export * from "./BodyAsyncFormDocSummary"; -export * from "./BodyAsyncFormEmbeddings"; -export * from "./BodyAsyncFormFunctions"; -export * from "./BodyAsyncFormGoogleGpt"; -export * from "./BodyAsyncFormRelatedQnaMaker"; -export * from "./BodyAsyncFormRelatedQnaMakerDoc"; -export * from "./BodyAsyncFormText2Audio"; -export * from "./BodyAsyncFormTranslate"; -export * from "./BodyAsyncFormVideoBots"; export * from "./BotBroadcastFilters"; export * from "./BulkEvalPageOutput"; export * from "./BulkEvalPageStatusResponse"; @@ -51,6 +76,7 @@ export * from "./CalledFunctionResponse"; export * from "./ChatCompletionContentPartImageParam"; export * from "./ChatCompletionContentPartTextParam"; export * from "./ChyronPlantPageOutput"; +export * from "./ChyronPlantPageRequest"; export * from "./ChyronPlantPageStatusResponse"; export * from "./CompareLlmPageOutput"; export * from "./CompareLlmPageStatusResponse"; @@ -78,6 +104,7 @@ export * from "./EmailFaceInpaintingPageOutput"; export * from "./EmailFaceInpaintingPageStatusResponse"; export * from "./EmbeddingsPageOutput"; export * from "./EmbeddingsPageStatusResponse"; +export * from "./EvalPrompt"; export * from "./FaceInpaintingPageOutput"; export * from "./FaceInpaintingPageStatusResponse"; export * from "./FailedReponseModelV2"; @@ -100,6 +127,7 @@ export * from "./Img2ImgPageOutput"; export * from "./Img2ImgPageStatusResponse"; export * from "./LlmTools"; export * from "./LetterWriterPageOutput"; +export * from "./LetterWriterPageRequest"; export * from "./LetterWriterPageStatusResponse"; export * from "./LipsyncPageOutput"; export * from "./LipsyncPageStatusResponse"; @@ -125,12 +153,16 @@ export * from "./ReplyButton"; export * from "./ResponseModelFinalPrompt"; export * from "./ResponseModelFinalKeywordQuery"; export * from "./ResponseModel"; +export * from "./RunSettingsRetentionPolicy"; +export * from "./RunSettings"; export * from "./RunStart"; export * from "./SeoSummaryPageOutput"; export * from "./SeoSummaryPageStatusResponse"; export * from "./SadTalkerSettingsPreprocess"; export * from "./SadTalkerSettings"; export * from "./SearchReference"; +export * from "./SerpSearchLocation"; +export * from "./SerpSearchType"; export * from "./SmartGptPageOutput"; export * from "./SmartGptPageStatusResponse"; export * from "./SocialLookupEmailPageOutput"; @@ -140,11 +172,14 @@ export * from "./Text2AudioPageOutput"; export * from "./Text2AudioPageStatusResponse"; export * from "./TextToSpeechPageOutput"; export * from "./TextToSpeechPageStatusResponse"; +export * from "./TrainingDataModel"; export * from "./TranslationPageOutput"; export * from "./TranslationPageStatusResponse"; +export * from "./Vcard"; export * from "./ValidationErrorLocItem"; export * from "./ValidationError"; export * from "./VideoBotsPageOutputFinalPrompt"; export * from "./VideoBotsPageOutputFinalKeywordQuery"; export * from "./VideoBotsPageOutput"; export * from "./VideoBotsPageStatusResponse"; +export * from "./AnimationPrompt";