diff --git a/README.md b/README.md
index a08a919..35e0fd9 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" });
+const client = new GooeyClient({ apiKey: "YOUR_API_KEY", authorization: "YOUR_AUTHORIZATION" });
await client.copilotIntegrations.videoBotsStreamCreate({
integrationId: "integration_id",
});
diff --git a/package.json b/package.json
index 5ebdda8..f9dde84 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "gooey",
- "version": "0.0.1",
+ "version": "0.0.2",
"private": false,
"repository": "https://github.com/GooeyAI/typescript-sdk",
"main": "./index.js",
diff --git a/reference.md b/reference.md
index 2c2d3a5..04c46a0 100644
--- a/reference.md
+++ b/reference.md
@@ -5229,3 +5229,43 @@ await client.misc.videoBotsBroadcast({
+
+client.misc.health() -> unknown
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.misc.health();
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `Misc.RequestOptions`
+
+
+
+
+
+
+
+
+
diff --git a/src/Client.ts b/src/Client.ts
index 7f3c755..bb523c3 100644
--- a/src/Client.ts
+++ b/src/Client.ts
@@ -44,6 +44,8 @@ export declare namespace GooeyClient {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -54,6 +56,8 @@ export declare namespace GooeyClient {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts
index 32d2ca3..ff91482 100644
--- a/src/api/resources/aiAnimationGenerator/client/Client.ts
+++ b/src/api/resources/aiAnimationGenerator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiAnimationGenerator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiAnimationGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -60,9 +64,10 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -168,9 +173,10 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,9 +272,10 @@ export class AiAnimationGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -344,4 +351,9 @@ export class AiAnimationGenerator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts
index e4ba660..a8b4dfa 100644
--- a/src/api/resources/aiArtQrCode/client/Client.ts
+++ b/src/api/resources/aiArtQrCode/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiArtQrCode {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiArtQrCode {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class AiArtQrCode {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class AiArtQrCode {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts
index 8dd1e76..1e9b269 100644
--- a/src/api/resources/aiBackgroundChanger/client/Client.ts
+++ b/src/api/resources/aiBackgroundChanger/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiBackgroundChanger {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiBackgroundChanger {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class AiBackgroundChanger {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class AiBackgroundChanger {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
index 59575cc..878858a 100644
--- a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
+++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts
index d318764..1bf88fa 100644
--- a/src/api/resources/aiImageWithAFace/client/Client.ts
+++ b/src/api/resources/aiImageWithAFace/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace AiImageWithAFace {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace AiImageWithAFace {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class AiImageWithAFace {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class AiImageWithAFace {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts
index 57023a0..adc16d5 100644
--- a/src/api/resources/bulkRunner/client/Client.ts
+++ b/src/api/resources/bulkRunner/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace BulkRunner {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace BulkRunner {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -64,9 +68,10 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -176,9 +181,10 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -274,9 +280,10 @@ export class BulkRunner {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -352,4 +359,9 @@ export class BulkRunner {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts
index 28bccad..a837db1 100644
--- a/src/api/resources/chyronPlantBot/client/Client.ts
+++ b/src/api/resources/chyronPlantBot/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace ChyronPlantBot {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace ChyronPlantBot {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class ChyronPlantBot {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class ChyronPlantBot {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts
index 2d43f89..1d64a8b 100644
--- a/src/api/resources/compareAiImageGenerators/client/Client.ts
+++ b/src/api/resources/compareAiImageGenerators/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiImageGenerators {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiImageGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class CompareAiImageGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiImageGenerators {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts
index c94d9f5..99d5b72 100644
--- a/src/api/resources/compareAiImageUpscalers/client/Client.ts
+++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiImageUpscalers {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiImageUpscalers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class CompareAiImageUpscalers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiImageUpscalers {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts
index f5e2f03..5585a70 100644
--- a/src/api/resources/compareAiTranslations/client/Client.ts
+++ b/src/api/resources/compareAiTranslations/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiTranslations {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiTranslations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -158,9 +163,10 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -256,9 +262,10 @@ export class CompareAiTranslations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class CompareAiTranslations {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
index 9e6c56b..5641c7b 100644
--- a/src/api/resources/compareAiVoiceGenerators/client/Client.ts
+++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CompareAiVoiceGenerators {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CompareAiVoiceGenerators {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class CompareAiVoiceGenerators {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class CompareAiVoiceGenerators {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts
index b79dc63..f8eb9d1 100644
--- a/src/api/resources/copilotForYourEnterprise/client/Client.ts
+++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CopilotForYourEnterprise {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CopilotForYourEnterprise {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -158,9 +163,10 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -256,9 +262,10 @@ export class CopilotForYourEnterprise {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class CopilotForYourEnterprise {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts
index c1e1e41..d0dcdf2 100644
--- a/src/api/resources/copilotIntegrations/client/Client.ts
+++ b/src/api/resources/copilotIntegrations/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CopilotIntegrations {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CopilotIntegrations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class CopilotIntegrations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -137,9 +142,10 @@ export class CopilotIntegrations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -204,4 +210,9 @@ export class CopilotIntegrations {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
index 4a3afe1..cb6cab5 100644
--- a/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/api/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -49,6 +49,11 @@ export interface CreateStreamRequest {
selectedModel?: Gooey.CreateStreamRequestSelectedModel;
/** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */
documentModel?: string;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
taskInstructions?: string;
queryInstructions?: string;
keywordInstructions?: string;
@@ -85,12 +90,6 @@ export interface CreateStreamRequest {
lipsyncModel?: Gooey.CreateStreamRequestLipsyncModel;
/** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */
tools?: Gooey.LlmTools[];
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.CreateStreamRequestResponseFormatType;
ttsProvider?: Gooey.CreateStreamRequestTtsProvider;
uberduckVoiceName?: string;
uberduckSpeakingRate?: number;
diff --git a/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts b/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
deleted file mode 100644
index 77cabe3..0000000
--- a/src/api/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type CreateStreamRequestResponseFormatType = "text" | "json_object";
-
-export const CreateStreamRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts b/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
index d495e6a..840a2b0 100644
--- a/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/api/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type CreateStreamRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type CreateStreamRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type CreateStreamRequestSelectedModel =
export const CreateStreamRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const CreateStreamRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/resources/copilotIntegrations/types/index.ts b/src/api/resources/copilotIntegrations/types/index.ts
index 8b11dd6..5429f0e 100644
--- a/src/api/resources/copilotIntegrations/types/index.ts
+++ b/src/api/resources/copilotIntegrations/types/index.ts
@@ -4,7 +4,6 @@ export * from "./CreateStreamRequestCitationStyle";
export * from "./CreateStreamRequestAsrModel";
export * from "./CreateStreamRequestTranslationModel";
export * from "./CreateStreamRequestLipsyncModel";
-export * from "./CreateStreamRequestResponseFormatType";
export * from "./CreateStreamRequestTtsProvider";
export * from "./CreateStreamRequestOpenaiVoiceName";
export * from "./CreateStreamRequestOpenaiTtsModel";
diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
index 92bc6b3..52c1b86 100644
--- a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
+++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace CreateAPerfectSeoOptimizedTitleParagraph {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -60,9 +64,10 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -168,9 +173,10 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -266,9 +272,10 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -344,4 +351,9 @@ export class CreateAPerfectSeoOptimizedTitleParagraph {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
index c3d293c..38b489d 100644
--- a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
+++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace EditAnImageWithAiPrompt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace EditAnImageWithAiPrompt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class EditAnImageWithAiPrompt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class EditAnImageWithAiPrompt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts
index bfa6934..48af6e5 100644
--- a/src/api/resources/embeddings/client/Client.ts
+++ b/src/api/resources/embeddings/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Embeddings {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Embeddings {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class Embeddings {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class Embeddings {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts
index 7aac611..98bb1a6 100644
--- a/src/api/resources/evaluator/client/Client.ts
+++ b/src/api/resources/evaluator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Evaluator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Evaluator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class Evaluator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class Evaluator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts
index e0f11ce..1caab09 100644
--- a/src/api/resources/functions/client/Client.ts
+++ b/src/api/resources/functions/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Functions {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Functions {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -158,9 +163,10 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -256,9 +262,10 @@ export class Functions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class Functions {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
index d04f1ff..ee75023 100644
--- a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
+++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace GeneratePeopleAlsoAskSeoContent {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace GeneratePeopleAlsoAskSeoContent {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class GeneratePeopleAlsoAskSeoContent {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class GeneratePeopleAlsoAskSeoContent {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
index 0f1cdd0..6e519a4 100644
--- a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
+++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace GenerateProductPhotoBackgrounds {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace GenerateProductPhotoBackgrounds {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class GenerateProductPhotoBackgrounds {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class GenerateProductPhotoBackgrounds {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
index 66022e9..fe3cd47 100644
--- a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
+++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LargeLanguageModelsGpt3 {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LargeLanguageModelsGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -158,9 +163,10 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -256,9 +262,10 @@ export class LargeLanguageModelsGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class LargeLanguageModelsGpt3 {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts
index ba1ef71..661eb9b 100644
--- a/src/api/resources/letterWriter/client/Client.ts
+++ b/src/api/resources/letterWriter/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LetterWriter {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LetterWriter {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class LetterWriter {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class LetterWriter {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts
index a763337..71b053d 100644
--- a/src/api/resources/lipSyncing/client/Client.ts
+++ b/src/api/resources/lipSyncing/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LipSyncing {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LipSyncing {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -55,9 +59,10 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -158,9 +163,10 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -256,9 +262,10 @@ export class LipSyncing {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -334,4 +341,9 @@ export class LipSyncing {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
index 52221a2..9fbfddc 100644
--- a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
+++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace LipsyncVideoWithAnyText {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace LipsyncVideoWithAnyText {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class LipsyncVideoWithAnyText {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class LipsyncVideoWithAnyText {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts
index 4b3cf49..a30403b 100644
--- a/src/api/resources/misc/client/Client.ts
+++ b/src/api/resources/misc/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace Misc {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace Misc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -32,6 +36,8 @@ export class Misc {
/**
* @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
*
+ * @throws {@link Gooey.UnprocessableEntityError}
+ *
* @example
* await client.misc.getBalance()
*/
@@ -46,9 +52,10 @@ export class Misc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -67,10 +74,23 @@ export class Misc {
}
if (_response.error.reason === "status-code") {
- throw new errors.GooeyError({
- statusCode: _response.error.statusCode,
- body: _response.error.body,
- });
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new Gooey.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ default:
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
}
switch (_response.error.reason) {
@@ -123,9 +143,10 @@ export class Misc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -174,6 +195,57 @@ export class Misc {
}
}
+ /**
+ * @param {Misc.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @example
+ * await client.misc.health()
+ */
+ public async health(requestOptions?: Misc.RequestOptions): Promise {
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default,
+ method: "GET",
+ headers: {
+ Authorization: await this._getAuthorizationHeader(),
+ "X-Fern-Language": "JavaScript",
+ "X-Fern-SDK-Name": "gooey",
+ "X-Fern-SDK-Version": "0.0.2",
+ "X-Fern-Runtime": core.RUNTIME.type,
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
+ },
+ contentType: "application/json",
+ requestType: "json",
+ timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
+ maxRetries: requestOptions?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ });
+ if (_response.ok) {
+ return _response.body;
+ }
+
+ if (_response.error.reason === "status-code") {
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
+
+ switch (_response.error.reason) {
+ case "non-json":
+ throw new errors.GooeyError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.rawBody,
+ });
+ case "timeout":
+ throw new errors.GooeyTimeoutError();
+ case "unknown":
+ throw new errors.GooeyError({
+ message: _response.error.errorMessage,
+ });
+ }
+ }
+
protected async _getAuthorizationHeader(): Promise {
const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"];
if (bearer == null) {
@@ -184,4 +256,9 @@ export class Misc {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
index 588caf4..ecdcf3f 100644
--- a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
+++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace PeopleAlsoAskAnswersFromADoc {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace PeopleAlsoAskAnswersFromADoc {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class PeopleAlsoAskAnswersFromADoc {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class PeopleAlsoAskAnswersFromADoc {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
index 4df3863..9875d8a 100644
--- a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
+++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
index 4fef8b8..c4d093a 100644
--- a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
+++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace RenderImageSearchResultsWithAi {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace RenderImageSearchResultsWithAi {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class RenderImageSearchResultsWithAi {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class RenderImageSearchResultsWithAi {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
index 8092b63..3fc4864 100644
--- a/src/api/resources/searchYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SearchYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SearchYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class SearchYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SearchYourDocsWithGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts
index 327fd3d..78ebb76 100644
--- a/src/api/resources/smartGpt/client/Client.ts
+++ b/src/api/resources/smartGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SmartGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SmartGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class SmartGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SmartGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts
index b5a422d..f9506cb 100644
--- a/src/api/resources/speechRecognitionTranslation/client/Client.ts
+++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SpeechRecognitionTranslation {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SpeechRecognitionTranslation {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class SpeechRecognitionTranslation {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SpeechRecognitionTranslation {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
index 4b79aa5..ad9a9ed 100644
--- a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
+++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SummarizeYourDocsWithGpt {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SummarizeYourDocsWithGpt {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class SummarizeYourDocsWithGpt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SummarizeYourDocsWithGpt {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
index 41c7cf6..4576dcf 100644
--- a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
+++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace SyntheticDataMakerForVideosPdFs {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace SyntheticDataMakerForVideosPdFs {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class SyntheticDataMakerForVideosPdFs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class SyntheticDataMakerForVideosPdFs {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
index a7ab017..641c562 100644
--- a/src/api/resources/textGuidedAudioGenerator/client/Client.ts
+++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace TextGuidedAudioGenerator {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace TextGuidedAudioGenerator {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -57,9 +61,10 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -162,9 +167,10 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -260,9 +266,10 @@ export class TextGuidedAudioGenerator {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -338,4 +345,9 @@ export class TextGuidedAudioGenerator {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts
index 09f60b3..bd9e16e 100644
--- a/src/api/resources/webSearchGpt3/client/Client.ts
+++ b/src/api/resources/webSearchGpt3/client/Client.ts
@@ -13,6 +13,8 @@ export declare namespace WebSearchGpt3 {
interface Options {
environment?: core.Supplier;
apiKey?: core.Supplier;
+ /** Override the Authorization header */
+ authorization?: core.Supplier;
fetcher?: core.FetchFunction;
}
@@ -23,6 +25,8 @@ export declare namespace WebSearchGpt3 {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
+ /** Override the Authorization header */
+ authorization?: string | undefined;
}
}
@@ -58,9 +62,10 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -164,9 +169,10 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
requestType: "json",
@@ -262,9 +268,10 @@ export class WebSearchGpt3 {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "gooey",
- "X-Fern-SDK-Version": "0.0.1",
+ "X-Fern-SDK-Version": "0.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
+ ...(await this._getCustomAuthorizationHeaders()),
},
contentType: "application/json",
queryParameters: _queryParams,
@@ -340,4 +347,9 @@ export class WebSearchGpt3 {
return `Bearer ${bearer}`;
}
+
+ protected async _getCustomAuthorizationHeaders() {
+ const authorizationValue = await core.Supplier.get(this._options.authorization);
+ return { Authorization: authorizationValue };
+ }
}
diff --git a/src/api/types/BulkEvalPageRequest.ts b/src/api/types/BulkEvalPageRequest.ts
index d8269d4..40fe048 100644
--- a/src/api/types/BulkEvalPageRequest.ts
+++ b/src/api/types/BulkEvalPageRequest.ts
@@ -8,6 +8,12 @@ export interface BulkEvalPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ selectedModel?: Gooey.BulkEvalPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
/**
* Upload or link to a CSV or google sheet that contains your sample input data.
* For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs.
@@ -22,12 +28,5 @@ export interface BulkEvalPageRequest {
evalPrompts?: Gooey.EvalPrompt[];
/** Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats). */
aggFunctions?: Gooey.AggFunction[];
- selectedModel?: Gooey.BulkEvalPageRequestSelectedModel;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.BulkEvalPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/BulkEvalPageRequestResponseFormatType.ts b/src/api/types/BulkEvalPageRequestResponseFormatType.ts
deleted file mode 100644
index bc5865c..0000000
--- a/src/api/types/BulkEvalPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type BulkEvalPageRequestResponseFormatType = "text" | "json_object";
-
-export const BulkEvalPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/BulkEvalPageRequestSelectedModel.ts b/src/api/types/BulkEvalPageRequestSelectedModel.ts
index 99181de..751f42b 100644
--- a/src/api/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/api/types/BulkEvalPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type BulkEvalPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type BulkEvalPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type BulkEvalPageRequestSelectedModel =
export const BulkEvalPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const BulkEvalPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
index 68e2fe5..00d4f96 100644
--- a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -4,7 +4,6 @@
export type CompareLlmPageRequestSelectedModelsItem =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type CompareLlmPageRequestSelectedModelsItem =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type CompareLlmPageRequestSelectedModelsItem =
export const CompareLlmPageRequestSelectedModelsItem = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const CompareLlmPageRequestSelectedModelsItem = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/DocExtractPageRequest.ts b/src/api/types/DocExtractPageRequest.ts
index 71d62f5..c5a1e62 100644
--- a/src/api/types/DocExtractPageRequest.ts
+++ b/src/api/types/DocExtractPageRequest.ts
@@ -24,6 +24,5 @@ export interface DocExtractPageRequest {
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocExtractPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocExtractPageRequestResponseFormatType.ts b/src/api/types/DocExtractPageRequestResponseFormatType.ts
deleted file mode 100644
index c8a93ac..0000000
--- a/src/api/types/DocExtractPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocExtractPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocExtractPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocExtractPageRequestSelectedModel.ts b/src/api/types/DocExtractPageRequestSelectedModel.ts
index 7c94faf..06cd5a9 100644
--- a/src/api/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/api/types/DocExtractPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocExtractPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocExtractPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocExtractPageRequestSelectedModel =
export const DocExtractPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocExtractPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/DocSearchPageRequest.ts b/src/api/types/DocSearchPageRequest.ts
index d397412..0bac0a6 100644
--- a/src/api/types/DocSearchPageRequest.ts
+++ b/src/api/types/DocSearchPageRequest.ts
@@ -24,12 +24,11 @@ export interface DocSearchPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.DocSearchPageRequestSelectedModel;
- citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocSearchPageRequestResponseFormatType;
+ citationStyle?: Gooey.DocSearchPageRequestCitationStyle;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSearchPageRequestResponseFormatType.ts b/src/api/types/DocSearchPageRequestResponseFormatType.ts
deleted file mode 100644
index b36205e..0000000
--- a/src/api/types/DocSearchPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocSearchPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocSearchPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocSearchPageRequestSelectedModel.ts b/src/api/types/DocSearchPageRequestSelectedModel.ts
index 40f410e..6d85a37 100644
--- a/src/api/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/api/types/DocSearchPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocSearchPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocSearchPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocSearchPageRequestSelectedModel =
export const DocSearchPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocSearchPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/DocSummaryPageRequest.ts b/src/api/types/DocSummaryPageRequest.ts
index 617f9a4..f6b004f 100644
--- a/src/api/types/DocSummaryPageRequest.ts
+++ b/src/api/types/DocSummaryPageRequest.ts
@@ -12,14 +12,13 @@ export interface DocSummaryPageRequest {
taskInstructions?: string;
mergeInstructions?: string;
selectedModel?: Gooey.DocSummaryPageRequestSelectedModel;
- chainType?: "map_reduce";
- selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel;
- googleTranslateTarget?: string;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.DocSummaryPageRequestResponseFormatType;
+ chainType?: "map_reduce";
+ selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel;
+ googleTranslateTarget?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/DocSummaryPageRequestResponseFormatType.ts b/src/api/types/DocSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index db82b26..0000000
--- a/src/api/types/DocSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type DocSummaryPageRequestResponseFormatType = "text" | "json_object";
-
-export const DocSummaryPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/DocSummaryPageRequestSelectedModel.ts b/src/api/types/DocSummaryPageRequestSelectedModel.ts
index 194a946..22cccc2 100644
--- a/src/api/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/DocSummaryPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type DocSummaryPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type DocSummaryPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type DocSummaryPageRequestSelectedModel =
export const DocSummaryPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const DocSummaryPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/GoogleGptPageRequest.ts b/src/api/types/GoogleGptPageRequest.ts
index 34cc55e..21a424d 100644
--- a/src/api/types/GoogleGptPageRequest.ts
+++ b/src/api/types/GoogleGptPageRequest.ts
@@ -8,11 +8,22 @@ export interface GoogleGptPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
siteFilter: string;
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.GoogleGptPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
maxSearchUrls?: number;
maxReferences?: number;
maxContextWords?: number;
@@ -23,17 +34,5 @@ export interface GoogleGptPageRequest {
* Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches.
*/
denseWeight?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.GoogleGptPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/GoogleGptPageRequestResponseFormatType.ts b/src/api/types/GoogleGptPageRequestResponseFormatType.ts
deleted file mode 100644
index d9c400b..0000000
--- a/src/api/types/GoogleGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type GoogleGptPageRequestResponseFormatType = "text" | "json_object";
-
-export const GoogleGptPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/GoogleGptPageRequestSelectedModel.ts b/src/api/types/GoogleGptPageRequestSelectedModel.ts
index abf9789..34e4d6f 100644
--- a/src/api/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/api/types/GoogleGptPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type GoogleGptPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type GoogleGptPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type GoogleGptPageRequestSelectedModel =
export const GoogleGptPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const GoogleGptPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/RelatedQnADocPageRequest.ts b/src/api/types/RelatedQnADocPageRequest.ts
index 2366033..8bd50b1 100644
--- a/src/api/types/RelatedQnADocPageRequest.ts
+++ b/src/api/types/RelatedQnADocPageRequest.ts
@@ -24,13 +24,12 @@ export interface RelatedQnADocPageRequest {
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.RelatedQnADocPageRequestSelectedModel;
- citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
avoidRepetition?: boolean;
numOutputs?: number;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.RelatedQnADocPageRequestResponseFormatType;
+ citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle;
serpSearchLocation?: Gooey.SerpSearchLocation;
/** DEPRECATED: use `serp_search_location` instead */
scaleserpLocations?: string[];
diff --git a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
deleted file mode 100644
index 43a197c..0000000
--- a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type RelatedQnADocPageRequestResponseFormatType = "text" | "json_object";
-
-export const RelatedQnADocPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
index 790bdf9..1346438 100644
--- a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type RelatedQnADocPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type RelatedQnADocPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type RelatedQnADocPageRequestSelectedModel =
export const RelatedQnADocPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const RelatedQnADocPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/RelatedQnAPageRequest.ts b/src/api/types/RelatedQnAPageRequest.ts
index 48d9372..12bed93 100644
--- a/src/api/types/RelatedQnAPageRequest.ts
+++ b/src/api/types/RelatedQnAPageRequest.ts
@@ -8,11 +8,22 @@ export interface RelatedQnAPageRequest {
functions?: Gooey.RecipeFunction[];
/** Variables to be used as Jinja prompt templates and in functions as arguments */
variables?: Record;
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
siteFilter: string;
taskInstructions?: string;
queryInstructions?: string;
selectedModel?: Gooey.RelatedQnAPageRequestSelectedModel;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
maxSearchUrls?: number;
maxReferences?: number;
maxContextWords?: number;
@@ -23,17 +34,5 @@ export interface RelatedQnAPageRequest {
* Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches.
*/
denseWeight?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.RelatedQnAPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts
deleted file mode 100644
index 7d5e361..0000000
--- a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type RelatedQnAPageRequestResponseFormatType = "text" | "json_object";
-
-export const RelatedQnAPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/RelatedQnAPageRequestSelectedModel.ts b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
index a279ad4..4ec07bb 100644
--- a/src/api/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/api/types/RelatedQnAPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type RelatedQnAPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type RelatedQnAPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type RelatedQnAPageRequestSelectedModel =
export const RelatedQnAPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const RelatedQnAPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SeoSummaryPageRequest.ts b/src/api/types/SeoSummaryPageRequest.ts
index 0c75f58..e602467 100644
--- a/src/api/types/SeoSummaryPageRequest.ts
+++ b/src/api/types/SeoSummaryPageRequest.ts
@@ -5,6 +5,12 @@
import * as Gooey from "../index";
export interface SeoSummaryPageRequest {
+ serpSearchLocation?: Gooey.SerpSearchLocation;
+ /** DEPRECATED: use `serp_search_location` instead */
+ scaleserpLocations?: string[];
+ serpSearchType?: Gooey.SerpSearchType;
+ /** DEPRECATED: use `serp_search_type` instead */
+ scaleserpSearchField?: string;
searchQuery: string;
keywords: string;
title: string;
@@ -12,20 +18,13 @@ export interface SeoSummaryPageRequest {
taskInstructions?: string;
enableHtml?: boolean;
selectedModel?: Gooey.SeoSummaryPageRequestSelectedModel;
+ samplingTemperature?: number;
+ maxTokens?: number;
+ numOutputs?: number;
+ quality?: number;
+ avoidRepetition?: boolean;
maxSearchUrls?: number;
enableCrosslinks?: boolean;
seed?: number;
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.SeoSummaryPageRequestResponseFormatType;
- serpSearchLocation?: Gooey.SerpSearchLocation;
- /** DEPRECATED: use `serp_search_location` instead */
- scaleserpLocations?: string[];
- serpSearchType?: Gooey.SerpSearchType;
- /** DEPRECATED: use `serp_search_type` instead */
- scaleserpSearchField?: string;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 4e22241..0000000
--- a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SeoSummaryPageRequestResponseFormatType = "text" | "json_object";
-
-export const SeoSummaryPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SeoSummaryPageRequestSelectedModel.ts b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
index db5ef35..d8026d5 100644
--- a/src/api/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/api/types/SeoSummaryPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SeoSummaryPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SeoSummaryPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SeoSummaryPageRequestSelectedModel =
export const SeoSummaryPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SeoSummaryPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SerpSearchLocation.ts b/src/api/types/SerpSearchLocation.ts
index a62ffa0..5546e14 100644
--- a/src/api/types/SerpSearchLocation.ts
+++ b/src/api/types/SerpSearchLocation.ts
@@ -191,7 +191,7 @@ export type SerpSearchLocation =
| "vc"
| "ws"
| "sm"
- | "gui"
+ | "st"
| "sa"
| "sn"
| "rs"
@@ -432,7 +432,7 @@ export const SerpSearchLocation = {
Vc: "vc",
Ws: "ws",
Sm: "sm",
- Gui: "gui",
+ St: "st",
Sa: "sa",
Sn: "sn",
Rs: "rs",
diff --git a/src/api/types/SmartGptPageRequest.ts b/src/api/types/SmartGptPageRequest.ts
index 8515337..6421e52 100644
--- a/src/api/types/SmartGptPageRequest.ts
+++ b/src/api/types/SmartGptPageRequest.ts
@@ -18,6 +18,5 @@ export interface SmartGptPageRequest {
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.SmartGptPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SmartGptPageRequestResponseFormatType.ts b/src/api/types/SmartGptPageRequestResponseFormatType.ts
deleted file mode 100644
index ca94411..0000000
--- a/src/api/types/SmartGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SmartGptPageRequestResponseFormatType = "text" | "json_object";
-
-export const SmartGptPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SmartGptPageRequestSelectedModel.ts b/src/api/types/SmartGptPageRequestSelectedModel.ts
index 267d1f4..b76967f 100644
--- a/src/api/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/api/types/SmartGptPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SmartGptPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SmartGptPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SmartGptPageRequestSelectedModel =
export const SmartGptPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SmartGptPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/SocialLookupEmailPageRequest.ts b/src/api/types/SocialLookupEmailPageRequest.ts
index f6d53d7..fc7d278 100644
--- a/src/api/types/SocialLookupEmailPageRequest.ts
+++ b/src/api/types/SocialLookupEmailPageRequest.ts
@@ -11,11 +11,10 @@ export interface SocialLookupEmailPageRequest {
emailAddress: string;
inputPrompt?: string;
selectedModel?: Gooey.SocialLookupEmailPageRequestSelectedModel;
- avoidRepetition?: boolean;
numOutputs?: number;
+ avoidRepetition?: boolean;
quality?: number;
maxTokens?: number;
samplingTemperature?: number;
- responseFormatType?: Gooey.SocialLookupEmailPageRequestResponseFormatType;
settings?: Gooey.RunSettings;
}
diff --git a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
deleted file mode 100644
index 202d1c6..0000000
--- a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type SocialLookupEmailPageRequestResponseFormatType = "text" | "json_object";
-
-export const SocialLookupEmailPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
index 8f6027f..9befe42 100644
--- a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type SocialLookupEmailPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type SocialLookupEmailPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type SocialLookupEmailPageRequestSelectedModel =
export const SocialLookupEmailPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const SocialLookupEmailPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/VideoBotsPageRequest.ts b/src/api/types/VideoBotsPageRequest.ts
index a286787..f4e3a84 100644
--- a/src/api/types/VideoBotsPageRequest.ts
+++ b/src/api/types/VideoBotsPageRequest.ts
@@ -19,6 +19,11 @@ export interface VideoBotsPageRequest {
selectedModel?: Gooey.VideoBotsPageRequestSelectedModel;
/** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */
documentModel?: string;
+ avoidRepetition?: boolean;
+ numOutputs?: number;
+ quality?: number;
+ maxTokens?: number;
+ samplingTemperature?: number;
taskInstructions?: string;
queryInstructions?: string;
keywordInstructions?: string;
@@ -48,12 +53,6 @@ export interface VideoBotsPageRequest {
lipsyncModel?: Gooey.VideoBotsPageRequestLipsyncModel;
/** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */
tools?: Gooey.LlmTools[];
- avoidRepetition?: boolean;
- numOutputs?: number;
- quality?: number;
- maxTokens?: number;
- samplingTemperature?: number;
- responseFormatType?: Gooey.VideoBotsPageRequestResponseFormatType;
ttsProvider?: Gooey.VideoBotsPageRequestTtsProvider;
uberduckVoiceName?: string;
uberduckSpeakingRate?: number;
diff --git a/src/api/types/VideoBotsPageRequestResponseFormatType.ts b/src/api/types/VideoBotsPageRequestResponseFormatType.ts
deleted file mode 100644
index 22db7fa..0000000
--- a/src/api/types/VideoBotsPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-export type VideoBotsPageRequestResponseFormatType = "text" | "json_object";
-
-export const VideoBotsPageRequestResponseFormatType = {
- Text: "text",
- JsonObject: "json_object",
-} as const;
diff --git a/src/api/types/VideoBotsPageRequestSelectedModel.ts b/src/api/types/VideoBotsPageRequestSelectedModel.ts
index e7a80c8..e923a1d 100644
--- a/src/api/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/api/types/VideoBotsPageRequestSelectedModel.ts
@@ -4,7 +4,6 @@
export type VideoBotsPageRequestSelectedModel =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -14,12 +13,9 @@ export type VideoBotsPageRequestSelectedModel =
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
@@ -40,7 +36,6 @@ export type VideoBotsPageRequestSelectedModel =
export const VideoBotsPageRequestSelectedModel = {
Gpt4O: "gpt_4_o",
- Gpt4OMini: "gpt_4_o_mini",
Gpt4TurboVision: "gpt_4_turbo_vision",
Gpt4Vision: "gpt_4_vision",
Gpt4Turbo: "gpt_4_turbo",
@@ -50,12 +45,9 @@ export const VideoBotsPageRequestSelectedModel = {
Gpt35Turbo16K: "gpt_3_5_turbo_16k",
Gpt35TurboInstruct: "gpt_3_5_turbo_instruct",
Llama370B: "llama3_70b",
- Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use",
Llama38B: "llama3_8b",
- Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use",
Llama270BChat: "llama2_70b_chat",
Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1",
- Gemma29BIt: "gemma_2_9b_it",
Gemma7BIt: "gemma_7b_it",
Gemini15Pro: "gemini_1_5_pro",
Gemini1ProVision: "gemini_1_pro_vision",
diff --git a/src/api/types/index.ts b/src/api/types/index.ts
index 1ffecc9..078fa81 100644
--- a/src/api/types/index.ts
+++ b/src/api/types/index.ts
@@ -16,7 +16,6 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
-export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -66,7 +65,6 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
-export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -75,14 +73,12 @@ export * from "./DocSearchPageRequestKeywordQuery";
export * from "./DocSearchPageRequestEmbeddingModel";
export * from "./DocSearchPageRequestSelectedModel";
export * from "./DocSearchPageRequestCitationStyle";
-export * from "./DocSearchPageRequestResponseFormatType";
export * from "./DocSearchPageRequest";
export * from "./DocSearchPageResponse";
export * from "./DocSearchPageStatusResponse";
export * from "./DocSummaryPageOutput";
export * from "./DocSummaryPageRequestSelectedModel";
export * from "./DocSummaryPageRequestSelectedAsrModel";
-export * from "./DocSummaryPageRequestResponseFormatType";
export * from "./DocSummaryPageRequest";
export * from "./DocSummaryPageResponse";
export * from "./DocSummaryPageStatusResponse";
@@ -114,7 +110,6 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
-export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -180,14 +175,12 @@ export * from "./RelatedQnADocPageRequestKeywordQuery";
export * from "./RelatedQnADocPageRequestEmbeddingModel";
export * from "./RelatedQnADocPageRequestSelectedModel";
export * from "./RelatedQnADocPageRequestCitationStyle";
-export * from "./RelatedQnADocPageRequestResponseFormatType";
export * from "./RelatedQnADocPageRequest";
export * from "./RelatedQnADocPageResponse";
export * from "./RelatedQnADocPageStatusResponse";
export * from "./RelatedQnAPageOutput";
export * from "./RelatedQnAPageRequestSelectedModel";
export * from "./RelatedQnAPageRequestEmbeddingModel";
-export * from "./RelatedQnAPageRequestResponseFormatType";
export * from "./RelatedQnAPageRequest";
export * from "./RelatedQnAPageResponse";
export * from "./RelatedQnAPageStatusResponse";
@@ -200,7 +193,6 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
-export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
@@ -211,13 +203,11 @@ export * from "./SerpSearchLocation";
export * from "./SerpSearchType";
export * from "./SmartGptPageOutput";
export * from "./SmartGptPageRequestSelectedModel";
-export * from "./SmartGptPageRequestResponseFormatType";
export * from "./SmartGptPageRequest";
export * from "./SmartGptPageResponse";
export * from "./SmartGptPageStatusResponse";
export * from "./SocialLookupEmailPageOutput";
export * from "./SocialLookupEmailPageRequestSelectedModel";
-export * from "./SocialLookupEmailPageRequestResponseFormatType";
export * from "./SocialLookupEmailPageRequest";
export * from "./SocialLookupEmailPageResponse";
export * from "./SocialLookupEmailPageStatusResponse";
@@ -251,7 +241,6 @@ export * from "./VideoBotsPageRequestCitationStyle";
export * from "./VideoBotsPageRequestAsrModel";
export * from "./VideoBotsPageRequestTranslationModel";
export * from "./VideoBotsPageRequestLipsyncModel";
-export * from "./VideoBotsPageRequestResponseFormatType";
export * from "./VideoBotsPageRequestTtsProvider";
export * from "./VideoBotsPageRequestOpenaiVoiceName";
export * from "./VideoBotsPageRequestOpenaiTtsModel";
diff --git a/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts b/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
index 5317b71..2a0a675 100644
--- a/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
+++ b/src/serialization/resources/copilotIntegrations/client/requests/CreateStreamRequest.ts
@@ -15,7 +15,6 @@ import { CreateStreamRequestAsrModel } from "../../types/CreateStreamRequestAsrM
import { CreateStreamRequestTranslationModel } from "../../types/CreateStreamRequestTranslationModel";
import { CreateStreamRequestLipsyncModel } from "../../types/CreateStreamRequestLipsyncModel";
import { LlmTools } from "../../../../types/LlmTools";
-import { CreateStreamRequestResponseFormatType } from "../../types/CreateStreamRequestResponseFormatType";
import { CreateStreamRequestTtsProvider } from "../../types/CreateStreamRequestTtsProvider";
import { CreateStreamRequestOpenaiVoiceName } from "../../types/CreateStreamRequestOpenaiVoiceName";
import { CreateStreamRequestOpenaiTtsModel } from "../../types/CreateStreamRequestOpenaiTtsModel";
@@ -47,6 +46,11 @@ export const CreateStreamRequest: core.serialization.Schema<
botScript: core.serialization.property("bot_script", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", CreateStreamRequestSelectedModel.optional()),
documentModel: core.serialization.property("document_model", core.serialization.string().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()),
@@ -72,15 +76,6 @@ export const CreateStreamRequest: core.serialization.Schema<
),
lipsyncModel: core.serialization.property("lipsync_model", CreateStreamRequestLipsyncModel.optional()),
tools: core.serialization.list(LlmTools).optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- CreateStreamRequestResponseFormatType.optional()
- ),
ttsProvider: core.serialization.property("tts_provider", CreateStreamRequestTtsProvider.optional()),
uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()),
uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()),
@@ -132,6 +127,11 @@ export declare namespace CreateStreamRequest {
bot_script?: string | null;
selected_model?: CreateStreamRequestSelectedModel.Raw | null;
document_model?: string | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
task_instructions?: string | null;
query_instructions?: string | null;
keyword_instructions?: string | null;
@@ -151,12 +151,6 @@ export declare namespace CreateStreamRequest {
output_glossary_document?: string | null;
lipsync_model?: CreateStreamRequestLipsyncModel.Raw | null;
tools?: LlmTools.Raw[] | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: CreateStreamRequestResponseFormatType.Raw | null;
tts_provider?: CreateStreamRequestTtsProvider.Raw | null;
uberduck_voice_name?: string | null;
uberduck_speaking_rate?: number | null;
diff --git a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
deleted file mode 100644
index a7a3da2..0000000
--- a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../../../index";
-import * as Gooey from "../../../../api/index";
-import * as core from "../../../../core";
-
-export const CreateStreamRequestResponseFormatType: core.serialization.Schema<
- serializers.CreateStreamRequestResponseFormatType.Raw,
- Gooey.CreateStreamRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace CreateStreamRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
index b6bdaa6..e8fef5f 100644
--- a/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
+++ b/src/serialization/resources/copilotIntegrations/types/CreateStreamRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
Gooey.CreateStreamRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const CreateStreamRequestSelectedModel: core.serialization.Schema<
export declare namespace CreateStreamRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace CreateStreamRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/resources/copilotIntegrations/types/index.ts b/src/serialization/resources/copilotIntegrations/types/index.ts
index 8b11dd6..5429f0e 100644
--- a/src/serialization/resources/copilotIntegrations/types/index.ts
+++ b/src/serialization/resources/copilotIntegrations/types/index.ts
@@ -4,7 +4,6 @@ export * from "./CreateStreamRequestCitationStyle";
export * from "./CreateStreamRequestAsrModel";
export * from "./CreateStreamRequestTranslationModel";
export * from "./CreateStreamRequestLipsyncModel";
-export * from "./CreateStreamRequestResponseFormatType";
export * from "./CreateStreamRequestTtsProvider";
export * from "./CreateStreamRequestOpenaiVoiceName";
export * from "./CreateStreamRequestOpenaiTtsModel";
diff --git a/src/serialization/types/BulkEvalPageRequest.ts b/src/serialization/types/BulkEvalPageRequest.ts
index dbf7c91..2aed553 100644
--- a/src/serialization/types/BulkEvalPageRequest.ts
+++ b/src/serialization/types/BulkEvalPageRequest.ts
@@ -6,10 +6,9 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
+import { BulkEvalPageRequestSelectedModel } from "./BulkEvalPageRequestSelectedModel";
import { EvalPrompt } from "./EvalPrompt";
import { AggFunction } from "./AggFunction";
-import { BulkEvalPageRequestSelectedModel } from "./BulkEvalPageRequestSelectedModel";
-import { BulkEvalPageRequestResponseFormatType } from "./BulkEvalPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const BulkEvalPageRequest: core.serialization.ObjectSchema<
@@ -18,19 +17,15 @@ export const BulkEvalPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
- documents: core.serialization.list(core.serialization.string()),
- evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()),
- aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()),
selectedModel: core.serialization.property("selected_model", BulkEvalPageRequestSelectedModel.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- BulkEvalPageRequestResponseFormatType.optional()
- ),
+ documents: core.serialization.list(core.serialization.string()),
+ evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()),
+ aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()),
settings: RunSettings.optional(),
});
@@ -38,16 +33,15 @@ export declare namespace BulkEvalPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
- documents: string[];
- eval_prompts?: EvalPrompt.Raw[] | null;
- agg_functions?: AggFunction.Raw[] | null;
selected_model?: BulkEvalPageRequestSelectedModel.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: BulkEvalPageRequestResponseFormatType.Raw | null;
+ documents: string[];
+ eval_prompts?: EvalPrompt.Raw[] | null;
+ agg_functions?: AggFunction.Raw[] | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts b/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
deleted file mode 100644
index cf41629..0000000
--- a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const BulkEvalPageRequestResponseFormatType: core.serialization.Schema<
- serializers.BulkEvalPageRequestResponseFormatType.Raw,
- Gooey.BulkEvalPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace BulkEvalPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
index ef0e0c5..2edba2e 100644
--- a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
+++ b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
Gooey.BulkEvalPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const BulkEvalPageRequestSelectedModel: core.serialization.Schema<
export declare namespace BulkEvalPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace BulkEvalPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
index 73cf2f4..9950785 100644
--- a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
+++ b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts
@@ -11,7 +11,6 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
Gooey.CompareLlmPageRequestSelectedModelsItem
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema<
export declare namespace CompareLlmPageRequestSelectedModelsItem {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace CompareLlmPageRequestSelectedModelsItem {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/DocExtractPageRequest.ts b/src/serialization/types/DocExtractPageRequest.ts
index 15a4bef..856a339 100644
--- a/src/serialization/types/DocExtractPageRequest.ts
+++ b/src/serialization/types/DocExtractPageRequest.ts
@@ -8,7 +8,6 @@ import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { DocExtractPageRequestSelectedAsrModel } from "./DocExtractPageRequestSelectedAsrModel";
import { DocExtractPageRequestSelectedModel } from "./DocExtractPageRequestSelectedModel";
-import { DocExtractPageRequestResponseFormatType } from "./DocExtractPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocExtractPageRequest: core.serialization.ObjectSchema<
@@ -35,10 +34,6 @@ export const DocExtractPageRequest: core.serialization.ObjectSchema<
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocExtractPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -58,7 +53,6 @@ export declare namespace DocExtractPageRequest {
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocExtractPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts
deleted file mode 100644
index 35e1fdf..0000000
--- a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocExtractPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocExtractPageRequestResponseFormatType.Raw,
- Gooey.DocExtractPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocExtractPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocExtractPageRequestSelectedModel.ts b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
index 4d0a8ab..657c135 100644
--- a/src/serialization/types/DocExtractPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocExtractPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocExtractPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocExtractPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocExtractPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocExtractPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/DocSearchPageRequest.ts b/src/serialization/types/DocSearchPageRequest.ts
index 3785b00..69ecda2 100644
--- a/src/serialization/types/DocSearchPageRequest.ts
+++ b/src/serialization/types/DocSearchPageRequest.ts
@@ -10,7 +10,6 @@ import { DocSearchPageRequestKeywordQuery } from "./DocSearchPageRequestKeywordQ
import { DocSearchPageRequestEmbeddingModel } from "./DocSearchPageRequestEmbeddingModel";
import { DocSearchPageRequestSelectedModel } from "./DocSearchPageRequestSelectedModel";
import { DocSearchPageRequestCitationStyle } from "./DocSearchPageRequestCitationStyle";
-import { DocSearchPageRequestResponseFormatType } from "./DocSearchPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocSearchPageRequest: core.serialization.ObjectSchema<
@@ -31,16 +30,12 @@ export const DocSearchPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", DocSearchPageRequestSelectedModel.optional()),
- citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocSearchPageRequestResponseFormatType.optional()
- ),
+ citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()),
settings: RunSettings.optional(),
});
@@ -60,13 +55,12 @@ export declare namespace DocSearchPageRequest {
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: DocSearchPageRequestSelectedModel.Raw | null;
- citation_style?: DocSearchPageRequestCitationStyle.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocSearchPageRequestResponseFormatType.Raw | null;
+ citation_style?: DocSearchPageRequestCitationStyle.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
deleted file mode 100644
index 33dbdfb..0000000
--- a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocSearchPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocSearchPageRequestResponseFormatType.Raw,
- Gooey.DocSearchPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocSearchPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocSearchPageRequestSelectedModel.ts b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
index b7ada5b..0e2df09 100644
--- a/src/serialization/types/DocSearchPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSearchPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocSearchPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocSearchPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocSearchPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocSearchPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/DocSummaryPageRequest.ts b/src/serialization/types/DocSummaryPageRequest.ts
index f0e8b62..4856826 100644
--- a/src/serialization/types/DocSummaryPageRequest.ts
+++ b/src/serialization/types/DocSummaryPageRequest.ts
@@ -8,7 +8,6 @@ import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { DocSummaryPageRequestSelectedModel } from "./DocSummaryPageRequestSelectedModel";
import { DocSummaryPageRequestSelectedAsrModel } from "./DocSummaryPageRequestSelectedAsrModel";
-import { DocSummaryPageRequestResponseFormatType } from "./DocSummaryPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const DocSummaryPageRequest: core.serialization.ObjectSchema<
@@ -21,6 +20,11 @@ export const DocSummaryPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
mergeInstructions: core.serialization.property("merge_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", DocSummaryPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
chainType: core.serialization.property("chain_type", core.serialization.stringLiteral("map_reduce").optional()),
selectedAsrModel: core.serialization.property(
"selected_asr_model",
@@ -30,15 +34,6 @@ export const DocSummaryPageRequest: core.serialization.ObjectSchema<
"google_translate_target",
core.serialization.string().optional()
),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- DocSummaryPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -50,15 +45,14 @@ export declare namespace DocSummaryPageRequest {
task_instructions?: string | null;
merge_instructions?: string | null;
selected_model?: DocSummaryPageRequestSelectedModel.Raw | null;
- chain_type?: "map_reduce" | null;
- selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null;
- google_translate_target?: string | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: DocSummaryPageRequestResponseFormatType.Raw | null;
+ chain_type?: "map_reduce" | null;
+ selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null;
+ google_translate_target?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 09aacce..0000000
--- a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const DocSummaryPageRequestResponseFormatType: core.serialization.Schema<
- serializers.DocSummaryPageRequestResponseFormatType.Raw,
- Gooey.DocSummaryPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace DocSummaryPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
index 21a3406..dafd3ff 100644
--- a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
Gooey.DocSummaryPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const DocSummaryPageRequestSelectedModel: core.serialization.Schema<
export declare namespace DocSummaryPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace DocSummaryPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/GoogleGptPageRequest.ts b/src/serialization/types/GoogleGptPageRequest.ts
index 7da8d82..13c9f6e 100644
--- a/src/serialization/types/GoogleGptPageRequest.ts
+++ b/src/serialization/types/GoogleGptPageRequest.ts
@@ -6,11 +6,10 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel";
-import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel";
-import { GoogleGptPageRequestResponseFormatType } from "./GoogleGptPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel";
+import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel";
import { RunSettings } from "./RunSettings";
export const GoogleGptPageRequest: core.serialization.ObjectSchema<
@@ -19,33 +18,29 @@ export const GoogleGptPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
siteFilter: core.serialization.property("site_filter", core.serialization.string()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", GoogleGptPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
maxReferences: core.serialization.property("max_references", core.serialization.number().optional()),
maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()),
scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()),
embeddingModel: core.serialization.property("embedding_model", GoogleGptPageRequestEmbeddingModel.optional()),
denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- GoogleGptPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
@@ -53,27 +48,26 @@ export declare namespace GoogleGptPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
site_filter: string;
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: GoogleGptPageRequestSelectedModel.Raw | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
max_search_urls?: number | null;
max_references?: number | null;
max_context_words?: number | null;
scroll_jump?: number | null;
embedding_model?: GoogleGptPageRequestEmbeddingModel.Raw | null;
dense_weight?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: GoogleGptPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
deleted file mode 100644
index b5dd550..0000000
--- a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const GoogleGptPageRequestResponseFormatType: core.serialization.Schema<
- serializers.GoogleGptPageRequestResponseFormatType.Raw,
- Gooey.GoogleGptPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace GoogleGptPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
index 49ee870..bd36cd6 100644
--- a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
Gooey.GoogleGptPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const GoogleGptPageRequestSelectedModel: core.serialization.Schema<
export declare namespace GoogleGptPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace GoogleGptPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/RelatedQnADocPageRequest.ts b/src/serialization/types/RelatedQnADocPageRequest.ts
index f1a3384..557d70e 100644
--- a/src/serialization/types/RelatedQnADocPageRequest.ts
+++ b/src/serialization/types/RelatedQnADocPageRequest.ts
@@ -10,7 +10,6 @@ import { RelatedQnADocPageRequestKeywordQuery } from "./RelatedQnADocPageRequest
import { RelatedQnADocPageRequestEmbeddingModel } from "./RelatedQnADocPageRequestEmbeddingModel";
import { RelatedQnADocPageRequestSelectedModel } from "./RelatedQnADocPageRequestSelectedModel";
import { RelatedQnADocPageRequestCitationStyle } from "./RelatedQnADocPageRequestCitationStyle";
-import { RelatedQnADocPageRequestResponseFormatType } from "./RelatedQnADocPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
import { RunSettings } from "./RunSettings";
@@ -33,16 +32,12 @@ export const RelatedQnADocPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", RelatedQnADocPageRequestSelectedModel.optional()),
- citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()),
avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- RelatedQnADocPageRequestResponseFormatType.optional()
- ),
+ citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()),
serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
scaleserpLocations: core.serialization.property(
"scaleserp_locations",
@@ -69,13 +64,12 @@ export declare namespace RelatedQnADocPageRequest {
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: RelatedQnADocPageRequestSelectedModel.Raw | null;
- citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null;
avoid_repetition?: boolean | null;
num_outputs?: number | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: RelatedQnADocPageRequestResponseFormatType.Raw | null;
+ citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null;
serp_search_location?: SerpSearchLocation.Raw | null;
scaleserp_locations?: string[] | null;
serp_search_type?: SerpSearchType.Raw | null;
diff --git a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
deleted file mode 100644
index 2229647..0000000
--- a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const RelatedQnADocPageRequestResponseFormatType: core.serialization.Schema<
- serializers.RelatedQnADocPageRequestResponseFormatType.Raw,
- Gooey.RelatedQnADocPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace RelatedQnADocPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
index 74ba1b6..0e29ce8 100644
--- a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
Gooey.RelatedQnADocPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema<
export declare namespace RelatedQnADocPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace RelatedQnADocPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/RelatedQnAPageRequest.ts b/src/serialization/types/RelatedQnAPageRequest.ts
index 9bb6526..6e6add1 100644
--- a/src/serialization/types/RelatedQnAPageRequest.ts
+++ b/src/serialization/types/RelatedQnAPageRequest.ts
@@ -6,11 +6,10 @@ import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
-import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel";
-import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel";
-import { RelatedQnAPageRequestResponseFormatType } from "./RelatedQnAPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel";
+import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel";
import { RunSettings } from "./RunSettings";
export const RelatedQnAPageRequest: core.serialization.ObjectSchema<
@@ -19,33 +18,29 @@ export const RelatedQnAPageRequest: core.serialization.ObjectSchema<
> = core.serialization.object({
functions: core.serialization.list(RecipeFunction).optional(),
variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
siteFilter: core.serialization.property("site_filter", core.serialization.string()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", RelatedQnAPageRequestSelectedModel.optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
maxReferences: core.serialization.property("max_references", core.serialization.number().optional()),
maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()),
scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()),
embeddingModel: core.serialization.property("embedding_model", RelatedQnAPageRequestEmbeddingModel.optional()),
denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- RelatedQnAPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
@@ -53,27 +48,26 @@ export declare namespace RelatedQnAPageRequest {
interface Raw {
functions?: RecipeFunction.Raw[] | null;
variables?: Record | null;
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
site_filter: string;
task_instructions?: string | null;
query_instructions?: string | null;
selected_model?: RelatedQnAPageRequestSelectedModel.Raw | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
max_search_urls?: number | null;
max_references?: number | null;
max_context_words?: number | null;
scroll_jump?: number | null;
embedding_model?: RelatedQnAPageRequestEmbeddingModel.Raw | null;
dense_weight?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: RelatedQnAPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
deleted file mode 100644
index cbe851b..0000000
--- a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const RelatedQnAPageRequestResponseFormatType: core.serialization.Schema<
- serializers.RelatedQnAPageRequestResponseFormatType.Raw,
- Gooey.RelatedQnAPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace RelatedQnAPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
index f58f271..0282e85 100644
--- a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
+++ b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
Gooey.RelatedQnAPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema<
export declare namespace RelatedQnAPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace RelatedQnAPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/SeoSummaryPageRequest.ts b/src/serialization/types/SeoSummaryPageRequest.ts
index 66ce96b..87a0a02 100644
--- a/src/serialization/types/SeoSummaryPageRequest.ts
+++ b/src/serialization/types/SeoSummaryPageRequest.ts
@@ -5,16 +5,22 @@
import * as serializers from "../index";
import * as Gooey from "../../api/index";
import * as core from "../../core";
-import { SeoSummaryPageRequestSelectedModel } from "./SeoSummaryPageRequestSelectedModel";
-import { SeoSummaryPageRequestResponseFormatType } from "./SeoSummaryPageRequestResponseFormatType";
import { SerpSearchLocation } from "./SerpSearchLocation";
import { SerpSearchType } from "./SerpSearchType";
+import { SeoSummaryPageRequestSelectedModel } from "./SeoSummaryPageRequestSelectedModel";
import { RunSettings } from "./RunSettings";
export const SeoSummaryPageRequest: core.serialization.ObjectSchema<
serializers.SeoSummaryPageRequest.Raw,
Gooey.SeoSummaryPageRequest
> = core.serialization.object({
+ serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
+ scaleserpLocations: core.serialization.property(
+ "scaleserp_locations",
+ core.serialization.list(core.serialization.string()).optional()
+ ),
+ serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
+ scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
searchQuery: core.serialization.property("search_query", core.serialization.string()),
keywords: core.serialization.string(),
title: core.serialization.string(),
@@ -22,30 +28,23 @@ export const SeoSummaryPageRequest: core.serialization.ObjectSchema<
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
enableHtml: core.serialization.property("enable_html", core.serialization.boolean().optional()),
selectedModel: core.serialization.property("selected_model", SeoSummaryPageRequestSelectedModel.optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()),
enableCrosslinks: core.serialization.property("enable_crosslinks", core.serialization.boolean().optional()),
seed: core.serialization.number().optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SeoSummaryPageRequestResponseFormatType.optional()
- ),
- serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()),
- scaleserpLocations: core.serialization.property(
- "scaleserp_locations",
- core.serialization.list(core.serialization.string()).optional()
- ),
- serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()),
- scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()),
settings: RunSettings.optional(),
});
export declare namespace SeoSummaryPageRequest {
interface Raw {
+ serp_search_location?: SerpSearchLocation.Raw | null;
+ scaleserp_locations?: string[] | null;
+ serp_search_type?: SerpSearchType.Raw | null;
+ scaleserp_search_field?: string | null;
search_query: string;
keywords: string;
title: string;
@@ -53,19 +52,14 @@ export declare namespace SeoSummaryPageRequest {
task_instructions?: string | null;
enable_html?: boolean | null;
selected_model?: SeoSummaryPageRequestSelectedModel.Raw | null;
+ sampling_temperature?: number | null;
+ max_tokens?: number | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ avoid_repetition?: boolean | null;
max_search_urls?: number | null;
enable_crosslinks?: boolean | null;
seed?: number | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: SeoSummaryPageRequestResponseFormatType.Raw | null;
- serp_search_location?: SerpSearchLocation.Raw | null;
- scaleserp_locations?: string[] | null;
- serp_search_type?: SerpSearchType.Raw | null;
- scaleserp_search_field?: string | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
deleted file mode 100644
index 0d346d8..0000000
--- a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SeoSummaryPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SeoSummaryPageRequestResponseFormatType.Raw,
- Gooey.SeoSummaryPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SeoSummaryPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
index c60edd3..b02787d 100644
--- a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
+++ b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
Gooey.SeoSummaryPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema<
export declare namespace SeoSummaryPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SeoSummaryPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/SerpSearchLocation.ts b/src/serialization/types/SerpSearchLocation.ts
index 47a9a3a..f001ed2 100644
--- a/src/serialization/types/SerpSearchLocation.ts
+++ b/src/serialization/types/SerpSearchLocation.ts
@@ -195,7 +195,7 @@ export const SerpSearchLocation: core.serialization.Schema<
"vc",
"ws",
"sm",
- "gui",
+ "st",
"sa",
"sn",
"rs",
@@ -438,7 +438,7 @@ export declare namespace SerpSearchLocation {
| "vc"
| "ws"
| "sm"
- | "gui"
+ | "st"
| "sa"
| "sn"
| "rs"
diff --git a/src/serialization/types/SmartGptPageRequest.ts b/src/serialization/types/SmartGptPageRequest.ts
index b6a1139..b9a95d2 100644
--- a/src/serialization/types/SmartGptPageRequest.ts
+++ b/src/serialization/types/SmartGptPageRequest.ts
@@ -7,7 +7,6 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { SmartGptPageRequestSelectedModel } from "./SmartGptPageRequestSelectedModel";
-import { SmartGptPageRequestResponseFormatType } from "./SmartGptPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const SmartGptPageRequest: core.serialization.ObjectSchema<
@@ -26,10 +25,6 @@ export const SmartGptPageRequest: core.serialization.ObjectSchema<
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SmartGptPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -47,7 +42,6 @@ export declare namespace SmartGptPageRequest {
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: SmartGptPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts b/src/serialization/types/SmartGptPageRequestResponseFormatType.ts
deleted file mode 100644
index f4e1cf5..0000000
--- a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SmartGptPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SmartGptPageRequestResponseFormatType.Raw,
- Gooey.SmartGptPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SmartGptPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SmartGptPageRequestSelectedModel.ts b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
index c178fd5..5d90a1f 100644
--- a/src/serialization/types/SmartGptPageRequestSelectedModel.ts
+++ b/src/serialization/types/SmartGptPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
Gooey.SmartGptPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SmartGptPageRequestSelectedModel: core.serialization.Schema<
export declare namespace SmartGptPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SmartGptPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/SocialLookupEmailPageRequest.ts b/src/serialization/types/SocialLookupEmailPageRequest.ts
index a0860df..b186804 100644
--- a/src/serialization/types/SocialLookupEmailPageRequest.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequest.ts
@@ -7,7 +7,6 @@ import * as Gooey from "../../api/index";
import * as core from "../../core";
import { RecipeFunction } from "./RecipeFunction";
import { SocialLookupEmailPageRequestSelectedModel } from "./SocialLookupEmailPageRequestSelectedModel";
-import { SocialLookupEmailPageRequestResponseFormatType } from "./SocialLookupEmailPageRequestResponseFormatType";
import { RunSettings } from "./RunSettings";
export const SocialLookupEmailPageRequest: core.serialization.ObjectSchema<
@@ -19,15 +18,11 @@ export const SocialLookupEmailPageRequest: core.serialization.ObjectSchema<
emailAddress: core.serialization.property("email_address", core.serialization.string()),
inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", SocialLookupEmailPageRequestSelectedModel.optional()),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
quality: core.serialization.number().optional(),
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- SocialLookupEmailPageRequestResponseFormatType.optional()
- ),
settings: RunSettings.optional(),
});
@@ -38,12 +33,11 @@ export declare namespace SocialLookupEmailPageRequest {
email_address: string;
input_prompt?: string | null;
selected_model?: SocialLookupEmailPageRequestSelectedModel.Raw | null;
- avoid_repetition?: boolean | null;
num_outputs?: number | null;
+ avoid_repetition?: boolean | null;
quality?: number | null;
max_tokens?: number | null;
sampling_temperature?: number | null;
- response_format_type?: SocialLookupEmailPageRequestResponseFormatType.Raw | null;
settings?: RunSettings.Raw | null;
}
}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
deleted file mode 100644
index ddddd09..0000000
--- a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const SocialLookupEmailPageRequestResponseFormatType: core.serialization.Schema<
- serializers.SocialLookupEmailPageRequestResponseFormatType.Raw,
- Gooey.SocialLookupEmailPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace SocialLookupEmailPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
index 09b77ac..d52da6c 100644
--- a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
+++ b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
Gooey.SocialLookupEmailPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schem
export declare namespace SocialLookupEmailPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace SocialLookupEmailPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/VideoBotsPageRequest.ts b/src/serialization/types/VideoBotsPageRequest.ts
index 53fb697..6db1b7e 100644
--- a/src/serialization/types/VideoBotsPageRequest.ts
+++ b/src/serialization/types/VideoBotsPageRequest.ts
@@ -14,7 +14,6 @@ import { VideoBotsPageRequestAsrModel } from "./VideoBotsPageRequestAsrModel";
import { VideoBotsPageRequestTranslationModel } from "./VideoBotsPageRequestTranslationModel";
import { VideoBotsPageRequestLipsyncModel } from "./VideoBotsPageRequestLipsyncModel";
import { LlmTools } from "./LlmTools";
-import { VideoBotsPageRequestResponseFormatType } from "./VideoBotsPageRequestResponseFormatType";
import { VideoBotsPageRequestTtsProvider } from "./VideoBotsPageRequestTtsProvider";
import { VideoBotsPageRequestOpenaiVoiceName } from "./VideoBotsPageRequestOpenaiVoiceName";
import { VideoBotsPageRequestOpenaiTtsModel } from "./VideoBotsPageRequestOpenaiTtsModel";
@@ -42,6 +41,11 @@ export const VideoBotsPageRequest: core.serialization.ObjectSchema<
botScript: core.serialization.property("bot_script", core.serialization.string().optional()),
selectedModel: core.serialization.property("selected_model", VideoBotsPageRequestSelectedModel.optional()),
documentModel: core.serialization.property("document_model", core.serialization.string().optional()),
+ avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
+ numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
+ quality: core.serialization.number().optional(),
+ maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
+ samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()),
queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()),
keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()),
@@ -67,15 +71,6 @@ export const VideoBotsPageRequest: core.serialization.ObjectSchema<
),
lipsyncModel: core.serialization.property("lipsync_model", VideoBotsPageRequestLipsyncModel.optional()),
tools: core.serialization.list(LlmTools).optional(),
- avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()),
- numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()),
- quality: core.serialization.number().optional(),
- maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
- samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()),
- responseFormatType: core.serialization.property(
- "response_format_type",
- VideoBotsPageRequestResponseFormatType.optional()
- ),
ttsProvider: core.serialization.property("tts_provider", VideoBotsPageRequestTtsProvider.optional()),
uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()),
uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()),
@@ -122,6 +117,11 @@ export declare namespace VideoBotsPageRequest {
bot_script?: string | null;
selected_model?: VideoBotsPageRequestSelectedModel.Raw | null;
document_model?: string | null;
+ avoid_repetition?: boolean | null;
+ num_outputs?: number | null;
+ quality?: number | null;
+ max_tokens?: number | null;
+ sampling_temperature?: number | null;
task_instructions?: string | null;
query_instructions?: string | null;
keyword_instructions?: string | null;
@@ -141,12 +141,6 @@ export declare namespace VideoBotsPageRequest {
output_glossary_document?: string | null;
lipsync_model?: VideoBotsPageRequestLipsyncModel.Raw | null;
tools?: LlmTools.Raw[] | null;
- avoid_repetition?: boolean | null;
- num_outputs?: number | null;
- quality?: number | null;
- max_tokens?: number | null;
- sampling_temperature?: number | null;
- response_format_type?: VideoBotsPageRequestResponseFormatType.Raw | null;
tts_provider?: VideoBotsPageRequestTtsProvider.Raw | null;
uberduck_voice_name?: string | null;
uberduck_speaking_rate?: number | null;
diff --git a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts b/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
deleted file mode 100644
index 99774b1..0000000
--- a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-
-import * as serializers from "../index";
-import * as Gooey from "../../api/index";
-import * as core from "../../core";
-
-export const VideoBotsPageRequestResponseFormatType: core.serialization.Schema<
- serializers.VideoBotsPageRequestResponseFormatType.Raw,
- Gooey.VideoBotsPageRequestResponseFormatType
-> = core.serialization.enum_(["text", "json_object"]);
-
-export declare namespace VideoBotsPageRequestResponseFormatType {
- type Raw = "text" | "json_object";
-}
diff --git a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
index 2983364..eafcf99 100644
--- a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
+++ b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts
@@ -11,7 +11,6 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
Gooey.VideoBotsPageRequestSelectedModel
> = core.serialization.enum_([
"gpt_4_o",
- "gpt_4_o_mini",
"gpt_4_turbo_vision",
"gpt_4_vision",
"gpt_4_turbo",
@@ -21,12 +20,9 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
"gpt_3_5_turbo_16k",
"gpt_3_5_turbo_instruct",
"llama3_70b",
- "llama_3_groq_70b_tool_use",
"llama3_8b",
- "llama_3_groq_8b_tool_use",
"llama2_70b_chat",
"mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
"gemma_7b_it",
"gemini_1_5_pro",
"gemini_1_pro_vision",
@@ -49,7 +45,6 @@ export const VideoBotsPageRequestSelectedModel: core.serialization.Schema<
export declare namespace VideoBotsPageRequestSelectedModel {
type Raw =
| "gpt_4_o"
- | "gpt_4_o_mini"
| "gpt_4_turbo_vision"
| "gpt_4_vision"
| "gpt_4_turbo"
@@ -59,12 +54,9 @@ export declare namespace VideoBotsPageRequestSelectedModel {
| "gpt_3_5_turbo_16k"
| "gpt_3_5_turbo_instruct"
| "llama3_70b"
- | "llama_3_groq_70b_tool_use"
| "llama3_8b"
- | "llama_3_groq_8b_tool_use"
| "llama2_70b_chat"
| "mixtral_8x7b_instruct_0_1"
- | "gemma_2_9b_it"
| "gemma_7b_it"
| "gemini_1_5_pro"
| "gemini_1_pro_vision"
diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts
index 1ffecc9..078fa81 100644
--- a/src/serialization/types/index.ts
+++ b/src/serialization/types/index.ts
@@ -16,7 +16,6 @@ export * from "./BalanceResponse";
export * from "./BotBroadcastFilters";
export * from "./BulkEvalPageOutput";
export * from "./BulkEvalPageRequestSelectedModel";
-export * from "./BulkEvalPageRequestResponseFormatType";
export * from "./BulkEvalPageRequest";
export * from "./BulkEvalPageResponse";
export * from "./BulkEvalPageStatusResponse";
@@ -66,7 +65,6 @@ export * from "./DeforumSdPageStatusResponse";
export * from "./DocExtractPageOutput";
export * from "./DocExtractPageRequestSelectedAsrModel";
export * from "./DocExtractPageRequestSelectedModel";
-export * from "./DocExtractPageRequestResponseFormatType";
export * from "./DocExtractPageRequest";
export * from "./DocExtractPageResponse";
export * from "./DocExtractPageStatusResponse";
@@ -75,14 +73,12 @@ export * from "./DocSearchPageRequestKeywordQuery";
export * from "./DocSearchPageRequestEmbeddingModel";
export * from "./DocSearchPageRequestSelectedModel";
export * from "./DocSearchPageRequestCitationStyle";
-export * from "./DocSearchPageRequestResponseFormatType";
export * from "./DocSearchPageRequest";
export * from "./DocSearchPageResponse";
export * from "./DocSearchPageStatusResponse";
export * from "./DocSummaryPageOutput";
export * from "./DocSummaryPageRequestSelectedModel";
export * from "./DocSummaryPageRequestSelectedAsrModel";
-export * from "./DocSummaryPageRequestResponseFormatType";
export * from "./DocSummaryPageRequest";
export * from "./DocSummaryPageResponse";
export * from "./DocSummaryPageStatusResponse";
@@ -114,7 +110,6 @@ export * from "./GenericErrorResponseDetail";
export * from "./GoogleGptPageOutput";
export * from "./GoogleGptPageRequestSelectedModel";
export * from "./GoogleGptPageRequestEmbeddingModel";
-export * from "./GoogleGptPageRequestResponseFormatType";
export * from "./GoogleGptPageRequest";
export * from "./GoogleGptPageResponse";
export * from "./GoogleGptPageStatusResponse";
@@ -180,14 +175,12 @@ export * from "./RelatedQnADocPageRequestKeywordQuery";
export * from "./RelatedQnADocPageRequestEmbeddingModel";
export * from "./RelatedQnADocPageRequestSelectedModel";
export * from "./RelatedQnADocPageRequestCitationStyle";
-export * from "./RelatedQnADocPageRequestResponseFormatType";
export * from "./RelatedQnADocPageRequest";
export * from "./RelatedQnADocPageResponse";
export * from "./RelatedQnADocPageStatusResponse";
export * from "./RelatedQnAPageOutput";
export * from "./RelatedQnAPageRequestSelectedModel";
export * from "./RelatedQnAPageRequestEmbeddingModel";
-export * from "./RelatedQnAPageRequestResponseFormatType";
export * from "./RelatedQnAPageRequest";
export * from "./RelatedQnAPageResponse";
export * from "./RelatedQnAPageStatusResponse";
@@ -200,7 +193,6 @@ export * from "./RunSettings";
export * from "./RunStart";
export * from "./SeoSummaryPageOutput";
export * from "./SeoSummaryPageRequestSelectedModel";
-export * from "./SeoSummaryPageRequestResponseFormatType";
export * from "./SeoSummaryPageRequest";
export * from "./SeoSummaryPageResponse";
export * from "./SeoSummaryPageStatusResponse";
@@ -211,13 +203,11 @@ export * from "./SerpSearchLocation";
export * from "./SerpSearchType";
export * from "./SmartGptPageOutput";
export * from "./SmartGptPageRequestSelectedModel";
-export * from "./SmartGptPageRequestResponseFormatType";
export * from "./SmartGptPageRequest";
export * from "./SmartGptPageResponse";
export * from "./SmartGptPageStatusResponse";
export * from "./SocialLookupEmailPageOutput";
export * from "./SocialLookupEmailPageRequestSelectedModel";
-export * from "./SocialLookupEmailPageRequestResponseFormatType";
export * from "./SocialLookupEmailPageRequest";
export * from "./SocialLookupEmailPageResponse";
export * from "./SocialLookupEmailPageStatusResponse";
@@ -251,7 +241,6 @@ export * from "./VideoBotsPageRequestCitationStyle";
export * from "./VideoBotsPageRequestAsrModel";
export * from "./VideoBotsPageRequestTranslationModel";
export * from "./VideoBotsPageRequestLipsyncModel";
-export * from "./VideoBotsPageRequestResponseFormatType";
export * from "./VideoBotsPageRequestTtsProvider";
export * from "./VideoBotsPageRequestOpenaiVoiceName";
export * from "./VideoBotsPageRequestOpenaiTtsModel";
diff --git a/yarn.lock b/yarn.lock
index 4d3c5b3..e0331ac 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -881,9 +881,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
caniuse-lite@^1.0.30001640:
- version "1.0.30001645"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001645.tgz#4c4b7427683dea1170a152cd1654be8d0da7bd71"
- integrity sha512-GFtY2+qt91kzyMk6j48dJcwJVq5uTkk71XxE3RtScx7XWRLsO7bU44LOFkOZYR8w9YMS0UhPSYpN/6rAMImmLw==
+ version "1.0.30001646"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001646.tgz#d472f2882259ba032dd73ee069ff01bfd059b25d"
+ integrity sha512-dRg00gudiBDDTmUhClSdv3hqRfpbOnU28IpI1T6PBTLWa+kOj0681C8uML3PifYfREuBrVjDGhL3adYpBT6spw==
chalk@^2.4.2:
version "2.4.2"