hume 0.9.5 → 0.9.7
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 +66 -42
- package/.mock/definition/empathic-voice/chatGroups.yml +10 -0
- package/.mock/definition/empathic-voice/chats.yml +6 -0
- package/.mock/definition/empathic-voice/configs.yml +18 -6
- package/.mock/definition/empathic-voice/customVoices.yml +12 -3
- package/.mock/definition/empathic-voice/prompts.yml +18 -0
- package/.mock/definition/empathic-voice/tools.yml +18 -0
- package/.mock/definition/expression-measurement/batch/__package__.yml +12 -0
- package/.mock/definition/expression-measurement/stream/__package__.yml +19 -0
- package/.mock/fern.config.json +1 -1
- package/api/resources/empathicVoice/resources/chat/client/Client.d.ts +2 -0
- package/api/resources/empathicVoice/resources/chat/client/Client.js +3 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- 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/PostedCustomVoiceParameters.d.ts +10 -16
- package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
- package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
- package/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
- package/api/resources/empathicVoice/types/index.d.ts +1 -0
- package/api/resources/empathicVoice/types/index.js +1 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.d.ts +2 -0
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +3 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- 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/PostedCustomVoiceParameters.d.ts +10 -16
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +10 -16
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/SessionSettingsVariablesValue.js +5 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/index.js +1 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -1
- package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -1
- package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.js +35 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -8,7 +8,6 @@ export declare const PostedCustomVoiceParameters: core.serialization.ObjectSchem
|
|
|
8
8
|
export declare namespace PostedCustomVoiceParameters {
|
|
9
9
|
interface Raw {
|
|
10
10
|
gender?: number | null;
|
|
11
|
-
articulation?: number | null;
|
|
12
11
|
assertiveness?: number | null;
|
|
13
12
|
buoyancy?: number | null;
|
|
14
13
|
confidence?: number | null;
|
|
@@ -30,7 +30,6 @@ exports.PostedCustomVoiceParameters = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.PostedCustomVoiceParameters = core.serialization.object({
|
|
32
32
|
gender: core.serialization.number().optional(),
|
|
33
|
-
articulation: core.serialization.number().optional(),
|
|
34
33
|
assertiveness: core.serialization.number().optional(),
|
|
35
34
|
buoyancy: core.serialization.number().optional(),
|
|
36
35
|
confidence: core.serialization.number().optional(),
|
|
@@ -8,7 +8,6 @@ export declare const ReturnCustomVoiceParameters: core.serialization.ObjectSchem
|
|
|
8
8
|
export declare namespace ReturnCustomVoiceParameters {
|
|
9
9
|
interface Raw {
|
|
10
10
|
gender?: number | null;
|
|
11
|
-
articulation?: number | null;
|
|
12
11
|
assertiveness?: number | null;
|
|
13
12
|
buoyancy?: number | null;
|
|
14
13
|
confidence?: number | null;
|
|
@@ -30,7 +30,6 @@ exports.ReturnCustomVoiceParameters = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.ReturnCustomVoiceParameters = core.serialization.object({
|
|
32
32
|
gender: core.serialization.number().optional(),
|
|
33
|
-
articulation: core.serialization.number().optional(),
|
|
34
33
|
assertiveness: core.serialization.number().optional(),
|
|
35
34
|
buoyancy: core.serialization.number().optional(),
|
|
36
35
|
confidence: core.serialization.number().optional(),
|
|
@@ -8,6 +8,7 @@ import { Context } from "./Context";
|
|
|
8
8
|
import { AudioConfiguration } from "./AudioConfiguration";
|
|
9
9
|
import { Tool } from "./Tool";
|
|
10
10
|
import { BuiltinToolConfig } from "./BuiltinToolConfig";
|
|
11
|
+
import { SessionSettingsVariablesValue } from "./SessionSettingsVariablesValue";
|
|
11
12
|
export declare const SessionSettings: core.serialization.ObjectSchema<serializers.empathicVoice.SessionSettings.Raw, Hume.empathicVoice.SessionSettings>;
|
|
12
13
|
export declare namespace SessionSettings {
|
|
13
14
|
interface Raw {
|
|
@@ -20,6 +21,6 @@ export declare namespace SessionSettings {
|
|
|
20
21
|
tools?: Tool.Raw[] | null;
|
|
21
22
|
builtin_tools?: BuiltinToolConfig.Raw[] | null;
|
|
22
23
|
metadata?: Record<string, unknown> | null;
|
|
23
|
-
variables?: Record<string,
|
|
24
|
+
variables?: Record<string, SessionSettingsVariablesValue.Raw> | null;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
@@ -32,6 +32,7 @@ const Context_1 = require("./Context");
|
|
|
32
32
|
const AudioConfiguration_1 = require("./AudioConfiguration");
|
|
33
33
|
const Tool_1 = require("./Tool");
|
|
34
34
|
const BuiltinToolConfig_1 = require("./BuiltinToolConfig");
|
|
35
|
+
const SessionSettingsVariablesValue_1 = require("./SessionSettingsVariablesValue");
|
|
35
36
|
exports.SessionSettings = core.serialization.object({
|
|
36
37
|
type: core.serialization.stringLiteral("session_settings"),
|
|
37
38
|
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
@@ -42,5 +43,5 @@ exports.SessionSettings = core.serialization.object({
|
|
|
42
43
|
tools: core.serialization.list(Tool_1.Tool).optional(),
|
|
43
44
|
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(BuiltinToolConfig_1.BuiltinToolConfig).optional()),
|
|
44
45
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
45
|
-
variables: core.serialization.record(core.serialization.string(),
|
|
46
|
+
variables: core.serialization.record(core.serialization.string(), SessionSettingsVariablesValue_1.SessionSettingsVariablesValue).optional(),
|
|
46
47
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SessionSettingsVariablesValue: core.serialization.Schema<serializers.empathicVoice.SessionSettingsVariablesValue.Raw, Hume.empathicVoice.SessionSettingsVariablesValue>;
|
|
8
|
+
export declare namespace SessionSettingsVariablesValue {
|
|
9
|
+
type Raw = string | number | boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SessionSettingsVariablesValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.SessionSettingsVariablesValue = core.serialization.undiscriminatedUnion([
|
|
32
|
+
core.serialization.string(),
|
|
33
|
+
core.serialization.number(),
|
|
34
|
+
core.serialization.boolean(),
|
|
35
|
+
]);
|
|
@@ -79,6 +79,7 @@ export * from "./Encoding";
|
|
|
79
79
|
export * from "./ErrorLevel";
|
|
80
80
|
export * from "./PauseAssistantMessage";
|
|
81
81
|
export * from "./ResumeAssistantMessage";
|
|
82
|
+
export * from "./SessionSettingsVariablesValue";
|
|
82
83
|
export * from "./SessionSettings";
|
|
83
84
|
export * from "./Tool";
|
|
84
85
|
export * from "./ToolErrorMessage";
|
|
@@ -95,6 +95,7 @@ __exportStar(require("./Encoding"), exports);
|
|
|
95
95
|
__exportStar(require("./ErrorLevel"), exports);
|
|
96
96
|
__exportStar(require("./PauseAssistantMessage"), exports);
|
|
97
97
|
__exportStar(require("./ResumeAssistantMessage"), exports);
|
|
98
|
+
__exportStar(require("./SessionSettingsVariablesValue"), exports);
|
|
98
99
|
__exportStar(require("./SessionSettings"), exports);
|
|
99
100
|
__exportStar(require("./Tool"), exports);
|
|
100
101
|
__exportStar(require("./ToolErrorMessage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.7";
|
package/version.js
CHANGED