From d5e0ef0f06bdff8082c0cb6a5b22baa3133c36e2 Mon Sep 17 00:00:00 2001
From: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 22:16:14 +0000
Subject: [PATCH] Release 0.0.1
---
README.md | 2 +-
package.json | 2 +-
reference.md | 40 -------
src/Client.ts | 8 +-
.../aiAnimationGenerator/client/Client.ts | 31 +-----
.../resources/aiArtQrCode/client/Client.ts | 31 +-----
.../aiBackgroundChanger/client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../aiImageWithAFace/client/Client.ts | 31 +-----
src/api/resources/bulkRunner/client/Client.ts | 31 +-----
.../resources/chyronPlantBot/client/Client.ts | 31 +-----
.../compareAiImageGenerators/client/Client.ts | 31 +-----
.../compareAiImageUpscalers/client/Client.ts | 31 +-----
.../compareAiTranslations/client/Client.ts | 31 +-----
.../compareAiVoiceGenerators/client/Client.ts | 31 +-----
.../copilotForYourEnterprise/client/Client.ts | 31 +-----
.../copilotIntegrations/client/Client.ts | 28 +----
.../client/requests/CreateStreamRequest.ts | 11 +-
.../CreateStreamRequestResponseFormatType.ts | 10 ++
.../types/CreateStreamRequestSelectedModel.ts | 8 ++
.../copilotIntegrations/types/index.ts | 1 +
.../client/Client.ts | 31 +-----
.../editAnImageWithAiPrompt/client/Client.ts | 31 +-----
src/api/resources/embeddings/client/Client.ts | 31 +-----
src/api/resources/evaluator/client/Client.ts | 31 +-----
src/api/resources/functions/client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../largeLanguageModelsGpt3/client/Client.ts | 31 +-----
.../resources/letterWriter/client/Client.ts | 31 +-----
src/api/resources/lipSyncing/client/Client.ts | 31 +-----
.../lipsyncVideoWithAnyText/client/Client.ts | 31 +-----
src/api/resources/misc/client/Client.ts | 102 ++---------------
.../client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../searchYourDocsWithGpt/client/Client.ts | 31 +-----
src/api/resources/smartGpt/client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../summarizeYourDocsWithGpt/client/Client.ts | 31 +-----
.../client/Client.ts | 31 +-----
.../textGuidedAudioGenerator/client/Client.ts | 31 +-----
.../resources/webSearchGpt3/client/Client.ts | 31 +-----
src/api/types/BulkEvalPageRequest.ts | 13 ++-
.../BulkEvalPageRequestResponseFormatType.ts | 10 ++
.../types/BulkEvalPageRequestSelectedModel.ts | 8 ++
...CompareLlmPageRequestSelectedModelsItem.ts | 8 ++
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/RelatedQnADocPageRequest.ts | 3 +-
...atedQnADocPageRequestResponseFormatType.ts | 10 ++
.../RelatedQnADocPageRequestSelectedModel.ts | 8 ++
src/api/types/RelatedQnAPageRequest.ts | 23 ++--
...RelatedQnAPageRequestResponseFormatType.ts | 10 ++
.../RelatedQnAPageRequestSelectedModel.ts | 8 ++
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 | 11 ++
.../client/requests/CreateStreamRequest.ts | 26 +++--
.../CreateStreamRequestResponseFormatType.ts | 16 +++
.../types/CreateStreamRequestSelectedModel.ts | 8 ++
.../copilotIntegrations/types/index.ts | 1 +
.../types/BulkEvalPageRequest.ts | 20 ++--
.../BulkEvalPageRequestResponseFormatType.ts | 16 +++
.../types/BulkEvalPageRequestSelectedModel.ts | 8 ++
...CompareLlmPageRequestSelectedModelsItem.ts | 8 ++
.../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 ++
.../types/RelatedQnADocPageRequest.ts | 10 +-
...atedQnADocPageRequestResponseFormatType.ts | 16 +++
.../RelatedQnADocPageRequestSelectedModel.ts | 8 ++
.../types/RelatedQnAPageRequest.ts | 52 +++++----
...RelatedQnAPageRequestResponseFormatType.ts | 16 +++
.../RelatedQnAPageRequestSelectedModel.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 ++
.../types/VideoBotsPageRequest.ts | 26 +++--
.../VideoBotsPageRequestResponseFormatType.ts | 16 +++
.../VideoBotsPageRequestSelectedModel.ts | 8 ++
src/serialization/types/index.ts | 11 ++
yarn.lock | 104 +++++++++---------
120 files changed, 1065 insertions(+), 1208 deletions(-)
create mode 100644 src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
create mode 100644 src/api/types/BulkEvalPageRequestResponseFormatType.ts
create mode 100644 src/api/types/DocExtractPageRequestResponseFormatType.ts
create mode 100644 src/api/types/DocSearchPageRequestResponseFormatType.ts
create mode 100644 src/api/types/DocSummaryPageRequestResponseFormatType.ts
create mode 100644 src/api/types/GoogleGptPageRequestResponseFormatType.ts
create mode 100644 src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
create mode 100644 src/api/types/RelatedQnAPageRequestResponseFormatType.ts
create mode 100644 src/api/types/SeoSummaryPageRequestResponseFormatType.ts
create mode 100644 src/api/types/SmartGptPageRequestResponseFormatType.ts
create mode 100644 src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
create mode 100644 src/api/types/VideoBotsPageRequestResponseFormatType.ts
create mode 100644 src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
create mode 100644 src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/DocExtractPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/DocSearchPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/SmartGptPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
create mode 100644 src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
diff --git a/README.md b/README.md
index 35e0fd9..eb88acf 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Instantiate and use the client with the following:
```typescript
import { GooeyClient } from "gooey";
-const client = new GooeyClient({ apiKey: "YOUR_API_KEY", authorization: "YOUR_AUTHORIZATION" });
+const client = new GooeyClient({ token: "YOUR_TOKEN" });
await client.copilotIntegrations.videoBotsStreamCreate({
integrationId: "integration_id",
});
diff --git a/package.json b/package.json
index e7a50e8..5ebdda8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "gooey",
- "version": "0.0.1-beta0",
+ "version": "0.0.1",
"private": false,
"repository": "https://github.com/GooeyAI/typescript-sdk",
"main": "./index.js",
diff --git a/reference.md b/reference.md
index 04c46a0..2c2d3a5 100644
--- a/reference.md
+++ b/reference.md
@@ -5229,43 +5229,3 @@ 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 bb523c3..9f07433 100644
--- a/src/Client.ts
+++ b/src/Client.ts
@@ -43,9 +43,7 @@ import { Misc } from "./api/resources/misc/client/Client";
export declare namespace GooeyClient {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -56,13 +54,11 @@ export declare namespace GooeyClient {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class GooeyClient {
- constructor(protected readonly _options: GooeyClient.Options = {}) {}
+ constructor(protected readonly _options: GooeyClient.Options) {}
protected _copilotIntegrations: CopilotIntegrations | undefined;
diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts
index 5d989fd..1a520e9 100644
--- a/src/api/resources/aiAnimationGenerator/client/Client.ts
+++ b/src/api/resources/aiAnimationGenerator/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace AiAnimationGenerator {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace AiAnimationGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class AiAnimationGenerator {
- constructor(protected readonly _options: AiAnimationGenerator.Options = {}) {}
+ constructor(protected readonly _options: AiAnimationGenerator.Options) {}
/**
* @param {Gooey.DeforumSdPageRequest} request
@@ -64,10 +60,9 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -173,10 +168,9 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -272,10 +266,9 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -342,18 +335,6 @@ export class AiAnimationGenerator {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts
index 0abaa0d..ddbd855 100644
--- a/src/api/resources/aiArtQrCode/client/Client.ts
+++ b/src/api/resources/aiArtQrCode/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace AiArtQrCode {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace AiArtQrCode {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class AiArtQrCode {
- constructor(protected readonly _options: AiArtQrCode.Options = {}) {}
+ constructor(protected readonly _options: AiArtQrCode.Options) {}
/**
* @param {Gooey.QrCodeGeneratorPageRequest} request
@@ -61,10 +57,9 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class AiArtQrCode {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts
index e02f01c..9dfc76f 100644
--- a/src/api/resources/aiBackgroundChanger/client/Client.ts
+++ b/src/api/resources/aiBackgroundChanger/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace AiBackgroundChanger {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace AiBackgroundChanger {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class AiBackgroundChanger {
- constructor(protected readonly _options: AiBackgroundChanger.Options = {}) {}
+ constructor(protected readonly _options: AiBackgroundChanger.Options) {}
/**
* @param {Gooey.ImageSegmentationPageRequest} request
@@ -61,10 +57,9 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class AiBackgroundChanger {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
index 32e4718..436b8c7 100644
--- a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
+++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class AiGeneratedPhotoFromEmailProfileLookup {
- constructor(protected readonly _options: AiGeneratedPhotoFromEmailProfileLookup.Options = {}) {}
+ constructor(protected readonly _options: AiGeneratedPhotoFromEmailProfileLookup.Options) {}
/**
* @param {Gooey.EmailFaceInpaintingPageRequest} request
@@ -62,10 +58,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts
index 8f6fc34..9cfd249 100644
--- a/src/api/resources/aiImageWithAFace/client/Client.ts
+++ b/src/api/resources/aiImageWithAFace/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace AiImageWithAFace {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace AiImageWithAFace {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class AiImageWithAFace {
- constructor(protected readonly _options: AiImageWithAFace.Options = {}) {}
+ constructor(protected readonly _options: AiImageWithAFace.Options) {}
/**
* @param {Gooey.FaceInpaintingPageRequest} request
@@ -62,10 +58,9 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class AiImageWithAFace {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts
index d1dcaca..429715c 100644
--- a/src/api/resources/bulkRunner/client/Client.ts
+++ b/src/api/resources/bulkRunner/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace BulkRunner {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace BulkRunner {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class BulkRunner {
- constructor(protected readonly _options: BulkRunner.Options = {}) {}
+ constructor(protected readonly _options: BulkRunner.Options) {}
/**
* @param {Gooey.BulkRunnerPageRequest} request
@@ -68,10 +64,9 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -181,10 +176,9 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -280,10 +274,9 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -350,18 +343,6 @@ export class BulkRunner {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts
index 0abb446..72f9e87 100644
--- a/src/api/resources/chyronPlantBot/client/Client.ts
+++ b/src/api/resources/chyronPlantBot/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace ChyronPlantBot {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace ChyronPlantBot {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class ChyronPlantBot {
- constructor(protected readonly _options: ChyronPlantBot.Options = {}) {}
+ constructor(protected readonly _options: ChyronPlantBot.Options) {}
/**
* @param {Gooey.ChyronPlantPageRequest} request
@@ -61,10 +57,9 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class ChyronPlantBot {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts
index 032cab0..33fa364 100644
--- a/src/api/resources/compareAiImageGenerators/client/Client.ts
+++ b/src/api/resources/compareAiImageGenerators/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CompareAiImageGenerators {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CompareAiImageGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CompareAiImageGenerators {
- constructor(protected readonly _options: CompareAiImageGenerators.Options = {}) {}
+ constructor(protected readonly _options: CompareAiImageGenerators.Options) {}
/**
* @param {Gooey.CompareText2ImgPageRequest} request
@@ -61,10 +57,9 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class CompareAiImageGenerators {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts
index cb74932..eef2e31 100644
--- a/src/api/resources/compareAiImageUpscalers/client/Client.ts
+++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CompareAiImageUpscalers {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CompareAiImageUpscalers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CompareAiImageUpscalers {
- constructor(protected readonly _options: CompareAiImageUpscalers.Options = {}) {}
+ constructor(protected readonly _options: CompareAiImageUpscalers.Options) {}
/**
* @param {Gooey.CompareUpscalerPageRequest} request
@@ -61,10 +57,9 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class CompareAiImageUpscalers {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts
index 345dc9e..eadbc55 100644
--- a/src/api/resources/compareAiTranslations/client/Client.ts
+++ b/src/api/resources/compareAiTranslations/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CompareAiTranslations {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CompareAiTranslations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CompareAiTranslations {
- constructor(protected readonly _options: CompareAiTranslations.Options = {}) {}
+ constructor(protected readonly _options: CompareAiTranslations.Options) {}
/**
* @param {Gooey.TranslationPageRequest} request
@@ -59,10 +55,9 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +158,9 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,10 +256,9 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -332,18 +325,6 @@ export class CompareAiTranslations {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
index ecac02d..6f31d0d 100644
--- a/src/api/resources/compareAiVoiceGenerators/client/Client.ts
+++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CompareAiVoiceGenerators {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CompareAiVoiceGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CompareAiVoiceGenerators {
- constructor(protected readonly _options: CompareAiVoiceGenerators.Options = {}) {}
+ constructor(protected readonly _options: CompareAiVoiceGenerators.Options) {}
/**
* @param {Gooey.TextToSpeechPageRequest} request
@@ -61,10 +57,9 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class CompareAiVoiceGenerators {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts
index 1c4e1cc..afec1be 100644
--- a/src/api/resources/copilotForYourEnterprise/client/Client.ts
+++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CopilotForYourEnterprise {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CopilotForYourEnterprise {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CopilotForYourEnterprise {
- constructor(protected readonly _options: CopilotForYourEnterprise.Options = {}) {}
+ constructor(protected readonly _options: CopilotForYourEnterprise.Options) {}
/**
* @param {Gooey.VideoBotsPageRequest} request
@@ -59,10 +55,9 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +158,9 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,10 +256,9 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -332,18 +325,6 @@ export class CopilotForYourEnterprise {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts
index b23fda2..def60a6 100644
--- a/src/api/resources/copilotIntegrations/client/Client.ts
+++ b/src/api/resources/copilotIntegrations/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CopilotIntegrations {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CopilotIntegrations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CopilotIntegrations {
- constructor(protected readonly _options: CopilotIntegrations.Options = {}) {}
+ constructor(protected readonly _options: CopilotIntegrations.Options) {}
/**
* @param {Gooey.CreateStreamRequest} request
@@ -59,10 +55,9 @@ export class CopilotIntegrations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -142,10 +137,9 @@ export class CopilotIntegrations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -201,18 +195,6 @@ export class CopilotIntegrations {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
index cb6cab5..4a3afe1 100644
--- a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -49,11 +49,6 @@ 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;
@@ -90,6 +85,12 @@ 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
new file mode 100644
index 0000000..77cabe3
--- /dev/null
+++ b/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * 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 840a2b0..d495e6a 100644
--- a/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type CreateStreamRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 5429f0e..8b11dd6 100644
--- a/src/api/resources/copilotIntegrations/types/index.ts
+++ b/src/api/resources/copilotIntegrations/types/index.ts
@@ -4,6 +4,7 @@ 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 13f99c3..17c863d 100644
--- a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
+++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class CreateAPerfectSeoOptimizedTitleParagraph {
- constructor(protected readonly _options: CreateAPerfectSeoOptimizedTitleParagraph.Options = {}) {}
+ constructor(protected readonly _options: CreateAPerfectSeoOptimizedTitleParagraph.Options) {}
/**
* @param {Gooey.SeoSummaryPageRequest} request
@@ -64,10 +60,9 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -173,10 +168,9 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -272,10 +266,9 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -342,18 +335,6 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
index 0ffad42..58c973b 100644
--- a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
+++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace EditAnImageWithAiPrompt {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace EditAnImageWithAiPrompt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class EditAnImageWithAiPrompt {
- constructor(protected readonly _options: EditAnImageWithAiPrompt.Options = {}) {}
+ constructor(protected readonly _options: EditAnImageWithAiPrompt.Options) {}
/**
* @param {Gooey.Img2ImgPageRequest} request
@@ -61,10 +57,9 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class EditAnImageWithAiPrompt {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts
index dd8c79b..6c05ff7 100644
--- a/src/api/resources/embeddings/client/Client.ts
+++ b/src/api/resources/embeddings/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace Embeddings {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace Embeddings {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class Embeddings {
- constructor(protected readonly _options: Embeddings.Options = {}) {}
+ constructor(protected readonly _options: Embeddings.Options) {}
/**
* @param {Gooey.EmbeddingsPageRequest} request
@@ -61,10 +57,9 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class Embeddings {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts
index 680eed1..7bf76c0 100644
--- a/src/api/resources/evaluator/client/Client.ts
+++ b/src/api/resources/evaluator/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace Evaluator {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace Evaluator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class Evaluator {
- constructor(protected readonly _options: Evaluator.Options = {}) {}
+ constructor(protected readonly _options: Evaluator.Options) {}
/**
* @param {Gooey.BulkEvalPageRequest} request
@@ -61,10 +57,9 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class Evaluator {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts
index 7ebfc71..a1c857c 100644
--- a/src/api/resources/functions/client/Client.ts
+++ b/src/api/resources/functions/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace Functions {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace Functions {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class Functions {
- constructor(protected readonly _options: Functions.Options = {}) {}
+ constructor(protected readonly _options: Functions.Options) {}
/**
* @param {Gooey.FunctionsPageRequest} request
@@ -59,10 +55,9 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +158,9 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,10 +256,9 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -332,18 +325,6 @@ export class Functions {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
index 73b89f1..22bac6c 100644
--- a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
+++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace GeneratePeopleAlsoAskSeoContent {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace GeneratePeopleAlsoAskSeoContent {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class GeneratePeopleAlsoAskSeoContent {
- constructor(protected readonly _options: GeneratePeopleAlsoAskSeoContent.Options = {}) {}
+ constructor(protected readonly _options: GeneratePeopleAlsoAskSeoContent.Options) {}
/**
* @param {Gooey.RelatedQnAPageRequest} request
@@ -62,10 +58,9 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class GeneratePeopleAlsoAskSeoContent {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
index 5e2133d..2acf659 100644
--- a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
+++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace GenerateProductPhotoBackgrounds {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace GenerateProductPhotoBackgrounds {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class GenerateProductPhotoBackgrounds {
- constructor(protected readonly _options: GenerateProductPhotoBackgrounds.Options = {}) {}
+ constructor(protected readonly _options: GenerateProductPhotoBackgrounds.Options) {}
/**
* @param {Gooey.ObjectInpaintingPageRequest} request
@@ -62,10 +58,9 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class GenerateProductPhotoBackgrounds {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
index 03c2d7d..349d0f7 100644
--- a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
+++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace LargeLanguageModelsGpt3 {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace LargeLanguageModelsGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class LargeLanguageModelsGpt3 {
- constructor(protected readonly _options: LargeLanguageModelsGpt3.Options = {}) {}
+ constructor(protected readonly _options: LargeLanguageModelsGpt3.Options) {}
/**
* @param {Gooey.CompareLlmPageRequest} request
@@ -59,10 +55,9 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +158,9 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,10 +256,9 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -332,18 +325,6 @@ export class LargeLanguageModelsGpt3 {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts
index 042da2d..5d6c317 100644
--- a/src/api/resources/letterWriter/client/Client.ts
+++ b/src/api/resources/letterWriter/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace LetterWriter {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace LetterWriter {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class LetterWriter {
- constructor(protected readonly _options: LetterWriter.Options = {}) {}
+ constructor(protected readonly _options: LetterWriter.Options) {}
/**
* @param {Gooey.LetterWriterPageRequest} request
@@ -61,10 +57,9 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class LetterWriter {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts
index 1062f71..b5b22ba 100644
--- a/src/api/resources/lipSyncing/client/Client.ts
+++ b/src/api/resources/lipSyncing/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace LipSyncing {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace LipSyncing {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class LipSyncing {
- constructor(protected readonly _options: LipSyncing.Options = {}) {}
+ constructor(protected readonly _options: LipSyncing.Options) {}
/**
* @param {Gooey.LipsyncPageRequest} request
@@ -59,10 +55,9 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -163,10 +158,9 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,10 +256,9 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -332,18 +325,6 @@ export class LipSyncing {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
index 2a38148..8cc5164 100644
--- a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
+++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace LipsyncVideoWithAnyText {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace LipsyncVideoWithAnyText {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class LipsyncVideoWithAnyText {
- constructor(protected readonly _options: LipsyncVideoWithAnyText.Options = {}) {}
+ constructor(protected readonly _options: LipsyncVideoWithAnyText.Options) {}
/**
* @param {Gooey.LipsyncTtsPageRequest} request
@@ -61,10 +57,9 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class LipsyncVideoWithAnyText {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts
index 09c16e5..c543dfc 100644
--- a/src/api/resources/misc/client/Client.ts
+++ b/src/api/resources/misc/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace Misc {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,19 +23,15 @@ export declare namespace Misc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class Misc {
- constructor(protected readonly _options: Misc.Options = {}) {}
+ constructor(protected readonly _options: Misc.Options) {}
/**
* @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
*
- * @throws {@link Gooey.UnprocessableEntityError}
- *
* @example
* await client.misc.getBalance()
*/
@@ -52,10 +46,9 @@ export class Misc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -74,23 +67,10 @@ export class Misc {
}
if (_response.error.reason === "status-code") {
- 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,
- });
- }
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
}
switch (_response.error.reason) {
@@ -143,10 +123,9 @@ export class Misc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -195,70 +174,7 @@ 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": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
- "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) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
index fbd48e3..685802e 100644
--- a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
+++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace PeopleAlsoAskAnswersFromADoc {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace PeopleAlsoAskAnswersFromADoc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class PeopleAlsoAskAnswersFromADoc {
- constructor(protected readonly _options: PeopleAlsoAskAnswersFromADoc.Options = {}) {}
+ constructor(protected readonly _options: PeopleAlsoAskAnswersFromADoc.Options) {}
/**
* @param {Gooey.RelatedQnADocPageRequest} request
@@ -61,10 +57,9 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class PeopleAlsoAskAnswersFromADoc {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
index 95a41dc..500c87e 100644
--- a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
+++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class ProfileLookupGpt3ForAiPersonalizedEmails {
- constructor(protected readonly _options: ProfileLookupGpt3ForAiPersonalizedEmails.Options = {}) {}
+ constructor(protected readonly _options: ProfileLookupGpt3ForAiPersonalizedEmails.Options) {}
/**
* @param {Gooey.SocialLookupEmailPageRequest} request
@@ -61,10 +57,9 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
index 21efa70..c3c9015 100644
--- a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
+++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace RenderImageSearchResultsWithAi {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace RenderImageSearchResultsWithAi {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class RenderImageSearchResultsWithAi {
- constructor(protected readonly _options: RenderImageSearchResultsWithAi.Options = {}) {}
+ constructor(protected readonly _options: RenderImageSearchResultsWithAi.Options) {}
/**
* @param {Gooey.GoogleImageGenPageRequest} request
@@ -62,10 +58,9 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class RenderImageSearchResultsWithAi {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
index 1cf39a7..974dbce 100644
--- a/src/api/resources/searchYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace SearchYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace SearchYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class SearchYourDocsWithGpt {
- constructor(protected readonly _options: SearchYourDocsWithGpt.Options = {}) {}
+ constructor(protected readonly _options: SearchYourDocsWithGpt.Options) {}
/**
* @param {Gooey.DocSearchPageRequest} request
@@ -61,10 +57,9 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class SearchYourDocsWithGpt {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts
index 2be2963..50e6edf 100644
--- a/src/api/resources/smartGpt/client/Client.ts
+++ b/src/api/resources/smartGpt/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace SmartGpt {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace SmartGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class SmartGpt {
- constructor(protected readonly _options: SmartGpt.Options = {}) {}
+ constructor(protected readonly _options: SmartGpt.Options) {}
/**
* @param {Gooey.SmartGptPageRequest} request
@@ -61,10 +57,9 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class SmartGpt {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts
index 9023971..98c1ffe 100644
--- a/src/api/resources/speechRecognitionTranslation/client/Client.ts
+++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace SpeechRecognitionTranslation {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace SpeechRecognitionTranslation {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class SpeechRecognitionTranslation {
- constructor(protected readonly _options: SpeechRecognitionTranslation.Options = {}) {}
+ constructor(protected readonly _options: SpeechRecognitionTranslation.Options) {}
/**
* @param {Gooey.AsrPageRequest} request
@@ -61,10 +57,9 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class SpeechRecognitionTranslation {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
index b0557b8..8eff478 100644
--- a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace SummarizeYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace SummarizeYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class SummarizeYourDocsWithGpt {
- constructor(protected readonly _options: SummarizeYourDocsWithGpt.Options = {}) {}
+ constructor(protected readonly _options: SummarizeYourDocsWithGpt.Options) {}
/**
* @param {Gooey.DocSummaryPageRequest} request
@@ -61,10 +57,9 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class SummarizeYourDocsWithGpt {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
index 1dd7efd..1728b42 100644
--- a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
+++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace SyntheticDataMakerForVideosPdFs {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace SyntheticDataMakerForVideosPdFs {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class SyntheticDataMakerForVideosPdFs {
- constructor(protected readonly _options: SyntheticDataMakerForVideosPdFs.Options = {}) {}
+ constructor(protected readonly _options: SyntheticDataMakerForVideosPdFs.Options) {}
/**
* @param {Gooey.DocExtractPageRequest} request
@@ -61,10 +57,9 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class SyntheticDataMakerForVideosPdFs {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
index 4b12086..99c9594 100644
--- a/src/api/resources/textGuidedAudioGenerator/client/Client.ts
+++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace TextGuidedAudioGenerator {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace TextGuidedAudioGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class TextGuidedAudioGenerator {
- constructor(protected readonly _options: TextGuidedAudioGenerator.Options = {}) {}
+ constructor(protected readonly _options: TextGuidedAudioGenerator.Options) {}
/**
* @param {Gooey.Text2AudioPageRequest} request
@@ -61,10 +57,9 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -167,10 +162,9 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,10 +260,9 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -336,18 +329,6 @@ export class TextGuidedAudioGenerator {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts
index 3a8b6ae..df3c279 100644
--- a/src/api/resources/webSearchGpt3/client/Client.ts
+++ b/src/api/resources/webSearchGpt3/client/Client.ts
@@ -12,9 +12,7 @@ import * as errors from "../../../../errors/index";
export declare namespace WebSearchGpt3 {
interface Options {
environment?: core.Supplier;
- apiKey?: core.Supplier;
- /** Override the Authorization header */
- authorization?: core.Supplier;
+ token: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -25,13 +23,11 @@ export declare namespace WebSearchGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the Authorization header */
- authorization?: string | undefined;
}
}
export class WebSearchGpt3 {
- constructor(protected readonly _options: WebSearchGpt3.Options = {}) {}
+ constructor(protected readonly _options: WebSearchGpt3.Options) {}
/**
* @param {Gooey.GoogleGptPageRequest} request
@@ -62,10 +58,9 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -169,10 +164,9 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -268,10 +262,9 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1-beta0",
+ "X-Fern-SDK-Version": "0.0.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
- ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,18 +331,6 @@ export class WebSearchGpt3 {
}
protected async _getAuthorizationHeader(): Promise {
- const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
- if (bearer == null) {
- throw new errors.GooeyError({
- message: "Please specify GOOEY_API_KEY when instantiating the client.",
- });
- }
-
- return `Bearer ${bearer}`;
- }
-
- protected async _getCustomAuthorizationHeaders() {
- const authorizationValue = await core.Supplier.get(this._options.authorization);
- return { Authorization: authorizationValue };
+ return `Bearer ${await core.Supplier.get(this._options.token)}`;
}
}
diff --git a/src/api/types/BulkEvalPageRequest.ts b/src/api/types/BulkEvalPageRequest.ts
index 40fe048..d8269d4 100644
--- a/src/api/types/BulkEvalPageRequest.ts
+++ b/src/api/types/BulkEvalPageRequest.ts
@@ -8,12 +8,6 @@ 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.
@@ -28,5 +22,12 @@ 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
new file mode 100644
index 0000000..bc5865c
--- /dev/null
+++ b/src/api/types/BulkEvalPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type BulkEvalPageRequestResponseFormatType = "text" | "json_object";
+
+export const BulkEvalPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/BulkEvalPageRequestSelectedModel.ts b/src/api/types/BulkEvalPageRequestSelectedModel.ts
index 751f42b..99181de 100644
--- a/src/api/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/api/types/BulkEvalPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type BulkEvalPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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/CompareLlmPageRequestSelectedModelsItem.ts b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
index 00d4f96..68e2fe5 100644
--- a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -4,6 +4,7 @@
export type CompareLlmPageRequestSelectedModelsItem =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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/DocExtractPageRequest.ts b/src/api/types/DocExtractPageRequest.ts
index c5a1e62..71d62f5 100644
--- a/src/api/types/DocExtractPageRequest.ts
+++ b/src/api/types/DocExtractPageRequest.ts
@@ -24,5 +24,6 @@ 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
new file mode 100644
index 0000000..c8a93ac
--- /dev/null
+++ b/src/api/types/DocExtractPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type DocExtractPageRequestResponseFormatType = "text" | "json_object";
+
+export const DocExtractPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/DocExtractPageRequestSelectedModel.ts b/src/api/types/DocExtractPageRequestSelectedModel.ts
index 06cd5a9..7c94faf 100644
--- a/src/api/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/api/types/DocExtractPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type DocExtractPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 0bac0a6..d397412 100644
--- a/src/api/types/DocSearchPageRequest.ts
+++ b/src/api/types/DocSearchPageRequest.ts
@@ -24,11 +24,12 @@ export interface DocSearchPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.DocSearchPageRequestSelectedModel;
+ citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
+ responseFormatType?: Gooey.DocSearchPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSearchPageRequestResponseFormatType.ts b/src/api/types/DocSearchPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..b36205e
--- /dev/null
+++ b/src/api/types/DocSearchPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type DocSearchPageRequestResponseFormatType = "text" | "json_object";
+
+export const DocSearchPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/DocSearchPageRequestSelectedModel.ts b/src/api/types/DocSearchPageRequestSelectedModel.ts
index 6d85a37..40f410e 100644
--- a/src/api/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/api/types/DocSearchPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type DocSearchPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 f6b004f..617f9a4 100644
--- a/src/api/types/DocSummaryPageRequest.ts
+++ b/src/api/types/DocSummaryPageRequest.ts
@@ -12,13 +12,14 @@ 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;
- chainType?: "map_reduce";
- selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel;
- googleTranslateTarget?: string;
+ responseFormatType?: Gooey.DocSummaryPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSummaryPageRequestResponseFormatType.ts b/src/api/types/DocSummaryPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..db82b26
--- /dev/null
+++ b/src/api/types/DocSummaryPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type DocSummaryPageRequestResponseFormatType = "text" | "json_object";
+
+export const DocSummaryPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/DocSummaryPageRequestSelectedModel.ts b/src/api/types/DocSummaryPageRequestSelectedModel.ts
index 22cccc2..194a946 100644
--- a/src/api/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/DocSummaryPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type DocSummaryPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 21a424d..34cc55e 100644
--- a/src/api/types/GoogleGptPageRequest.ts
+++ b/src/api/types/GoogleGptPageRequest.ts
@@ -8,22 +8,11 @@ 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;
@@ -34,5 +23,17 @@ 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
new file mode 100644
index 0000000..d9c400b
--- /dev/null
+++ b/src/api/types/GoogleGptPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type GoogleGptPageRequestResponseFormatType = "text" | "json_object";
+
+export const GoogleGptPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/GoogleGptPageRequestSelectedModel.ts b/src/api/types/GoogleGptPageRequestSelectedModel.ts
index 34e4d6f..abf9789 100644
--- a/src/api/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/api/types/GoogleGptPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type GoogleGptPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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/RelatedQnADocPageRequest.ts b/src/api/types/RelatedQnADocPageRequest.ts
index 8bd50b1..2366033 100644
--- a/src/api/types/RelatedQnADocPageRequest.ts
+++ b/src/api/types/RelatedQnADocPageRequest.ts
@@ -24,12 +24,13 @@ export interface RelatedQnADocPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.RelatedQnADocPageRequestSelectedModel;
+ citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
+ responseFormatType?: Gooey.RelatedQnADocPageRequestResponseFormatType;
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
new file mode 100644
index 0000000..43a197c
--- /dev/null
+++ b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type RelatedQnADocPageRequestResponseFormatType = "text" | "json_object";
+
+export const RelatedQnADocPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
index 1346438..790bdf9 100644
--- a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type RelatedQnADocPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 12bed93..48d9372 100644
--- a/src/api/types/RelatedQnAPageRequest.ts
+++ b/src/api/types/RelatedQnAPageRequest.ts
@@ -8,22 +8,11 @@ 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;
@@ -34,5 +23,17 @@ 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
new file mode 100644
index 0000000..7d5e361
--- /dev/null
+++ b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type RelatedQnAPageRequestResponseFormatType = "text" | "json_object";
+
+export const RelatedQnAPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/RelatedQnAPageRequestSelectedModel.ts b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
index 4ec07bb..a279ad4 100644
--- a/src/api/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type RelatedQnAPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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/SeoSummaryPageRequest.ts b/src/api/types/SeoSummaryPageRequest.ts
index e602467..0c75f58 100644
--- a/src/api/types/SeoSummaryPageRequest.ts
+++ b/src/api/types/SeoSummaryPageRequest.ts
@@ -5,12 +5,6 @@
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;
@@ -18,13 +12,20 @@ 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
new file mode 100644
index 0000000..4e22241
--- /dev/null
+++ b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type SeoSummaryPageRequestResponseFormatType = "text" | "json_object";
+
+export const SeoSummaryPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/SeoSummaryPageRequestSelectedModel.ts b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
index d8026d5..db5ef35 100644
--- a/src/api/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type SeoSummaryPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 5546e14..a62ffa0 100644
--- a/src/api/types/SerpSearchLocation.ts
+++ b/src/api/types/SerpSearchLocation.ts
@@ -191,7 +191,7 @@ export type SerpSearchLocation =
| "vc"
| "ws"
| "sm"
- | "st"
+ | "gui"
| "sa"
| "sn"
| "rs"
@@ -432,7 +432,7 @@ export const SerpSearchLocation = {
Vc: "vc",
Ws: "ws",
Sm: "sm",
- St: "st",
+ Gui: "gui",
Sa: "sa",
Sn: "sn",
Rs: "rs",
diff --git a/src/api/types/SmartGptPageRequest.ts b/src/api/types/SmartGptPageRequest.ts
index 6421e52..8515337 100644
--- a/src/api/types/SmartGptPageRequest.ts
+++ b/src/api/types/SmartGptPageRequest.ts
@@ -18,5 +18,6 @@ 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
new file mode 100644
index 0000000..ca94411
--- /dev/null
+++ b/src/api/types/SmartGptPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type SmartGptPageRequestResponseFormatType = "text" | "json_object";
+
+export const SmartGptPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/SmartGptPageRequestSelectedModel.ts b/src/api/types/SmartGptPageRequestSelectedModel.ts
index b76967f..267d1f4 100644
--- a/src/api/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/api/types/SmartGptPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type SmartGptPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 fc7d278..f6d53d7 100644
--- a/src/api/types/SocialLookupEmailPageRequest.ts
+++ b/src/api/types/SocialLookupEmailPageRequest.ts
@@ -11,10 +11,11 @@ export interface SocialLookupEmailPageRequest {
emailAddress: string;
inputPrompt?: string;
selectedModel?: Gooey.SocialLookupEmailPageRequestSelectedModel;
- numOutputs?: number;
avoidRepetition?: boolean;
+ numOutputs?: number;
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
new file mode 100644
index 0000000..202d1c6
--- /dev/null
+++ b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type SocialLookupEmailPageRequestResponseFormatType = "text" | "json_object";
+
+export const SocialLookupEmailPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
index 9befe42..8f6027f 100644
--- a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type SocialLookupEmailPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 f4e3a84..a286787 100644
--- a/src/api/types/VideoBotsPageRequest.ts
+++ b/src/api/types/VideoBotsPageRequest.ts
@@ -19,11 +19,6 @@ 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;
@@ -53,6 +48,12 @@ 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
new file mode 100644
index 0000000..22db7fa
--- /dev/null
+++ b/src/api/types/VideoBotsPageRequestResponseFormatType.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type VideoBotsPageRequestResponseFormatType = "text" | "json_object";
+
+export const VideoBotsPageRequestResponseFormatType = {
+ Text: "text",
+ JsonObject: "json_object",
+} as const;
diff --git a/src/api/types/VideoBotsPageRequestSelectedModel.ts b/src/api/types/VideoBotsPageRequestSelectedModel.ts
index e923a1d..e7a80c8 100644
--- a/src/api/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/api/types/VideoBotsPageRequestSelectedModel.ts
@@ -4,6 +4,7 @@
export type VideoBotsPageRequestSelectedModel =
| "gpt_4_o"
+ | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -13,9 +14,12 @@ 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"
@@ -36,6 +40,7 @@ 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",
@@ -45,9 +50,12 @@ 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 078fa81..1ffecc9 100644
--- a/src/api/types/index.ts
+++ b/src/api/types/index.ts
@@ -16,6 +16,7 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
+export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -65,6 +66,7 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
+export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -73,12 +75,14 @@ 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";
@@ -110,6 +114,7 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
+export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -175,12 +180,14 @@ 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";
@@ -193,6 +200,7 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
+export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
@@ -203,11 +211,13 @@ 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";
@@ -241,6 +251,7 @@ 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 2a0a675..5317b71 100644
--- a/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -15,6 +15,7 @@ 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";
@@ -46,11 +47,6 @@ 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()),
@@ -76,6 +72,15 @@ 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()),
@@ -127,11 +132,6 @@ 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,6 +151,12 @@ 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
new file mode 100644
index 0000000..a7a3da2
--- /dev/null
+++ b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.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 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 e8fef5f..b6bdaa6 100644
--- a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 5429f0e..8b11dd6 100644
--- a/src/serialization/resources/copilotIntegrations/types/index.ts
+++ b/src/serialization/resources/copilotIntegrations/types/index.ts
@@ -4,6 +4,7 @@ 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/BulkEvalPageRequest.ts b/src/serialization/types/BulkEvalPageRequest.ts
index 2aed553..dbf7c91 100644
--- a/src/serialization/types/BulkEvalPageRequest.ts
+++ b/src/serialization/types/BulkEvalPageRequest.ts
@@ -6,9 +6,10 @@ 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<
@@ -17,15 +18,19 @@ 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()),
- 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()),
+ responseFormatType: core.serialization.property(
+ "response_format_type",
+ BulkEvalPageRequestResponseFormatType.optional()
+ ),
settings: RunSettings.optional(),
});
@@ -33,15 +38,16 @@ 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;
- documents: string[];
- eval_prompts?: EvalPrompt.Raw[] | null;
- agg_functions?: AggFunction.Raw[] | null;
+ response_format_type?: BulkEvalPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts b/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..cf41629
--- /dev/null
+++ b/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const BulkEvalPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.BulkEvalPageRequestResponseFormatType.Raw,
+ Gooey.BulkEvalPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace BulkEvalPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
index 2edba2e..ef0e0c5 100644
--- a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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/CompareLlmPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
index 9950785..73cf2f4 100644
--- a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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/DocExtractPageRequest.ts b/src/serialization/types/DocExtractPageRequest.ts
index 856a339..15a4bef 100644
--- a/src/serialization/types/DocExtractPageRequest.ts
+++ b/src/serialization/types/DocExtractPageRequest.ts
@@ -8,6 +8,7 @@ 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<
@@ -34,6 +35,10 @@ 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(),
});
@@ -53,6 +58,7 @@ 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
new file mode 100644
index 0000000..35e1fdf
--- /dev/null
+++ b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const DocExtractPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.DocExtractPageRequestResponseFormatType.Raw,
+ Gooey.DocExtractPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace DocExtractPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/DocExtractPageRequestSelectedModel.ts b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
index 657c135..4d0a8ab 100644
--- a/src/serialization/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 69ecda2..3785b00 100644
--- a/src/serialization/types/DocSearchPageRequest.ts
+++ b/src/serialization/types/DocSearchPageRequest.ts
@@ -10,6 +10,7 @@ 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<
@@ -30,12 +31,16 @@ 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()),
- citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()),
+ responseFormatType: core.serialization.property(
+ "response_format_type",
+ DocSearchPageRequestResponseFormatType.optional()
+ ),
settings: RunSettings.optional(),
});
@@ -55,12 +60,13 @@ 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;
- citation_style?: DocSearchPageRequestCitationStyle.Raw | null;
+ response_format_type?: DocSearchPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..33dbdfb
--- /dev/null
+++ b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const DocSearchPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.DocSearchPageRequestResponseFormatType.Raw,
+ Gooey.DocSearchPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace DocSearchPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/DocSearchPageRequestSelectedModel.ts b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
index 0e2df09..b7ada5b 100644
--- a/src/serialization/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 4856826..f0e8b62 100644
--- a/src/serialization/types/DocSummaryPageRequest.ts
+++ b/src/serialization/types/DocSummaryPageRequest.ts
@@ -8,6 +8,7 @@ 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<
@@ -20,11 +21,6 @@ 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",
@@ -34,6 +30,15 @@ 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(),
});
@@ -45,14 +50,15 @@ 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;
- chain_type?: "map_reduce" | null;
- selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null;
- google_translate_target?: string | null;
+ response_format_type?: DocSummaryPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..09aacce
--- /dev/null
+++ b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const DocSummaryPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.DocSummaryPageRequestResponseFormatType.Raw,
+ Gooey.DocSummaryPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace DocSummaryPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
index dafd3ff..21a3406 100644
--- a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 13c9f6e..7da8d82 100644
--- a/src/serialization/types/GoogleGptPageRequest.ts
+++ b/src/serialization/types/GoogleGptPageRequest.ts
@@ -6,10 +6,11 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { SerpSearchLocation } from "./SerpSearchLocation";
-import { SerpSearchType } from "./SerpSearchType";
import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel";
import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel";
+import { GoogleGptPageRequestResponseFormatType } from "./GoogleGptPageRequestResponseFormatType";
+import { SerpSearchLocation } from "./SerpSearchLocation";
+import { SerpSearchType } from "./SerpSearchType";
import { RunSettings } from "./RunSettings";
export const GoogleGptPageRequest: core.serialization.ObjectSchema<
@@ -18,29 +19,33 @@ 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(),
});
@@ -48,26 +53,27 @@ 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
new file mode 100644
index 0000000..b5dd550
--- /dev/null
+++ b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const GoogleGptPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.GoogleGptPageRequestResponseFormatType.Raw,
+ Gooey.GoogleGptPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace GoogleGptPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
index bd36cd6..49ee870 100644
--- a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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/RelatedQnADocPageRequest.ts b/src/serialization/types/RelatedQnADocPageRequest.ts
index 557d70e..f1a3384 100644
--- a/src/serialization/types/RelatedQnADocPageRequest.ts
+++ b/src/serialization/types/RelatedQnADocPageRequest.ts
@@ -10,6 +10,7 @@ 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";
@@ -32,12 +33,16 @@ 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()),
- citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()),
+ responseFormatType: core.serialization.property(
+ "response_format_type",
+ RelatedQnADocPageRequestResponseFormatType.optional()
+ ),
serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
scaleserpLocations: core.serialization.property(
"scaleserp_locations",
@@ -64,12 +69,13 @@ 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;
- citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null;
+ response_format_type?: RelatedQnADocPageRequestResponseFormatType.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
new file mode 100644
index 0000000..2229647
--- /dev/null
+++ b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const RelatedQnADocPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.RelatedQnADocPageRequestResponseFormatType.Raw,
+ Gooey.RelatedQnADocPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace RelatedQnADocPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
index 0e29ce8..74ba1b6 100644
--- a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 6e6add1..9bb6526 100644
--- a/src/serialization/types/RelatedQnAPageRequest.ts
+++ b/src/serialization/types/RelatedQnAPageRequest.ts
@@ -6,10 +6,11 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { SerpSearchLocation } from "./SerpSearchLocation";
-import { SerpSearchType } from "./SerpSearchType";
import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel";
import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel";
+import { RelatedQnAPageRequestResponseFormatType } from "./RelatedQnAPageRequestResponseFormatType";
+import { SerpSearchLocation } from "./SerpSearchLocation";
+import { SerpSearchType } from "./SerpSearchType";
import { RunSettings } from "./RunSettings";
export const RelatedQnAPageRequest: core.serialization.ObjectSchema<
@@ -18,29 +19,33 @@ 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(),
});
@@ -48,26 +53,27 @@ 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
new file mode 100644
index 0000000..cbe851b
--- /dev/null
+++ b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const RelatedQnAPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.RelatedQnAPageRequestResponseFormatType.Raw,
+ Gooey.RelatedQnAPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace RelatedQnAPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
index 0282e85..f58f271 100644
--- a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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/SeoSummaryPageRequest.ts b/src/serialization/types/SeoSummaryPageRequest.ts
index 87a0a02..66ce96b 100644
--- a/src/serialization/types/SeoSummaryPageRequest.ts
+++ b/src/serialization/types/SeoSummaryPageRequest.ts
@@ -5,22 +5,16 @@
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(),
@@ -28,23 +22,30 @@ 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;
@@ -52,14 +53,19 @@ 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
new file mode 100644
index 0000000..0d346d8
--- /dev/null
+++ b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const SeoSummaryPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.SeoSummaryPageRequestResponseFormatType.Raw,
+ Gooey.SeoSummaryPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace SeoSummaryPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
index b02787d..c60edd3 100644
--- a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 f001ed2..47a9a3a 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",
- "st",
+ "gui",
"sa",
"sn",
"rs",
@@ -438,7 +438,7 @@ export declare namespace SerpSearchLocation {
| "vc"
| "ws"
| "sm"
- | "st"
+ | "gui"
| "sa"
| "sn"
| "rs"
diff --git a/src/serialization/types/SmartGptPageRequest.ts b/src/serialization/types/SmartGptPageRequest.ts
index b9a95d2..b6a1139 100644
--- a/src/serialization/types/SmartGptPageRequest.ts
+++ b/src/serialization/types/SmartGptPageRequest.ts
@@ -7,6 +7,7 @@ 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<
@@ -25,6 +26,10 @@ 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(),
});
@@ -42,6 +47,7 @@ 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
new file mode 100644
index 0000000..f4e1cf5
--- /dev/null
+++ b/src/serialization/types/SmartGptPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const SmartGptPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.SmartGptPageRequestResponseFormatType.Raw,
+ Gooey.SmartGptPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace SmartGptPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/SmartGptPageRequestSelectedModel.ts b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
index 5d90a1f..c178fd5 100644
--- a/src/serialization/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 b186804..a0860df 100644
--- a/src/serialization/types/SocialLookupEmailPageRequest.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequest.ts
@@ -7,6 +7,7 @@ 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<
@@ -18,11 +19,15 @@ 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()),
- numOutputs: core.serialization.property("num_outputs", 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",
+ SocialLookupEmailPageRequestResponseFormatType.optional()
+ ),
settings: RunSettings.optional(),
});
@@ -33,11 +38,12 @@ export declare namespace SocialLookupEmailPageRequest {
email_address: string;
input_prompt?: string | null;
selected_model?: SocialLookupEmailPageRequestSelectedModel.Raw | null;
- num_outputs?: number | null;
avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
+ response_format_type?: SocialLookupEmailPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
new file mode 100644
index 0000000..ddddd09
--- /dev/null
+++ b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const SocialLookupEmailPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.SocialLookupEmailPageRequestResponseFormatType.Raw,
+ Gooey.SocialLookupEmailPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace SocialLookupEmailPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
index d52da6c..09b77ac 100644
--- a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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/VideoBotsPageRequest.ts b/src/serialization/types/VideoBotsPageRequest.ts
index 6db1b7e..53fb697 100644
--- a/src/serialization/types/VideoBotsPageRequest.ts
+++ b/src/serialization/types/VideoBotsPageRequest.ts
@@ -14,6 +14,7 @@ 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";
@@ -41,11 +42,6 @@ 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()),
@@ -71,6 +67,15 @@ 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()),
@@ -117,11 +122,6 @@ 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,6 +141,12 @@ 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
new file mode 100644
index 0000000..99774b1
--- /dev/null
+++ b/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as Gooey from "../../api/index";
+import * as core from "../../core";
+
+export const VideoBotsPageRequestResponseFormatType: core.serialization.Schema<
+ serializers.VideoBotsPageRequestResponseFormatType.Raw,
+ Gooey.VideoBotsPageRequestResponseFormatType
+> = core.serialization.enum_(["text", "json_object"]);
+
+export declare namespace VideoBotsPageRequestResponseFormatType {
+ type Raw = "text" | "json_object";
+}
diff --git a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
index eafcf99..2983364 100644
--- a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
@@ -11,6 +11,7 @@ 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",
@@ -20,9 +21,12 @@ 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",
@@ -45,6 +49,7 @@ 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"
@@ -54,9 +59,12 @@ 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 078fa81..1ffecc9 100644
--- a/src/serialization/types/index.ts
+++ b/src/serialization/types/index.ts
@@ -16,6 +16,7 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
+export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -65,6 +66,7 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
+export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -73,12 +75,14 @@ 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";
@@ -110,6 +114,7 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
+export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -175,12 +180,14 @@ 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";
@@ -193,6 +200,7 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
+export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
@@ -203,11 +211,13 @@ 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";
@@ -241,6 +251,7 @@ 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/yarn.lock b/yarn.lock
index 6e75873..4d3c5b3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -18,33 +18,33 @@
"@babel/highlight" "^7.24.7"
picocolors "^1.0.0"
-"@babel/compat-data@^7.24.8":
- version "7.25.0"
- resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.0.tgz#6b226a5da3a686db3c30519750e071dce292ad95"
- integrity sha512-P4fwKI2mjEb3ZU5cnMJzvRsRKGBUcs8jvxIoRmr6ufAY9Xk2Bz7JubRTTivkw55c7WQJfTECeqYVa+HZ0FzREg==
+"@babel/compat-data@^7.25.2":
+ version "7.25.2"
+ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.2.tgz#e41928bd33475305c586f6acbbb7e3ade7a6f7f5"
+ integrity sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==
"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9":
- version "7.24.9"
- resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.9.tgz#dc07c9d307162c97fa9484ea997ade65841c7c82"
- integrity sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==
+ version "7.25.2"
+ resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.2.tgz#ed8eec275118d7613e77a352894cd12ded8eba77"
+ integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==
dependencies:
"@ampproject/remapping" "^2.2.0"
"@babel/code-frame" "^7.24.7"
- "@babel/generator" "^7.24.9"
- "@babel/helper-compilation-targets" "^7.24.8"
- "@babel/helper-module-transforms" "^7.24.9"
- "@babel/helpers" "^7.24.8"
- "@babel/parser" "^7.24.8"
- "@babel/template" "^7.24.7"
- "@babel/traverse" "^7.24.8"
- "@babel/types" "^7.24.9"
+ "@babel/generator" "^7.25.0"
+ "@babel/helper-compilation-targets" "^7.25.2"
+ "@babel/helper-module-transforms" "^7.25.2"
+ "@babel/helpers" "^7.25.0"
+ "@babel/parser" "^7.25.0"
+ "@babel/template" "^7.25.0"
+ "@babel/traverse" "^7.25.2"
+ "@babel/types" "^7.25.2"
convert-source-map "^2.0.0"
debug "^4.1.0"
gensync "^1.0.0-beta.2"
json5 "^2.2.3"
semver "^6.3.1"
-"@babel/generator@^7.24.9", "@babel/generator@^7.25.0", "@babel/generator@^7.7.2":
+"@babel/generator@^7.25.0", "@babel/generator@^7.7.2":
version "7.25.0"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.0.tgz#f858ddfa984350bc3d3b7f125073c9af6988f18e"
integrity sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==
@@ -54,12 +54,12 @@
"@jridgewell/trace-mapping" "^0.3.25"
jsesc "^2.5.1"
-"@babel/helper-compilation-targets@^7.24.8":
- version "7.24.8"
- resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz#b607c3161cd9d1744977d4f97139572fe778c271"
- integrity sha512-oU+UoqCHdp+nWVDkpldqIQL/i/bvAv53tRqLG/s+cOXxe66zOYLU7ar/Xs3LdmBihrUMEUhwu6dMZwbNOYDwvw==
+"@babel/helper-compilation-targets@^7.25.2":
+ version "7.25.2"
+ resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz#e1d9410a90974a3a5a66e84ff55ef62e3c02d06c"
+ integrity sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==
dependencies:
- "@babel/compat-data" "^7.24.8"
+ "@babel/compat-data" "^7.25.2"
"@babel/helper-validator-option" "^7.24.8"
browserslist "^4.23.1"
lru-cache "^5.1.1"
@@ -73,15 +73,15 @@
"@babel/traverse" "^7.24.7"
"@babel/types" "^7.24.7"
-"@babel/helper-module-transforms@^7.24.9":
- version "7.25.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.0.tgz#3ffc23c473a2769a7e40d3274495bd559fdd2ecc"
- integrity sha512-bIkOa2ZJYn7FHnepzr5iX9Kmz8FjIz4UKzJ9zhX3dnYuVW0xul9RuR3skBfoLu+FPTQw90EHW9rJsSZhyLQ3fQ==
+"@babel/helper-module-transforms@^7.25.2":
+ version "7.25.2"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz#ee713c29768100f2776edf04d4eb23b8d27a66e6"
+ integrity sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==
dependencies:
"@babel/helper-module-imports" "^7.24.7"
"@babel/helper-simple-access" "^7.24.7"
"@babel/helper-validator-identifier" "^7.24.7"
- "@babel/traverse" "^7.25.0"
+ "@babel/traverse" "^7.25.2"
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.8.0":
version "7.24.8"
@@ -111,7 +111,7 @@
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d"
integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==
-"@babel/helpers@^7.24.8":
+"@babel/helpers@^7.25.0":
version "7.25.0"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.0.tgz#e69beb7841cb93a6505531ede34f34e6a073650a"
integrity sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==
@@ -129,10 +129,12 @@
js-tokens "^4.0.0"
picocolors "^1.0.0"
-"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.8", "@babel/parser@^7.25.0":
- version "7.25.0"
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.0.tgz#9fdc9237504d797b6e7b8f66e78ea7f570d256ad"
- integrity sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==
+"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.25.0", "@babel/parser@^7.25.3":
+ version "7.25.3"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.3.tgz#91fb126768d944966263f0657ab222a642b82065"
+ integrity sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==
+ dependencies:
+ "@babel/types" "^7.25.2"
"@babel/plugin-syntax-async-generators@^7.8.4":
version "7.8.4"
@@ -232,7 +234,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.24.7"
-"@babel/template@^7.24.7", "@babel/template@^7.25.0", "@babel/template@^7.3.3":
+"@babel/template@^7.25.0", "@babel/template@^7.3.3":
version "7.25.0"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a"
integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==
@@ -241,23 +243,23 @@
"@babel/parser" "^7.25.0"
"@babel/types" "^7.25.0"
-"@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0":
- version "7.25.1"
- resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.1.tgz#64dbc31effc5f3fa3cf10d19df0e6310214743f5"
- integrity sha512-LrHHoWq08ZpmmFqBAzN+hUdWwy5zt7FGa/hVwMcOqW6OVtwqaoD5utfuGYU87JYxdZgLUvktAsn37j/sYR9siA==
+"@babel/traverse@^7.24.7", "@babel/traverse@^7.25.2":
+ version "7.25.3"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.3.tgz#f1b901951c83eda2f3e29450ce92743783373490"
+ integrity sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==
dependencies:
"@babel/code-frame" "^7.24.7"
"@babel/generator" "^7.25.0"
- "@babel/parser" "^7.25.0"
+ "@babel/parser" "^7.25.3"
"@babel/template" "^7.25.0"
- "@babel/types" "^7.25.0"
+ "@babel/types" "^7.25.2"
debug "^4.3.1"
globals "^11.1.0"
-"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.24.9", "@babel/types@^7.25.0", "@babel/types@^7.3.3":
- version "7.25.0"
- resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.0.tgz#e6e3656c581f28da8452ed4f69e38008ec0ba41b"
- integrity sha512-LcnxQSsd9aXOIgmmSpvZ/1yo46ra2ESYyqLcryaBZOghxy5qqOBjvCWP5JfkI8yl9rlxRgdLTTMCQQRcN2hdCg==
+"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.3.3":
+ version "7.25.2"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.2.tgz#55fb231f7dc958cd69ea141a4c2997e819646125"
+ integrity sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==
dependencies:
"@babel/helper-string-parser" "^7.24.8"
"@babel/helper-validator-identifier" "^7.24.7"
@@ -617,9 +619,9 @@
form-data "^4.0.0"
"@types/node@*":
- version "22.0.0"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.0.tgz#04862a2a71e62264426083abe1e27e87cac05a30"
- integrity sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==
+ version "22.0.2"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.2.tgz#9fb1a2b31970871e8bf696f0e8a40d2e6d2bd04e"
+ integrity sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ==
dependencies:
undici-types "~6.11.1"
@@ -879,9 +881,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
caniuse-lite@^1.0.30001640:
- version "1.0.30001643"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001643.tgz#9c004caef315de9452ab970c3da71085f8241dbd"
- integrity sha512-ERgWGNleEilSrHM6iUz/zJNSQTP8Mr21wDWpdgvRwcTXGAq6jMtOUPP4dqFPTdKqZ2wKTdtB+uucZ3MRpAUSmg==
+ version "1.0.30001645"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001645.tgz#4c4b7427683dea1170a152cd1654be8d0da7bd71"
+ integrity sha512-GFtY2+qt91kzyMk6j48dJcwJVq5uTkk71XxE3RtScx7XWRLsO7bU44LOFkOZYR8w9YMS0UhPSYpN/6rAMImmLw==
chalk@^2.4.2:
version "2.4.2"
@@ -1077,9 +1079,9 @@ domexception@^4.0.0:
webidl-conversions "^7.0.0"
electron-to-chromium@^1.4.820:
- version "1.5.2"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.2.tgz#6126ad229ce45e781ec54ca40db0504787f23d19"
- integrity sha512-kc4r3U3V3WLaaZqThjYz/Y6z8tJe+7K0bbjUVo3i+LWIypVdMx5nXCkwRe6SWbY6ILqLdc1rKcKmr3HoH7wjSQ==
+ version "1.5.4"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz#cd477c830dd6fca41fbd5465c1ff6ce08ac22343"
+ integrity sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==
emittery@^0.13.1:
version "0.13.1"