From f340ab8bfc701f74d626782fbe90f22311462e62 Mon Sep 17 00:00:00 2001
From: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Date: Fri, 2 Aug 2024 05:51:50 +0000
Subject: [PATCH] Release 0.0.1-beta2
---
README.md | 14 +--
package.json | 4 +-
reference.md | 40 ++++++++
src/Client.ts | 4 +
.../aiAnimationGenerator/client/Client.ts | 24 +++--
.../resources/aiArtQrCode/client/Client.ts | 24 +++--
.../aiBackgroundChanger/client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../aiImageWithAFace/client/Client.ts | 24 +++--
src/api/resources/bulkRunner/client/Client.ts | 24 +++--
.../resources/chyronPlantBot/client/Client.ts | 24 +++--
.../compareAiImageGenerators/client/Client.ts | 24 +++--
.../compareAiImageUpscalers/client/Client.ts | 24 +++--
.../compareAiTranslations/client/Client.ts | 24 +++--
.../compareAiVoiceGenerators/client/Client.ts | 24 +++--
.../copilotForYourEnterprise/client/Client.ts | 24 +++--
.../copilotIntegrations/client/Client.ts | 19 +++-
.../client/requests/CreateStreamRequest.ts | 11 +--
.../CreateStreamRequestResponseFormatType.ts | 10 --
.../types/CreateStreamRequestSelectedModel.ts | 8 --
.../copilotIntegrations/types/index.ts | 1 -
.../client/Client.ts | 24 +++--
.../editAnImageWithAiPrompt/client/Client.ts | 24 +++--
src/api/resources/embeddings/client/Client.ts | 24 +++--
src/api/resources/evaluator/client/Client.ts | 24 +++--
src/api/resources/functions/client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../largeLanguageModelsGpt3/client/Client.ts | 24 +++--
.../resources/letterWriter/client/Client.ts | 24 +++--
src/api/resources/lipSyncing/client/Client.ts | 24 +++--
.../lipsyncVideoWithAnyText/client/Client.ts | 24 +++--
src/api/resources/misc/client/Client.ts | 93 +++++++++++++++++--
.../client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../searchYourDocsWithGpt/client/Client.ts | 24 +++--
src/api/resources/smartGpt/client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../summarizeYourDocsWithGpt/client/Client.ts | 24 +++--
.../client/Client.ts | 24 +++--
.../textGuidedAudioGenerator/client/Client.ts | 24 +++--
.../resources/webSearchGpt3/client/Client.ts | 24 +++--
src/api/types/AggFunction.ts | 2 +-
.../{Function.ts => AggFunctionFunction.ts} | 4 +-
src/api/types/AggFunctionResult.ts | 2 +-
src/api/types/AggFunctionResultFunction.ts | 40 ++++++++
src/api/types/BulkEvalPageRequest.ts | 13 ++-
.../BulkEvalPageRequestResponseFormatType.ts | 10 --
.../types/BulkEvalPageRequestSelectedModel.ts | 8 --
src/api/types/CalledFunctionResponse.ts | 2 +-
.../types/CalledFunctionResponseTrigger.ts | 10 ++
...CompareLlmPageRequestSelectedModelsItem.ts | 8 --
src/api/types/CompareText2ImgPageRequest.ts | 2 +-
...=> CompareText2ImgPageRequestScheduler.ts} | 4 +-
src/api/types/ConsoleLogs.ts | 2 +-
.../types/{Level.ts => ConsoleLogsLevel.ts} | 4 +-
src/api/types/ConversationEntry.ts | 4 +-
...Content.ts => ConversationEntryContent.ts} | 2 +-
.../{Role.ts => ConversationEntryRole.ts} | 4 +-
src/api/types/DocExtractPageRequest.ts | 1 -
...DocExtractPageRequestResponseFormatType.ts | 10 --
.../DocExtractPageRequestSelectedModel.ts | 8 --
src/api/types/DocSearchPageRequest.ts | 3 +-
.../DocSearchPageRequestResponseFormatType.ts | 10 --
.../DocSearchPageRequestSelectedModel.ts | 8 --
src/api/types/DocSummaryPageRequest.ts | 7 +-
...DocSummaryPageRequestResponseFormatType.ts | 10 --
.../DocSummaryPageRequestSelectedModel.ts | 8 --
src/api/types/GoogleGptPageRequest.ts | 23 +++--
.../GoogleGptPageRequestResponseFormatType.ts | 10 --
.../GoogleGptPageRequestSelectedModel.ts | 8 --
src/api/types/ImageUrl.ts | 2 +-
.../types/{Detail.ts => ImageUrlDetail.ts} | 4 +-
src/api/types/PromptTreeNode.ts | 2 +-
.../{Prompt.ts => PromptTreeNodePrompt.ts} | 2 +-
src/api/types/QrCodeGeneratorPageRequest.ts | 2 +-
.../QrCodeGeneratorPageRequestScheduler.ts | 36 +++++++
src/api/types/RecipeFunction.ts | 2 +-
.../{Trigger.ts => RecipeFunctionTrigger.ts} | 4 +-
src/api/types/RelatedQnADocPageRequest.ts | 3 +-
...atedQnADocPageRequestResponseFormatType.ts | 10 --
.../RelatedQnADocPageRequestSelectedModel.ts | 8 --
src/api/types/RelatedQnAPageRequest.ts | 23 +++--
...RelatedQnAPageRequestResponseFormatType.ts | 10 --
.../RelatedQnAPageRequestSelectedModel.ts | 8 --
src/api/types/SadTalkerSettings.ts | 2 +-
...cess.ts => SadTalkerSettingsPreprocess.ts} | 4 +-
src/api/types/SeoSummaryPageRequest.ts | 23 +++--
...SeoSummaryPageRequestResponseFormatType.ts | 10 --
.../SeoSummaryPageRequestSelectedModel.ts | 8 --
src/api/types/SerpSearchLocation.ts | 4 +-
src/api/types/SmartGptPageRequest.ts | 1 -
.../SmartGptPageRequestResponseFormatType.ts | 10 --
.../types/SmartGptPageRequestSelectedModel.ts | 8 --
src/api/types/SocialLookupEmailPageRequest.ts | 3 +-
...ookupEmailPageRequestResponseFormatType.ts | 10 --
...cialLookupEmailPageRequestSelectedModel.ts | 8 --
src/api/types/VideoBotsPageRequest.ts | 11 +--
.../VideoBotsPageRequestResponseFormatType.ts | 10 --
.../VideoBotsPageRequestSelectedModel.ts | 8 --
src/api/types/index.ts | 32 +++----
.../client/requests/CreateStreamRequest.ts | 26 ++----
.../CreateStreamRequestResponseFormatType.ts | 16 ----
.../types/CreateStreamRequestSelectedModel.ts | 8 --
.../copilotIntegrations/types/index.ts | 1 -
src/serialization/types/AggFunction.ts | 6 +-
.../{Function.ts => AggFunctionFunction.ts} | 7 +-
src/serialization/types/AggFunctionResult.ts | 6 +-
.../types/AggFunctionResultFunction.ts | 49 ++++++++++
.../types/BulkEvalPageRequest.ts | 20 ++--
.../BulkEvalPageRequestResponseFormatType.ts | 16 ----
.../types/BulkEvalPageRequestSelectedModel.ts | 8 --
.../types/CalledFunctionResponse.ts | 6 +-
.../types/CalledFunctionResponseTrigger.ts | 16 ++++
...CompareLlmPageRequestSelectedModelsItem.ts | 8 --
.../types/CompareText2ImgPageRequest.ts | 6 +-
...=> CompareText2ImgPageRequestScheduler.ts} | 38 ++++----
src/serialization/types/ConsoleLogs.ts | 6 +-
.../types/{Level.ts => ConsoleLogsLevel.ts} | 8 +-
src/serialization/types/Content.ts | 18 ----
src/serialization/types/ConversationEntry.ts | 12 +--
.../types/ConversationEntryContent.ts | 20 ++++
.../types/ConversationEntryRole.ts | 16 ++++
.../types/DocExtractPageRequest.ts | 6 --
...DocExtractPageRequestResponseFormatType.ts | 16 ----
.../DocExtractPageRequestSelectedModel.ts | 8 --
.../types/DocSearchPageRequest.ts | 10 +-
.../DocSearchPageRequestResponseFormatType.ts | 16 ----
.../DocSearchPageRequestSelectedModel.ts | 8 --
.../types/DocSummaryPageRequest.ts | 22 ++---
...DocSummaryPageRequestResponseFormatType.ts | 16 ----
.../DocSummaryPageRequestSelectedModel.ts | 8 --
.../types/GoogleGptPageRequest.ts | 52 +++++------
.../GoogleGptPageRequestResponseFormatType.ts | 16 ----
.../GoogleGptPageRequestSelectedModel.ts | 8 --
src/serialization/types/ImageUrl.ts | 6 +-
.../types/{Detail.ts => ImageUrlDetail.ts} | 9 +-
src/serialization/types/PromptTreeNode.ts | 6 +-
.../{Prompt.ts => PromptTreeNodePrompt.ts} | 8 +-
.../types/QrCodeGeneratorPageRequest.ts | 6 +-
.../QrCodeGeneratorPageRequestScheduler.ts | 45 +++++++++
src/serialization/types/RecipeFunction.ts | 6 +-
.../types/RecipeFunctionTrigger.ts | 16 ++++
.../types/RelatedQnADocPageRequest.ts | 10 +-
...atedQnADocPageRequestResponseFormatType.ts | 16 ----
.../RelatedQnADocPageRequestSelectedModel.ts | 8 --
.../types/RelatedQnAPageRequest.ts | 52 +++++------
...RelatedQnAPageRequestResponseFormatType.ts | 16 ----
.../RelatedQnAPageRequestSelectedModel.ts | 8 --
src/serialization/types/Role.ts | 17 ----
src/serialization/types/SadTalkerSettings.ts | 6 +-
...cess.ts => SadTalkerSettingsPreprocess.ts} | 8 +-
.../types/SeoSummaryPageRequest.ts | 50 +++++-----
...SeoSummaryPageRequestResponseFormatType.ts | 16 ----
.../SeoSummaryPageRequestSelectedModel.ts | 8 --
src/serialization/types/SerpSearchLocation.ts | 4 +-
.../types/SmartGptPageRequest.ts | 6 --
.../SmartGptPageRequestResponseFormatType.ts | 16 ----
.../types/SmartGptPageRequestSelectedModel.ts | 8 --
.../types/SocialLookupEmailPageRequest.ts | 10 +-
...ookupEmailPageRequestResponseFormatType.ts | 16 ----
...cialLookupEmailPageRequestSelectedModel.ts | 8 --
src/serialization/types/Trigger.ts | 16 ----
.../types/VideoBotsPageRequest.ts | 26 ++----
.../VideoBotsPageRequestResponseFormatType.ts | 16 ----
.../VideoBotsPageRequestSelectedModel.ts | 8 --
src/serialization/types/index.ts | 32 +++----
168 files changed, 1292 insertions(+), 1185 deletions(-)
delete mode 100644 src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
rename src/api/types/{Function.ts => AggFunctionFunction.ts} (89%)
create mode 100644 src/api/types/AggFunctionResultFunction.ts
delete mode 100644 src/api/types/BulkEvalPageRequestResponseFormatType.ts
create mode 100644 src/api/types/CalledFunctionResponseTrigger.ts
rename src/api/types/{Scheduler.ts => CompareText2ImgPageRequestScheduler.ts} (88%)
rename src/api/types/{Level.ts => ConsoleLogsLevel.ts} (60%)
rename src/api/types/{Content.ts => ConversationEntryContent.ts} (56%)
rename src/api/types/{Role.ts => ConversationEntryRole.ts} (58%)
delete mode 100644 src/api/types/DocExtractPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/DocSearchPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/DocSummaryPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/GoogleGptPageRequestResponseFormatType.ts
rename src/api/types/{Detail.ts => ImageUrlDetail.ts} (61%)
rename src/api/types/{Prompt.ts => PromptTreeNodePrompt.ts} (60%)
create mode 100644 src/api/types/QrCodeGeneratorPageRequestScheduler.ts
rename src/api/types/{Trigger.ts => RecipeFunctionTrigger.ts} (70%)
delete mode 100644 src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/RelatedQnAPageRequestResponseFormatType.ts
rename src/api/types/{Preprocess.ts => SadTalkerSettingsPreprocess.ts} (81%)
delete mode 100644 src/api/types/SeoSummaryPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/SmartGptPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
delete mode 100644 src/api/types/VideoBotsPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
rename src/serialization/types/{Function.ts => AggFunctionFunction.ts} (76%)
create mode 100644 src/serialization/types/AggFunctionResultFunction.ts
delete mode 100644 src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/CalledFunctionResponseTrigger.ts
rename src/serialization/types/{Scheduler.ts => CompareText2ImgPageRequestScheduler.ts} (50%)
rename src/serialization/types/{Level.ts => ConsoleLogsLevel.ts} (52%)
delete mode 100644 src/serialization/types/Content.ts
create mode 100644 src/serialization/types/ConversationEntryContent.ts
create mode 100644 src/serialization/types/ConversationEntryRole.ts
delete mode 100644 src/serialization/types/DocExtractPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/DocSearchPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
rename src/serialization/types/{Detail.ts => ImageUrlDetail.ts} (53%)
rename src/serialization/types/{Prompt.ts => PromptTreeNodePrompt.ts} (59%)
create mode 100644 src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts
create mode 100644 src/serialization/types/RecipeFunctionTrigger.ts
delete mode 100644 src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/Role.ts
rename src/serialization/types/{Preprocess.ts => SadTalkerSettingsPreprocess.ts} (50%)
delete mode 100644 src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/SmartGptPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
delete mode 100644 src/serialization/types/Trigger.ts
delete mode 100644 src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
diff --git a/README.md b/README.md
index a08a919..197edb8 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
# Gooey TypeScript Library
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)
-[![npm shield](https://img.shields.io/npm/v/gooey)](https://www.npmjs.com/package/gooey)
+[![npm shield](https://img.shields.io/npm/v/gooeyai)](https://www.npmjs.com/package/gooeyai)
The Gooey TypeScript library provides convenient access to the Gooey API from TypeScript.
## Installation
```sh
-npm i -s gooey
+npm i -s gooeyai
```
## Usage
@@ -16,9 +16,9 @@ npm i -s gooey
Instantiate and use the client with the following:
```typescript
-import { GooeyClient } from "gooey";
+import { GooeyClient } from "gooeyai";
-const client = new GooeyClient({ apiKey: "YOUR_API_KEY" });
+const client = new GooeyClient({ apiKey: "YOUR_API_KEY", authorization: "YOUR_AUTHORIZATION" });
await client.copilotIntegrations.videoBotsStreamCreate({
integrationId: "integration_id",
});
@@ -30,7 +30,7 @@ The SDK exports all request and response types as TypeScript interfaces. Simply
following namespace:
```typescript
-import { Gooey } from "gooey";
+import { Gooey } from "gooeyai";
const request: Gooey.CreateStreamRequest = {
...
@@ -43,7 +43,7 @@ When the API returns a non-success status code (4xx or 5xx response), a subclass
will be thrown.
```typescript
-import { GooeyError } from "gooey";
+import { GooeyError } from "gooeyai";
try {
await client.copilotIntegrations.videoBotsStreamCreate(...);
@@ -118,7 +118,7 @@ The SDK provides a way for your to customize the underlying HTTP client / Fetch
unsupported environment, this provides a way for you to break glass and ensure the SDK works.
```typescript
-import { GooeyClient } from "gooey";
+import { GooeyClient } from "gooeyai";
const client = new GooeyClient({
...
diff --git a/package.json b/package.json
index f2439a7..71ce5a6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
- "name": "gooey",
- "version": "0.0.1-beta1",
+ "name": "gooeyai",
+ "version": "0.0.1-beta2",
"private": false,
"repository": "https://github.com/GooeyAI/typescript-sdk",
"main": "./index.js",
diff --git a/reference.md b/reference.md
index 2c2d3a5..04c46a0 100644
--- a/reference.md
+++ b/reference.md
@@ -5229,3 +5229,43 @@ await client.misc.videoBotsBroadcast({
+
+client.misc.health() -> unknown
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.misc.health();
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `Misc.RequestOptions`
+
+
+
+
+
+
+
+
+
diff --git a/src/Client.ts b/src/Client.ts
index 7f3c755..bb523c3 100644
--- a/src/Client.ts
+++ b/src/Client.ts
@@ -44,6 +44,8 @@ export declare namespace GooeyClient {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -54,6 +56,8 @@ export declare namespace GooeyClient {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts
index b5904b2..7087d1e 100644
--- a/src/api/resources/aiAnimationGenerator/client/Client.ts
+++ b/src/api/resources/aiAnimationGenerator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiAnimationGenerator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiAnimationGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -59,10 +63,11 @@ export class AiAnimationGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +172,11 @@ export class AiAnimationGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -265,10 +271,11 @@ export class AiAnimationGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -344,4 +351,9 @@ export class AiAnimationGenerator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts
index fe2e1f5..c8f4e31 100644
--- a/src/api/resources/aiArtQrCode/client/Client.ts
+++ b/src/api/resources/aiArtQrCode/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiArtQrCode {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiArtQrCode {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class AiArtQrCode {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class AiArtQrCode {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class AiArtQrCode {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class AiArtQrCode {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts
index f666df5..00eb35a 100644
--- a/src/api/resources/aiBackgroundChanger/client/Client.ts
+++ b/src/api/resources/aiBackgroundChanger/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiBackgroundChanger {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiBackgroundChanger {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class AiBackgroundChanger {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class AiBackgroundChanger {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class AiBackgroundChanger {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class AiBackgroundChanger {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
index 6d0d403..c6ceecd 100644
--- a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
+++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts
index 2ab4a1b..2fed73b 100644
--- a/src/api/resources/aiImageWithAFace/client/Client.ts
+++ b/src/api/resources/aiImageWithAFace/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiImageWithAFace {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiImageWithAFace {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class AiImageWithAFace {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class AiImageWithAFace {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class AiImageWithAFace {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class AiImageWithAFace {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts
index 291c5d1..949ddf0 100644
--- a/src/api/resources/bulkRunner/client/Client.ts
+++ b/src/api/resources/bulkRunner/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace BulkRunner {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace BulkRunner {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -63,10 +67,11 @@ export class BulkRunner {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -175,10 +180,11 @@ export class BulkRunner {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -273,10 +279,11 @@ export class BulkRunner {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -352,4 +359,9 @@ export class BulkRunner {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts
index c0944d5..b606295 100644
--- a/src/api/resources/chyronPlantBot/client/Client.ts
+++ b/src/api/resources/chyronPlantBot/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace ChyronPlantBot {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace ChyronPlantBot {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class ChyronPlantBot {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class ChyronPlantBot {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class ChyronPlantBot {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class ChyronPlantBot {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts
index ad72005..b287462 100644
--- a/src/api/resources/compareAiImageGenerators/client/Client.ts
+++ b/src/api/resources/compareAiImageGenerators/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiImageGenerators {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiImageGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class CompareAiImageGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class CompareAiImageGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class CompareAiImageGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiImageGenerators {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts
index c352c43..75a19a3 100644
--- a/src/api/resources/compareAiImageUpscalers/client/Client.ts
+++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiImageUpscalers {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiImageUpscalers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class CompareAiImageUpscalers {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class CompareAiImageUpscalers {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class CompareAiImageUpscalers {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiImageUpscalers {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts
index b61f471..5067f56 100644
--- a/src/api/resources/compareAiTranslations/client/Client.ts
+++ b/src/api/resources/compareAiTranslations/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiTranslations {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiTranslations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class CompareAiTranslations {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -157,10 +162,11 @@ export class CompareAiTranslations {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -255,10 +261,11 @@ export class CompareAiTranslations {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class CompareAiTranslations {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
index be7c6dc..127367c 100644
--- a/src/api/resources/compareAiVoiceGenerators/client/Client.ts
+++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiVoiceGenerators {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiVoiceGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class CompareAiVoiceGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class CompareAiVoiceGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class CompareAiVoiceGenerators {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiVoiceGenerators {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts
index e40ba53..9aec357 100644
--- a/src/api/resources/copilotForYourEnterprise/client/Client.ts
+++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CopilotForYourEnterprise {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CopilotForYourEnterprise {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class CopilotForYourEnterprise {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -157,10 +162,11 @@ export class CopilotForYourEnterprise {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -255,10 +261,11 @@ export class CopilotForYourEnterprise {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class CopilotForYourEnterprise {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts
index f16cbb0..567f92a 100644
--- a/src/api/resources/copilotIntegrations/client/Client.ts
+++ b/src/api/resources/copilotIntegrations/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CopilotIntegrations {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CopilotIntegrations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class CopilotIntegrations {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -136,10 +141,11 @@ export class CopilotIntegrations {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -204,4 +210,9 @@ export class CopilotIntegrations {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
index 4a3afe1..cb6cab5 100644
--- a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -49,6 +49,11 @@ export interface CreateStreamRequest {
selectedModel?: Gooey.CreateStreamRequestSelectedModel;
/** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */
documentModel?: string;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
taskInstructions?: string;
queryInstructions?: string;
keywordInstructions?: string;
@@ -85,12 +90,6 @@ export interface CreateStreamRequest {
lipsyncModel?: Gooey.CreateStreamRequestLipsyncModel;
/** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */
tools?: Gooey.LlmTools[];
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.CreateStreamRequestResponseFormatType;
ttsProvider?: Gooey.CreateStreamRequestTtsProvider;
uberduckVoiceName?: string;
uberduckSpeakingRate?: number;
diff --git a/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts b/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
deleted file mode 100644
index 77cabe3..0000000
--- a/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type CreateStreamRequestResponseFormatType = "text" | "json_object";
-
-export const CreateStreamRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts b/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
index d495e6a..840a2b0 100644
--- a/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type CreateStreamRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type CreateStreamRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type CreateStreamRequestSelectedModel =
export const CreateStreamRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const CreateStreamRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/resources/copilotIntegrations/types/index.ts b/src/api/resources/copilotIntegrations/types/index.ts
index 8b11dd6..5429f0e 100644
--- a/src/api/resources/copilotIntegrations/types/index.ts
+++ b/src/api/resources/copilotIntegrations/types/index.ts
@@ -4,7 +4,6 @@ export * from "./CreateStreamRequestCitationStyle";
export * from "./CreateStreamRequestAsrModel";
export * from "./CreateStreamRequestTranslationModel";
export * from "./CreateStreamRequestLipsyncModel";
-export * from "./CreateStreamRequestResponseFormatType";
export * from "./CreateStreamRequestTtsProvider";
export * from "./CreateStreamRequestOpenaiVoiceName";
export * from "./CreateStreamRequestOpenaiTtsModel";
diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
index 19698c8..28f2e82 100644
--- a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
+++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -59,10 +63,11 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +172,11 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -265,10 +271,11 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -344,4 +351,9 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
index b2f338a..6fc96f8 100644
--- a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
+++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace EditAnImageWithAiPrompt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace EditAnImageWithAiPrompt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class EditAnImageWithAiPrompt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class EditAnImageWithAiPrompt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class EditAnImageWithAiPrompt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class EditAnImageWithAiPrompt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts
index 1ade4c3..4241fc2 100644
--- a/src/api/resources/embeddings/client/Client.ts
+++ b/src/api/resources/embeddings/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Embeddings {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Embeddings {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class Embeddings {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class Embeddings {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class Embeddings {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class Embeddings {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts
index 968b271..efab8e9 100644
--- a/src/api/resources/evaluator/client/Client.ts
+++ b/src/api/resources/evaluator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Evaluator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Evaluator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class Evaluator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class Evaluator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class Evaluator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class Evaluator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts
index 531f814..4f7e6ca 100644
--- a/src/api/resources/functions/client/Client.ts
+++ b/src/api/resources/functions/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Functions {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Functions {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class Functions {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -157,10 +162,11 @@ export class Functions {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -255,10 +261,11 @@ export class Functions {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class Functions {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
index 6a5d161..970d715 100644
--- a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
+++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace GeneratePeopleAlsoAskSeoContent {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace GeneratePeopleAlsoAskSeoContent {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class GeneratePeopleAlsoAskSeoContent {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class GeneratePeopleAlsoAskSeoContent {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class GeneratePeopleAlsoAskSeoContent {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class GeneratePeopleAlsoAskSeoContent {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
index 180b77e..92407b2 100644
--- a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
+++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace GenerateProductPhotoBackgrounds {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace GenerateProductPhotoBackgrounds {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class GenerateProductPhotoBackgrounds {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class GenerateProductPhotoBackgrounds {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class GenerateProductPhotoBackgrounds {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class GenerateProductPhotoBackgrounds {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
index ca8dbb6..84c2106 100644
--- a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
+++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LargeLanguageModelsGpt3 {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LargeLanguageModelsGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class LargeLanguageModelsGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -157,10 +162,11 @@ export class LargeLanguageModelsGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -255,10 +261,11 @@ export class LargeLanguageModelsGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class LargeLanguageModelsGpt3 {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts
index 1f65fbe..ff0813a 100644
--- a/src/api/resources/letterWriter/client/Client.ts
+++ b/src/api/resources/letterWriter/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LetterWriter {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LetterWriter {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class LetterWriter {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class LetterWriter {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class LetterWriter {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class LetterWriter {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts
index f9876e6..68bc8f7 100644
--- a/src/api/resources/lipSyncing/client/Client.ts
+++ b/src/api/resources/lipSyncing/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LipSyncing {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LipSyncing {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -54,10 +58,11 @@ export class LipSyncing {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -157,10 +162,11 @@ export class LipSyncing {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -255,10 +261,11 @@ export class LipSyncing {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class LipSyncing {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
index 79f4d46..3f0c0c0 100644
--- a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
+++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LipsyncVideoWithAnyText {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LipsyncVideoWithAnyText {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class LipsyncVideoWithAnyText {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class LipsyncVideoWithAnyText {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class LipsyncVideoWithAnyText {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class LipsyncVideoWithAnyText {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts
index 5e9e580..b471aaf 100644
--- a/src/api/resources/misc/client/Client.ts
+++ b/src/api/resources/misc/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Misc {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Misc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -32,6 +36,8 @@ export class Misc {
/**
* @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
*
+ * @throws {@link Gooey.UnprocessableEntityError}
+ *
* @example
* await client.misc.getBalance()
*/
@@ -45,10 +51,11 @@ export class Misc {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -67,10 +74,23 @@ export class Misc {
}
if (_response.error.reason === "status-code") {
- throw new errors.GooeyError({
- statusCode: _response.error.statusCode,
- body: _response.error.body,
- });
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new Gooey.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ default:
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
}
switch (_response.error.reason) {
@@ -122,10 +142,11 @@ export class Misc {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -174,6 +195,57 @@ export class Misc {
}
}
+ /**
+ * @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @example
+ * await client.misc.health()
+ */
+ public async health(requestOptions?: Misc.RequestOptions): Promise {
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default,
+ method: "GET",
+ headers: {
+ Authorization: await this._getAuthorizationHeader(),
+ "X-Fern-Language": "JavaScript",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
+ "X-Fern-Runtime": core.RUNTIME.type,
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
+ },
+ contentType: "application/json",
+ requestType: "json",
+ timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
+ maxRetries: requestOptions?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ });
+ if (_response.ok) {
+ return _response.body;
+ }
+
+ if (_response.error.reason === "status-code") {
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
+
+ switch (_response.error.reason) {
+ case "non-json":
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.rawBody,
+ });
+ case "timeout":
+ throw new errors.GooeyTimeoutError();
+ case "unknown":
+ throw new errors.GooeyError({
+ message: _response.error.errorMessage,
+ });
+ }
+ }
+
protected async _getAuthorizationHeader(): Promise {
const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
if (bearer == null) {
@@ -184,4 +256,9 @@ export class Misc {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
index af89fde..0e859a4 100644
--- a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
+++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace PeopleAlsoAskAnswersFromADoc {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace PeopleAlsoAskAnswersFromADoc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class PeopleAlsoAskAnswersFromADoc {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class PeopleAlsoAskAnswersFromADoc {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class PeopleAlsoAskAnswersFromADoc {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class PeopleAlsoAskAnswersFromADoc {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
index 91c315b..80f0158 100644
--- a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
+++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
index f1af08d..599c406 100644
--- a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
+++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace RenderImageSearchResultsWithAi {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace RenderImageSearchResultsWithAi {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class RenderImageSearchResultsWithAi {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class RenderImageSearchResultsWithAi {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class RenderImageSearchResultsWithAi {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class RenderImageSearchResultsWithAi {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
index 96a3e62..ef00ea8 100644
--- a/src/api/resources/searchYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SearchYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SearchYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class SearchYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class SearchYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class SearchYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SearchYourDocsWithGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts
index 0611c83..7c357dc 100644
--- a/src/api/resources/smartGpt/client/Client.ts
+++ b/src/api/resources/smartGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SmartGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SmartGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class SmartGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class SmartGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class SmartGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SmartGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts
index 252639f..a0de383 100644
--- a/src/api/resources/speechRecognitionTranslation/client/Client.ts
+++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SpeechRecognitionTranslation {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SpeechRecognitionTranslation {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class SpeechRecognitionTranslation {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class SpeechRecognitionTranslation {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class SpeechRecognitionTranslation {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SpeechRecognitionTranslation {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
index 295ea17..930528d 100644
--- a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SummarizeYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SummarizeYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class SummarizeYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class SummarizeYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class SummarizeYourDocsWithGpt {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SummarizeYourDocsWithGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
index 0be219f..07cd09b 100644
--- a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
+++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SyntheticDataMakerForVideosPdFs {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SyntheticDataMakerForVideosPdFs {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class SyntheticDataMakerForVideosPdFs {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class SyntheticDataMakerForVideosPdFs {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class SyntheticDataMakerForVideosPdFs {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SyntheticDataMakerForVideosPdFs {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
index b786f8a..4dce164 100644
--- a/src/api/resources/textGuidedAudioGenerator/client/Client.ts
+++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace TextGuidedAudioGenerator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace TextGuidedAudioGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -56,10 +60,11 @@ export class TextGuidedAudioGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -161,10 +166,11 @@ export class TextGuidedAudioGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -259,10 +265,11 @@ export class TextGuidedAudioGenerator {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class TextGuidedAudioGenerator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts
index 074d8c8..1d1473b 100644
--- a/src/api/resources/webSearchGpt3/client/Client.ts
+++ b/src/api/resources/webSearchGpt3/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace WebSearchGpt3 {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace WebSearchGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,10 +61,11 @@ export class WebSearchGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +168,11 @@ export class WebSearchGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -261,10 +267,11 @@ export class WebSearchGpt3 {
headers: {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
- "X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta1",
+ "X-Fern-SDK-Name": "gooeyai",
+ "X-Fern-SDK-Version": "0.0.1-beta2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class WebSearchGpt3 {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/types/AggFunction.ts b/src/api/types/AggFunction.ts
index 1941b94..85843ad 100644
--- a/src/api/types/AggFunction.ts
+++ b/src/api/types/AggFunction.ts
@@ -6,5 +6,5 @@ import * as Gooey from "../index";
export interface AggFunction {
column?: string;
- function: Gooey.Function;
+ function: Gooey.AggFunctionFunction;
}
diff --git a/src/api/types/Function.ts b/src/api/types/AggFunctionFunction.ts
similarity index 89%
rename from src/api/types/Function.ts
rename to src/api/types/AggFunctionFunction.ts
index 6458162..3253d31 100644
--- a/src/api/types/Function.ts
+++ b/src/api/types/AggFunctionFunction.ts
@@ -2,7 +2,7 @@
* This file was auto-generated by Fern from our API Definition.
*/
-export type Function =
+export type AggFunctionFunction =
| "mean"
| "median"
| "min"
@@ -20,7 +20,7 @@ export type Function =
| "nunique"
| "rank";
-export const Function = {
+export const AggFunctionFunction = {
Mean: "mean",
Median: "median",
Min: "min",
diff --git a/src/api/types/AggFunctionResult.ts b/src/api/types/AggFunctionResult.ts
index 9e61b79..e9597ed 100644
--- a/src/api/types/AggFunctionResult.ts
+++ b/src/api/types/AggFunctionResult.ts
@@ -6,7 +6,7 @@ import * as Gooey from "../index";
export interface AggFunctionResult {
column: string;
- function: Gooey.Function;
+ function: Gooey.AggFunctionResultFunction;
count: number;
value: number;
}
diff --git a/src/api/types/AggFunctionResultFunction.ts b/src/api/types/AggFunctionResultFunction.ts
new file mode 100644
index 0000000..3356593
--- /dev/null
+++ b/src/api/types/AggFunctionResultFunction.ts
@@ -0,0 +1,40 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type AggFunctionResultFunction =
+ | "mean"
+ | "median"
+ | "min"
+ | "max"
+ | "sum"
+ | "cumsum"
+ | "prod"
+ | "cumprod"
+ | "std"
+ | "var"
+ | "first"
+ | "last"
+ | "count"
+ | "cumcount"
+ | "nunique"
+ | "rank";
+
+export const AggFunctionResultFunction = {
+ Mean: "mean",
+ Median: "median",
+ Min: "min",
+ Max: "max",
+ Sum: "sum",
+ Cumsum: "cumsum",
+ Prod: "prod",
+ Cumprod: "cumprod",
+ Std: "std",
+ Var: "var",
+ First: "first",
+ Last: "last",
+ Count: "count",
+ Cumcount: "cumcount",
+ Nunique: "nunique",
+ Rank: "rank",
+} as const;
diff --git a/src/api/types/BulkEvalPageRequest.ts b/src/api/types/BulkEvalPageRequest.ts
index d8269d4..40fe048 100644
--- a/src/api/types/BulkEvalPageRequest.ts
+++ b/src/api/types/BulkEvalPageRequest.ts
@@ -8,6 +8,12 @@ export interface BulkEvalPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ selectedModel?: Gooey.BulkEvalPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
/**
* Upload or link to a CSV or google sheet that contains your sample input data.
* For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs.
@@ -22,12 +28,5 @@ export interface BulkEvalPageRequest {
evalPrompts?: Gooey.EvalPrompt[];
/** Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats). */
aggFunctions?: Gooey.AggFunction[];
- selectedModel?: Gooey.BulkEvalPageRequestSelectedModel;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.BulkEvalPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/BulkEvalPageRequestResponseFormatType.ts b/src/api/types/BulkEvalPageRequestResponseFormatType.ts
deleted file mode 100644
index bc5865c..0000000
--- a/src/api/types/BulkEvalPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type BulkEvalPageRequestResponseFormatType = "text" | "json_object";
-
-export const BulkEvalPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/BulkEvalPageRequestSelectedModel.ts b/src/api/types/BulkEvalPageRequestSelectedModel.ts
index 99181de..751f42b 100644
--- a/src/api/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/api/types/BulkEvalPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type BulkEvalPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type BulkEvalPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type BulkEvalPageRequestSelectedModel =
export const BulkEvalPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const BulkEvalPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/CalledFunctionResponse.ts b/src/api/types/CalledFunctionResponse.ts
index bc04943..903b532 100644
--- a/src/api/types/CalledFunctionResponse.ts
+++ b/src/api/types/CalledFunctionResponse.ts
@@ -6,6 +6,6 @@ import * as Gooey from "../index";
export interface CalledFunctionResponse {
url: string;
- trigger: Gooey.Trigger;
+ trigger: Gooey.CalledFunctionResponseTrigger;
returnValue?: unknown;
}
diff --git a/src/api/types/CalledFunctionResponseTrigger.ts b/src/api/types/CalledFunctionResponseTrigger.ts
new file mode 100644
index 0000000..8f229ba
--- /dev/null
+++ b/src/api/types/CalledFunctionResponseTrigger.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type CalledFunctionResponseTrigger = "pre" | "post";
+
+export const CalledFunctionResponseTrigger = {
+ Pre: "pre",
+ Post: "post",
+} as const;
diff --git a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
index 68e2fe5..00d4f96 100644
--- a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -4,7 +4,6 @@
export type CompareLlmPageRequestSelectedModelsItem =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type CompareLlmPageRequestSelectedModelsItem =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type CompareLlmPageRequestSelectedModelsItem =
export const CompareLlmPageRequestSelectedModelsItem = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const CompareLlmPageRequestSelectedModelsItem = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/CompareText2ImgPageRequest.ts b/src/api/types/CompareText2ImgPageRequest.ts
index 1286ece..bcd1a8c 100644
--- a/src/api/types/CompareText2ImgPageRequest.ts
+++ b/src/api/types/CompareText2ImgPageRequest.ts
@@ -20,7 +20,7 @@ export interface CompareText2ImgPageRequest {
seed?: number;
sd2Upscaling?: boolean;
selectedModels?: Gooey.CompareText2ImgPageRequestSelectedModelsItem[];
- scheduler?: Gooey.Scheduler;
+ scheduler?: Gooey.CompareText2ImgPageRequestScheduler;
editInstruction?: string;
imageGuidanceScale?: number;
settings?: Gooey.RunSettings;
diff --git a/src/api/types/Scheduler.ts b/src/api/types/CompareText2ImgPageRequestScheduler.ts
similarity index 88%
rename from src/api/types/Scheduler.ts
rename to src/api/types/CompareText2ImgPageRequestScheduler.ts
index a66b4ac..6934b04 100644
--- a/src/api/types/Scheduler.ts
+++ b/src/api/types/CompareText2ImgPageRequestScheduler.ts
@@ -2,7 +2,7 @@
* This file was auto-generated by Fern from our API Definition.
*/
-export type Scheduler =
+export type CompareText2ImgPageRequestScheduler =
| "singlestep_dpm_solver"
| "multistep_dpm_solver"
| "dpm_sde"
@@ -18,7 +18,7 @@ export type Scheduler =
| "ddim"
| "deis";
-export const Scheduler = {
+export const CompareText2ImgPageRequestScheduler = {
SinglestepDpmSolver: "singlestep_dpm_solver",
MultistepDpmSolver: "multistep_dpm_solver",
DpmSde: "dpm_sde",
diff --git a/src/api/types/ConsoleLogs.ts b/src/api/types/ConsoleLogs.ts
index ae9b7d5..f40ab66 100644
--- a/src/api/types/ConsoleLogs.ts
+++ b/src/api/types/ConsoleLogs.ts
@@ -5,6 +5,6 @@
import * as Gooey from "../index";
export interface ConsoleLogs {
- level: Gooey.Level;
+ level: Gooey.ConsoleLogsLevel;
message: string;
}
diff --git a/src/api/types/Level.ts b/src/api/types/ConsoleLogsLevel.ts
similarity index 60%
rename from src/api/types/Level.ts
rename to src/api/types/ConsoleLogsLevel.ts
index d23f6aa..2e65f08 100644
--- a/src/api/types/Level.ts
+++ b/src/api/types/ConsoleLogsLevel.ts
@@ -2,9 +2,9 @@
* This file was auto-generated by Fern from our API Definition.
*/
-export type Level = "log" | "error";
+export type ConsoleLogsLevel = "log" | "error";
-export const Level = {
+export const ConsoleLogsLevel = {
Log: "log",
Error: "error",
} as const;
diff --git a/src/api/types/ConversationEntry.ts b/src/api/types/ConversationEntry.ts
index 75db917..c913b81 100644
--- a/src/api/types/ConversationEntry.ts
+++ b/src/api/types/ConversationEntry.ts
@@ -5,7 +5,7 @@
import * as Gooey from "../index";
export interface ConversationEntry {
- role: Gooey.Role;
- content: Gooey.Content;
+ role: Gooey.ConversationEntryRole;
+ content: Gooey.ConversationEntryContent;
displayName?: string;
}
diff --git a/src/api/types/Content.ts b/src/api/types/ConversationEntryContent.ts
similarity index 56%
rename from src/api/types/Content.ts
rename to src/api/types/ConversationEntryContent.ts
index 31b6e7a..ed61fbf 100644
--- a/src/api/types/Content.ts
+++ b/src/api/types/ConversationEntryContent.ts
@@ -4,4 +4,4 @@
import * as Gooey from "../index";
-export type Content = string | Gooey.ConversationEntryContentItem[];
+export type ConversationEntryContent = string | Gooey.ConversationEntryContentItem[];
diff --git a/src/api/types/Role.ts b/src/api/types/ConversationEntryRole.ts
similarity index 58%
rename from src/api/types/Role.ts
rename to src/api/types/ConversationEntryRole.ts
index 50bc368..7c25ad8 100644
--- a/src/api/types/Role.ts
+++ b/src/api/types/ConversationEntryRole.ts
@@ -2,9 +2,9 @@
* This file was auto-generated by Fern from our API Definition.
*/
-export type Role = "user" | "system" | "assistant";
+export type ConversationEntryRole = "user" | "system" | "assistant";
-export const Role = {
+export const ConversationEntryRole = {
User: "user",
System: "system",
Assistant: "assistant",
diff --git a/src/api/types/DocExtractPageRequest.ts b/src/api/types/DocExtractPageRequest.ts
index 71d62f5..c5a1e62 100644
--- a/src/api/types/DocExtractPageRequest.ts
+++ b/src/api/types/DocExtractPageRequest.ts
@@ -24,6 +24,5 @@ export interface DocExtractPageRequest {
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocExtractPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocExtractPageRequestResponseFormatType.ts b/src/api/types/DocExtractPageRequestResponseFormatType.ts
deleted file mode 100644
index c8a93ac..0000000
--- a/src/api/types/DocExtractPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocExtractPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocExtractPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocExtractPageRequestSelectedModel.ts b/src/api/types/DocExtractPageRequestSelectedModel.ts
index 7c94faf..06cd5a9 100644
--- a/src/api/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/api/types/DocExtractPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocExtractPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocExtractPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocExtractPageRequestSelectedModel =
export const DocExtractPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocExtractPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/DocSearchPageRequest.ts b/src/api/types/DocSearchPageRequest.ts
index d397412..0bac0a6 100644
--- a/src/api/types/DocSearchPageRequest.ts
+++ b/src/api/types/DocSearchPageRequest.ts
@@ -24,12 +24,11 @@ export interface DocSearchPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.DocSearchPageRequestSelectedModel;
- citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocSearchPageRequestResponseFormatType;
+ citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSearchPageRequestResponseFormatType.ts b/src/api/types/DocSearchPageRequestResponseFormatType.ts
deleted file mode 100644
index b36205e..0000000
--- a/src/api/types/DocSearchPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocSearchPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocSearchPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocSearchPageRequestSelectedModel.ts b/src/api/types/DocSearchPageRequestSelectedModel.ts
index 40f410e..6d85a37 100644
--- a/src/api/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/api/types/DocSearchPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocSearchPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocSearchPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocSearchPageRequestSelectedModel =
export const DocSearchPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocSearchPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/DocSummaryPageRequest.ts b/src/api/types/DocSummaryPageRequest.ts
index 617f9a4..f6b004f 100644
--- a/src/api/types/DocSummaryPageRequest.ts
+++ b/src/api/types/DocSummaryPageRequest.ts
@@ -12,14 +12,13 @@ export interface DocSummaryPageRequest {
taskInstructions?: string;
mergeInstructions?: string;
selectedModel?: Gooey.DocSummaryPageRequestSelectedModel;
- chainType?: "map_reduce";
- selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel;
- googleTranslateTarget?: string;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocSummaryPageRequestResponseFormatType;
+ chainType?: "map_reduce";
+ selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel;
+ googleTranslateTarget?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSummaryPageRequestResponseFormatType.ts b/src/api/types/DocSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index db82b26..0000000
--- a/src/api/types/DocSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocSummaryPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocSummaryPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocSummaryPageRequestSelectedModel.ts b/src/api/types/DocSummaryPageRequestSelectedModel.ts
index 194a946..22cccc2 100644
--- a/src/api/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/DocSummaryPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocSummaryPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocSummaryPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocSummaryPageRequestSelectedModel =
export const DocSummaryPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocSummaryPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/GoogleGptPageRequest.ts b/src/api/types/GoogleGptPageRequest.ts
index 34cc55e..21a424d 100644
--- a/src/api/types/GoogleGptPageRequest.ts
+++ b/src/api/types/GoogleGptPageRequest.ts
@@ -8,11 +8,22 @@ export interface GoogleGptPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
siteFilter: string;
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.GoogleGptPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
maxSearchUrls?: number;
maxReferences?: number;
maxContextWords?: number;
@@ -23,17 +34,5 @@ export interface GoogleGptPageRequest {
* Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches.
*/
denseWeight?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.GoogleGptPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/GoogleGptPageRequestResponseFormatType.ts b/src/api/types/GoogleGptPageRequestResponseFormatType.ts
deleted file mode 100644
index d9c400b..0000000
--- a/src/api/types/GoogleGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type GoogleGptPageRequestResponseFormatType = "text" | "json_object";
-
-export const GoogleGptPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/GoogleGptPageRequestSelectedModel.ts b/src/api/types/GoogleGptPageRequestSelectedModel.ts
index abf9789..34e4d6f 100644
--- a/src/api/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/api/types/GoogleGptPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type GoogleGptPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type GoogleGptPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type GoogleGptPageRequestSelectedModel =
export const GoogleGptPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const GoogleGptPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/ImageUrl.ts b/src/api/types/ImageUrl.ts
index c7d577b..f23e996 100644
--- a/src/api/types/ImageUrl.ts
+++ b/src/api/types/ImageUrl.ts
@@ -6,5 +6,5 @@ import * as Gooey from "../index";
export interface ImageUrl {
url?: string;
- detail?: Gooey.Detail;
+ detail?: Gooey.ImageUrlDetail;
}
diff --git a/src/api/types/Detail.ts b/src/api/types/ImageUrlDetail.ts
similarity index 61%
rename from src/api/types/Detail.ts
rename to src/api/types/ImageUrlDetail.ts
index 16e3442..506bb55 100644
--- a/src/api/types/Detail.ts
+++ b/src/api/types/ImageUrlDetail.ts
@@ -2,9 +2,9 @@
* This file was auto-generated by Fern from our API Definition.
*/
-export type Detail = "auto" | "low" | "high";
+export type ImageUrlDetail = "auto" | "low" | "high";
-export const Detail = {
+export const ImageUrlDetail = {
Auto: "auto",
Low: "low",
High: "high",
diff --git a/src/api/types/PromptTreeNode.ts b/src/api/types/PromptTreeNode.ts
index ce6e4ea..d450d2c 100644
--- a/src/api/types/PromptTreeNode.ts
+++ b/src/api/types/PromptTreeNode.ts
@@ -5,6 +5,6 @@
import * as Gooey from "../index";
export interface PromptTreeNode {
- prompt: Gooey.Prompt;
+ prompt: Gooey.PromptTreeNodePrompt;
children: Gooey.PromptTreeNode[];
}
diff --git a/src/api/types/Prompt.ts b/src/api/types/PromptTreeNodePrompt.ts
similarity index 60%
rename from src/api/types/Prompt.ts
rename to src/api/types/PromptTreeNodePrompt.ts
index dd6b963..fbefcab 100644
--- a/src/api/types/Prompt.ts
+++ b/src/api/types/PromptTreeNodePrompt.ts
@@ -4,4 +4,4 @@
import * as Gooey from "../index";
-export type Prompt = string | Gooey.ConversationEntry[];
+export type PromptTreeNodePrompt = string | Gooey.ConversationEntry[];
diff --git a/src/api/types/QrCodeGeneratorPageRequest.ts b/src/api/types/QrCodeGeneratorPageRequest.ts
index c4786ee..4e8bb10 100644
--- a/src/api/types/QrCodeGeneratorPageRequest.ts
+++ b/src/api/types/QrCodeGeneratorPageRequest.ts
@@ -29,7 +29,7 @@ export interface QrCodeGeneratorPageRequest {
controlnetConditioningScale?: number[];
numOutputs?: number;
quality?: number;
- scheduler?: Gooey.Scheduler;
+ scheduler?: Gooey.QrCodeGeneratorPageRequestScheduler;
seed?: number;
objScale?: number;
objPosX?: number;
diff --git a/src/api/types/QrCodeGeneratorPageRequestScheduler.ts b/src/api/types/QrCodeGeneratorPageRequestScheduler.ts
new file mode 100644
index 0000000..514f53f
--- /dev/null
+++ b/src/api/types/QrCodeGeneratorPageRequestScheduler.ts
@@ -0,0 +1,36 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type QrCodeGeneratorPageRequestScheduler =
+ | "singlestep_dpm_solver"
+ | "multistep_dpm_solver"
+ | "dpm_sde"
+ | "dpm_discrete"
+ | "dpm_discrete_ancestral"
+ | "unipc"
+ | "lms_discrete"
+ | "heun"
+ | "euler"
+ | "euler_ancestral"
+ | "pndm"
+ | "ddpm"
+ | "ddim"
+ | "deis";
+
+export const QrCodeGeneratorPageRequestScheduler = {
+ SinglestepDpmSolver: "singlestep_dpm_solver",
+ MultistepDpmSolver: "multistep_dpm_solver",
+ DpmSde: "dpm_sde",
+ DpmDiscrete: "dpm_discrete",
+ DpmDiscreteAncestral: "dpm_discrete_ancestral",
+ Unipc: "unipc",
+ LmsDiscrete: "lms_discrete",
+ Heun: "heun",
+ Euler: "euler",
+ EulerAncestral: "euler_ancestral",
+ Pndm: "pndm",
+ Ddpm: "ddpm",
+ Ddim: "ddim",
+ Deis: "deis",
+} as const;
diff --git a/src/api/types/RecipeFunction.ts b/src/api/types/RecipeFunction.ts
index a602fd1..bc82e26 100644
--- a/src/api/types/RecipeFunction.ts
+++ b/src/api/types/RecipeFunction.ts
@@ -8,5 +8,5 @@ export interface RecipeFunction {
/** The URL of the [function](https://gooey.ai/functions) to call. */
url: string;
/** When to run this function. `pre` runs before the recipe, `post` runs after the recipe. */
- trigger: Gooey.Trigger;
+ trigger: Gooey.RecipeFunctionTrigger;
}
diff --git a/src/api/types/Trigger.ts b/src/api/types/RecipeFunctionTrigger.ts
similarity index 70%
rename from src/api/types/Trigger.ts
rename to src/api/types/RecipeFunctionTrigger.ts
index ad5cc90..71234d6 100644
--- a/src/api/types/Trigger.ts
+++ b/src/api/types/RecipeFunctionTrigger.ts
@@ -5,9 +5,9 @@
/**
* When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
*/
-export type Trigger = "pre" | "post";
+export type RecipeFunctionTrigger = "pre" | "post";
-export const Trigger = {
+export const RecipeFunctionTrigger = {
Pre: "pre",
Post: "post",
} as const;
diff --git a/src/api/types/RelatedQnADocPageRequest.ts b/src/api/types/RelatedQnADocPageRequest.ts
index 2366033..8bd50b1 100644
--- a/src/api/types/RelatedQnADocPageRequest.ts
+++ b/src/api/types/RelatedQnADocPageRequest.ts
@@ -24,13 +24,12 @@ export interface RelatedQnADocPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.RelatedQnADocPageRequestSelectedModel;
- citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.RelatedQnADocPageRequestResponseFormatType;
+ citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
serpSearchLocation?: Gooey.SerpSearchLocation;
/** DEPRECATED: use `serp_search_location` instead */
scaleserpLocations?: string[];
diff --git a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
deleted file mode 100644
index 43a197c..0000000
--- a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type RelatedQnADocPageRequestResponseFormatType = "text" | "json_object";
-
-export const RelatedQnADocPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
index 790bdf9..1346438 100644
--- a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type RelatedQnADocPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type RelatedQnADocPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type RelatedQnADocPageRequestSelectedModel =
export const RelatedQnADocPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const RelatedQnADocPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/RelatedQnAPageRequest.ts b/src/api/types/RelatedQnAPageRequest.ts
index 48d9372..12bed93 100644
--- a/src/api/types/RelatedQnAPageRequest.ts
+++ b/src/api/types/RelatedQnAPageRequest.ts
@@ -8,11 +8,22 @@ export interface RelatedQnAPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
siteFilter: string;
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.RelatedQnAPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
maxSearchUrls?: number;
maxReferences?: number;
maxContextWords?: number;
@@ -23,17 +34,5 @@ export interface RelatedQnAPageRequest {
* Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches.
*/
denseWeight?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.RelatedQnAPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts
deleted file mode 100644
index 7d5e361..0000000
--- a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type RelatedQnAPageRequestResponseFormatType = "text" | "json_object";
-
-export const RelatedQnAPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/RelatedQnAPageRequestSelectedModel.ts b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
index a279ad4..4ec07bb 100644
--- a/src/api/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type RelatedQnAPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type RelatedQnAPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type RelatedQnAPageRequestSelectedModel =
export const RelatedQnAPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const RelatedQnAPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SadTalkerSettings.ts b/src/api/types/SadTalkerSettings.ts
index f305f5b..ff18c83 100644
--- a/src/api/types/SadTalkerSettings.ts
+++ b/src/api/types/SadTalkerSettings.ts
@@ -7,7 +7,7 @@ import * as Gooey from "../index";
export interface SadTalkerSettings {
still?: boolean;
/** SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping. */
- preprocess?: Gooey.Preprocess;
+ preprocess?: Gooey.SadTalkerSettingsPreprocess;
/** Random seed 0-45 inclusive that affects how the pose is animated. */
poseStyle?: number;
/** Scale the amount of expression motion. 1.0 is normal, 0.5 is very reduced, and 2.0 is quite a lot. */
diff --git a/src/api/types/Preprocess.ts b/src/api/types/SadTalkerSettingsPreprocess.ts
similarity index 81%
rename from src/api/types/Preprocess.ts
rename to src/api/types/SadTalkerSettingsPreprocess.ts
index c85bd29..d73122b 100644
--- a/src/api/types/Preprocess.ts
+++ b/src/api/types/SadTalkerSettingsPreprocess.ts
@@ -5,9 +5,9 @@
/**
* SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping.
*/
-export type Preprocess = "crop" | "extcrop" | "resize" | "full" | "extfull";
+export type SadTalkerSettingsPreprocess = "crop" | "extcrop" | "resize" | "full" | "extfull";
-export const Preprocess = {
+export const SadTalkerSettingsPreprocess = {
Crop: "crop",
Extcrop: "extcrop",
Resize: "resize",
diff --git a/src/api/types/SeoSummaryPageRequest.ts b/src/api/types/SeoSummaryPageRequest.ts
index 0c75f58..e602467 100644
--- a/src/api/types/SeoSummaryPageRequest.ts
+++ b/src/api/types/SeoSummaryPageRequest.ts
@@ -5,6 +5,12 @@
import * as Gooey from "../index";
export interface SeoSummaryPageRequest {
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
keywords: string;
title: string;
@@ -12,20 +18,13 @@ export interface SeoSummaryPageRequest {
taskInstructions?: string;
enableHtml?: boolean;
selectedModel?: Gooey.SeoSummaryPageRequestSelectedModel;
+ samplingTemperature?: number;
+ maxTokens?: number;
+ numOutputs?: number;
+ quality?: number;
+ avoidRepetition?: boolean;
maxSearchUrls?: number;
enableCrosslinks?: boolean;
seed?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.SeoSummaryPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 4e22241..0000000
--- a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SeoSummaryPageRequestResponseFormatType = "text" | "json_object";
-
-export const SeoSummaryPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SeoSummaryPageRequestSelectedModel.ts b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
index db5ef35..d8026d5 100644
--- a/src/api/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SeoSummaryPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SeoSummaryPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SeoSummaryPageRequestSelectedModel =
export const SeoSummaryPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SeoSummaryPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SerpSearchLocation.ts b/src/api/types/SerpSearchLocation.ts
index a62ffa0..5546e14 100644
--- a/src/api/types/SerpSearchLocation.ts
+++ b/src/api/types/SerpSearchLocation.ts
@@ -191,7 +191,7 @@ export type SerpSearchLocation =
| "vc"
| "ws"
| "sm"
- | "gui"
+ | "st"
| "sa"
| "sn"
| "rs"
@@ -432,7 +432,7 @@ export const SerpSearchLocation = {
Vc: "vc",
Ws: "ws",
Sm: "sm",
- Gui: "gui",
+ St: "st",
Sa: "sa",
Sn: "sn",
Rs: "rs",
diff --git a/src/api/types/SmartGptPageRequest.ts b/src/api/types/SmartGptPageRequest.ts
index 8515337..6421e52 100644
--- a/src/api/types/SmartGptPageRequest.ts
+++ b/src/api/types/SmartGptPageRequest.ts
@@ -18,6 +18,5 @@ export interface SmartGptPageRequest {
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.SmartGptPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SmartGptPageRequestResponseFormatType.ts b/src/api/types/SmartGptPageRequestResponseFormatType.ts
deleted file mode 100644
index ca94411..0000000
--- a/src/api/types/SmartGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SmartGptPageRequestResponseFormatType = "text" | "json_object";
-
-export const SmartGptPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SmartGptPageRequestSelectedModel.ts b/src/api/types/SmartGptPageRequestSelectedModel.ts
index 267d1f4..b76967f 100644
--- a/src/api/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/api/types/SmartGptPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SmartGptPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SmartGptPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SmartGptPageRequestSelectedModel =
export const SmartGptPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SmartGptPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SocialLookupEmailPageRequest.ts b/src/api/types/SocialLookupEmailPageRequest.ts
index f6d53d7..fc7d278 100644
--- a/src/api/types/SocialLookupEmailPageRequest.ts
+++ b/src/api/types/SocialLookupEmailPageRequest.ts
@@ -11,11 +11,10 @@ export interface SocialLookupEmailPageRequest {
emailAddress: string;
inputPrompt?: string;
selectedModel?: Gooey.SocialLookupEmailPageRequestSelectedModel;
- avoidRepetition?: boolean;
numOutputs?: number;
+ avoidRepetition?: boolean;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.SocialLookupEmailPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
deleted file mode 100644
index 202d1c6..0000000
--- a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SocialLookupEmailPageRequestResponseFormatType = "text" | "json_object";
-
-export const SocialLookupEmailPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
index 8f6027f..9befe42 100644
--- a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SocialLookupEmailPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SocialLookupEmailPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SocialLookupEmailPageRequestSelectedModel =
export const SocialLookupEmailPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SocialLookupEmailPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/VideoBotsPageRequest.ts b/src/api/types/VideoBotsPageRequest.ts
index a286787..f4e3a84 100644
--- a/src/api/types/VideoBotsPageRequest.ts
+++ b/src/api/types/VideoBotsPageRequest.ts
@@ -19,6 +19,11 @@ export interface VideoBotsPageRequest {
selectedModel?: Gooey.VideoBotsPageRequestSelectedModel;
/** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */
documentModel?: string;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
taskInstructions?: string;
queryInstructions?: string;
keywordInstructions?: string;
@@ -48,12 +53,6 @@ export interface VideoBotsPageRequest {
lipsyncModel?: Gooey.VideoBotsPageRequestLipsyncModel;
/** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */
tools?: Gooey.LlmTools[];
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.VideoBotsPageRequestResponseFormatType;
ttsProvider?: Gooey.VideoBotsPageRequestTtsProvider;
uberduckVoiceName?: string;
uberduckSpeakingRate?: number;
diff --git a/src/api/types/VideoBotsPageRequestResponseFormatType.ts b/src/api/types/VideoBotsPageRequestResponseFormatType.ts
deleted file mode 100644
index 22db7fa..0000000
--- a/src/api/types/VideoBotsPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type VideoBotsPageRequestResponseFormatType = "text" | "json_object";
-
-export const VideoBotsPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/VideoBotsPageRequestSelectedModel.ts b/src/api/types/VideoBotsPageRequestSelectedModel.ts
index e7a80c8..e923a1d 100644
--- a/src/api/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/api/types/VideoBotsPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type VideoBotsPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type VideoBotsPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type VideoBotsPageRequestSelectedModel =
export const VideoBotsPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const VideoBotsPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/index.ts b/src/api/types/index.ts
index 1ffecc9..38a3652 100644
--- a/src/api/types/index.ts
+++ b/src/api/types/index.ts
@@ -1,5 +1,6 @@
-export * from "./Function";
+export * from "./AggFunctionFunction";
export * from "./AggFunction";
+export * from "./AggFunctionResultFunction";
export * from "./AggFunctionResult";
export * from "./AsrChunk";
export * from "./AsrOutputJson";
@@ -16,7 +17,6 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
-export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -25,7 +25,7 @@ export * from "./BulkRunnerPageRequest";
export * from "./BulkRunnerPageResponse";
export * from "./BulkRunnerPageStatusResponse";
export * from "./ButtonPressed";
-export * from "./Trigger";
+export * from "./CalledFunctionResponseTrigger";
export * from "./CalledFunctionResponse";
export * from "./ChatCompletionContentPartImageParam";
export * from "./ChatCompletionContentPartTextParam";
@@ -41,7 +41,7 @@ export * from "./CompareLlmPageResponse";
export * from "./CompareLlmPageStatusResponse";
export * from "./CompareText2ImgPageOutput";
export * from "./CompareText2ImgPageRequestSelectedModelsItem";
-export * from "./Scheduler";
+export * from "./CompareText2ImgPageRequestScheduler";
export * from "./CompareText2ImgPageRequest";
export * from "./CompareText2ImgPageResponse";
export * from "./CompareText2ImgPageStatusResponse";
@@ -50,11 +50,11 @@ export * from "./CompareUpscalerPageRequestSelectedModelsItem";
export * from "./CompareUpscalerPageRequest";
export * from "./CompareUpscalerPageResponse";
export * from "./CompareUpscalerPageStatusResponse";
-export * from "./Level";
+export * from "./ConsoleLogsLevel";
export * from "./ConsoleLogs";
-export * from "./Role";
+export * from "./ConversationEntryRole";
export * from "./ConversationEntryContentItem";
-export * from "./Content";
+export * from "./ConversationEntryContent";
export * from "./ConversationEntry";
export * from "./ConversationStart";
export * from "./CreateStreamResponse";
@@ -66,7 +66,6 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
-export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -75,14 +74,12 @@ export * from "./DocSearchPageRequestKeywordQuery";
export * from "./DocSearchPageRequestEmbeddingModel";
export * from "./DocSearchPageRequestSelectedModel";
export * from "./DocSearchPageRequestCitationStyle";
-export * from "./DocSearchPageRequestResponseFormatType";
export * from "./DocSearchPageRequest";
export * from "./DocSearchPageResponse";
export * from "./DocSearchPageStatusResponse";
export * from "./DocSummaryPageOutput";
export * from "./DocSummaryPageRequestSelectedModel";
export * from "./DocSummaryPageRequestSelectedAsrModel";
-export * from "./DocSummaryPageRequestResponseFormatType";
export * from "./DocSummaryPageRequest";
export * from "./DocSummaryPageResponse";
export * from "./DocSummaryPageStatusResponse";
@@ -114,7 +111,6 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
-export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -129,7 +125,7 @@ export * from "./ImageSegmentationPageRequestSelectedModel";
export * from "./ImageSegmentationPageRequest";
export * from "./ImageSegmentationPageResponse";
export * from "./ImageSegmentationPageStatusResponse";
-export * from "./Detail";
+export * from "./ImageUrlDetail";
export * from "./ImageUrl";
export * from "./Img2ImgPageOutput";
export * from "./Img2ImgPageRequestSelectedModel";
@@ -162,15 +158,17 @@ export * from "./ObjectInpaintingPageRequestSelectedModel";
export * from "./ObjectInpaintingPageRequest";
export * from "./ObjectInpaintingPageResponse";
export * from "./ObjectInpaintingPageStatusResponse";
-export * from "./Prompt";
+export * from "./PromptTreeNodePrompt";
export * from "./PromptTreeNode";
export * from "./QrCodeGeneratorPageOutput";
export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem";
export * from "./QrCodeGeneratorPageRequestSelectedModel";
export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem";
+export * from "./QrCodeGeneratorPageRequestScheduler";
export * from "./QrCodeGeneratorPageRequest";
export * from "./QrCodeGeneratorPageResponse";
export * from "./QrCodeGeneratorPageStatusResponse";
+export * from "./RecipeFunctionTrigger";
export * from "./RecipeFunction";
export * from "./RecipeRunState";
export * from "./RelatedDocSearchResponse";
@@ -180,14 +178,12 @@ export * from "./RelatedQnADocPageRequestKeywordQuery";
export * from "./RelatedQnADocPageRequestEmbeddingModel";
export * from "./RelatedQnADocPageRequestSelectedModel";
export * from "./RelatedQnADocPageRequestCitationStyle";
-export * from "./RelatedQnADocPageRequestResponseFormatType";
export * from "./RelatedQnADocPageRequest";
export * from "./RelatedQnADocPageResponse";
export * from "./RelatedQnADocPageStatusResponse";
export * from "./RelatedQnAPageOutput";
export * from "./RelatedQnAPageRequestSelectedModel";
export * from "./RelatedQnAPageRequestEmbeddingModel";
-export * from "./RelatedQnAPageRequestResponseFormatType";
export * from "./RelatedQnAPageRequest";
export * from "./RelatedQnAPageResponse";
export * from "./RelatedQnAPageStatusResponse";
@@ -200,24 +196,21 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
-export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
-export * from "./Preprocess";
+export * from "./SadTalkerSettingsPreprocess";
export * from "./SadTalkerSettings";
export * from "./SearchReference";
export * from "./SerpSearchLocation";
export * from "./SerpSearchType";
export * from "./SmartGptPageOutput";
export * from "./SmartGptPageRequestSelectedModel";
-export * from "./SmartGptPageRequestResponseFormatType";
export * from "./SmartGptPageRequest";
export * from "./SmartGptPageResponse";
export * from "./SmartGptPageStatusResponse";
export * from "./SocialLookupEmailPageOutput";
export * from "./SocialLookupEmailPageRequestSelectedModel";
-export * from "./SocialLookupEmailPageRequestResponseFormatType";
export * from "./SocialLookupEmailPageRequest";
export * from "./SocialLookupEmailPageResponse";
export * from "./SocialLookupEmailPageStatusResponse";
@@ -251,7 +244,6 @@ export * from "./VideoBotsPageRequestCitationStyle";
export * from "./VideoBotsPageRequestAsrModel";
export * from "./VideoBotsPageRequestTranslationModel";
export * from "./VideoBotsPageRequestLipsyncModel";
-export * from "./VideoBotsPageRequestResponseFormatType";
export * from "./VideoBotsPageRequestTtsProvider";
export * from "./VideoBotsPageRequestOpenaiVoiceName";
export * from "./VideoBotsPageRequestOpenaiTtsModel";
diff --git a/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts b/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
index 5317b71..2a0a675 100644
--- a/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -15,7 +15,6 @@ import { CreateStreamRequestAsrModel } from "../../types/CreateStreamRequestAsrM
import { CreateStreamRequestTranslationModel } from "../../types/CreateStreamRequestTranslationModel";
import { CreateStreamRequestLipsyncModel } from "../../types/CreateStreamRequestLipsyncModel";
import { LlmTools } from "../../../../types/LlmTools";
-import { CreateStreamRequestResponseFormatType } from "../../types/CreateStreamRequestResponseFormatType";
import { CreateStreamRequestTtsProvider } from "../../types/CreateStreamRequestTtsProvider";
import { CreateStreamRequestOpenaiVoiceName } from "../../types/CreateStreamRequestOpenaiVoiceName";
import { CreateStreamRequestOpenaiTtsModel } from "../../types/CreateStreamRequestOpenaiTtsModel";
@@ -47,6 +46,11 @@ export const CreateStreamRequest: core.serialization.Schema<
botScript: core.serialization.property("bot_script", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", CreateStreamRequestSelectedModel.optional()),
documentModel: core.serialization.property("document_model", core.serialization.string().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()),
@@ -72,15 +76,6 @@ export const CreateStreamRequest: core.serialization.Schema<
),
lipsyncModel: core.serialization.property("lipsync_model", CreateStreamRequestLipsyncModel.optional()),
tools: core.serialization.list(LlmTools).optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- CreateStreamRequestResponseFormatType.optional()
- ),
ttsProvider: core.serialization.property("tts_provider", CreateStreamRequestTtsProvider.optional()),
uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()),
uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()),
@@ -132,6 +127,11 @@ export declare namespace CreateStreamRequest {
bot_script?: string | null;
selected_model?: CreateStreamRequestSelectedModel.Raw | null;
document_model?: string | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
task_instructions?: string | null;
query_instructions?: string | null;
keyword_instructions?: string | null;
@@ -151,12 +151,6 @@ export declare namespace CreateStreamRequest {
output_glossary_document?: string | null;
lipsync_model?: CreateStreamRequestLipsyncModel.Raw | null;
tools?: LlmTools.Raw[] | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: CreateStreamRequestResponseFormatType.Raw | null;
tts_provider?: CreateStreamRequestTtsProvider.Raw | null;
uberduck_voice_name?: string | null;
uberduck_speaking_rate?: number | null;
diff --git a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
deleted file mode 100644
index a7a3da2..0000000
--- a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../../../index";
-import * as Gooey from "../../../../api/index";
-import * as core from "../../../../core";
-
-export const CreateStreamRequestResponseFormatType: core.serialization.Schema<
- serializers.CreateStreamRequestResponseFormatType.Raw,
- Gooey.CreateStreamRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace CreateStreamRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
index b6bdaa6..e8fef5f 100644
--- a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
Gooey.CreateStreamRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
export declare namespace CreateStreamRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace CreateStreamRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/resources/copilotIntegrations/types/index.ts b/src/serialization/resources/copilotIntegrations/types/index.ts
index 8b11dd6..5429f0e 100644
--- a/src/serialization/resources/copilotIntegrations/types/index.ts
+++ b/src/serialization/resources/copilotIntegrations/types/index.ts
@@ -4,7 +4,6 @@ export * from "./CreateStreamRequestCitationStyle";
export * from "./CreateStreamRequestAsrModel";
export * from "./CreateStreamRequestTranslationModel";
export * from "./CreateStreamRequestLipsyncModel";
-export * from "./CreateStreamRequestResponseFormatType";
export * from "./CreateStreamRequestTtsProvider";
export * from "./CreateStreamRequestOpenaiVoiceName";
export * from "./CreateStreamRequestOpenaiTtsModel";
diff --git a/src/serialization/types/AggFunction.ts b/src/serialization/types/AggFunction.ts
index de26971..eadd747 100644
--- a/src/serialization/types/AggFunction.ts
+++ b/src/serialization/types/AggFunction.ts
@@ -5,17 +5,17 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Function } from "./Function";
+import { AggFunctionFunction } from "./AggFunctionFunction";
export const AggFunction: core.serialization.ObjectSchema =
core.serialization.object({
column: core.serialization.string().optional(),
- function: Function,
+ function: AggFunctionFunction,
});
export declare namespace AggFunction {
interface Raw {
column?: string | null;
- function: Function.Raw;
+ function: AggFunctionFunction.Raw;
}
}
diff --git a/src/serialization/types/Function.ts b/src/serialization/types/AggFunctionFunction.ts
similarity index 76%
rename from src/serialization/types/Function.ts
rename to src/serialization/types/AggFunctionFunction.ts
index 2d849f3..cfa660e 100644
--- a/src/serialization/types/Function.ts
+++ b/src/serialization/types/AggFunctionFunction.ts
@@ -6,7 +6,10 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-export const Function: core.serialization.Schema = core.serialization.enum_([
+export const AggFunctionFunction: core.serialization.Schema<
+ serializers.AggFunctionFunction.Raw,
+ Gooey.AggFunctionFunction
+> = core.serialization.enum_([
"mean",
"median",
"min",
@@ -25,7 +28,7 @@ export const Function: core.serialization.Schema = core.serialization.object({
column: core.serialization.string(),
- function: Function,
+ function: AggFunctionResultFunction,
count: core.serialization.number(),
value: core.serialization.number(),
});
@@ -20,7 +20,7 @@ export const AggFunctionResult: core.serialization.ObjectSchema<
export declare namespace AggFunctionResult {
interface Raw {
column: string;
- function: Function.Raw;
+ function: AggFunctionResultFunction.Raw;
count: number;
value: number;
}
diff --git a/src/serialization/types/AggFunctionResultFunction.ts b/src/serialization/types/AggFunctionResultFunction.ts
new file mode 100644
index 0000000..c092988
--- /dev/null
+++ b/src/serialization/types/AggFunctionResultFunction.ts
@@ -0,0 +1,49 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const AggFunctionResultFunction: core.serialization.Schema<
+ serializers.AggFunctionResultFunction.Raw,
+ Gooey.AggFunctionResultFunction
+> = core.serialization.enum_([
+ "mean",
+ "median",
+ "min",
+ "max",
+ "sum",
+ "cumsum",
+ "prod",
+ "cumprod",
+ "std",
+ "var",
+ "first",
+ "last",
+ "count",
+ "cumcount",
+ "nunique",
+ "rank",
+]);
+
+export declare namespace AggFunctionResultFunction {
+ type Raw =
+ | "mean"
+ | "median"
+ | "min"
+ | "max"
+ | "sum"
+ | "cumsum"
+ | "prod"
+ | "cumprod"
+ | "std"
+ | "var"
+ | "first"
+ | "last"
+ | "count"
+ | "cumcount"
+ | "nunique"
+ | "rank";
+}
diff --git a/src/serialization/types/BulkEvalPageRequest.ts b/src/serialization/types/BulkEvalPageRequest.ts
index dbf7c91..2aed553 100644
--- a/src/serialization/types/BulkEvalPageRequest.ts
+++ b/src/serialization/types/BulkEvalPageRequest.ts
@@ -6,10 +6,9 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
+import { BulkEvalPageRequestSelectedModel } from "./BulkEvalPageRequestSelectedModel";
import { EvalPrompt } from "./EvalPrompt";
import { AggFunction } from "./AggFunction";
-import { BulkEvalPageRequestSelectedModel } from "./BulkEvalPageRequestSelectedModel";
-import { BulkEvalPageRequestResponseFormatType } from "./BulkEvalPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const BulkEvalPageRequest: core.serialization.ObjectSchema<
@@ -18,19 +17,15 @@ export const BulkEvalPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
- documents: core.serialization.list(core.serialization.string()),
- evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()),
- aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()),
selectedModel: core.serialization.property("selected_model", BulkEvalPageRequestSelectedModel.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- BulkEvalPageRequestResponseFormatType.optional()
- ),
+ documents: core.serialization.list(core.serialization.string()),
+ evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()),
+ aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()),
settings: RunSettings.optional(),
});
@@ -38,16 +33,15 @@ export declare namespace BulkEvalPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
- documents: string[];
- eval_prompts?: EvalPrompt.Raw[] | null;
- agg_functions?: AggFunction.Raw[] | null;
selected_model?: BulkEvalPageRequestSelectedModel.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: BulkEvalPageRequestResponseFormatType.Raw | null;
+ documents: string[];
+ eval_prompts?: EvalPrompt.Raw[] | null;
+ agg_functions?: AggFunction.Raw[] | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts b/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
deleted file mode 100644
index cf41629..0000000
--- a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const BulkEvalPageRequestResponseFormatType: core.serialization.Schema<
- serializers.BulkEvalPageRequestResponseFormatType.Raw,
- Gooey.BulkEvalPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace BulkEvalPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
index ef0e0c5..2edba2e 100644
--- a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
Gooey.BulkEvalPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
export declare namespace BulkEvalPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace BulkEvalPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/CalledFunctionResponse.ts b/src/serialization/types/CalledFunctionResponse.ts
index 8e065f9..8dc9e63 100644
--- a/src/serialization/types/CalledFunctionResponse.ts
+++ b/src/serialization/types/CalledFunctionResponse.ts
@@ -5,21 +5,21 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Trigger } from "./Trigger";
+import { CalledFunctionResponseTrigger } from "./CalledFunctionResponseTrigger";
export const CalledFunctionResponse: core.serialization.ObjectSchema<
serializers.CalledFunctionResponse.Raw,
Gooey.CalledFunctionResponse
> = core.serialization.object({
url: core.serialization.string(),
- trigger: Trigger,
+ trigger: CalledFunctionResponseTrigger,
returnValue: core.serialization.property("return_value", core.serialization.unknown().optional()),
});
export declare namespace CalledFunctionResponse {
interface Raw {
url: string;
- trigger: Trigger.Raw;
+ trigger: CalledFunctionResponseTrigger.Raw;
return_value?: unknown | null;
}
}
diff --git a/src/serialization/types/CalledFunctionResponseTrigger.ts b/src/serialization/types/CalledFunctionResponseTrigger.ts
new file mode 100644
index 0000000..d084102
--- /dev/null
+++ b/src/serialization/types/CalledFunctionResponseTrigger.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const CalledFunctionResponseTrigger: core.serialization.Schema<
+ serializers.CalledFunctionResponseTrigger.Raw,
+ Gooey.CalledFunctionResponseTrigger
+> = core.serialization.enum_(["pre", "post"]);
+
+export declare namespace CalledFunctionResponseTrigger {
+ type Raw = "pre" | "post";
+}
diff --git a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
index 73cf2f4..9950785 100644
--- a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -11,7 +11,6 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
Gooey.CompareLlmPageRequestSelectedModelsItem
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
export declare namespace CompareLlmPageRequestSelectedModelsItem {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace CompareLlmPageRequestSelectedModelsItem {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/CompareText2ImgPageRequest.ts b/src/serialization/types/CompareText2ImgPageRequest.ts
index 9f179b8..80bad8b 100644
--- a/src/serialization/types/CompareText2ImgPageRequest.ts
+++ b/src/serialization/types/CompareText2ImgPageRequest.ts
@@ -7,7 +7,7 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { CompareText2ImgPageRequestSelectedModelsItem } from "./CompareText2ImgPageRequestSelectedModelsItem";
-import { Scheduler } from "./Scheduler";
+import { CompareText2ImgPageRequestScheduler } from "./CompareText2ImgPageRequestScheduler";
import { RunSettings } from "./RunSettings";
export const CompareText2ImgPageRequest: core.serialization.ObjectSchema<
@@ -31,7 +31,7 @@ export const CompareText2ImgPageRequest: core.serialization.ObjectSchema<
"selected_models",
core.serialization.list(CompareText2ImgPageRequestSelectedModelsItem).optional()
),
- scheduler: Scheduler.optional(),
+ scheduler: CompareText2ImgPageRequestScheduler.optional(),
editInstruction: core.serialization.property("edit_instruction", core.serialization.string().optional()),
imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()),
settings: RunSettings.optional(),
@@ -53,7 +53,7 @@ export declare namespace CompareText2ImgPageRequest {
seed?: number | null;
sd_2_upscaling?: boolean | null;
selected_models?: CompareText2ImgPageRequestSelectedModelsItem.Raw[] | null;
- scheduler?: Scheduler.Raw | null;
+ scheduler?: CompareText2ImgPageRequestScheduler.Raw | null;
edit_instruction?: string | null;
image_guidance_scale?: number | null;
settings?: RunSettings.Raw | null;
diff --git a/src/serialization/types/Scheduler.ts b/src/serialization/types/CompareText2ImgPageRequestScheduler.ts
similarity index 50%
rename from src/serialization/types/Scheduler.ts
rename to src/serialization/types/CompareText2ImgPageRequestScheduler.ts
index 6d96c96..41148ca 100644
--- a/src/serialization/types/Scheduler.ts
+++ b/src/serialization/types/CompareText2ImgPageRequestScheduler.ts
@@ -6,25 +6,27 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-export const Scheduler: core.serialization.Schema =
- core.serialization.enum_([
- "singlestep_dpm_solver",
- "multistep_dpm_solver",
- "dpm_sde",
- "dpm_discrete",
- "dpm_discrete_ancestral",
- "unipc",
- "lms_discrete",
- "heun",
- "euler",
- "euler_ancestral",
- "pndm",
- "ddpm",
- "ddim",
- "deis",
- ]);
+export const CompareText2ImgPageRequestScheduler: core.serialization.Schema<
+ serializers.CompareText2ImgPageRequestScheduler.Raw,
+ Gooey.CompareText2ImgPageRequestScheduler
+> = core.serialization.enum_([
+ "singlestep_dpm_solver",
+ "multistep_dpm_solver",
+ "dpm_sde",
+ "dpm_discrete",
+ "dpm_discrete_ancestral",
+ "unipc",
+ "lms_discrete",
+ "heun",
+ "euler",
+ "euler_ancestral",
+ "pndm",
+ "ddpm",
+ "ddim",
+ "deis",
+]);
-export declare namespace Scheduler {
+export declare namespace CompareText2ImgPageRequestScheduler {
type Raw =
| "singlestep_dpm_solver"
| "multistep_dpm_solver"
diff --git a/src/serialization/types/ConsoleLogs.ts b/src/serialization/types/ConsoleLogs.ts
index 2180904..85926b6 100644
--- a/src/serialization/types/ConsoleLogs.ts
+++ b/src/serialization/types/ConsoleLogs.ts
@@ -5,17 +5,17 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Level } from "./Level";
+import { ConsoleLogsLevel } from "./ConsoleLogsLevel";
export const ConsoleLogs: core.serialization.ObjectSchema =
core.serialization.object({
- level: Level,
+ level: ConsoleLogsLevel,
message: core.serialization.string(),
});
export declare namespace ConsoleLogs {
interface Raw {
- level: Level.Raw;
+ level: ConsoleLogsLevel.Raw;
message: string;
}
}
diff --git a/src/serialization/types/Level.ts b/src/serialization/types/ConsoleLogsLevel.ts
similarity index 52%
rename from src/serialization/types/Level.ts
rename to src/serialization/types/ConsoleLogsLevel.ts
index e5b8af2..af17e7f 100644
--- a/src/serialization/types/Level.ts
+++ b/src/serialization/types/ConsoleLogsLevel.ts
@@ -6,11 +6,9 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-export const Level: core.serialization.Schema = core.serialization.enum_([
- "log",
- "error",
-]);
+export const ConsoleLogsLevel: core.serialization.Schema =
+ core.serialization.enum_(["log", "error"]);
-export declare namespace Level {
+export declare namespace ConsoleLogsLevel {
type Raw = "log" | "error";
}
diff --git a/src/serialization/types/Content.ts b/src/serialization/types/Content.ts
deleted file mode 100644
index 13126f2..0000000
--- a/src/serialization/types/Content.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-import { ConversationEntryContentItem } from "./ConversationEntryContentItem";
-
-export const Content: core.serialization.Schema =
- core.serialization.undiscriminatedUnion([
- core.serialization.string(),
- core.serialization.list(ConversationEntryContentItem),
- ]);
-
-export declare namespace Content {
- type Raw = string | ConversationEntryContentItem.Raw[];
-}
diff --git a/src/serialization/types/ConversationEntry.ts b/src/serialization/types/ConversationEntry.ts
index 8499252..b5cbcd6 100644
--- a/src/serialization/types/ConversationEntry.ts
+++ b/src/serialization/types/ConversationEntry.ts
@@ -5,22 +5,22 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Role } from "./Role";
-import { Content } from "./Content";
+import { ConversationEntryRole } from "./ConversationEntryRole";
+import { ConversationEntryContent } from "./ConversationEntryContent";
export const ConversationEntry: core.serialization.ObjectSchema<
serializers.ConversationEntry.Raw,
Gooey.ConversationEntry
> = core.serialization.object({
- role: Role,
- content: Content,
+ role: ConversationEntryRole,
+ content: ConversationEntryContent,
displayName: core.serialization.property("display_name", core.serialization.string().optional()),
});
export declare namespace ConversationEntry {
interface Raw {
- role: Role.Raw;
- content: Content.Raw;
+ role: ConversationEntryRole.Raw;
+ content: ConversationEntryContent.Raw;
display_name?: string | null;
}
}
diff --git a/src/serialization/types/ConversationEntryContent.ts b/src/serialization/types/ConversationEntryContent.ts
new file mode 100644
index 0000000..3f69d51
--- /dev/null
+++ b/src/serialization/types/ConversationEntryContent.ts
@@ -0,0 +1,20 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+import { ConversationEntryContentItem } from "./ConversationEntryContentItem";
+
+export const ConversationEntryContent: core.serialization.Schema<
+ serializers.ConversationEntryContent.Raw,
+ Gooey.ConversationEntryContent
+> = core.serialization.undiscriminatedUnion([
+ core.serialization.string(),
+ core.serialization.list(ConversationEntryContentItem),
+]);
+
+export declare namespace ConversationEntryContent {
+ type Raw = string | ConversationEntryContentItem.Raw[];
+}
diff --git a/src/serialization/types/ConversationEntryRole.ts b/src/serialization/types/ConversationEntryRole.ts
new file mode 100644
index 0000000..2ace296
--- /dev/null
+++ b/src/serialization/types/ConversationEntryRole.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const ConversationEntryRole: core.serialization.Schema<
+ serializers.ConversationEntryRole.Raw,
+ Gooey.ConversationEntryRole
+> = core.serialization.enum_(["user", "system", "assistant"]);
+
+export declare namespace ConversationEntryRole {
+ type Raw = "user" | "system" | "assistant";
+}
diff --git a/src/serialization/types/DocExtractPageRequest.ts b/src/serialization/types/DocExtractPageRequest.ts
index 15a4bef..856a339 100644
--- a/src/serialization/types/DocExtractPageRequest.ts
+++ b/src/serialization/types/DocExtractPageRequest.ts
@@ -8,7 +8,6 @@ import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { DocExtractPageRequestSelectedAsrModel } from "./DocExtractPageRequestSelectedAsrModel";
import { DocExtractPageRequestSelectedModel } from "./DocExtractPageRequestSelectedModel";
-import { DocExtractPageRequestResponseFormatType } from "./DocExtractPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocExtractPageRequest: core.serialization.ObjectSchema<
@@ -35,10 +34,6 @@ export const DocExtractPageRequest: core.serialization.ObjectSchema<
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocExtractPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -58,7 +53,6 @@ export declare namespace DocExtractPageRequest {
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocExtractPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts
deleted file mode 100644
index 35e1fdf..0000000
--- a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocExtractPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocExtractPageRequestResponseFormatType.Raw,
- Gooey.DocExtractPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocExtractPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocExtractPageRequestSelectedModel.ts b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
index 4d0a8ab..657c135 100644
--- a/src/serialization/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocExtractPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocExtractPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocExtractPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/DocSearchPageRequest.ts b/src/serialization/types/DocSearchPageRequest.ts
index 3785b00..69ecda2 100644
--- a/src/serialization/types/DocSearchPageRequest.ts
+++ b/src/serialization/types/DocSearchPageRequest.ts
@@ -10,7 +10,6 @@ import { DocSearchPageRequestKeywordQuery } from "./DocSearchPageRequestKeywordQ
import { DocSearchPageRequestEmbeddingModel } from "./DocSearchPageRequestEmbeddingModel";
import { DocSearchPageRequestSelectedModel } from "./DocSearchPageRequestSelectedModel";
import { DocSearchPageRequestCitationStyle } from "./DocSearchPageRequestCitationStyle";
-import { DocSearchPageRequestResponseFormatType } from "./DocSearchPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocSearchPageRequest: core.serialization.ObjectSchema<
@@ -31,16 +30,12 @@ export const DocSearchPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", DocSearchPageRequestSelectedModel.optional()),
- citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocSearchPageRequestResponseFormatType.optional()
- ),
+ citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()),
settings: RunSettings.optional(),
});
@@ -60,13 +55,12 @@ export declare namespace DocSearchPageRequest {
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: DocSearchPageRequestSelectedModel.Raw | null;
- citation_style?: DocSearchPageRequestCitationStyle.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocSearchPageRequestResponseFormatType.Raw | null;
+ citation_style?: DocSearchPageRequestCitationStyle.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
deleted file mode 100644
index 33dbdfb..0000000
--- a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocSearchPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocSearchPageRequestResponseFormatType.Raw,
- Gooey.DocSearchPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocSearchPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocSearchPageRequestSelectedModel.ts b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
index b7ada5b..0e2df09 100644
--- a/src/serialization/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocSearchPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocSearchPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocSearchPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/DocSummaryPageRequest.ts b/src/serialization/types/DocSummaryPageRequest.ts
index f0e8b62..4856826 100644
--- a/src/serialization/types/DocSummaryPageRequest.ts
+++ b/src/serialization/types/DocSummaryPageRequest.ts
@@ -8,7 +8,6 @@ import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { DocSummaryPageRequestSelectedModel } from "./DocSummaryPageRequestSelectedModel";
import { DocSummaryPageRequestSelectedAsrModel } from "./DocSummaryPageRequestSelectedAsrModel";
-import { DocSummaryPageRequestResponseFormatType } from "./DocSummaryPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocSummaryPageRequest: core.serialization.ObjectSchema<
@@ -21,6 +20,11 @@ export const DocSummaryPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
mergeInstructions: core.serialization.property("merge_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", DocSummaryPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
chainType: core.serialization.property("chain_type", core.serialization.stringLiteral("map_reduce").optional()),
selectedAsrModel: core.serialization.property(
"selected_asr_model",
@@ -30,15 +34,6 @@ export const DocSummaryPageRequest: core.serialization.ObjectSchema<
"google_translate_target",
core.serialization.string().optional()
),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocSummaryPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -50,15 +45,14 @@ export declare namespace DocSummaryPageRequest {
task_instructions?: string | null;
merge_instructions?: string | null;
selected_model?: DocSummaryPageRequestSelectedModel.Raw | null;
- chain_type?: "map_reduce" | null;
- selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null;
- google_translate_target?: string | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocSummaryPageRequestResponseFormatType.Raw | null;
+ chain_type?: "map_reduce" | null;
+ selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null;
+ google_translate_target?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 09aacce..0000000
--- a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocSummaryPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocSummaryPageRequestResponseFormatType.Raw,
- Gooey.DocSummaryPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocSummaryPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
index 21a3406..dafd3ff 100644
--- a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocSummaryPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocSummaryPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocSummaryPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/GoogleGptPageRequest.ts b/src/serialization/types/GoogleGptPageRequest.ts
index 7da8d82..13c9f6e 100644
--- a/src/serialization/types/GoogleGptPageRequest.ts
+++ b/src/serialization/types/GoogleGptPageRequest.ts
@@ -6,11 +6,10 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel";
-import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel";
-import { GoogleGptPageRequestResponseFormatType } from "./GoogleGptPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel";
+import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel";
import { RunSettings } from "./RunSettings";
export const GoogleGptPageRequest: core.serialization.ObjectSchema<
@@ -19,33 +18,29 @@ export const GoogleGptPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
siteFilter: core.serialization.property("site_filter", core.serialization.string()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", GoogleGptPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
maxReferences: core.serialization.property("max_references", core.serialization.number().optional()),
maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()),
scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()),
embeddingModel: core.serialization.property("embedding_model", GoogleGptPageRequestEmbeddingModel.optional()),
denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- GoogleGptPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
@@ -53,27 +48,26 @@ export declare namespace GoogleGptPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
site_filter: string;
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: GoogleGptPageRequestSelectedModel.Raw | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
max_search_urls?: number | null;
max_references?: number | null;
max_context_words?: number | null;
scroll_jump?: number | null;
embedding_model?: GoogleGptPageRequestEmbeddingModel.Raw | null;
dense_weight?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: GoogleGptPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
deleted file mode 100644
index b5dd550..0000000
--- a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const GoogleGptPageRequestResponseFormatType: core.serialization.Schema<
- serializers.GoogleGptPageRequestResponseFormatType.Raw,
- Gooey.GoogleGptPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace GoogleGptPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
index 49ee870..bd36cd6 100644
--- a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
Gooey.GoogleGptPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
export declare namespace GoogleGptPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace GoogleGptPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/ImageUrl.ts b/src/serialization/types/ImageUrl.ts
index 7edeeed..34ee257 100644
--- a/src/serialization/types/ImageUrl.ts
+++ b/src/serialization/types/ImageUrl.ts
@@ -5,17 +5,17 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Detail } from "./Detail";
+import { ImageUrlDetail } from "./ImageUrlDetail";
export const ImageUrl: core.serialization.ObjectSchema =
core.serialization.object({
url: core.serialization.string().optional(),
- detail: Detail.optional(),
+ detail: ImageUrlDetail.optional(),
});
export declare namespace ImageUrl {
interface Raw {
url?: string | null;
- detail?: Detail.Raw | null;
+ detail?: ImageUrlDetail.Raw | null;
}
}
diff --git a/src/serialization/types/Detail.ts b/src/serialization/types/ImageUrlDetail.ts
similarity index 53%
rename from src/serialization/types/Detail.ts
rename to src/serialization/types/ImageUrlDetail.ts
index 51e6cc9..6d71d63 100644
--- a/src/serialization/types/Detail.ts
+++ b/src/serialization/types/ImageUrlDetail.ts
@@ -6,12 +6,9 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-export const Detail: core.serialization.Schema = core.serialization.enum_([
- "auto",
- "low",
- "high",
-]);
+export const ImageUrlDetail: core.serialization.Schema =
+ core.serialization.enum_(["auto", "low", "high"]);
-export declare namespace Detail {
+export declare namespace ImageUrlDetail {
type Raw = "auto" | "low" | "high";
}
diff --git a/src/serialization/types/PromptTreeNode.ts b/src/serialization/types/PromptTreeNode.ts
index a090904..983ae1d 100644
--- a/src/serialization/types/PromptTreeNode.ts
+++ b/src/serialization/types/PromptTreeNode.ts
@@ -5,17 +5,17 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Prompt } from "./Prompt";
+import { PromptTreeNodePrompt } from "./PromptTreeNodePrompt";
export const PromptTreeNode: core.serialization.ObjectSchema =
core.serialization.object({
- prompt: Prompt,
+ prompt: PromptTreeNodePrompt,
children: core.serialization.list(core.serialization.lazyObject(() => serializers.PromptTreeNode)),
});
export declare namespace PromptTreeNode {
interface Raw {
- prompt: Prompt.Raw;
+ prompt: PromptTreeNodePrompt.Raw;
children: serializers.PromptTreeNode.Raw[];
}
}
diff --git a/src/serialization/types/Prompt.ts b/src/serialization/types/PromptTreeNodePrompt.ts
similarity index 59%
rename from src/serialization/types/Prompt.ts
rename to src/serialization/types/PromptTreeNodePrompt.ts
index 95b7093..d0b5dae 100644
--- a/src/serialization/types/Prompt.ts
+++ b/src/serialization/types/PromptTreeNodePrompt.ts
@@ -7,9 +7,11 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { ConversationEntry } from "./ConversationEntry";
-export const Prompt: core.serialization.Schema =
- core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.list(ConversationEntry)]);
+export const PromptTreeNodePrompt: core.serialization.Schema<
+ serializers.PromptTreeNodePrompt.Raw,
+ Gooey.PromptTreeNodePrompt
+> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.list(ConversationEntry)]);
-export declare namespace Prompt {
+export declare namespace PromptTreeNodePrompt {
type Raw = string | ConversationEntry.Raw[];
}
diff --git a/src/serialization/types/QrCodeGeneratorPageRequest.ts b/src/serialization/types/QrCodeGeneratorPageRequest.ts
index b208f53..4953ca3 100644
--- a/src/serialization/types/QrCodeGeneratorPageRequest.ts
+++ b/src/serialization/types/QrCodeGeneratorPageRequest.ts
@@ -10,7 +10,7 @@ import { Vcard } from "./Vcard";
import { QrCodeGeneratorPageRequestImagePromptControlnetModelsItem } from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem";
import { QrCodeGeneratorPageRequestSelectedModel } from "./QrCodeGeneratorPageRequestSelectedModel";
import { QrCodeGeneratorPageRequestSelectedControlnetModelItem } from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem";
-import { Scheduler } from "./Scheduler";
+import { QrCodeGeneratorPageRequestScheduler } from "./QrCodeGeneratorPageRequestScheduler";
import { RunSettings } from "./RunSettings";
export const QrCodeGeneratorPageRequest: core.serialization.ObjectSchema<
@@ -49,7 +49,7 @@ export const QrCodeGeneratorPageRequest: core.serialization.ObjectSchema<
),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
- scheduler: Scheduler.optional(),
+ scheduler: QrCodeGeneratorPageRequestScheduler.optional(),
seed: core.serialization.number().optional(),
objScale: core.serialization.property("obj_scale", core.serialization.number().optional()),
objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()),
@@ -82,7 +82,7 @@ export declare namespace QrCodeGeneratorPageRequest {
controlnet_conditioning_scale?: number[] | null;
num_outputs?: number | null;
quality?: number | null;
- scheduler?: Scheduler.Raw | null;
+ scheduler?: QrCodeGeneratorPageRequestScheduler.Raw | null;
seed?: number | null;
obj_scale?: number | null;
obj_pos_x?: number | null;
diff --git a/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts b/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts
new file mode 100644
index 0000000..6887bc7
--- /dev/null
+++ b/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts
@@ -0,0 +1,45 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const QrCodeGeneratorPageRequestScheduler: core.serialization.Schema<
+ serializers.QrCodeGeneratorPageRequestScheduler.Raw,
+ Gooey.QrCodeGeneratorPageRequestScheduler
+> = core.serialization.enum_([
+ "singlestep_dpm_solver",
+ "multistep_dpm_solver",
+ "dpm_sde",
+ "dpm_discrete",
+ "dpm_discrete_ancestral",
+ "unipc",
+ "lms_discrete",
+ "heun",
+ "euler",
+ "euler_ancestral",
+ "pndm",
+ "ddpm",
+ "ddim",
+ "deis",
+]);
+
+export declare namespace QrCodeGeneratorPageRequestScheduler {
+ type Raw =
+ | "singlestep_dpm_solver"
+ | "multistep_dpm_solver"
+ | "dpm_sde"
+ | "dpm_discrete"
+ | "dpm_discrete_ancestral"
+ | "unipc"
+ | "lms_discrete"
+ | "heun"
+ | "euler"
+ | "euler_ancestral"
+ | "pndm"
+ | "ddpm"
+ | "ddim"
+ | "deis";
+}
diff --git a/src/serialization/types/RecipeFunction.ts b/src/serialization/types/RecipeFunction.ts
index 278a586..a49e4d1 100644
--- a/src/serialization/types/RecipeFunction.ts
+++ b/src/serialization/types/RecipeFunction.ts
@@ -5,17 +5,17 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Trigger } from "./Trigger";
+import { RecipeFunctionTrigger } from "./RecipeFunctionTrigger";
export const RecipeFunction: core.serialization.ObjectSchema =
core.serialization.object({
url: core.serialization.string(),
- trigger: Trigger,
+ trigger: RecipeFunctionTrigger,
});
export declare namespace RecipeFunction {
interface Raw {
url: string;
- trigger: Trigger.Raw;
+ trigger: RecipeFunctionTrigger.Raw;
}
}
diff --git a/src/serialization/types/RecipeFunctionTrigger.ts b/src/serialization/types/RecipeFunctionTrigger.ts
new file mode 100644
index 0000000..aa47088
--- /dev/null
+++ b/src/serialization/types/RecipeFunctionTrigger.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const RecipeFunctionTrigger: core.serialization.Schema<
+ serializers.RecipeFunctionTrigger.Raw,
+ Gooey.RecipeFunctionTrigger
+> = core.serialization.enum_(["pre", "post"]);
+
+export declare namespace RecipeFunctionTrigger {
+ type Raw = "pre" | "post";
+}
diff --git a/src/serialization/types/RelatedQnADocPageRequest.ts b/src/serialization/types/RelatedQnADocPageRequest.ts
index f1a3384..557d70e 100644
--- a/src/serialization/types/RelatedQnADocPageRequest.ts
+++ b/src/serialization/types/RelatedQnADocPageRequest.ts
@@ -10,7 +10,6 @@ import { RelatedQnADocPageRequestKeywordQuery } from "./RelatedQnADocPageRequest
import { RelatedQnADocPageRequestEmbeddingModel } from "./RelatedQnADocPageRequestEmbeddingModel";
import { RelatedQnADocPageRequestSelectedModel } from "./RelatedQnADocPageRequestSelectedModel";
import { RelatedQnADocPageRequestCitationStyle } from "./RelatedQnADocPageRequestCitationStyle";
-import { RelatedQnADocPageRequestResponseFormatType } from "./RelatedQnADocPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
import { RunSettings } from "./RunSettings";
@@ -33,16 +32,12 @@ export const RelatedQnADocPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", RelatedQnADocPageRequestSelectedModel.optional()),
- citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- RelatedQnADocPageRequestResponseFormatType.optional()
- ),
+ citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()),
serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
scaleserpLocations: core.serialization.property(
"scaleserp_locations",
@@ -69,13 +64,12 @@ export declare namespace RelatedQnADocPageRequest {
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: RelatedQnADocPageRequestSelectedModel.Raw | null;
- citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: RelatedQnADocPageRequestResponseFormatType.Raw | null;
+ citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null;
serp_search_location?: SerpSearchLocation.Raw | null;
scaleserp_locations?: string[] | null;
serp_search_type?: SerpSearchType.Raw | null;
diff --git a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
deleted file mode 100644
index 2229647..0000000
--- a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const RelatedQnADocPageRequestResponseFormatType: core.serialization.Schema<
- serializers.RelatedQnADocPageRequestResponseFormatType.Raw,
- Gooey.RelatedQnADocPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace RelatedQnADocPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
index 74ba1b6..0e29ce8 100644
--- a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
Gooey.RelatedQnADocPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
export declare namespace RelatedQnADocPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace RelatedQnADocPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/RelatedQnAPageRequest.ts b/src/serialization/types/RelatedQnAPageRequest.ts
index 9bb6526..6e6add1 100644
--- a/src/serialization/types/RelatedQnAPageRequest.ts
+++ b/src/serialization/types/RelatedQnAPageRequest.ts
@@ -6,11 +6,10 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel";
-import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel";
-import { RelatedQnAPageRequestResponseFormatType } from "./RelatedQnAPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel";
+import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel";
import { RunSettings } from "./RunSettings";
export const RelatedQnAPageRequest: core.serialization.ObjectSchema<
@@ -19,33 +18,29 @@ export const RelatedQnAPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
siteFilter: core.serialization.property("site_filter", core.serialization.string()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", RelatedQnAPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
maxReferences: core.serialization.property("max_references", core.serialization.number().optional()),
maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()),
scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()),
embeddingModel: core.serialization.property("embedding_model", RelatedQnAPageRequestEmbeddingModel.optional()),
denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- RelatedQnAPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
@@ -53,27 +48,26 @@ export declare namespace RelatedQnAPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
site_filter: string;
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: RelatedQnAPageRequestSelectedModel.Raw | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
max_search_urls?: number | null;
max_references?: number | null;
max_context_words?: number | null;
scroll_jump?: number | null;
embedding_model?: RelatedQnAPageRequestEmbeddingModel.Raw | null;
dense_weight?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: RelatedQnAPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
deleted file mode 100644
index cbe851b..0000000
--- a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const RelatedQnAPageRequestResponseFormatType: core.serialization.Schema<
- serializers.RelatedQnAPageRequestResponseFormatType.Raw,
- Gooey.RelatedQnAPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace RelatedQnAPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
index f58f271..0282e85 100644
--- a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
Gooey.RelatedQnAPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
export declare namespace RelatedQnAPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace RelatedQnAPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/Role.ts b/src/serialization/types/Role.ts
deleted file mode 100644
index da568e4..0000000
--- a/src/serialization/types/Role.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const Role: core.serialization.Schema = core.serialization.enum_([
- "user",
- "system",
- "assistant",
-]);
-
-export declare namespace Role {
- type Raw = "user" | "system" | "assistant";
-}
diff --git a/src/serialization/types/SadTalkerSettings.ts b/src/serialization/types/SadTalkerSettings.ts
index 7e4eca7..2c03b44 100644
--- a/src/serialization/types/SadTalkerSettings.ts
+++ b/src/serialization/types/SadTalkerSettings.ts
@@ -5,14 +5,14 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { Preprocess } from "./Preprocess";
+import { SadTalkerSettingsPreprocess } from "./SadTalkerSettingsPreprocess";
export const SadTalkerSettings: core.serialization.ObjectSchema<
serializers.SadTalkerSettings.Raw,
Gooey.SadTalkerSettings
> = core.serialization.object({
still: core.serialization.boolean().optional(),
- preprocess: Preprocess.optional(),
+ preprocess: SadTalkerSettingsPreprocess.optional(),
poseStyle: core.serialization.property("pose_style", core.serialization.number().optional()),
expressionScale: core.serialization.property("expression_scale", core.serialization.number().optional()),
refEyeblink: core.serialization.property("ref_eyeblink", core.serialization.string().optional()),
@@ -31,7 +31,7 @@ export const SadTalkerSettings: core.serialization.ObjectSchema<
export declare namespace SadTalkerSettings {
interface Raw {
still?: boolean | null;
- preprocess?: Preprocess.Raw | null;
+ preprocess?: SadTalkerSettingsPreprocess.Raw | null;
pose_style?: number | null;
expression_scale?: number | null;
ref_eyeblink?: string | null;
diff --git a/src/serialization/types/Preprocess.ts b/src/serialization/types/SadTalkerSettingsPreprocess.ts
similarity index 50%
rename from src/serialization/types/Preprocess.ts
rename to src/serialization/types/SadTalkerSettingsPreprocess.ts
index 7b0cbc7..5796b1f 100644
--- a/src/serialization/types/Preprocess.ts
+++ b/src/serialization/types/SadTalkerSettingsPreprocess.ts
@@ -6,9 +6,11 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-export const Preprocess: core.serialization.Schema =
- core.serialization.enum_(["crop", "extcrop", "resize", "full", "extfull"]);
+export const SadTalkerSettingsPreprocess: core.serialization.Schema<
+ serializers.SadTalkerSettingsPreprocess.Raw,
+ Gooey.SadTalkerSettingsPreprocess
+> = core.serialization.enum_(["crop", "extcrop", "resize", "full", "extfull"]);
-export declare namespace Preprocess {
+export declare namespace SadTalkerSettingsPreprocess {
type Raw = "crop" | "extcrop" | "resize" | "full" | "extfull";
}
diff --git a/src/serialization/types/SeoSummaryPageRequest.ts b/src/serialization/types/SeoSummaryPageRequest.ts
index 66ce96b..87a0a02 100644
--- a/src/serialization/types/SeoSummaryPageRequest.ts
+++ b/src/serialization/types/SeoSummaryPageRequest.ts
@@ -5,16 +5,22 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { SeoSummaryPageRequestSelectedModel } from "./SeoSummaryPageRequestSelectedModel";
-import { SeoSummaryPageRequestResponseFormatType } from "./SeoSummaryPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { SeoSummaryPageRequestSelectedModel } from "./SeoSummaryPageRequestSelectedModel";
import { RunSettings } from "./RunSettings";
export const SeoSummaryPageRequest: core.serialization.ObjectSchema<
serializers.SeoSummaryPageRequest.Raw,
Gooey.SeoSummaryPageRequest
> = core.serialization.object({
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
keywords: core.serialization.string(),
title: core.serialization.string(),
@@ -22,30 +28,23 @@ export const SeoSummaryPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
enableHtml: core.serialization.property("enable_html", core.serialization.boolean().optional()),
selectedModel: core.serialization.property("selected_model", SeoSummaryPageRequestSelectedModel.optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
enableCrosslinks: core.serialization.property("enable_crosslinks", core.serialization.boolean().optional()),
seed: core.serialization.number().optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SeoSummaryPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
export declare namespace SeoSummaryPageRequest {
interface Raw {
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
keywords: string;
title: string;
@@ -53,19 +52,14 @@ export declare namespace SeoSummaryPageRequest {
task_instructions?: string | null;
enable_html?: boolean | null;
selected_model?: SeoSummaryPageRequestSelectedModel.Raw | null;
+ sampling_temperature?: number | null;
+ max_tokens?: number | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ avoid_repetition?: boolean | null;
max_search_urls?: number | null;
enable_crosslinks?: boolean | null;
seed?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: SeoSummaryPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 0d346d8..0000000
--- a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SeoSummaryPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SeoSummaryPageRequestResponseFormatType.Raw,
- Gooey.SeoSummaryPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SeoSummaryPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
index c60edd3..b02787d 100644
--- a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
Gooey.SeoSummaryPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
export declare namespace SeoSummaryPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SeoSummaryPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/SerpSearchLocation.ts b/src/serialization/types/SerpSearchLocation.ts
index 47a9a3a..f001ed2 100644
--- a/src/serialization/types/SerpSearchLocation.ts
+++ b/src/serialization/types/SerpSearchLocation.ts
@@ -195,7 +195,7 @@ export const SerpSearchLocation: core.serialization.Schema<
"vc",
"ws",
"sm",
- "gui",
+ "st",
"sa",
"sn",
"rs",
@@ -438,7 +438,7 @@ export declare namespace SerpSearchLocation {
| "vc"
| "ws"
| "sm"
- | "gui"
+ | "st"
| "sa"
| "sn"
| "rs"
diff --git a/src/serialization/types/SmartGptPageRequest.ts b/src/serialization/types/SmartGptPageRequest.ts
index b6a1139..b9a95d2 100644
--- a/src/serialization/types/SmartGptPageRequest.ts
+++ b/src/serialization/types/SmartGptPageRequest.ts
@@ -7,7 +7,6 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { SmartGptPageRequestSelectedModel } from "./SmartGptPageRequestSelectedModel";
-import { SmartGptPageRequestResponseFormatType } from "./SmartGptPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const SmartGptPageRequest: core.serialization.ObjectSchema<
@@ -26,10 +25,6 @@ export const SmartGptPageRequest: core.serialization.ObjectSchema<
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SmartGptPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -47,7 +42,6 @@ export declare namespace SmartGptPageRequest {
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: SmartGptPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts b/src/serialization/types/SmartGptPageRequestResponseFormatType.ts
deleted file mode 100644
index f4e1cf5..0000000
--- a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SmartGptPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SmartGptPageRequestResponseFormatType.Raw,
- Gooey.SmartGptPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SmartGptPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SmartGptPageRequestSelectedModel.ts b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
index c178fd5..5d90a1f 100644
--- a/src/serialization/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
Gooey.SmartGptPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
export declare namespace SmartGptPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SmartGptPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/SocialLookupEmailPageRequest.ts b/src/serialization/types/SocialLookupEmailPageRequest.ts
index a0860df..b186804 100644
--- a/src/serialization/types/SocialLookupEmailPageRequest.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequest.ts
@@ -7,7 +7,6 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { SocialLookupEmailPageRequestSelectedModel } from "./SocialLookupEmailPageRequestSelectedModel";
-import { SocialLookupEmailPageRequestResponseFormatType } from "./SocialLookupEmailPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const SocialLookupEmailPageRequest: core.serialization.ObjectSchema<
@@ -19,15 +18,11 @@ export const SocialLookupEmailPageRequest: core.serialization.ObjectSchema<
emailAddress: core.serialization.property("email_address", core.serialization.string()),
inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", SocialLookupEmailPageRequestSelectedModel.optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SocialLookupEmailPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -38,12 +33,11 @@ export declare namespace SocialLookupEmailPageRequest {
email_address: string;
input_prompt?: string | null;
selected_model?: SocialLookupEmailPageRequestSelectedModel.Raw | null;
- avoid_repetition?: boolean | null;
num_outputs?: number | null;
+ avoid_repetition?: boolean | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: SocialLookupEmailPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
deleted file mode 100644
index ddddd09..0000000
--- a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SocialLookupEmailPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SocialLookupEmailPageRequestResponseFormatType.Raw,
- Gooey.SocialLookupEmailPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SocialLookupEmailPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
index 09b77ac..d52da6c 100644
--- a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
Gooey.SocialLookupEmailPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
export declare namespace SocialLookupEmailPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SocialLookupEmailPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/Trigger.ts b/src/serialization/types/Trigger.ts
deleted file mode 100644
index 0aa9acf..0000000
--- a/src/serialization/types/Trigger.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const Trigger: core.serialization.Schema = core.serialization.enum_([
- "pre",
- "post",
-]);
-
-export declare namespace Trigger {
- type Raw = "pre" | "post";
-}
diff --git a/src/serialization/types/VideoBotsPageRequest.ts b/src/serialization/types/VideoBotsPageRequest.ts
index 53fb697..6db1b7e 100644
--- a/src/serialization/types/VideoBotsPageRequest.ts
+++ b/src/serialization/types/VideoBotsPageRequest.ts
@@ -14,7 +14,6 @@ import { VideoBotsPageRequestAsrModel } from "./VideoBotsPageRequestAsrModel";
import { VideoBotsPageRequestTranslationModel } from "./VideoBotsPageRequestTranslationModel";
import { VideoBotsPageRequestLipsyncModel } from "./VideoBotsPageRequestLipsyncModel";
import { LlmTools } from "./LlmTools";
-import { VideoBotsPageRequestResponseFormatType } from "./VideoBotsPageRequestResponseFormatType";
import { VideoBotsPageRequestTtsProvider } from "./VideoBotsPageRequestTtsProvider";
import { VideoBotsPageRequestOpenaiVoiceName } from "./VideoBotsPageRequestOpenaiVoiceName";
import { VideoBotsPageRequestOpenaiTtsModel } from "./VideoBotsPageRequestOpenaiTtsModel";
@@ -42,6 +41,11 @@ export const VideoBotsPageRequest: core.serialization.ObjectSchema<
botScript: core.serialization.property("bot_script", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", VideoBotsPageRequestSelectedModel.optional()),
documentModel: core.serialization.property("document_model", core.serialization.string().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()),
@@ -67,15 +71,6 @@ export const VideoBotsPageRequest: core.serialization.ObjectSchema<
),
lipsyncModel: core.serialization.property("lipsync_model", VideoBotsPageRequestLipsyncModel.optional()),
tools: core.serialization.list(LlmTools).optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- VideoBotsPageRequestResponseFormatType.optional()
- ),
ttsProvider: core.serialization.property("tts_provider", VideoBotsPageRequestTtsProvider.optional()),
uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()),
uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()),
@@ -122,6 +117,11 @@ export declare namespace VideoBotsPageRequest {
bot_script?: string | null;
selected_model?: VideoBotsPageRequestSelectedModel.Raw | null;
document_model?: string | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
task_instructions?: string | null;
query_instructions?: string | null;
keyword_instructions?: string | null;
@@ -141,12 +141,6 @@ export declare namespace VideoBotsPageRequest {
output_glossary_document?: string | null;
lipsync_model?: VideoBotsPageRequestLipsyncModel.Raw | null;
tools?: LlmTools.Raw[] | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: VideoBotsPageRequestResponseFormatType.Raw | null;
tts_provider?: VideoBotsPageRequestTtsProvider.Raw | null;
uberduck_voice_name?: string | null;
uberduck_speaking_rate?: number | null;
diff --git a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts b/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
deleted file mode 100644
index 99774b1..0000000
--- a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const VideoBotsPageRequestResponseFormatType: core.serialization.Schema<
- serializers.VideoBotsPageRequestResponseFormatType.Raw,
- Gooey.VideoBotsPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace VideoBotsPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
index 2983364..eafcf99 100644
--- a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
Gooey.VideoBotsPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
export declare namespace VideoBotsPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace VideoBotsPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts
index 1ffecc9..38a3652 100644
--- a/src/serialization/types/index.ts
+++ b/src/serialization/types/index.ts
@@ -1,5 +1,6 @@
-export * from "./Function";
+export * from "./AggFunctionFunction";
export * from "./AggFunction";
+export * from "./AggFunctionResultFunction";
export * from "./AggFunctionResult";
export * from "./AsrChunk";
export * from "./AsrOutputJson";
@@ -16,7 +17,6 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
-export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -25,7 +25,7 @@ export * from "./BulkRunnerPageRequest";
export * from "./BulkRunnerPageResponse";
export * from "./BulkRunnerPageStatusResponse";
export * from "./ButtonPressed";
-export * from "./Trigger";
+export * from "./CalledFunctionResponseTrigger";
export * from "./CalledFunctionResponse";
export * from "./ChatCompletionContentPartImageParam";
export * from "./ChatCompletionContentPartTextParam";
@@ -41,7 +41,7 @@ export * from "./CompareLlmPageResponse";
export * from "./CompareLlmPageStatusResponse";
export * from "./CompareText2ImgPageOutput";
export * from "./CompareText2ImgPageRequestSelectedModelsItem";
-export * from "./Scheduler";
+export * from "./CompareText2ImgPageRequestScheduler";
export * from "./CompareText2ImgPageRequest";
export * from "./CompareText2ImgPageResponse";
export * from "./CompareText2ImgPageStatusResponse";
@@ -50,11 +50,11 @@ export * from "./CompareUpscalerPageRequestSelectedModelsItem";
export * from "./CompareUpscalerPageRequest";
export * from "./CompareUpscalerPageResponse";
export * from "./CompareUpscalerPageStatusResponse";
-export * from "./Level";
+export * from "./ConsoleLogsLevel";
export * from "./ConsoleLogs";
-export * from "./Role";
+export * from "./ConversationEntryRole";
export * from "./ConversationEntryContentItem";
-export * from "./Content";
+export * from "./ConversationEntryContent";
export * from "./ConversationEntry";
export * from "./ConversationStart";
export * from "./CreateStreamResponse";
@@ -66,7 +66,6 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
-export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -75,14 +74,12 @@ export * from "./DocSearchPageRequestKeywordQuery";
export * from "./DocSearchPageRequestEmbeddingModel";
export * from "./DocSearchPageRequestSelectedModel";
export * from "./DocSearchPageRequestCitationStyle";
-export * from "./DocSearchPageRequestResponseFormatType";
export * from "./DocSearchPageRequest";
export * from "./DocSearchPageResponse";
export * from "./DocSearchPageStatusResponse";
export * from "./DocSummaryPageOutput";
export * from "./DocSummaryPageRequestSelectedModel";
export * from "./DocSummaryPageRequestSelectedAsrModel";
-export * from "./DocSummaryPageRequestResponseFormatType";
export * from "./DocSummaryPageRequest";
export * from "./DocSummaryPageResponse";
export * from "./DocSummaryPageStatusResponse";
@@ -114,7 +111,6 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
-export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -129,7 +125,7 @@ export * from "./ImageSegmentationPageRequestSelectedModel";
export * from "./ImageSegmentationPageRequest";
export * from "./ImageSegmentationPageResponse";
export * from "./ImageSegmentationPageStatusResponse";
-export * from "./Detail";
+export * from "./ImageUrlDetail";
export * from "./ImageUrl";
export * from "./Img2ImgPageOutput";
export * from "./Img2ImgPageRequestSelectedModel";
@@ -162,15 +158,17 @@ export * from "./ObjectInpaintingPageRequestSelectedModel";
export * from "./ObjectInpaintingPageRequest";
export * from "./ObjectInpaintingPageResponse";
export * from "./ObjectInpaintingPageStatusResponse";
-export * from "./Prompt";
+export * from "./PromptTreeNodePrompt";
export * from "./PromptTreeNode";
export * from "./QrCodeGeneratorPageOutput";
export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem";
export * from "./QrCodeGeneratorPageRequestSelectedModel";
export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem";
+export * from "./QrCodeGeneratorPageRequestScheduler";
export * from "./QrCodeGeneratorPageRequest";
export * from "./QrCodeGeneratorPageResponse";
export * from "./QrCodeGeneratorPageStatusResponse";
+export * from "./RecipeFunctionTrigger";
export * from "./RecipeFunction";
export * from "./RecipeRunState";
export * from "./RelatedDocSearchResponse";
@@ -180,14 +178,12 @@ export * from "./RelatedQnADocPageRequestKeywordQuery";
export * from "./RelatedQnADocPageRequestEmbeddingModel";
export * from "./RelatedQnADocPageRequestSelectedModel";
export * from "./RelatedQnADocPageRequestCitationStyle";
-export * from "./RelatedQnADocPageRequestResponseFormatType";
export * from "./RelatedQnADocPageRequest";
export * from "./RelatedQnADocPageResponse";
export * from "./RelatedQnADocPageStatusResponse";
export * from "./RelatedQnAPageOutput";
export * from "./RelatedQnAPageRequestSelectedModel";
export * from "./RelatedQnAPageRequestEmbeddingModel";
-export * from "./RelatedQnAPageRequestResponseFormatType";
export * from "./RelatedQnAPageRequest";
export * from "./RelatedQnAPageResponse";
export * from "./RelatedQnAPageStatusResponse";
@@ -200,24 +196,21 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
-export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
-export * from "./Preprocess";
+export * from "./SadTalkerSettingsPreprocess";
export * from "./SadTalkerSettings";
export * from "./SearchReference";
export * from "./SerpSearchLocation";
export * from "./SerpSearchType";
export * from "./SmartGptPageOutput";
export * from "./SmartGptPageRequestSelectedModel";
-export * from "./SmartGptPageRequestResponseFormatType";
export * from "./SmartGptPageRequest";
export * from "./SmartGptPageResponse";
export * from "./SmartGptPageStatusResponse";
export * from "./SocialLookupEmailPageOutput";
export * from "./SocialLookupEmailPageRequestSelectedModel";
-export * from "./SocialLookupEmailPageRequestResponseFormatType";
export * from "./SocialLookupEmailPageRequest";
export * from "./SocialLookupEmailPageResponse";
export * from "./SocialLookupEmailPageStatusResponse";
@@ -251,7 +244,6 @@ export * from "./VideoBotsPageRequestCitationStyle";
export * from "./VideoBotsPageRequestAsrModel";
export * from "./VideoBotsPageRequestTranslationModel";
export * from "./VideoBotsPageRequestLipsyncModel";
-export * from "./VideoBotsPageRequestResponseFormatType";
export * from "./VideoBotsPageRequestTtsProvider";
export * from "./VideoBotsPageRequestOpenaiVoiceName";
export * from "./VideoBotsPageRequestOpenaiTtsModel";