diff --git a/package.json b/package.json index 0dfc76a..2b18913 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gooeyai", - "version": "0.0.1-beta20", + "version": "0.0.1-beta21", "private": false, "repository": "https://github.com/GooeyAI/typescript-sdk", "main": "./index.js", diff --git a/reference.md b/reference.md index cbf3dab..529d00c 100644 --- a/reference.md +++ b/reference.md @@ -606,46 +606,6 @@ await client.bulkRunner.statusBulkRunner({ -
client.bulkRunner.post() -> void -
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.bulkRunner.post(); -``` - -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `BulkRunner.RequestOptions` - -
-
-
-
- -
-
-
- ## Evaluator
client.evaluator.asyncFormBulkEval({ ...params }) -> Gooey.BulkEvalPageStatusResponse @@ -1006,46 +966,6 @@ await client.smartGpt.statusSmartGpt({
-
client.smartGpt.post() -> void -
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.smartGpt.post(); -``` - -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `SmartGpt.RequestOptions` - -
-
-
-
- -
-
-
- ## SummarizeYourDocsWithGpt
client.summarizeYourDocsWithGpt.statusDocSummary({ ...params }) -> Gooey.DocSummaryPageStatusResponse @@ -1198,46 +1118,6 @@ await client.functions.statusFunctions({
-
client.functions.post() -> void -
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.functions.post(); -``` - -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `Functions.RequestOptions` - -
-
-
-
- -
-
-
- ## LipSyncing
client.lipSyncing.asyncFormLipsync({ ...params }) -> Gooey.LipsyncPageStatusResponse @@ -2170,46 +2050,6 @@ await client.embeddings.statusEmbeddings({
-
client.embeddings.post() -> void -
-
- -#### 🔌 Usage - -
-
- -
-
- -```typescript -await client.embeddings.post(); -``` - -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**requestOptions:** `Embeddings.RequestOptions` - -
-
-
-
- -
-
-
- ## PeopleAlsoAskAnswersFromADoc
client.peopleAlsoAskAnswersFromADoc.statusRelatedQnaMakerDoc({ ...params }) -> Gooey.RelatedQnADocPageStatusResponse diff --git a/src/Client.ts b/src/Client.ts index 67f398d..f505baa 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -102,7 +102,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -226,7 +226,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -351,7 +351,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -478,7 +478,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -603,7 +603,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -727,7 +727,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -858,7 +858,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -982,7 +982,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1104,7 +1104,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1228,7 +1228,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1352,7 +1352,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1476,7 +1476,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1600,7 +1600,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1724,7 +1724,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1848,7 +1848,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1970,7 +1970,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2094,7 +2094,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2218,7 +2218,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2343,7 +2343,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2468,7 +2468,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2593,7 +2593,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2718,7 +2718,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2842,7 +2842,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2966,7 +2966,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3090,7 +3090,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3214,7 +3214,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3320,7 +3320,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3373,7 +3373,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3426,7 +3426,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3479,7 +3479,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3532,7 +3532,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3585,7 +3585,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3638,7 +3638,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3691,7 +3691,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3744,7 +3744,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3797,7 +3797,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3850,7 +3850,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3903,7 +3903,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3956,7 +3956,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4009,7 +4009,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4062,7 +4062,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4115,7 +4115,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4168,7 +4168,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4221,7 +4221,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4274,7 +4274,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4327,7 +4327,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4380,7 +4380,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4433,7 +4433,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4486,7 +4486,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4539,7 +4539,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4592,7 +4592,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4645,7 +4645,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4698,7 +4698,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4751,7 +4751,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4804,7 +4804,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4857,7 +4857,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4910,7 +4910,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4963,7 +4963,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5016,7 +5016,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -5069,7 +5069,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts index 31c01e5..1bfc3d5 100644 --- a/src/api/resources/aiAnimationGenerator/client/Client.ts +++ b/src/api/resources/aiAnimationGenerator/client/Client.ts @@ -59,7 +59,7 @@ export class AiAnimationGenerator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts index 2e6c5a0..fedb8b9 100644 --- a/src/api/resources/aiArtQrCode/client/Client.ts +++ b/src/api/resources/aiArtQrCode/client/Client.ts @@ -59,7 +59,7 @@ export class AiArtQrCode { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts index 33fd7e2..406d382 100644 --- a/src/api/resources/aiBackgroundChanger/client/Client.ts +++ b/src/api/resources/aiBackgroundChanger/client/Client.ts @@ -59,7 +59,7 @@ export class AiBackgroundChanger { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts index 5ac998c..c3db293 100644 --- a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts @@ -59,7 +59,7 @@ export class AiGeneratedPhotoFromEmailProfileLookup { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts index 6274166..70f5b09 100644 --- a/src/api/resources/aiImageWithAFace/client/Client.ts +++ b/src/api/resources/aiImageWithAFace/client/Client.ts @@ -59,7 +59,7 @@ export class AiImageWithAFace { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts index 6d3107a..59e939e 100644 --- a/src/api/resources/bulkRunner/client/Client.ts +++ b/src/api/resources/bulkRunner/client/Client.ts @@ -59,7 +59,7 @@ export class BulkRunner { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -127,59 +127,6 @@ export class BulkRunner { } } - /** - * @param {BulkRunner.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.bulkRunner.post() - */ - public async post(requestOptions?: BulkRunner.RequestOptions): Promise { - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v2/bulk-runner/" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - }, - contentType: "application/json", - requestType: "json", - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return; - } - - 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) { diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts index 9d7a2eb..6686073 100644 --- a/src/api/resources/chyronPlantBot/client/Client.ts +++ b/src/api/resources/chyronPlantBot/client/Client.ts @@ -59,7 +59,7 @@ export class ChyronPlantBot { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts index 26dbf5c..84ed1f6 100644 --- a/src/api/resources/compareAiImageGenerators/client/Client.ts +++ b/src/api/resources/compareAiImageGenerators/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiImageGenerators { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts index f96c66a..cd53b31 100644 --- a/src/api/resources/compareAiImageUpscalers/client/Client.ts +++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiImageUpscalers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts index c102aab..74175e8 100644 --- a/src/api/resources/compareAiTranslations/client/Client.ts +++ b/src/api/resources/compareAiTranslations/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiTranslations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts index d494ca8..9ca9873 100644 --- a/src/api/resources/compareAiVoiceGenerators/client/Client.ts +++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts @@ -59,7 +59,7 @@ export class CompareAiVoiceGenerators { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts index d59b5f5..a8d247a 100644 --- a/src/api/resources/copilotForYourEnterprise/client/Client.ts +++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts @@ -62,7 +62,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -181,7 +181,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts index d3dc3b7..6fafc8b 100644 --- a/src/api/resources/copilotIntegrations/client/Client.ts +++ b/src/api/resources/copilotIntegrations/client/Client.ts @@ -55,7 +55,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -137,7 +137,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts index 6c620ae..07b366d 100644 --- a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts @@ -59,7 +59,7 @@ export class CreateAPerfectSeoOptimizedTitleParagraph { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts index 6250721..0627a68 100644 --- a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts +++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts @@ -59,7 +59,7 @@ export class EditAnImageWithAiPrompt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts index 2b69d10..4710100 100644 --- a/src/api/resources/embeddings/client/Client.ts +++ b/src/api/resources/embeddings/client/Client.ts @@ -59,7 +59,7 @@ export class Embeddings { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -127,59 +127,6 @@ export class Embeddings { } } - /** - * @param {Embeddings.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.embeddings.post() - */ - public async post(requestOptions?: Embeddings.RequestOptions): Promise { - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v2/embeddings/" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - }, - contentType: "application/json", - requestType: "json", - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return; - } - - 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) { diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts index a56454c..97aa1df 100644 --- a/src/api/resources/evaluator/client/Client.ts +++ b/src/api/resources/evaluator/client/Client.ts @@ -64,7 +64,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -183,7 +183,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts index 5c4b4ce..1a0736d 100644 --- a/src/api/resources/functions/client/Client.ts +++ b/src/api/resources/functions/client/Client.ts @@ -62,7 +62,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -181,7 +181,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -249,59 +249,6 @@ export class Functions { } } - /** - * @param {Functions.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.functions.post() - */ - public async post(requestOptions?: Functions.RequestOptions): Promise { - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v2/functions/" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - }, - contentType: "application/json", - requestType: "json", - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return; - } - - 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) { diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts index c5955ad..888ab5e 100644 --- a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts @@ -59,7 +59,7 @@ export class GeneratePeopleAlsoAskSeoContent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts index 2f45aee..c122b8c 100644 --- a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts +++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts @@ -59,7 +59,7 @@ export class GenerateProductPhotoBackgrounds { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts index fb7b0ed..5dc0597 100644 --- a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts +++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts @@ -59,7 +59,7 @@ export class LargeLanguageModelsGpt3 { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts index 6c44048..392142c 100644 --- a/src/api/resources/letterWriter/client/Client.ts +++ b/src/api/resources/letterWriter/client/Client.ts @@ -59,7 +59,7 @@ export class LetterWriter { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts index c2cadb4..bd7d4c0 100644 --- a/src/api/resources/lipSyncing/client/Client.ts +++ b/src/api/resources/lipSyncing/client/Client.ts @@ -62,7 +62,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -181,7 +181,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts index b7d0056..3e33a36 100644 --- a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts +++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts @@ -59,7 +59,7 @@ export class LipsyncVideoWithAnyText { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts index f4d0206..75a2dc8 100644 --- a/src/api/resources/misc/client/Client.ts +++ b/src/api/resources/misc/client/Client.ts @@ -46,7 +46,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -123,7 +123,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts index 8c49fb5..02c941d 100644 --- a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts @@ -59,7 +59,7 @@ export class PeopleAlsoAskAnswersFromADoc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts index 7cdb512..aef462b 100644 --- a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts @@ -59,7 +59,7 @@ export class ProfileLookupGpt3ForAiPersonalizedEmails { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts index 50fe75e..e18ab5a 100644 --- a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts +++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts @@ -59,7 +59,7 @@ export class RenderImageSearchResultsWithAi { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts index 279fb50..12ff372 100644 --- a/src/api/resources/searchYourDocsWithGpt/client/Client.ts +++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts @@ -59,7 +59,7 @@ export class SearchYourDocsWithGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts index dd1cb6f..c6859b4 100644 --- a/src/api/resources/smartGpt/client/Client.ts +++ b/src/api/resources/smartGpt/client/Client.ts @@ -64,7 +64,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -183,7 +183,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -251,59 +251,6 @@ export class SmartGpt { } } - /** - * @param {SmartGpt.RequestOptions} requestOptions - Request-specific configuration. - * - * @example - * await client.smartGpt.post() - */ - public async post(requestOptions?: SmartGpt.RequestOptions): Promise { - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, - "v2/SmartGPT/" - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", - "X-Fern-Runtime": core.RUNTIME.type, - "X-Fern-Runtime-Version": core.RUNTIME.version, - }, - contentType: "application/json", - requestType: "json", - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, - abortSignal: requestOptions?.abortSignal, - }); - if (_response.ok) { - return; - } - - 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) { diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts index f7e91d2..25421ce 100644 --- a/src/api/resources/speechRecognitionTranslation/client/Client.ts +++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts @@ -59,7 +59,7 @@ export class SpeechRecognitionTranslation { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts index f8f627f..9e3370e 100644 --- a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts +++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts @@ -59,7 +59,7 @@ export class SummarizeYourDocsWithGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts index 57b254c..97ecf68 100644 --- a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts @@ -59,7 +59,7 @@ export class SyntheticDataMakerForVideosPdFs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts index 5a9d14b..bf4bf5a 100644 --- a/src/api/resources/textGuidedAudioGenerator/client/Client.ts +++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts @@ -59,7 +59,7 @@ export class TextGuidedAudioGenerator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts index 2efdbd1..311a0f9 100644 --- a/src/api/resources/webSearchGpt3/client/Client.ts +++ b/src/api/resources/webSearchGpt3/client/Client.ts @@ -59,7 +59,7 @@ export class WebSearchGpt3 { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta20", + "X-Fern-SDK-Version": "0.0.1-beta21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, },