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.
Files changed (57) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +0 -14
  2. package/.mock/definition/empathic-voice/chatGroups.yml +5 -0
  3. package/.mock/definition/empathic-voice/configs.yml +3 -0
  4. package/.mock/definition/empathic-voice/prompts.yml +3 -0
  5. package/.mock/definition/empathic-voice/tools.yml +3 -0
  6. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -1
  7. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  8. package/api/resources/empathicVoice/resources/configs/client/Client.js +4 -1
  9. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +4 -0
  10. package/api/resources/empathicVoice/resources/prompts/client/Client.js +4 -1
  11. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +4 -0
  12. package/api/resources/empathicVoice/resources/tools/client/Client.js +4 -1
  13. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +4 -0
  14. package/api/resources/empathicVoice/types/index.d.ts +0 -2
  15. package/api/resources/empathicVoice/types/index.js +0 -2
  16. package/api/resources/index.d.ts +1 -1
  17. package/api/resources/index.js +2 -2
  18. package/core/websocket/ws.js +9 -3
  19. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -1
  20. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
  21. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +4 -1
  22. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +4 -0
  23. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +4 -1
  24. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +4 -0
  25. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +4 -1
  26. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +4 -0
  27. package/dist/api/resources/empathicVoice/types/index.d.ts +0 -2
  28. package/dist/api/resources/empathicVoice/types/index.js +0 -2
  29. package/dist/api/resources/index.d.ts +1 -1
  30. package/dist/api/resources/index.js +2 -2
  31. package/dist/core/websocket/ws.js +9 -3
  32. package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -2
  33. package/dist/serialization/resources/empathicVoice/types/index.js +0 -2
  34. package/dist/serialization/resources/index.d.ts +1 -1
  35. package/dist/serialization/resources/index.js +2 -2
  36. package/package.json +1 -1
  37. package/reference.md +444 -444
  38. package/serialization/resources/empathicVoice/types/index.d.ts +0 -2
  39. package/serialization/resources/empathicVoice/types/index.js +0 -2
  40. package/serialization/resources/index.d.ts +1 -1
  41. package/serialization/resources/index.js +2 -2
  42. package/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -8
  43. package/api/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -5
  44. package/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -12
  45. package/api/resources/empathicVoice/types/ReturnPurgeStats.js +0 -5
  46. package/dist/api/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -8
  47. package/dist/api/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -5
  48. package/dist/api/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -12
  49. package/dist/api/resources/empathicVoice/types/ReturnPurgeStats.js +0 -5
  50. package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -14
  51. package/dist/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -35
  52. package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -18
  53. package/dist/serialization/resources/empathicVoice/types/ReturnPurgeStats.js +0 -39
  54. package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.d.ts +0 -14
  55. package/serialization/resources/empathicVoice/types/ReturnPrivacySettings.js +0 -35
  56. package/serialization/resources/empathicVoice/types/ReturnPurgeStats.d.ts +0 -18
  57. 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);
@@ -1,2 +1,2 @@
1
- export * as expressionMeasurement from "./expressionMeasurement";
2
1
  export * as empathicVoice from "./empathicVoice";
2
+ export * as expressionMeasurement from "./expressionMeasurement";
@@ -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.empathicVoice = exports.expressionMeasurement = void 0;
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,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ReturnPrivacySettings {
5
- id?: string;
6
- doNotRetainData?: boolean;
7
- doNotUseForTraining?: boolean;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ReturnPrivacySettings {
5
- id?: string;
6
- doNotRetainData?: boolean;
7
- doNotUseForTraining?: boolean;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- });