hume 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +1 -1
- package/.prettierignore +1 -0
- package/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +4 -1
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +6 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +4 -1
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +6 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/HumeClient.d.ts +7 -3
- package/dist/wrapper/HumeClient.js +2 -2
- package/package.json +1 -1
- package/reference.md +566 -566
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/HumeClient.d.ts +7 -3
- package/wrapper/HumeClient.js +2 -2
|
@@ -32,5 +32,5 @@ const ReturnCustomVoice_1 = require("./ReturnCustomVoice");
|
|
|
32
32
|
exports.ReturnVoice = core.serialization.object({
|
|
33
33
|
provider: core.serialization.stringLiteral("HUME_AI"),
|
|
34
34
|
name: core.serialization.string().optional(),
|
|
35
|
-
customVoice: core.serialization.property("custom_voice", ReturnCustomVoice_1.ReturnCustomVoice),
|
|
35
|
+
customVoice: core.serialization.property("custom_voice", ReturnCustomVoice_1.ReturnCustomVoice.optional()),
|
|
36
36
|
});
|
|
@@ -23,6 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
26
|
+
exports.empathicVoice = exports.expressionMeasurement = void 0;
|
|
28
27
|
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
28
|
+
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.1";
|
package/version.js
CHANGED
package/wrapper/HumeClient.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { HumeClient as FernClient } from "../Client";
|
|
2
2
|
import { ExpressionMeasurement } from "./expressionMeasurement/ExpressionMeasurementClient";
|
|
3
3
|
export declare namespace HumeClient {
|
|
4
|
-
|
|
4
|
+
type Options = FernClient.Options & {
|
|
5
5
|
secretKey?: string;
|
|
6
|
-
}
|
|
6
|
+
} & ({
|
|
7
|
+
accessToken: NonNullable<FernClient.Options["accessToken"]>;
|
|
8
|
+
} | {
|
|
9
|
+
apiKey: NonNullable<FernClient.Options["apiKey"]>;
|
|
10
|
+
});
|
|
7
11
|
}
|
|
8
12
|
export declare class HumeClient extends FernClient {
|
|
9
13
|
protected readonly _options: HumeClient.Options;
|
|
10
|
-
constructor(_options
|
|
14
|
+
constructor(_options: HumeClient.Options);
|
|
11
15
|
protected _expressionMeasurement: ExpressionMeasurement | undefined;
|
|
12
16
|
get expressionMeasurement(): ExpressionMeasurement;
|
|
13
17
|
}
|
package/wrapper/HumeClient.js
CHANGED
|
@@ -4,8 +4,8 @@ exports.HumeClient = void 0;
|
|
|
4
4
|
const Client_1 = require("../Client");
|
|
5
5
|
const ExpressionMeasurementClient_1 = require("./expressionMeasurement/ExpressionMeasurementClient");
|
|
6
6
|
class HumeClient extends Client_1.HumeClient {
|
|
7
|
-
constructor(_options
|
|
8
|
-
super(_options);
|
|
7
|
+
constructor(_options) {
|
|
8
|
+
super(_options || {});
|
|
9
9
|
this._options = _options;
|
|
10
10
|
}
|
|
11
11
|
get expressionMeasurement() {
|