Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 Fern Regeneration -- April 23, 2024 #18

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hume",
"version": "0.0.9",
"version": "0.5.0",
"private": false,
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
"main": "./index.js",
Expand All @@ -17,9 +17,9 @@
"node-fetch": "2.7.0",
"qs": "6.11.2",
"ws": "^8.14.2",
"@types/ws": "^8.5.9",
"uuid": "9.0.1",
"command-exists": "^1.2.9",
"execa": "^5.1.1"
"@types/uuid": "9.0.7"
},
"devDependencies": {
"@types/url-join": "4.0.1",
Expand All @@ -30,9 +30,6 @@
"ts-jest": "^29.1.1",
"@types/node": "17.0.33",
"prettier": "2.7.1",
"typescript": "4.6.4",
"@types/ws": "^8.5.9",
"@types/uuid": "9.0.7",
"@types/command-exists": "^1.2.3"
"typescript": "4.6.4"
}
}
7 changes: 0 additions & 7 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import * as environments from "./environments";
import * as core from "./core";
import { CustomModels } from "./api/resources/customModels/client/Client";
import { EmpathicVoice } from "./api/resources/empathicVoice/client/Client";
import { ExpressionMeasurement } from "./api/resources/expressionMeasurement/client/Client";

export declare namespace HumeClient {
Expand All @@ -31,12 +30,6 @@ export class HumeClient {
return (this._customModels ??= new CustomModels(this._options));
}

protected _empathicVoice: EmpathicVoice | undefined;

public get empathicVoice(): EmpathicVoice {
return (this._empathicVoice ??= new EmpathicVoice(this._options));
}

protected _expressionMeasurement: ExpressionMeasurement | undefined;

public get expressionMeasurement(): ExpressionMeasurement {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -140,7 +140,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -205,7 +205,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -274,7 +274,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -336,7 +336,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -409,7 +409,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -489,7 +489,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -557,7 +557,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -636,7 +636,7 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
14 changes: 7 additions & 7 deletions src/api/resources/customModels/resources/files/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -136,7 +136,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -207,7 +207,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -272,7 +272,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -333,7 +333,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -397,7 +397,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -459,7 +459,7 @@ export class Files {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class Jobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -127,7 +127,7 @@ export class Jobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/customModels/resources/models/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -119,7 +119,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -191,7 +191,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -257,7 +257,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -342,7 +342,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -429,7 +429,7 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.0.9",
"X-Fern-SDK-Version": "0.5.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
45 changes: 0 additions & 45 deletions src/api/resources/empathicVoice/client/Client.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/api/resources/empathicVoice/client/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/api/resources/empathicVoice/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from "./resources";
export * from "./types";
export * from "./client";
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import * as Hume from "../../../../..";

export type PublishEvent =
| Hume.empathicVoice.AudioInput
| Hume.empathicVoice.SessionSettings
| Hume.empathicVoice.Configuration
| Hume.empathicVoice.TextInput
| Hume.empathicVoice.TtsInput;
Loading
Loading