Skip to content

Commit 3fbefb5

Browse files
committed
Release 0.0.1-beta1
1 parent c4c7cd9 commit 3fbefb5

File tree

120 files changed

+914
-814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+914
-814
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Instantiate and use the client with the following:
1818
```typescript
1919
import { GooeyClient } from "gooey";
2020

21-
const client = new GooeyClient({ apiKey: "YOUR_API_KEY", authorization: "YOUR_AUTHORIZATION" });
21+
const client = new GooeyClient({ apiKey: "YOUR_API_KEY" });
2222
await client.copilotIntegrations.videoBotsStreamCreate({
2323
integrationId: "integration_id",
2424
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gooey",
3-
"version": "0.0.2",
3+
"version": "0.0.1-beta1",
44
"private": false,
55
"repository": "https://github.com/GooeyAI/typescript-sdk",
66
"main": "./index.js",

reference.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5229,43 +5229,3 @@ await client.misc.videoBotsBroadcast({
52295229
</dd>
52305230
</dl>
52315231
</details>
5232-
5233-
<details><summary><code>client.misc.<a href="/src/api/resources/misc/client/Client.ts">health</a>() -> unknown</code></summary>
5234-
<dl>
5235-
<dd>
5236-
5237-
#### 🔌 Usage
5238-
5239-
<dl>
5240-
<dd>
5241-
5242-
<dl>
5243-
<dd>
5244-
5245-
```typescript
5246-
await client.misc.health();
5247-
```
5248-
5249-
</dd>
5250-
</dl>
5251-
</dd>
5252-
</dl>
5253-
5254-
#### ⚙️ Parameters
5255-
5256-
<dl>
5257-
<dd>
5258-
5259-
<dl>
5260-
<dd>
5261-
5262-
**requestOptions:** `Misc.RequestOptions`
5263-
5264-
</dd>
5265-
</dl>
5266-
</dd>
5267-
</dl>
5268-
5269-
</dd>
5270-
</dl>
5271-
</details>

src/Client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ export declare namespace GooeyClient {
4444
interface Options {
4545
environment?: core.Supplier<environments.GooeyEnvironment | string>;
4646
apiKey?: core.Supplier<core.BearerToken | undefined>;
47-
/** Override the Authorization header */
48-
authorization?: core.Supplier<string | undefined>;
4947
fetcher?: core.FetchFunction;
5048
}
5149

@@ -56,8 +54,6 @@ export declare namespace GooeyClient {
5654
maxRetries?: number;
5755
/** A hook to abort the request. */
5856
abortSignal?: AbortSignal;
59-
/** Override the Authorization header */
60-
authorization?: string | undefined;
6157
}
6258
}
6359

src/api/resources/aiAnimationGenerator/client/Client.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export declare namespace AiAnimationGenerator {
1313
interface Options {
1414
environment?: core.Supplier<environments.GooeyEnvironment | string>;
1515
apiKey?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the Authorization header */
17-
authorization?: core.Supplier<string | undefined>;
1816
fetcher?: core.FetchFunction;
1917
}
2018

@@ -25,8 +23,6 @@ export declare namespace AiAnimationGenerator {
2523
maxRetries?: number;
2624
/** A hook to abort the request. */
2725
abortSignal?: AbortSignal;
28-
/** Override the Authorization header */
29-
authorization?: string | undefined;
3026
}
3127
}
3228

@@ -64,10 +60,9 @@ export class AiAnimationGenerator {
6460
Authorization: await this._getAuthorizationHeader(),
6561
"X-Fern-Language": "JavaScript",
6662
"X-Fern-SDK-Name": "gooey",
67-
"X-Fern-SDK-Version": "0.0.2",
63+
"X-Fern-SDK-Version": "0.0.1-beta1",
6864
"X-Fern-Runtime": core.RUNTIME.type,
6965
"X-Fern-Runtime-Version": core.RUNTIME.version,
70-
...(await this._getCustomAuthorizationHeaders()),
7166
},
7267
contentType: "application/json",
7368
requestType: "json",
@@ -173,10 +168,9 @@ export class AiAnimationGenerator {
173168
Authorization: await this._getAuthorizationHeader(),
174169
"X-Fern-Language": "JavaScript",
175170
"X-Fern-SDK-Name": "gooey",
176-
"X-Fern-SDK-Version": "0.0.2",
171+
"X-Fern-SDK-Version": "0.0.1-beta1",
177172
"X-Fern-Runtime": core.RUNTIME.type,
178173
"X-Fern-Runtime-Version": core.RUNTIME.version,
179-
...(await this._getCustomAuthorizationHeaders()),
180174
},
181175
contentType: "application/json",
182176
requestType: "json",
@@ -272,10 +266,9 @@ export class AiAnimationGenerator {
272266
Authorization: await this._getAuthorizationHeader(),
273267
"X-Fern-Language": "JavaScript",
274268
"X-Fern-SDK-Name": "gooey",
275-
"X-Fern-SDK-Version": "0.0.2",
269+
"X-Fern-SDK-Version": "0.0.1-beta1",
276270
"X-Fern-Runtime": core.RUNTIME.type,
277271
"X-Fern-Runtime-Version": core.RUNTIME.version,
278-
...(await this._getCustomAuthorizationHeaders()),
279272
},
280273
contentType: "application/json",
281274
queryParameters: _queryParams,
@@ -351,9 +344,4 @@ export class AiAnimationGenerator {
351344

352345
return `Bearer ${bearer}`;
353346
}
354-
355-
protected async _getCustomAuthorizationHeaders() {
356-
const authorizationValue = await core.Supplier.get(this._options.authorization);
357-
return { Authorization: authorizationValue };
358-
}
359347
}

src/api/resources/aiArtQrCode/client/Client.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export declare namespace AiArtQrCode {
1313
interface Options {
1414
environment?: core.Supplier<environments.GooeyEnvironment | string>;
1515
apiKey?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the Authorization header */
17-
authorization?: core.Supplier<string | undefined>;
1816
fetcher?: core.FetchFunction;
1917
}
2018

@@ -25,8 +23,6 @@ export declare namespace AiArtQrCode {
2523
maxRetries?: number;
2624
/** A hook to abort the request. */
2725
abortSignal?: AbortSignal;
28-
/** Override the Authorization header */
29-
authorization?: string | undefined;
3026
}
3127
}
3228

@@ -61,10 +57,9 @@ export class AiArtQrCode {
6157
Authorization: await this._getAuthorizationHeader(),
6258
"X-Fern-Language": "JavaScript",
6359
"X-Fern-SDK-Name": "gooey",
64-
"X-Fern-SDK-Version": "0.0.2",
60+
"X-Fern-SDK-Version": "0.0.1-beta1",
6561
"X-Fern-Runtime": core.RUNTIME.type,
6662
"X-Fern-Runtime-Version": core.RUNTIME.version,
67-
...(await this._getCustomAuthorizationHeaders()),
6863
},
6964
contentType: "application/json",
7065
requestType: "json",
@@ -167,10 +162,9 @@ export class AiArtQrCode {
167162
Authorization: await this._getAuthorizationHeader(),
168163
"X-Fern-Language": "JavaScript",
169164
"X-Fern-SDK-Name": "gooey",
170-
"X-Fern-SDK-Version": "0.0.2",
165+
"X-Fern-SDK-Version": "0.0.1-beta1",
171166
"X-Fern-Runtime": core.RUNTIME.type,
172167
"X-Fern-Runtime-Version": core.RUNTIME.version,
173-
...(await this._getCustomAuthorizationHeaders()),
174168
},
175169
contentType: "application/json",
176170
requestType: "json",
@@ -266,10 +260,9 @@ export class AiArtQrCode {
266260
Authorization: await this._getAuthorizationHeader(),
267261
"X-Fern-Language": "JavaScript",
268262
"X-Fern-SDK-Name": "gooey",
269-
"X-Fern-SDK-Version": "0.0.2",
263+
"X-Fern-SDK-Version": "0.0.1-beta1",
270264
"X-Fern-Runtime": core.RUNTIME.type,
271265
"X-Fern-Runtime-Version": core.RUNTIME.version,
272-
...(await this._getCustomAuthorizationHeaders()),
273266
},
274267
contentType: "application/json",
275268
queryParameters: _queryParams,
@@ -345,9 +338,4 @@ export class AiArtQrCode {
345338

346339
return `Bearer ${bearer}`;
347340
}
348-
349-
protected async _getCustomAuthorizationHeaders() {
350-
const authorizationValue = await core.Supplier.get(this._options.authorization);
351-
return { Authorization: authorizationValue };
352-
}
353341
}

src/api/resources/aiBackgroundChanger/client/Client.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export declare namespace AiBackgroundChanger {
1313
interface Options {
1414
environment?: core.Supplier<environments.GooeyEnvironment | string>;
1515
apiKey?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the Authorization header */
17-
authorization?: core.Supplier<string | undefined>;
1816
fetcher?: core.FetchFunction;
1917
}
2018

@@ -25,8 +23,6 @@ export declare namespace AiBackgroundChanger {
2523
maxRetries?: number;
2624
/** A hook to abort the request. */
2725
abortSignal?: AbortSignal;
28-
/** Override the Authorization header */
29-
authorization?: string | undefined;
3026
}
3127
}
3228

@@ -61,10 +57,9 @@ export class AiBackgroundChanger {
6157
Authorization: await this._getAuthorizationHeader(),
6258
"X-Fern-Language": "JavaScript",
6359
"X-Fern-SDK-Name": "gooey",
64-
"X-Fern-SDK-Version": "0.0.2",
60+
"X-Fern-SDK-Version": "0.0.1-beta1",
6561
"X-Fern-Runtime": core.RUNTIME.type,
6662
"X-Fern-Runtime-Version": core.RUNTIME.version,
67-
...(await this._getCustomAuthorizationHeaders()),
6863
},
6964
contentType: "application/json",
7065
requestType: "json",
@@ -167,10 +162,9 @@ export class AiBackgroundChanger {
167162
Authorization: await this._getAuthorizationHeader(),
168163
"X-Fern-Language": "JavaScript",
169164
"X-Fern-SDK-Name": "gooey",
170-
"X-Fern-SDK-Version": "0.0.2",
165+
"X-Fern-SDK-Version": "0.0.1-beta1",
171166
"X-Fern-Runtime": core.RUNTIME.type,
172167
"X-Fern-Runtime-Version": core.RUNTIME.version,
173-
...(await this._getCustomAuthorizationHeaders()),
174168
},
175169
contentType: "application/json",
176170
requestType: "json",
@@ -266,10 +260,9 @@ export class AiBackgroundChanger {
266260
Authorization: await this._getAuthorizationHeader(),
267261
"X-Fern-Language": "JavaScript",
268262
"X-Fern-SDK-Name": "gooey",
269-
"X-Fern-SDK-Version": "0.0.2",
263+
"X-Fern-SDK-Version": "0.0.1-beta1",
270264
"X-Fern-Runtime": core.RUNTIME.type,
271265
"X-Fern-Runtime-Version": core.RUNTIME.version,
272-
...(await this._getCustomAuthorizationHeaders()),
273266
},
274267
contentType: "application/json",
275268
queryParameters: _queryParams,
@@ -345,9 +338,4 @@ export class AiBackgroundChanger {
345338

346339
return `Bearer ${bearer}`;
347340
}
348-
349-
protected async _getCustomAuthorizationHeaders() {
350-
const authorizationValue = await core.Supplier.get(this._options.authorization);
351-
return { Authorization: authorizationValue };
352-
}
353341
}

src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
1313
interface Options {
1414
environment?: core.Supplier<environments.GooeyEnvironment | string>;
1515
apiKey?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the Authorization header */
17-
authorization?: core.Supplier<string | undefined>;
1816
fetcher?: core.FetchFunction;
1917
}
2018

@@ -25,8 +23,6 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
2523
maxRetries?: number;
2624
/** A hook to abort the request. */
2725
abortSignal?: AbortSignal;
28-
/** Override the Authorization header */
29-
authorization?: string | undefined;
3026
}
3127
}
3228

@@ -62,10 +58,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
6258
Authorization: await this._getAuthorizationHeader(),
6359
"X-Fern-Language": "JavaScript",
6460
"X-Fern-SDK-Name": "gooey",
65-
"X-Fern-SDK-Version": "0.0.2",
61+
"X-Fern-SDK-Version": "0.0.1-beta1",
6662
"X-Fern-Runtime": core.RUNTIME.type,
6763
"X-Fern-Runtime-Version": core.RUNTIME.version,
68-
...(await this._getCustomAuthorizationHeaders()),
6964
},
7065
contentType: "application/json",
7166
requestType: "json",
@@ -169,10 +164,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
169164
Authorization: await this._getAuthorizationHeader(),
170165
"X-Fern-Language": "JavaScript",
171166
"X-Fern-SDK-Name": "gooey",
172-
"X-Fern-SDK-Version": "0.0.2",
167+
"X-Fern-SDK-Version": "0.0.1-beta1",
173168
"X-Fern-Runtime": core.RUNTIME.type,
174169
"X-Fern-Runtime-Version": core.RUNTIME.version,
175-
...(await this._getCustomAuthorizationHeaders()),
176170
},
177171
contentType: "application/json",
178172
requestType: "json",
@@ -268,10 +262,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
268262
Authorization: await this._getAuthorizationHeader(),
269263
"X-Fern-Language": "JavaScript",
270264
"X-Fern-SDK-Name": "gooey",
271-
"X-Fern-SDK-Version": "0.0.2",
265+
"X-Fern-SDK-Version": "0.0.1-beta1",
272266
"X-Fern-Runtime": core.RUNTIME.type,
273267
"X-Fern-Runtime-Version": core.RUNTIME.version,
274-
...(await this._getCustomAuthorizationHeaders()),
275268
},
276269
contentType: "application/json",
277270
queryParameters: _queryParams,
@@ -347,9 +340,4 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
347340

348341
return `Bearer ${bearer}`;
349342
}
350-
351-
protected async _getCustomAuthorizationHeaders() {
352-
const authorizationValue = await core.Supplier.get(this._options.authorization);
353-
return { Authorization: authorizationValue };
354-
}
355343
}

src/api/resources/aiImageWithAFace/client/Client.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export declare namespace AiImageWithAFace {
1313
interface Options {
1414
environment?: core.Supplier<environments.GooeyEnvironment | string>;
1515
apiKey?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the Authorization header */
17-
authorization?: core.Supplier<string | undefined>;
1816
fetcher?: core.FetchFunction;
1917
}
2018

@@ -25,8 +23,6 @@ export declare namespace AiImageWithAFace {
2523
maxRetries?: number;
2624
/** A hook to abort the request. */
2725
abortSignal?: AbortSignal;
28-
/** Override the Authorization header */
29-
authorization?: string | undefined;
3026
}
3127
}
3228

@@ -62,10 +58,9 @@ export class AiImageWithAFace {
6258
Authorization: await this._getAuthorizationHeader(),
6359
"X-Fern-Language": "JavaScript",
6460
"X-Fern-SDK-Name": "gooey",
65-
"X-Fern-SDK-Version": "0.0.2",
61+
"X-Fern-SDK-Version": "0.0.1-beta1",
6662
"X-Fern-Runtime": core.RUNTIME.type,
6763
"X-Fern-Runtime-Version": core.RUNTIME.version,
68-
...(await this._getCustomAuthorizationHeaders()),
6964
},
7065
contentType: "application/json",
7166
requestType: "json",
@@ -169,10 +164,9 @@ export class AiImageWithAFace {
169164
Authorization: await this._getAuthorizationHeader(),
170165
"X-Fern-Language": "JavaScript",
171166
"X-Fern-SDK-Name": "gooey",
172-
"X-Fern-SDK-Version": "0.0.2",
167+
"X-Fern-SDK-Version": "0.0.1-beta1",
173168
"X-Fern-Runtime": core.RUNTIME.type,
174169
"X-Fern-Runtime-Version": core.RUNTIME.version,
175-
...(await this._getCustomAuthorizationHeaders()),
176170
},
177171
contentType: "application/json",
178172
requestType: "json",
@@ -268,10 +262,9 @@ export class AiImageWithAFace {
268262
Authorization: await this._getAuthorizationHeader(),
269263
"X-Fern-Language": "JavaScript",
270264
"X-Fern-SDK-Name": "gooey",
271-
"X-Fern-SDK-Version": "0.0.2",
265+
"X-Fern-SDK-Version": "0.0.1-beta1",
272266
"X-Fern-Runtime": core.RUNTIME.type,
273267
"X-Fern-Runtime-Version": core.RUNTIME.version,
274-
...(await this._getCustomAuthorizationHeaders()),
275268
},
276269
contentType: "application/json",
277270
queryParameters: _queryParams,
@@ -347,9 +340,4 @@ export class AiImageWithAFace {
347340

348341
return `Bearer ${bearer}`;
349342
}
350-
351-
protected async _getCustomAuthorizationHeaders() {
352-
const authorizationValue = await core.Supplier.get(this._options.authorization);
353-
return { Authorization: authorizationValue };
354-
}
355343
}

0 commit comments

Comments
 (0)