diff --git a/README.md b/README.md index 5d2bd63..1dbb94f 100644 --- a/README.md +++ b/README.md @@ -16,42 +16,16 @@ npm i -s gooeyai Instantiate and use the client with the following: ```typescript -import { GooeyClient, Gooey } from "gooeyai"; +import { GooeyClient } from "gooeyai"; const client = new GooeyClient({ apiKey: "YOUR_API_KEY" }); await client.animate({ - exampleId: "string", - functions: [ - { - url: "string", - trigger: Gooey.RecipeFunctionTrigger.Pre, - }, - ], - variables: { - string: { - key: "value", - }, - }, animationPrompts: [ { - frame: "string", - prompt: "string", + frame: "frame", + prompt: "prompt", }, ], - 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, - }, }); ``` diff --git a/package.json b/package.json index ca039cd..11c4b69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gooeyai", - "version": "0.0.1-beta16", + "version": "0.0.1-beta17", "private": false, "repository": "https://github.com/GooeyAI/typescript-sdk", "main": "./index.js", diff --git a/reference.md b/reference.md index 741e6fb..cbf3dab 100644 --- a/reference.md +++ b/reference.md @@ -144,7 +144,7 @@ await client.copilotIntegrations.videoBotsStream("request_id"); ## CopilotForYourEnterprise -
client.copilotForYourEnterprise.asyncFormVideoBots({ ...params }) -> unknown +
client.copilotForYourEnterprise.asyncFormVideoBots({ ...params }) -> Gooey.VideoBotsPageStatusResponse
@@ -157,97 +157,7 @@ await client.copilotIntegrations.videoBotsStream("request_id");
```typescript -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, - }, -}); +await client.copilotForYourEnterprise.asyncFormVideoBots(); ```
@@ -738,7 +648,7 @@ await client.bulkRunner.post(); ## Evaluator -
client.evaluator.asyncFormBulkEval({ ...params }) -> unknown +
client.evaluator.asyncFormBulkEval({ ...params }) -> Gooey.BulkEvalPageStatusResponse
@@ -752,41 +662,7 @@ await client.bulkRunner.post(); ```typescript 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, - }, + documents: ["documents"], }); ``` @@ -1030,7 +906,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({ ## SmartGpt -
client.smartGpt.asyncFormSmartGpt({ ...params }) -> unknown +
client.smartGpt.asyncFormSmartGpt({ ...params }) -> Gooey.SmartGptPageStatusResponse
@@ -1044,32 +920,7 @@ await client.searchYourDocsWithGpt.statusDocSearch({ ```typescript 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, - }, + inputPrompt: "input_prompt", }); ``` @@ -1249,7 +1100,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({ ## Functions -
client.functions.asyncFormFunctions({ ...params }) -> unknown +
client.functions.asyncFormFunctions({ ...params }) -> Gooey.FunctionsPageStatusResponse
@@ -1262,18 +1113,7 @@ await client.summarizeYourDocsWithGpt.statusDocSummary({
```typescript -await client.functions.asyncFormFunctions({ - exampleId: "string", - code: "string", - variables: { - string: { - key: "value", - }, - }, - settings: { - retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep, - }, -}); +await client.functions.asyncFormFunctions(); ```
@@ -1400,7 +1240,7 @@ await client.functions.post(); ## LipSyncing -
client.lipSyncing.asyncFormLipsync({ ...params }) -> unknown +
client.lipSyncing.asyncFormLipsync({ ...params }) -> Gooey.LipsyncPageStatusResponse
@@ -1413,41 +1253,7 @@ await client.functions.post();
```typescript -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, - }, -}); +await client.lipSyncing.asyncFormLipsync(); ```
diff --git a/src/Client.ts b/src/Client.ts index 28f81d8..cd1c7ee 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -76,40 +76,16 @@ export class GooeyClient { * * @example * 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 - * } + * frame: "frame", + * prompt: "prompt" + * }] * }) */ public async animate( request: Gooey.DeforumSdPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -126,7 +102,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -139,7 +115,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.DeforumSdPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -221,78 +203,13 @@ export class GooeyClient { * * @example * 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 - * } + * textPrompt: "text_prompt" * }) */ public async qrCode( request: Gooey.QrCodeGeneratorPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -309,7 +226,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -322,7 +239,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.QrCodeGeneratorPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -404,46 +327,14 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query", + * siteFilter: "site_filter" * }) */ public async seoPeopleAlsoAsk( request: Gooey.RelatedQnAPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -460,7 +351,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -473,7 +364,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.RelatedQnAPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -555,36 +452,16 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query", + * keywords: "keywords", + * title: "title", + * companyUrl: "company_url" * }) */ public async seoContent( request: Gooey.SeoSummaryPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -601,7 +478,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -614,7 +491,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.SeoSummaryPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -696,46 +579,14 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query", + * siteFilter: "site_filter" * }) */ public async webSearchLlm( request: Gooey.GoogleGptPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -752,7 +603,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -765,7 +616,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.GoogleGptPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -847,34 +704,13 @@ export class GooeyClient { * * @example * 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 - * } + * emailAddress: "email_address" * }) */ public async personalizeEmail( request: Gooey.SocialLookupEmailPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -891,7 +727,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -904,7 +740,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.SocialLookupEmailPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -986,34 +828,20 @@ export class GooeyClient { * * @example * await client.bulkRun({ - * exampleId: "string", - * functions: [{ - * url: "string", - * trigger: Gooey.RecipeFunctionTrigger.Pre - * }], - * variables: { - * "string": { - * "key": "value" - * } - * }, - * documents: ["string"], - * runUrls: ["string"], + * documents: ["documents"], + * runUrls: ["run_urls"], * inputColumns: { - * "string": "string" + * "key": "value" * }, * outputColumns: { - * "string": "string" - * }, - * evalUrls: ["string"], - * settings: { - * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * "key": "value" * } * }) */ public async bulkRun( request: Gooey.BulkRunnerPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1030,7 +858,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1043,7 +871,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.BulkRunnerPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1125,38 +959,13 @@ export class GooeyClient { * * @example * 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 - * } + * documents: ["documents"] * }) */ public async synthesizeData( request: Gooey.DocExtractPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1173,7 +982,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1186,7 +995,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.DocExtractPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1267,34 +1082,12 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * 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 - * } - * }) + * await client.llm() */ public async llm( request: Gooey.CompareLlmPageRequest = {}, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1311,7 +1104,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1324,7 +1117,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.CompareLlmPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1406,44 +1205,13 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query" * }) */ public async rag( request: Gooey.DocSearchPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1460,7 +1228,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1473,7 +1241,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.DocSearchPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1555,38 +1329,13 @@ export class GooeyClient { * * @example * 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 - * } + * documents: ["documents"] * }) */ public async docSummary( request: Gooey.DocSummaryPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1603,7 +1352,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1616,7 +1365,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.DocSummaryPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1698,61 +1453,13 @@ export class GooeyClient { * * @example * 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 - * } + * textPrompt: "text_prompt" * }) */ public async lipsyncTts( request: Gooey.LipsyncTtsPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1769,7 +1476,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1782,7 +1489,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.LipsyncTtsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -1864,44 +1577,13 @@ export class GooeyClient { * * @example * 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 - * } + * textPrompt: "text_prompt" * }) */ public async textToSpeech( request: Gooey.TextToSpeechPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -1918,7 +1600,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1931,7 +1613,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.TextToSpeechPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2013,34 +1701,13 @@ export class GooeyClient { * * @example * 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 - * } + * documents: ["documents"] * }) */ public async speechRecognition( request: Gooey.AsrPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2057,7 +1724,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2070,7 +1737,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.AsrPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2152,34 +1825,13 @@ export class GooeyClient { * * @example * 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 - * } + * textPrompt: "text_prompt" * }) */ public async textToMusic( request: Gooey.Text2AudioPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2196,7 +1848,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2209,7 +1861,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.Text2AudioPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2290,31 +1948,12 @@ export class GooeyClient { * @throws {@link Gooey.InternalServerError} * * @example - * 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 - * } - * }) + * await client.translate() */ public async translate( request: Gooey.TranslationPageRequest = {}, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2331,7 +1970,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2344,7 +1983,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.TranslationPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2426,39 +2071,13 @@ export class GooeyClient { * * @example * 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 - * } + * inputImage: "input_image" * }) */ public async remixImage( request: Gooey.Img2ImgPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2475,7 +2094,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2488,7 +2107,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.Img2ImgPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2570,40 +2195,13 @@ export class GooeyClient { * * @example * 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 - * } + * textPrompt: "text_prompt" * }) */ public async textToImage( request: Gooey.CompareText2ImgPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2620,7 +2218,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2633,7 +2231,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.CompareText2ImgPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2715,40 +2319,14 @@ export class GooeyClient { * * @example * 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 - * } + * inputImage: "input_image", + * textPrompt: "text_prompt" * }) */ public async productImage( request: Gooey.ObjectInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2765,7 +2343,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2778,7 +2356,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.ObjectInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -2860,39 +2444,14 @@ export class GooeyClient { * * @example * 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 - * } + * inputImage: "input_image", + * textPrompt: "tony stark from the iron man" * }) */ public async portrait( request: Gooey.FaceInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -2909,7 +2468,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2922,7 +2481,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.FaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3004,48 +2569,14 @@ export class GooeyClient { * * @example * 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 - * } + * emailAddress: "sean@dara.network", + * textPrompt: "winter's day in paris" * }) */ public async imageFromEmail( request: Gooey.EmailFaceInpaintingPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3062,7 +2593,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3075,7 +2606,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.EmailFaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3157,38 +2694,14 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query", + * textPrompt: "text_prompt" * }) */ public async imageFromWebSearch( request: Gooey.GoogleImageGenPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3205,7 +2718,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3218,7 +2731,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.GoogleImageGenPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3300,33 +2819,13 @@ export class GooeyClient { * * @example * 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 - * } + * inputImage: "input_image" * }) */ public async removeBackground( request: Gooey.ImageSegmentationPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3343,7 +2842,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3356,7 +2855,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.ImageSegmentationPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3438,30 +2943,13 @@ export class GooeyClient { * * @example * 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 - * } + * scale: 1 * }) */ public async upscale( request: Gooey.CompareUpscalerPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3478,7 +2966,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3491,7 +2979,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.CompareUpscalerPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3573,27 +3067,13 @@ export class GooeyClient { * * @example * 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 - * } + * texts: ["texts"] * }) */ public async embed( request: Gooey.EmbeddingsPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3610,7 +3090,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3623,7 +3103,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.EmbeddingsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3705,48 +3191,13 @@ export class GooeyClient { * * @example * 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 - * } + * searchQuery: "search_query" * }) */ public async seoPeopleAlsoAskDoc( request: Gooey.RelatedQnADocPageRequest, requestOptions?: GooeyClient.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -3763,7 +3214,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3776,7 +3227,13 @@ export class GooeyClient { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.RelatedQnADocPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -3863,7 +3320,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3916,7 +3373,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3969,7 +3426,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4022,7 +3479,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4075,7 +3532,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4128,7 +3585,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4181,7 +3638,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4234,7 +3691,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4287,7 +3744,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4340,7 +3797,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4393,7 +3850,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4446,7 +3903,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4499,7 +3956,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4552,7 +4009,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4605,7 +4062,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4658,7 +4115,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4711,7 +4168,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4764,7 +4221,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4817,7 +4274,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4870,7 +4327,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4923,7 +4380,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4976,7 +4433,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5029,7 +4486,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5082,7 +4539,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5135,7 +4592,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5188,7 +4645,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5241,7 +4698,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5294,7 +4751,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5347,7 +4804,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5400,7 +4857,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5453,7 +4910,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5506,7 +4963,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5559,7 +5016,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5612,7 +5069,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/client/requests/AsrPageRequest.ts b/src/api/client/requests/AsrPageRequest.ts index 603d240..862b398 100644 --- a/src/api/client/requests/AsrPageRequest.ts +++ b/src/api/client/requests/AsrPageRequest.ts @@ -7,28 +7,7 @@ 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 - * } + * documents: ["documents"] * } */ export interface AsrPageRequest { diff --git a/src/api/client/requests/BulkRunnerPageRequest.ts b/src/api/client/requests/BulkRunnerPageRequest.ts index 2f1d59c..3ff56d4 100644 --- a/src/api/client/requests/BulkRunnerPageRequest.ts +++ b/src/api/client/requests/BulkRunnerPageRequest.ts @@ -7,27 +7,13 @@ import * as Gooey from "../../index"; /** * @example * { - * exampleId: "string", - * functions: [{ - * url: "string", - * trigger: Gooey.RecipeFunctionTrigger.Pre - * }], - * variables: { - * "string": { - * "key": "value" - * } - * }, - * documents: ["string"], - * runUrls: ["string"], + * documents: ["documents"], + * runUrls: ["run_urls"], * inputColumns: { - * "string": "string" + * "key": "value" * }, * outputColumns: { - * "string": "string" - * }, - * evalUrls: ["string"], - * settings: { - * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep + * "key": "value" * } * } */ diff --git a/src/api/client/requests/CompareLlmPageRequest.ts b/src/api/client/requests/CompareLlmPageRequest.ts index ac123f1..93b5011 100644 --- a/src/api/client/requests/CompareLlmPageRequest.ts +++ b/src/api/client/requests/CompareLlmPageRequest.ts @@ -6,29 +6,7 @@ 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; diff --git a/src/api/client/requests/CompareText2ImgPageRequest.ts b/src/api/client/requests/CompareText2ImgPageRequest.ts index 3506ea8..b1cfead 100644 --- a/src/api/client/requests/CompareText2ImgPageRequest.ts +++ b/src/api/client/requests/CompareText2ImgPageRequest.ts @@ -7,34 +7,7 @@ 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 - * } + * textPrompt: "text_prompt" * } */ export interface CompareText2ImgPageRequest { diff --git a/src/api/client/requests/CompareUpscalerPageRequest.ts b/src/api/client/requests/CompareUpscalerPageRequest.ts index 8b45d15..6fae132 100644 --- a/src/api/client/requests/CompareUpscalerPageRequest.ts +++ b/src/api/client/requests/CompareUpscalerPageRequest.ts @@ -7,24 +7,7 @@ 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 - * } + * scale: 1 * } */ export interface CompareUpscalerPageRequest { diff --git a/src/api/client/requests/DeforumSdPageRequest.ts b/src/api/client/requests/DeforumSdPageRequest.ts index 2c652b1..9f465dc 100644 --- a/src/api/client/requests/DeforumSdPageRequest.ts +++ b/src/api/client/requests/DeforumSdPageRequest.ts @@ -7,34 +7,10 @@ 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 - * } + * frame: "frame", + * prompt: "prompt" + * }] * } */ export interface DeforumSdPageRequest { diff --git a/src/api/client/requests/DocExtractPageRequest.ts b/src/api/client/requests/DocExtractPageRequest.ts index 7d5182e..34ebd2c 100644 --- a/src/api/client/requests/DocExtractPageRequest.ts +++ b/src/api/client/requests/DocExtractPageRequest.ts @@ -7,32 +7,7 @@ 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 - * } + * documents: ["documents"] * } */ export interface DocExtractPageRequest { diff --git a/src/api/client/requests/DocSearchPageRequest.ts b/src/api/client/requests/DocSearchPageRequest.ts index 2503a65..7d01d53 100644 --- a/src/api/client/requests/DocSearchPageRequest.ts +++ b/src/api/client/requests/DocSearchPageRequest.ts @@ -7,38 +7,7 @@ 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 - * } + * searchQuery: "search_query" * } */ export interface DocSearchPageRequest { diff --git a/src/api/client/requests/DocSummaryPageRequest.ts b/src/api/client/requests/DocSummaryPageRequest.ts index 63d499c..c57a2f4 100644 --- a/src/api/client/requests/DocSummaryPageRequest.ts +++ b/src/api/client/requests/DocSummaryPageRequest.ts @@ -7,32 +7,7 @@ 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 - * } + * documents: ["documents"] * } */ export interface DocSummaryPageRequest { diff --git a/src/api/client/requests/EmailFaceInpaintingPageRequest.ts b/src/api/client/requests/EmailFaceInpaintingPageRequest.ts index c1187cc..ba4ebf3 100644 --- a/src/api/client/requests/EmailFaceInpaintingPageRequest.ts +++ b/src/api/client/requests/EmailFaceInpaintingPageRequest.ts @@ -7,42 +7,8 @@ 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 - * } + * emailAddress: "sean@dara.network", + * textPrompt: "winter's day in paris" * } */ export interface EmailFaceInpaintingPageRequest { diff --git a/src/api/client/requests/EmbeddingsPageRequest.ts b/src/api/client/requests/EmbeddingsPageRequest.ts index 0eb8d1f..4f6f01a 100644 --- a/src/api/client/requests/EmbeddingsPageRequest.ts +++ b/src/api/client/requests/EmbeddingsPageRequest.ts @@ -7,21 +7,7 @@ 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 - * } + * texts: ["texts"] * } */ export interface EmbeddingsPageRequest { diff --git a/src/api/client/requests/FaceInpaintingPageRequest.ts b/src/api/client/requests/FaceInpaintingPageRequest.ts index 706598d..61ca784 100644 --- a/src/api/client/requests/FaceInpaintingPageRequest.ts +++ b/src/api/client/requests/FaceInpaintingPageRequest.ts @@ -7,33 +7,8 @@ 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 - * } + * inputImage: "input_image", + * textPrompt: "tony stark from the iron man" * } */ export interface FaceInpaintingPageRequest { diff --git a/src/api/client/requests/GoogleGptPageRequest.ts b/src/api/client/requests/GoogleGptPageRequest.ts index e11693c..4d84298 100644 --- a/src/api/client/requests/GoogleGptPageRequest.ts +++ b/src/api/client/requests/GoogleGptPageRequest.ts @@ -7,40 +7,8 @@ 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 - * } + * searchQuery: "search_query", + * siteFilter: "site_filter" * } */ export interface GoogleGptPageRequest { diff --git a/src/api/client/requests/GoogleImageGenPageRequest.ts b/src/api/client/requests/GoogleImageGenPageRequest.ts index e0620ad..7456e77 100644 --- a/src/api/client/requests/GoogleImageGenPageRequest.ts +++ b/src/api/client/requests/GoogleImageGenPageRequest.ts @@ -7,32 +7,8 @@ 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 - * } + * searchQuery: "search_query", + * textPrompt: "text_prompt" * } */ export interface GoogleImageGenPageRequest { diff --git a/src/api/client/requests/ImageSegmentationPageRequest.ts b/src/api/client/requests/ImageSegmentationPageRequest.ts index 0c59253..8ed0142 100644 --- a/src/api/client/requests/ImageSegmentationPageRequest.ts +++ b/src/api/client/requests/ImageSegmentationPageRequest.ts @@ -7,27 +7,7 @@ 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 - * } + * inputImage: "input_image" * } */ export interface ImageSegmentationPageRequest { diff --git a/src/api/client/requests/Img2ImgPageRequest.ts b/src/api/client/requests/Img2ImgPageRequest.ts index 8dd563e..cd40b2e 100644 --- a/src/api/client/requests/Img2ImgPageRequest.ts +++ b/src/api/client/requests/Img2ImgPageRequest.ts @@ -7,33 +7,7 @@ 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 - * } + * inputImage: "input_image" * } */ export interface Img2ImgPageRequest { diff --git a/src/api/client/requests/LipsyncTtsPageRequest.ts b/src/api/client/requests/LipsyncTtsPageRequest.ts index ca7a6f9..a0c5aff 100644 --- a/src/api/client/requests/LipsyncTtsPageRequest.ts +++ b/src/api/client/requests/LipsyncTtsPageRequest.ts @@ -7,55 +7,7 @@ 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 - * } + * textPrompt: "text_prompt" * } */ export interface LipsyncTtsPageRequest { diff --git a/src/api/client/requests/ObjectInpaintingPageRequest.ts b/src/api/client/requests/ObjectInpaintingPageRequest.ts index 2802fd7..3991c2b 100644 --- a/src/api/client/requests/ObjectInpaintingPageRequest.ts +++ b/src/api/client/requests/ObjectInpaintingPageRequest.ts @@ -7,34 +7,8 @@ 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 - * } + * inputImage: "input_image", + * textPrompt: "text_prompt" * } */ export interface ObjectInpaintingPageRequest { diff --git a/src/api/client/requests/QrCodeGeneratorPageRequest.ts b/src/api/client/requests/QrCodeGeneratorPageRequest.ts index 6ac0d9e..b53ba1c 100644 --- a/src/api/client/requests/QrCodeGeneratorPageRequest.ts +++ b/src/api/client/requests/QrCodeGeneratorPageRequest.ts @@ -7,72 +7,7 @@ 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 - * } + * textPrompt: "text_prompt" * } */ export interface QrCodeGeneratorPageRequest { diff --git a/src/api/client/requests/RelatedQnADocPageRequest.ts b/src/api/client/requests/RelatedQnADocPageRequest.ts index 0168475..5616f59 100644 --- a/src/api/client/requests/RelatedQnADocPageRequest.ts +++ b/src/api/client/requests/RelatedQnADocPageRequest.ts @@ -7,42 +7,7 @@ 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 - * } + * searchQuery: "search_query" * } */ export interface RelatedQnADocPageRequest { diff --git a/src/api/client/requests/RelatedQnAPageRequest.ts b/src/api/client/requests/RelatedQnAPageRequest.ts index c29e870..57305f6 100644 --- a/src/api/client/requests/RelatedQnAPageRequest.ts +++ b/src/api/client/requests/RelatedQnAPageRequest.ts @@ -7,40 +7,8 @@ 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 - * } + * searchQuery: "search_query", + * siteFilter: "site_filter" * } */ export interface RelatedQnAPageRequest { diff --git a/src/api/client/requests/SeoSummaryPageRequest.ts b/src/api/client/requests/SeoSummaryPageRequest.ts index 0727427..f700e99 100644 --- a/src/api/client/requests/SeoSummaryPageRequest.ts +++ b/src/api/client/requests/SeoSummaryPageRequest.ts @@ -7,30 +7,10 @@ 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 - * } + * searchQuery: "search_query", + * keywords: "keywords", + * title: "title", + * companyUrl: "company_url" * } */ export interface SeoSummaryPageRequest { diff --git a/src/api/client/requests/SocialLookupEmailPageRequest.ts b/src/api/client/requests/SocialLookupEmailPageRequest.ts index 066e31b..d7ac1fe 100644 --- a/src/api/client/requests/SocialLookupEmailPageRequest.ts +++ b/src/api/client/requests/SocialLookupEmailPageRequest.ts @@ -7,28 +7,7 @@ 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 - * } + * emailAddress: "email_address" * } */ export interface SocialLookupEmailPageRequest { diff --git a/src/api/client/requests/Text2AudioPageRequest.ts b/src/api/client/requests/Text2AudioPageRequest.ts index f7de8b4..0dd95d9 100644 --- a/src/api/client/requests/Text2AudioPageRequest.ts +++ b/src/api/client/requests/Text2AudioPageRequest.ts @@ -7,28 +7,7 @@ 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 - * } + * textPrompt: "text_prompt" * } */ export interface Text2AudioPageRequest { diff --git a/src/api/client/requests/TextToSpeechPageRequest.ts b/src/api/client/requests/TextToSpeechPageRequest.ts index 2925396..7b8f582 100644 --- a/src/api/client/requests/TextToSpeechPageRequest.ts +++ b/src/api/client/requests/TextToSpeechPageRequest.ts @@ -7,38 +7,7 @@ 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 - * } + * textPrompt: "text_prompt" * } */ export interface TextToSpeechPageRequest { diff --git a/src/api/client/requests/TranslationPageRequest.ts b/src/api/client/requests/TranslationPageRequest.ts index ee93087..4c78740 100644 --- a/src/api/client/requests/TranslationPageRequest.ts +++ b/src/api/client/requests/TranslationPageRequest.ts @@ -6,26 +6,7 @@ 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; diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts index 148e043..e676c1f 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 ff83bdc..59cfc95 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 414e5af..c8d0ca9 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 44454cd..3375844 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 ee69af5..a792f95 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 76886c9..a59996a 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 612b866..6f38886 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 e7d2373..ab531a4 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 c2428f3..18bd3d9 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 43c06e9..1cdf187 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 ee7fc9c..87f75c3 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 67fb3b9..050c64d 100644 --- a/src/api/resources/copilotForYourEnterprise/client/Client.ts +++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts @@ -40,98 +40,12 @@ export class CopilotForYourEnterprise { * @throws {@link Gooey.InternalServerError} * * @example - * 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 - * } - * }) + * await client.copilotForYourEnterprise.asyncFormVideoBots() */ public async asyncFormVideoBots( request: Gooey.VideoBotsPageRequest = {}, requestOptions?: CopilotForYourEnterprise.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -148,7 +62,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -161,7 +75,13 @@ export class CopilotForYourEnterprise { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.VideoBotsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -261,7 +181,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts b/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts index db0bbc8..7b5d814 100644 --- a/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts +++ b/src/api/resources/copilotForYourEnterprise/client/requests/VideoBotsPageRequest.ts @@ -6,93 +6,7 @@ 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; diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts index b271841..7592a92 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 659068b..e448741 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 479bf5b..c65385e 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 fc42640..7aeadcf 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 1d32c56..abf73cf 100644 --- a/src/api/resources/evaluator/client/Client.ts +++ b/src/api/resources/evaluator/client/Client.ts @@ -41,41 +41,13 @@ export class Evaluator { * * @example * 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 - * } + * documents: ["documents"] * }) */ public async asyncFormBulkEval( request: Gooey.BulkEvalPageRequest, requestOptions?: Evaluator.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -92,7 +64,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -105,7 +77,13 @@ export class Evaluator { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.BulkEvalPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -205,7 +183,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts b/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts index 7c79cbf..8e70720 100644 --- a/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts +++ b/src/api/resources/evaluator/client/requests/BulkEvalPageRequest.ts @@ -7,35 +7,7 @@ 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 - * } + * documents: ["documents"] * } */ export interface BulkEvalPageRequest { diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts index 37e532e..d99cc22 100644 --- a/src/api/resources/functions/client/Client.ts +++ b/src/api/resources/functions/client/Client.ts @@ -40,23 +40,12 @@ export class Functions { * @throws {@link Gooey.InternalServerError} * * @example - * await client.functions.asyncFormFunctions({ - * exampleId: "string", - * code: "string", - * variables: { - * "string": { - * "key": "value" - * } - * }, - * settings: { - * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep - * } - * }) + * await client.functions.asyncFormFunctions() */ public async asyncFormFunctions( request: Gooey.FunctionsPageRequest = {}, requestOptions?: Functions.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -73,7 +62,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -86,7 +75,13 @@ export class Functions { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.FunctionsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -186,7 +181,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -271,7 +266,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/functions/client/requests/FunctionsPageRequest.ts b/src/api/resources/functions/client/requests/FunctionsPageRequest.ts index 4a87b56..c3f1b11 100644 --- a/src/api/resources/functions/client/requests/FunctionsPageRequest.ts +++ b/src/api/resources/functions/client/requests/FunctionsPageRequest.ts @@ -6,18 +6,7 @@ import * as Gooey from "../../../../index"; /** * @example - * { - * exampleId: "string", - * code: "string", - * variables: { - * "string": { - * "key": "value" - * } - * }, - * settings: { - * retentionPolicy: Gooey.RunSettingsRetentionPolicy.Keep - * } - * } + * {} */ export interface FunctionsPageRequest { exampleId?: string; diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts index 6aaab31..8bf078e 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 cf18575..2e08a63 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts index 3d47215..b41f961 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 a00f5d4..0afd92d 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 568fb4d..5feb9da 100644 --- a/src/api/resources/lipSyncing/client/Client.ts +++ b/src/api/resources/lipSyncing/client/Client.ts @@ -40,44 +40,12 @@ export class LipSyncing { * @throws {@link Gooey.InternalServerError} * * @example - * 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 - * } - * }) + * await client.lipSyncing.asyncFormLipsync() */ public async asyncFormLipsync( request: Gooey.LipsyncPageRequest = {}, requestOptions?: LipSyncing.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -94,7 +62,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -107,7 +75,13 @@ export class LipSyncing { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.LipsyncPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -207,7 +181,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts b/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts index be4a2c7..7d95ffe 100644 --- a/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts +++ b/src/api/resources/lipSyncing/client/requests/LipsyncPageRequest.ts @@ -6,39 +6,7 @@ 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; diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts index 6ba1e6c..3425367 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 92c70bf..ec269fd 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 943b2ff..898f388 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 c121d52..c65b823 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 11e116a..7849beb 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 c9a4371..0d44c20 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 54d263c..eca1917 100644 --- a/src/api/resources/smartGpt/client/Client.ts +++ b/src/api/resources/smartGpt/client/Client.ts @@ -41,36 +41,13 @@ export class SmartGpt { * * @example * 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 - * } + * inputPrompt: "input_prompt" * }) */ public async asyncFormSmartGpt( request: Gooey.SmartGptPageRequest, requestOptions?: SmartGpt.RequestOptions - ): Promise { + ): Promise { const { exampleId, ..._body } = request; const _queryParams: Record = {}; if (exampleId != null) { @@ -87,7 +64,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -100,7 +77,13 @@ export class SmartGpt { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return _response.body; + return serializers.SmartGptPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { @@ -200,7 +183,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -285,7 +268,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts b/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts index 645bdf4..087a8e2 100644 --- a/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts +++ b/src/api/resources/smartGpt/client/requests/SmartGptPageRequest.ts @@ -7,30 +7,7 @@ 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 - * } + * inputPrompt: "input_prompt" * } */ export interface SmartGptPageRequest { diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts index afffd38..88fbbb6 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 2a88f4c..738c6f8 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 ad996f7..1b98f0c 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 97c8650..7b3c508 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "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 7a3fa39..c36e666 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-beta16", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, },