hume 0.8.1-beta9 → 0.8.1
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 +0 -14
- package/.mock/definition/empathic-voice/chatGroups.yml +5 -0
- package/.mock/definition/empathic-voice/configs.yml +3 -0
- package/.mock/definition/empathic-voice/prompts.yml +3 -0
- package/.mock/definition/empathic-voice/tools.yml +3 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/configs/client/Client.js +4 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +4 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/tools/client/Client.js +4 -1
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/types/index.d.ts +0 -2
- package/api/resources/empathicVoice/types/index.js +0 -2
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/core/websocket/ws.js +9 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +4 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +4 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +4 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +0 -2
- package/dist/api/resources/empathicVoice/types/index.js +0 -2
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/core/websocket/ws.js +9 -3
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -2
- package/dist/serialization/resources/empathicVoice/types/index.js +0 -2
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/package.json +1 -1
- package/reference.md +444 -444
- package/serialization/resources/empathicVoice/types/index.d.ts +0 -2
- package/serialization/resources/empathicVoice/types/index.js +0 -2
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -8
- package/api/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -5
- package/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -12
- package/api/resources/empathicVoice/types/ReturnPurgeStats.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -8
- package/dist/api/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -12
- package/dist/api/resources/empathicVoice/types/ReturnPurgeStats.js +0 -5
- package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -14
- package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -35
- package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -18
- package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.js +0 -39
- package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -14
- package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -35
- package/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -18
- package/serialization/resources/empathicVoice/types/ReturnPurgeStats.js +0 -39
|
@@ -25,7 +25,6 @@ export * from "./ReturnLanguageModel";
|
|
|
25
25
|
export * from "./ReturnTimeoutSpec";
|
|
26
26
|
export * from "./ReturnTimeoutSpecs";
|
|
27
27
|
export * from "./ReturnVoice";
|
|
28
|
-
export * from "./ReturnPrivacySettings";
|
|
29
28
|
export * from "./PostedCustomVoiceName";
|
|
30
29
|
export * from "./ReturnPagedUserDefinedTools";
|
|
31
30
|
export * from "./ReturnPagedPrompts";
|
|
@@ -42,7 +41,6 @@ export * from "./ReturnChatGroup";
|
|
|
42
41
|
export * from "./ReturnPagedChatGroups";
|
|
43
42
|
export * from "./ReturnChatGroupPagedChats";
|
|
44
43
|
export * from "./ReturnChatGroupPagedEvents";
|
|
45
|
-
export * from "./ReturnPurgeStats";
|
|
46
44
|
export * from "./AssistantInput";
|
|
47
45
|
export * from "./AudioConfiguration";
|
|
48
46
|
export * from "./AudioInput";
|
|
@@ -41,7 +41,6 @@ __exportStar(require("./ReturnLanguageModel"), exports);
|
|
|
41
41
|
__exportStar(require("./ReturnTimeoutSpec"), exports);
|
|
42
42
|
__exportStar(require("./ReturnTimeoutSpecs"), exports);
|
|
43
43
|
__exportStar(require("./ReturnVoice"), exports);
|
|
44
|
-
__exportStar(require("./ReturnPrivacySettings"), exports);
|
|
45
44
|
__exportStar(require("./PostedCustomVoiceName"), exports);
|
|
46
45
|
__exportStar(require("./ReturnPagedUserDefinedTools"), exports);
|
|
47
46
|
__exportStar(require("./ReturnPagedPrompts"), exports);
|
|
@@ -58,7 +57,6 @@ __exportStar(require("./ReturnChatGroup"), exports);
|
|
|
58
57
|
__exportStar(require("./ReturnPagedChatGroups"), exports);
|
|
59
58
|
__exportStar(require("./ReturnChatGroupPagedChats"), exports);
|
|
60
59
|
__exportStar(require("./ReturnChatGroupPagedEvents"), exports);
|
|
61
|
-
__exportStar(require("./ReturnPurgeStats"), exports);
|
|
62
60
|
__exportStar(require("./AssistantInput"), exports);
|
|
63
61
|
__exportStar(require("./AudioConfiguration"), exports);
|
|
64
62
|
__exportStar(require("./AudioInput"), exports);
|
|
@@ -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.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
26
|
+
exports.expressionMeasurement = exports.empathicVoice = void 0;
|
|
28
27
|
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
28
|
+
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ReturnPurgeStats {
|
|
5
|
-
id?: string;
|
|
6
|
-
numChats?: number;
|
|
7
|
-
numChatEvents?: number;
|
|
8
|
-
numConfigs?: number;
|
|
9
|
-
numPrompts?: number;
|
|
10
|
-
numTools?: number;
|
|
11
|
-
numVoices?: number;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ReturnPurgeStats {
|
|
5
|
-
id?: string;
|
|
6
|
-
numChats?: number;
|
|
7
|
-
numChatEvents?: number;
|
|
8
|
-
numConfigs?: number;
|
|
9
|
-
numPrompts?: number;
|
|
10
|
-
numTools?: number;
|
|
11
|
-
numVoices?: number;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 ReturnPrivacySettings: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPrivacySettings.Raw, Hume.empathicVoice.ReturnPrivacySettings>;
|
|
8
|
-
export declare namespace ReturnPrivacySettings {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
do_not_retain_data?: boolean | null;
|
|
12
|
-
do_not_use_for_training?: boolean | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ReturnPrivacySettings = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.ReturnPrivacySettings = core.serialization.object({
|
|
32
|
-
id: core.serialization.string().optional(),
|
|
33
|
-
doNotRetainData: core.serialization.property("do_not_retain_data", core.serialization.boolean().optional()),
|
|
34
|
-
doNotUseForTraining: core.serialization.property("do_not_use_for_training", core.serialization.boolean().optional()),
|
|
35
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
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 ReturnPurgeStats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPurgeStats.Raw, Hume.empathicVoice.ReturnPurgeStats>;
|
|
8
|
-
export declare namespace ReturnPurgeStats {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
num_chats?: number | null;
|
|
12
|
-
num_chat_events?: number | null;
|
|
13
|
-
num_configs?: number | null;
|
|
14
|
-
num_prompts?: number | null;
|
|
15
|
-
num_tools?: number | null;
|
|
16
|
-
num_voices?: number | null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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.ReturnPurgeStats = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.ReturnPurgeStats = core.serialization.object({
|
|
32
|
-
id: core.serialization.string().optional(),
|
|
33
|
-
numChats: core.serialization.property("num_chats", core.serialization.number().optional()),
|
|
34
|
-
numChatEvents: core.serialization.property("num_chat_events", core.serialization.number().optional()),
|
|
35
|
-
numConfigs: core.serialization.property("num_configs", core.serialization.number().optional()),
|
|
36
|
-
numPrompts: core.serialization.property("num_prompts", core.serialization.number().optional()),
|
|
37
|
-
numTools: core.serialization.property("num_tools", core.serialization.number().optional()),
|
|
38
|
-
numVoices: core.serialization.property("num_voices", core.serialization.number().optional()),
|
|
39
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 ReturnPrivacySettings: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPrivacySettings.Raw, Hume.empathicVoice.ReturnPrivacySettings>;
|
|
8
|
-
export declare namespace ReturnPrivacySettings {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
do_not_retain_data?: boolean | null;
|
|
12
|
-
do_not_use_for_training?: boolean | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ReturnPrivacySettings = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.ReturnPrivacySettings = core.serialization.object({
|
|
32
|
-
id: core.serialization.string().optional(),
|
|
33
|
-
doNotRetainData: core.serialization.property("do_not_retain_data", core.serialization.boolean().optional()),
|
|
34
|
-
doNotUseForTraining: core.serialization.property("do_not_use_for_training", core.serialization.boolean().optional()),
|
|
35
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
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 ReturnPurgeStats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPurgeStats.Raw, Hume.empathicVoice.ReturnPurgeStats>;
|
|
8
|
-
export declare namespace ReturnPurgeStats {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
num_chats?: number | null;
|
|
12
|
-
num_chat_events?: number | null;
|
|
13
|
-
num_configs?: number | null;
|
|
14
|
-
num_prompts?: number | null;
|
|
15
|
-
num_tools?: number | null;
|
|
16
|
-
num_voices?: number | null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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.ReturnPurgeStats = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.ReturnPurgeStats = core.serialization.object({
|
|
32
|
-
id: core.serialization.string().optional(),
|
|
33
|
-
numChats: core.serialization.property("num_chats", core.serialization.number().optional()),
|
|
34
|
-
numChatEvents: core.serialization.property("num_chat_events", core.serialization.number().optional()),
|
|
35
|
-
numConfigs: core.serialization.property("num_configs", core.serialization.number().optional()),
|
|
36
|
-
numPrompts: core.serialization.property("num_prompts", core.serialization.number().optional()),
|
|
37
|
-
numTools: core.serialization.property("num_tools", core.serialization.number().optional()),
|
|
38
|
-
numVoices: core.serialization.property("num_voices", core.serialization.number().optional()),
|
|
39
|
-
});
|