hume 0.10.4-beta.5 → 0.11.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 +15 -36
- package/.mock/definition/empathic-voice/chat.yml +18 -3
- package/.mock/definition/empathic-voice/chatGroups.yml +14 -10
- package/.mock/definition/empathic-voice/chatWebhooks.yml +2 -0
- package/.mock/definition/empathic-voice/chats.yml +2 -0
- package/.mock/definition/empathic-voice/configs.yml +2 -0
- package/.mock/definition/empathic-voice/customVoices.yml +1 -0
- package/.mock/definition/empathic-voice/prompts.yml +2 -0
- package/.mock/definition/empathic-voice/tools.yml +2 -0
- package/.mock/definition/expression-measurement/batch/__package__.yml +10 -10
- package/.mock/definition/expression-measurement/stream/stream.yml +1 -1
- package/.mock/definition/tts/__package__.yml +70 -55
- package/.mock/definition/tts/voices.yml +20 -9
- package/.mock/fern.config.json +1 -1
- package/api/resources/empathicVoice/resources/chat/client/Client.js +4 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +6 -6
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +5 -5
- package/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +7 -7
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/api/resources/empathicVoice/resources/tools/client/Client.js +11 -11
- package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -3
- package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/UserMessage.d.ts +3 -3
- package/api/resources/empathicVoice/types/index.d.ts +0 -4
- package/api/resources/empathicVoice/types/index.js +0 -4
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/tts/client/Client.d.ts +6 -6
- package/api/resources/tts/client/Client.js +10 -10
- package/api/resources/tts/resources/voices/client/Client.d.ts +5 -3
- package/api/resources/tts/resources/voices/client/Client.js +9 -7
- package/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +4 -1
- package/api/resources/tts/types/PostedTts.d.ts +6 -6
- package/api/resources/tts/types/PostedUtterance.d.ts +5 -5
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +6 -7
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +6 -7
- package/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
- package/api/resources/tts/types/ReturnTts.d.ts +1 -1
- package/api/resources/tts/types/ReturnVoice.d.ts +2 -8
- package/core/websocket/ws.js +2 -4
- package/dist/api/resources/empathicVoice/resources/chat/client/Client.js +4 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +5 -5
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +7 -7
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +11 -11
- package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/index.d.ts +0 -4
- package/dist/api/resources/empathicVoice/types/index.js +0 -4
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/tts/client/Client.d.ts +6 -6
- package/dist/api/resources/tts/client/Client.js +10 -10
- package/dist/api/resources/tts/resources/voices/client/Client.d.ts +5 -3
- package/dist/api/resources/tts/resources/voices/client/Client.js +9 -7
- package/dist/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +4 -1
- package/dist/api/resources/tts/types/PostedTts.d.ts +6 -6
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +5 -5
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +6 -7
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +6 -7
- package/dist/api/resources/tts/types/ReturnGeneration.d.ts +1 -1
- package/dist/api/resources/tts/types/ReturnTts.d.ts +1 -1
- package/dist/api/resources/tts/types/ReturnVoice.d.ts +2 -8
- package/dist/core/websocket/ws.js +2 -4
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -4
- package/dist/serialization/resources/empathicVoice/types/index.js +0 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/EVIWebAudioPlayer.d.ts +174 -0
- package/dist/wrapper/EVIWebAudioPlayer.js +314 -0
- package/dist/wrapper/fetchAccessToken.d.ts +1 -3
- package/dist/wrapper/fetchAccessToken.js +8 -28
- package/dist/wrapper/index.d.ts +1 -0
- package/dist/wrapper/index.js +3 -1
- package/package.json +1 -1
- package/reference.md +11 -9
- package/serialization/resources/empathicVoice/types/index.d.ts +0 -4
- package/serialization/resources/empathicVoice/types/index.js +0 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/EVIWebAudioPlayer.d.ts +174 -0
- package/wrapper/EVIWebAudioPlayer.js +314 -0
- package/wrapper/fetchAccessToken.d.ts +1 -3
- package/wrapper/fetchAccessToken.js +8 -28
- package/wrapper/index.d.ts +1 -0
- package/wrapper/index.js +3 -1
- package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -5
- package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -9
- package/api/resources/empathicVoice/types/PostedPromptSpec.js +0 -5
- package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TextInput.js +0 -5
- package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TtsInput.js +0 -5
- package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -5
- package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -9
- package/dist/api/resources/empathicVoice/types/PostedPromptSpec.js +0 -5
- package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TextInput.js +0 -5
- package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TtsInput.js +0 -5
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -43
- package/dist/serialization/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/PostedPromptSpec.js +0 -43
- package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/TextInput.js +0 -43
- package/dist/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/TtsInput.js +0 -43
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.js +0 -43
- package/serialization/resources/empathicVoice/types/PostedPromptSpec.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/PostedPromptSpec.js +0 -43
- package/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TextInput.js +0 -43
- package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TtsInput.js +0 -43
|
@@ -1,43 +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 () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.TtsInput = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.TtsInput = core.serialization.object({
|
|
42
|
-
type: core.serialization.stringLiteral("tts").optional(),
|
|
43
|
-
});
|