hume 0.9.2 → 0.9.4
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/api.yml +6 -6
- package/.mock/definition/empathic-voice/__package__.yml +3083 -2703
- package/.mock/definition/empathic-voice/chat.yml +143 -143
- package/.mock/definition/empathic-voice/chatGroups.yml +581 -508
- package/.mock/definition/empathic-voice/chats.yml +480 -449
- package/.mock/definition/empathic-voice/configs.yml +913 -871
- package/.mock/definition/empathic-voice/customVoices.yml +255 -234
- package/.mock/definition/empathic-voice/prompts.yml +523 -526
- package/.mock/definition/empathic-voice/tools.yml +588 -588
- package/.mock/definition/expression-measurement/batch/__package__.yml +1758 -1758
- package/.mock/definition/expression-measurement/stream/__package__.yml +486 -485
- package/.mock/fern.config.json +3 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
- package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
- package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
- package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
- package/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
- package/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/api/resources/empathicVoice/types/index.d.ts +8 -2
- package/api/resources/empathicVoice/types/index.js +8 -2
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +17 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +83 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +29 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +12 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +65 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +2 -7
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +8 -13
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +3 -2
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +2 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +51 -9
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +3 -2
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +2 -1
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +51 -9
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.d.ts +2 -1
- package/dist/api/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/index.js +8 -2
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{ExtendedVoiceArgs.js → PostedVoiceProvider.js} +2 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/ExtendedVoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js} +2 -7
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/VoiceArgs.js → dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js} +2 -11
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/{VoiceArgs.js → ReturnVoiceProvider.js} +2 -11
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/types/index.js +8 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +144 -144
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +9 -2
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +9 -2
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +9 -2
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +9 -2
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/VoiceNameEnum.js +1 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +8 -2
- package/serialization/resources/empathicVoice/types/index.js +8 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
- package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
- package/dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -9
- package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -13
- package/dist/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
- package/serialization/resources/empathicVoice/types/ExtendedVoiceArgs.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -19
- /package/api/resources/empathicVoice/{types/ExtendedVoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
- /package/api/resources/empathicVoice/types/{VoiceArgs.js → ReturnChatAudioReconstruction.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/ExtendedVoiceArgs.js → api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js} +0 -0
- /package/dist/api/resources/empathicVoice/{types/VoiceArgs.js → resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.js} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Hume from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A paginated list of chat reconstructions for a particular chatgroup
|
|
7
|
+
*/
|
|
8
|
+
export interface ReturnChatGroupPagedAudioReconstructions {
|
|
9
|
+
/** Identifier for the chat group. Formatted as a UUID. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Identifier for the user that owns this chat. Formatted as a UUID. */
|
|
12
|
+
userId: string;
|
|
13
|
+
/** Total number of chats in this chatgroup */
|
|
14
|
+
numChats: number;
|
|
15
|
+
/**
|
|
16
|
+
* The page number of the returned list.
|
|
17
|
+
*
|
|
18
|
+
* This value corresponds to the `page_number` parameter specified in the request. Pagination uses zero-based indexing.
|
|
19
|
+
*/
|
|
20
|
+
pageNumber: number;
|
|
21
|
+
/**
|
|
22
|
+
* The maximum number of items returned per page.
|
|
23
|
+
*
|
|
24
|
+
* This value corresponds to the `page_size` parameter specified in the request.
|
|
25
|
+
*/
|
|
26
|
+
pageSize: number;
|
|
27
|
+
/** The total number of pages in the collection. */
|
|
28
|
+
totalPages: number;
|
|
29
|
+
/**
|
|
30
|
+
* Indicates the order in which the paginated results are presented, based on their creation date.
|
|
31
|
+
*
|
|
32
|
+
* It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request.
|
|
33
|
+
*/
|
|
34
|
+
paginationDirection: Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection;
|
|
35
|
+
/** List of chat audio reconstructions returned for the specified page number and page size. */
|
|
36
|
+
audioReconstructionsPage: Hume.empathicVoice.ReturnChatAudioReconstruction[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Indicates the order in which the paginated results are presented, based on their creation date.
|
|
6
|
+
*
|
|
7
|
+
* It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request.
|
|
8
|
+
*/
|
|
9
|
+
export declare type ReturnChatGroupPagedAudioReconstructionsPaginationDirection = "ASC" | "DESC";
|
|
10
|
+
export declare const ReturnChatGroupPagedAudioReconstructionsPaginationDirection: {
|
|
11
|
+
readonly Asc: "ASC";
|
|
12
|
+
readonly Desc: "DESC";
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = void 0;
|
|
7
|
+
exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = {
|
|
8
|
+
Asc: "ASC",
|
|
9
|
+
Desc: "DESC",
|
|
10
|
+
};
|
|
@@ -24,8 +24,8 @@ export interface ReturnCustomVoice {
|
|
|
24
24
|
modifiedOn: number;
|
|
25
25
|
/** The base voice used to create the Custom Voice. */
|
|
26
26
|
baseVoice: Hume.empathicVoice.ReturnCustomVoiceBaseVoice;
|
|
27
|
-
/** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `
|
|
28
|
-
parameterModel: "
|
|
27
|
+
/** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `20241004-11parameter` is supported as the parameter model. */
|
|
28
|
+
parameterModel: "20241004-11parameter";
|
|
29
29
|
/** The specified attributes of a Custom Voice. If a parameter's value is `0` (default), it will not be included in the response. */
|
|
30
30
|
parameters: Hume.empathicVoice.ReturnCustomVoiceParameters;
|
|
31
31
|
}
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The base voice used to create the Custom Voice.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ReturnCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "
|
|
7
|
+
export declare type ReturnCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
|
|
8
8
|
export declare const ReturnCustomVoiceBaseVoice: {
|
|
9
9
|
readonly Ito: "ITO";
|
|
10
10
|
readonly Kora: "KORA";
|
|
11
11
|
readonly Dacher: "DACHER";
|
|
12
12
|
readonly Aura: "AURA";
|
|
13
13
|
readonly Finn: "FINN";
|
|
14
|
-
readonly Stella: "STELLA";
|
|
15
14
|
readonly Whimsy: "WHIMSY";
|
|
15
|
+
readonly Stella: "STELLA";
|
|
16
|
+
readonly Sunny: "SUNNY";
|
|
16
17
|
};
|
|
@@ -6,27 +6,69 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export interface ReturnCustomVoiceParameters {
|
|
8
8
|
/**
|
|
9
|
-
* The vocalization of gender, ranging between masculine and feminine.
|
|
9
|
+
* The vocalization of gender, ranging between more masculine and more feminine.
|
|
10
10
|
*
|
|
11
11
|
* The default value is `0`, with a minimum of `-100` (more masculine) and a maximum of `100` (more feminine). A value of `0` leaves this parameter unchanged from the base voice.
|
|
12
12
|
*/
|
|
13
13
|
gender?: number;
|
|
14
14
|
/**
|
|
15
|
-
* The
|
|
15
|
+
* The clarity of the voice, ranging between mumbled and articulate.
|
|
16
16
|
*
|
|
17
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
17
|
+
* The default value is `0`, with a minimum of `-100` (mumbled) and a maximum of `100` (articulate). A value of `0` leaves this parameter unchanged from the base voice.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
articulation?: number;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The firmness of the voice, ranging between whiny and bold.
|
|
22
22
|
*
|
|
23
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
23
|
+
* The default value is `0`, with a minimum of `-100` (whiny) and a maximum of `100` (bold). A value of `0` leaves this parameter unchanged from the base voice.
|
|
24
|
+
*/
|
|
25
|
+
assertiveness?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The density of the voice, ranging between deflated and buoyant.
|
|
28
|
+
*
|
|
29
|
+
* The default value is `0`, with a minimum of `-100` (deflated) and a maximum of `100` (buoyant). A value of `0` leaves this parameter unchanged from the base voice.
|
|
30
|
+
*/
|
|
31
|
+
buoyancy?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The assuredness of the voice, ranging between shy and confident.
|
|
34
|
+
*
|
|
35
|
+
* The default value is `0`, with a minimum of `-100` (shy) and a maximum of `100` (confident). A value of `0` leaves this parameter unchanged from the base voice.
|
|
36
|
+
*/
|
|
37
|
+
confidence?: number;
|
|
38
|
+
/**
|
|
39
|
+
* The excitement within the voice, ranging between calm and enthusiastic.
|
|
40
|
+
*
|
|
41
|
+
* The default value is `0`, with a minimum of `-100` (calm) and a maximum of `100` (enthusiastic). A value of `0` leaves this parameter unchanged from the base voice.
|
|
42
|
+
*/
|
|
43
|
+
enthusiasm?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The openness of the voice, ranging between clear and nasal.
|
|
46
|
+
*
|
|
47
|
+
* The default value is `0`, with a minimum of `-100` (clear) and a maximum of `100` (nasal). A value of `0` leaves this parameter unchanged from the base voice.
|
|
24
48
|
*/
|
|
25
49
|
nasality?: number;
|
|
26
50
|
/**
|
|
27
|
-
* The
|
|
51
|
+
* The stress within the voice, ranging between tense and relaxed.
|
|
52
|
+
*
|
|
53
|
+
* The default value is `0`, with a minimum of `-100` (tense) and a maximum of `100` (relaxed). A value of `0` leaves this parameter unchanged from the base voice.
|
|
54
|
+
*/
|
|
55
|
+
relaxedness?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The texture of the voice, ranging between smooth and staccato.
|
|
58
|
+
*
|
|
59
|
+
* The default value is `0`, with a minimum of `-100` (smooth) and a maximum of `100` (staccato). A value of `0` leaves this parameter unchanged from the base voice.
|
|
60
|
+
*/
|
|
61
|
+
smoothness?: number;
|
|
62
|
+
/**
|
|
63
|
+
* The liveliness behind the voice, ranging between tepid and vigorous.
|
|
64
|
+
*
|
|
65
|
+
* The default value is `0`, with a minimum of `-100` (tepid) and a maximum of `100` (vigorous). A value of `0` leaves this parameter unchanged from the base voice.
|
|
66
|
+
*/
|
|
67
|
+
tepidity?: number;
|
|
68
|
+
/**
|
|
69
|
+
* The containment of the voice, ranging between tight and breathy.
|
|
28
70
|
*
|
|
29
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
71
|
+
* The default value is `0`, with a minimum of `-100` (tight) and a maximum of `100` (breathy). A value of `0` leaves this parameter unchanged from the base voice.
|
|
30
72
|
*/
|
|
31
|
-
|
|
73
|
+
tightness?: number;
|
|
32
74
|
}
|
|
@@ -9,7 +9,7 @@ export interface ReturnLanguageModel {
|
|
|
9
9
|
/** The provider of the supplemental language model. */
|
|
10
10
|
modelProvider?: Hume.empathicVoice.ReturnLanguageModelModelProvider;
|
|
11
11
|
/** String that specifies the language model to use with `model_provider`. */
|
|
12
|
-
modelResource?:
|
|
12
|
+
modelResource?: Hume.empathicVoice.ReturnLanguageModelModelResource;
|
|
13
13
|
/**
|
|
14
14
|
* The model temperature, with values between 0 to 1 (inclusive).
|
|
15
15
|
*
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* String that specifies the language model to use with `model_provider`.
|
|
6
|
+
*/
|
|
7
|
+
export declare type ReturnLanguageModelModelResource = "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-2.1" | "claude-instant-1.2" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "gpt-4-turbo-preview" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo" | "gpt-4o" | "gpt-4o-mini" | "gemma-7b-it" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-70b-versatile" | "llama-3.1-8b-instant" | "accounts/fireworks/models/mixtral-8x7b-instruct" | "accounts/fireworks/models/llama-v3p1-405b-instruct" | "accounts/fireworks/models/llama-v3p1-70b-instruct" | "accounts/fireworks/models/llama-v3p1-8b-instruct" | "ellm";
|
|
8
|
+
export declare const ReturnLanguageModelModelResource: {
|
|
9
|
+
readonly Claude35SonnetLatest: "claude-3-5-sonnet-latest";
|
|
10
|
+
readonly Claude35Sonnet20240620: "claude-3-5-sonnet-20240620";
|
|
11
|
+
readonly Claude3Opus20240229: "claude-3-opus-20240229";
|
|
12
|
+
readonly Claude3Sonnet20240229: "claude-3-sonnet-20240229";
|
|
13
|
+
readonly Claude3Haiku20240307: "claude-3-haiku-20240307";
|
|
14
|
+
readonly Claude21: "claude-2.1";
|
|
15
|
+
readonly ClaudeInstant12: "claude-instant-1.2";
|
|
16
|
+
readonly Gemini15Pro: "gemini-1.5-pro";
|
|
17
|
+
readonly Gemini15Flash: "gemini-1.5-flash";
|
|
18
|
+
readonly Gemini15Pro002: "gemini-1.5-pro-002";
|
|
19
|
+
readonly Gemini15Flash002: "gemini-1.5-flash-002";
|
|
20
|
+
readonly Gpt4TurboPreview: "gpt-4-turbo-preview";
|
|
21
|
+
readonly Gpt35Turbo0125: "gpt-3.5-turbo-0125";
|
|
22
|
+
readonly Gpt35Turbo: "gpt-3.5-turbo";
|
|
23
|
+
readonly Gpt4O: "gpt-4o";
|
|
24
|
+
readonly Gpt4OMini: "gpt-4o-mini";
|
|
25
|
+
readonly Gemma7BIt: "gemma-7b-it";
|
|
26
|
+
readonly Llama38B8192: "llama3-8b-8192";
|
|
27
|
+
readonly Llama370B8192: "llama3-70b-8192";
|
|
28
|
+
readonly Llama3170BVersatile: "llama-3.1-70b-versatile";
|
|
29
|
+
readonly Llama318BInstant: "llama-3.1-8b-instant";
|
|
30
|
+
readonly AccountsFireworksModelsMixtral8X7BInstruct: "accounts/fireworks/models/mixtral-8x7b-instruct";
|
|
31
|
+
readonly AccountsFireworksModelsLlamaV3P1405BInstruct: "accounts/fireworks/models/llama-v3p1-405b-instruct";
|
|
32
|
+
readonly AccountsFireworksModelsLlamaV3P170BInstruct: "accounts/fireworks/models/llama-v3p1-70b-instruct";
|
|
33
|
+
readonly AccountsFireworksModelsLlamaV3P18BInstruct: "accounts/fireworks/models/llama-v3p1-8b-instruct";
|
|
34
|
+
readonly Ellm: "ellm";
|
|
35
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReturnLanguageModelModelResource = void 0;
|
|
7
|
+
exports.ReturnLanguageModelModelResource = {
|
|
8
|
+
Claude35SonnetLatest: "claude-3-5-sonnet-latest",
|
|
9
|
+
Claude35Sonnet20240620: "claude-3-5-sonnet-20240620",
|
|
10
|
+
Claude3Opus20240229: "claude-3-opus-20240229",
|
|
11
|
+
Claude3Sonnet20240229: "claude-3-sonnet-20240229",
|
|
12
|
+
Claude3Haiku20240307: "claude-3-haiku-20240307",
|
|
13
|
+
Claude21: "claude-2.1",
|
|
14
|
+
ClaudeInstant12: "claude-instant-1.2",
|
|
15
|
+
Gemini15Pro: "gemini-1.5-pro",
|
|
16
|
+
Gemini15Flash: "gemini-1.5-flash",
|
|
17
|
+
Gemini15Pro002: "gemini-1.5-pro-002",
|
|
18
|
+
Gemini15Flash002: "gemini-1.5-flash-002",
|
|
19
|
+
Gpt4TurboPreview: "gpt-4-turbo-preview",
|
|
20
|
+
Gpt35Turbo0125: "gpt-3.5-turbo-0125",
|
|
21
|
+
Gpt35Turbo: "gpt-3.5-turbo",
|
|
22
|
+
Gpt4O: "gpt-4o",
|
|
23
|
+
Gpt4OMini: "gpt-4o-mini",
|
|
24
|
+
Gemma7BIt: "gemma-7b-it",
|
|
25
|
+
Llama38B8192: "llama3-8b-8192",
|
|
26
|
+
Llama370B8192: "llama3-70b-8192",
|
|
27
|
+
Llama3170BVersatile: "llama-3.1-70b-versatile",
|
|
28
|
+
Llama318BInstant: "llama-3.1-8b-instant",
|
|
29
|
+
AccountsFireworksModelsMixtral8X7BInstruct: "accounts/fireworks/models/mixtral-8x7b-instruct",
|
|
30
|
+
AccountsFireworksModelsLlamaV3P1405BInstruct: "accounts/fireworks/models/llama-v3p1-405b-instruct",
|
|
31
|
+
AccountsFireworksModelsLlamaV3P170BInstruct: "accounts/fireworks/models/llama-v3p1-70b-instruct",
|
|
32
|
+
AccountsFireworksModelsLlamaV3P18BInstruct: "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
33
|
+
Ellm: "ellm",
|
|
34
|
+
};
|
|
@@ -11,13 +11,13 @@ export interface ReturnTimeoutSpecs {
|
|
|
11
11
|
/**
|
|
12
12
|
* Specifies the duration of user inactivity (in seconds) after which the EVI WebSocket connection will be automatically disconnected. Default is 600 seconds (10 minutes).
|
|
13
13
|
*
|
|
14
|
-
* Accepts a minimum value of
|
|
14
|
+
* Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
|
|
15
15
|
*/
|
|
16
16
|
inactivity: Hume.empathicVoice.ReturnTimeoutSpec;
|
|
17
17
|
/**
|
|
18
18
|
* Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected. Default is 1,800 seconds (30 minutes).
|
|
19
19
|
*
|
|
20
|
-
* Accepts a minimum value of
|
|
20
|
+
* Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
|
|
21
21
|
*/
|
|
22
22
|
maxDuration: Hume.empathicVoice.ReturnTimeoutSpec;
|
|
23
23
|
}
|
|
@@ -6,12 +6,12 @@ import * as Hume from "../../../index";
|
|
|
6
6
|
* A specific voice specification
|
|
7
7
|
*/
|
|
8
8
|
export interface ReturnVoice {
|
|
9
|
-
/** The provider of the voice to use.
|
|
10
|
-
provider:
|
|
9
|
+
/** The provider of the voice to use. Supported values are `HUME_AI` and `CUSTOM_VOICE`. */
|
|
10
|
+
provider: Hume.empathicVoice.ReturnVoiceProvider;
|
|
11
11
|
/**
|
|
12
12
|
* The name of the specified voice.
|
|
13
13
|
*
|
|
14
|
-
* This will either be the name of a previously created Custom Voice or one of our
|
|
14
|
+
* This will either be the name of a previously created Custom Voice or one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`, `WHIMSY`, `STELLA`, or `SUNNY`.
|
|
15
15
|
*/
|
|
16
16
|
name?: string;
|
|
17
17
|
customVoice?: Hume.empathicVoice.ReturnCustomVoice;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The provider of the voice to use. Supported values are `HUME_AI` and `CUSTOM_VOICE`.
|
|
6
|
+
*/
|
|
7
|
+
export declare type ReturnVoiceProvider = "HUME_AI" | "CUSTOM_VOICE";
|
|
8
|
+
export declare const ReturnVoiceProvider: {
|
|
9
|
+
readonly HumeAi: "HUME_AI";
|
|
10
|
+
readonly CustomVoice: "CUSTOM_VOICE";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReturnVoiceProvider = void 0;
|
|
7
|
+
exports.ReturnVoiceProvider = {
|
|
8
|
+
HumeAi: "HUME_AI",
|
|
9
|
+
CustomVoice: "CUSTOM_VOICE",
|
|
10
|
+
};
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* User text to insert into the conversation.
|
|
5
|
+
* User text to insert into the conversation. Text sent through a User Input message is treated as the user’s speech to EVI. EVI processes this input and provides a corresponding response.
|
|
6
|
+
*
|
|
7
|
+
* Expression measurement results are not available for User Input messages, as the prosody model relies on audio input and cannot process text alone.
|
|
6
8
|
*/
|
|
7
9
|
export interface UserInput {
|
|
8
10
|
/** The type of message sent through the socket; must be `user_input` for our server to correctly identify and process it as a User Input message. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type VoiceNameEnum = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO";
|
|
4
|
+
export declare type VoiceNameEnum = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "SIENNA" | "WILLOW" | "SCOUT" | "WHIMSY" | "ACE" | "JUNO" | "STELLA" | "HIRO" | "SUNNY";
|
|
5
5
|
export declare const VoiceNameEnum: {
|
|
6
6
|
readonly Ito: "ITO";
|
|
7
7
|
readonly Kora: "KORA";
|
|
@@ -16,4 +16,5 @@ export declare const VoiceNameEnum: {
|
|
|
16
16
|
readonly Juno: "JUNO";
|
|
17
17
|
readonly Stella: "STELLA";
|
|
18
18
|
readonly Hiro: "HIRO";
|
|
19
|
+
readonly Sunny: "SUNNY";
|
|
19
20
|
};
|
|
@@ -17,12 +17,14 @@ export * from "./PostedEllmModel";
|
|
|
17
17
|
export * from "./PostedEventMessageSpec";
|
|
18
18
|
export * from "./PostedEventMessageSpecs";
|
|
19
19
|
export * from "./PostedLanguageModelModelProvider";
|
|
20
|
+
export * from "./PostedLanguageModelModelResource";
|
|
20
21
|
export * from "./PostedLanguageModel";
|
|
21
22
|
export * from "./PostedTimeoutSpec";
|
|
22
23
|
export * from "./PostedTimeoutSpecsInactivity";
|
|
23
24
|
export * from "./PostedTimeoutSpecsMaxDuration";
|
|
24
25
|
export * from "./PostedTimeoutSpecs";
|
|
25
26
|
export * from "./PostedUserDefinedToolSpec";
|
|
27
|
+
export * from "./PostedVoiceProvider";
|
|
26
28
|
export * from "./PostedVoice";
|
|
27
29
|
export * from "./ReturnBuiltinToolToolType";
|
|
28
30
|
export * from "./ReturnBuiltinTool";
|
|
@@ -31,9 +33,11 @@ export * from "./ReturnEllmModel";
|
|
|
31
33
|
export * from "./ReturnEventMessageSpec";
|
|
32
34
|
export * from "./ReturnEventMessageSpecs";
|
|
33
35
|
export * from "./ReturnLanguageModelModelProvider";
|
|
36
|
+
export * from "./ReturnLanguageModelModelResource";
|
|
34
37
|
export * from "./ReturnLanguageModel";
|
|
35
38
|
export * from "./ReturnTimeoutSpec";
|
|
36
39
|
export * from "./ReturnTimeoutSpecs";
|
|
40
|
+
export * from "./ReturnVoiceProvider";
|
|
37
41
|
export * from "./ReturnVoice";
|
|
38
42
|
export * from "./ReturnPagedUserDefinedTools";
|
|
39
43
|
export * from "./ReturnPagedPrompts";
|
|
@@ -50,6 +54,8 @@ export * from "./ReturnChatEvent";
|
|
|
50
54
|
export * from "./ReturnChatPagedEventsStatus";
|
|
51
55
|
export * from "./ReturnChatPagedEventsPaginationDirection";
|
|
52
56
|
export * from "./ReturnChatPagedEvents";
|
|
57
|
+
export * from "./ReturnChatAudioReconstructionStatus";
|
|
58
|
+
export * from "./ReturnChatAudioReconstruction";
|
|
53
59
|
export * from "./ReturnActiveChatCount";
|
|
54
60
|
export * from "./ReturnActiveChatCountPerTag";
|
|
55
61
|
export * from "./ReturnChatGroup";
|
|
@@ -59,6 +65,8 @@ export * from "./ReturnChatGroupPagedChatsPaginationDirection";
|
|
|
59
65
|
export * from "./ReturnChatGroupPagedChats";
|
|
60
66
|
export * from "./ReturnChatGroupPagedEventsPaginationDirection";
|
|
61
67
|
export * from "./ReturnChatGroupPagedEvents";
|
|
68
|
+
export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
|
|
69
|
+
export * from "./ReturnChatGroupPagedAudioReconstructions";
|
|
62
70
|
export * from "./PostedPromptSpec";
|
|
63
71
|
export * from "./AssistantInput";
|
|
64
72
|
export * from "./AudioConfiguration";
|
|
@@ -96,9 +104,7 @@ export * from "./JsonMessage";
|
|
|
96
104
|
export * from "./TtsInput";
|
|
97
105
|
export * from "./TextInput";
|
|
98
106
|
export * from "./FunctionCallResponseInput";
|
|
99
|
-
export * from "./ExtendedVoiceArgs";
|
|
100
107
|
export * from "./HttpValidationError";
|
|
101
108
|
export * from "./ValidationErrorLocItem";
|
|
102
109
|
export * from "./ValidationError";
|
|
103
|
-
export * from "./VoiceArgs";
|
|
104
110
|
export * from "./VoiceNameEnum";
|
|
@@ -33,12 +33,14 @@ __exportStar(require("./PostedEllmModel"), exports);
|
|
|
33
33
|
__exportStar(require("./PostedEventMessageSpec"), exports);
|
|
34
34
|
__exportStar(require("./PostedEventMessageSpecs"), exports);
|
|
35
35
|
__exportStar(require("./PostedLanguageModelModelProvider"), exports);
|
|
36
|
+
__exportStar(require("./PostedLanguageModelModelResource"), exports);
|
|
36
37
|
__exportStar(require("./PostedLanguageModel"), exports);
|
|
37
38
|
__exportStar(require("./PostedTimeoutSpec"), exports);
|
|
38
39
|
__exportStar(require("./PostedTimeoutSpecsInactivity"), exports);
|
|
39
40
|
__exportStar(require("./PostedTimeoutSpecsMaxDuration"), exports);
|
|
40
41
|
__exportStar(require("./PostedTimeoutSpecs"), exports);
|
|
41
42
|
__exportStar(require("./PostedUserDefinedToolSpec"), exports);
|
|
43
|
+
__exportStar(require("./PostedVoiceProvider"), exports);
|
|
42
44
|
__exportStar(require("./PostedVoice"), exports);
|
|
43
45
|
__exportStar(require("./ReturnBuiltinToolToolType"), exports);
|
|
44
46
|
__exportStar(require("./ReturnBuiltinTool"), exports);
|
|
@@ -47,9 +49,11 @@ __exportStar(require("./ReturnEllmModel"), exports);
|
|
|
47
49
|
__exportStar(require("./ReturnEventMessageSpec"), exports);
|
|
48
50
|
__exportStar(require("./ReturnEventMessageSpecs"), exports);
|
|
49
51
|
__exportStar(require("./ReturnLanguageModelModelProvider"), exports);
|
|
52
|
+
__exportStar(require("./ReturnLanguageModelModelResource"), exports);
|
|
50
53
|
__exportStar(require("./ReturnLanguageModel"), exports);
|
|
51
54
|
__exportStar(require("./ReturnTimeoutSpec"), exports);
|
|
52
55
|
__exportStar(require("./ReturnTimeoutSpecs"), exports);
|
|
56
|
+
__exportStar(require("./ReturnVoiceProvider"), exports);
|
|
53
57
|
__exportStar(require("./ReturnVoice"), exports);
|
|
54
58
|
__exportStar(require("./ReturnPagedUserDefinedTools"), exports);
|
|
55
59
|
__exportStar(require("./ReturnPagedPrompts"), exports);
|
|
@@ -66,6 +70,8 @@ __exportStar(require("./ReturnChatEvent"), exports);
|
|
|
66
70
|
__exportStar(require("./ReturnChatPagedEventsStatus"), exports);
|
|
67
71
|
__exportStar(require("./ReturnChatPagedEventsPaginationDirection"), exports);
|
|
68
72
|
__exportStar(require("./ReturnChatPagedEvents"), exports);
|
|
73
|
+
__exportStar(require("./ReturnChatAudioReconstructionStatus"), exports);
|
|
74
|
+
__exportStar(require("./ReturnChatAudioReconstruction"), exports);
|
|
69
75
|
__exportStar(require("./ReturnActiveChatCount"), exports);
|
|
70
76
|
__exportStar(require("./ReturnActiveChatCountPerTag"), exports);
|
|
71
77
|
__exportStar(require("./ReturnChatGroup"), exports);
|
|
@@ -75,6 +81,8 @@ __exportStar(require("./ReturnChatGroupPagedChatsPaginationDirection"), exports)
|
|
|
75
81
|
__exportStar(require("./ReturnChatGroupPagedChats"), exports);
|
|
76
82
|
__exportStar(require("./ReturnChatGroupPagedEventsPaginationDirection"), exports);
|
|
77
83
|
__exportStar(require("./ReturnChatGroupPagedEvents"), exports);
|
|
84
|
+
__exportStar(require("./ReturnChatGroupPagedAudioReconstructionsPaginationDirection"), exports);
|
|
85
|
+
__exportStar(require("./ReturnChatGroupPagedAudioReconstructions"), exports);
|
|
78
86
|
__exportStar(require("./PostedPromptSpec"), exports);
|
|
79
87
|
__exportStar(require("./AssistantInput"), exports);
|
|
80
88
|
__exportStar(require("./AudioConfiguration"), exports);
|
|
@@ -112,9 +120,7 @@ __exportStar(require("./JsonMessage"), exports);
|
|
|
112
120
|
__exportStar(require("./TtsInput"), exports);
|
|
113
121
|
__exportStar(require("./TextInput"), exports);
|
|
114
122
|
__exportStar(require("./FunctionCallResponseInput"), exports);
|
|
115
|
-
__exportStar(require("./ExtendedVoiceArgs"), exports);
|
|
116
123
|
__exportStar(require("./HttpValidationError"), exports);
|
|
117
124
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
118
125
|
__exportStar(require("./ValidationError"), exports);
|
|
119
|
-
__exportStar(require("./VoiceArgs"), exports);
|
|
120
126
|
__exportStar(require("./VoiceNameEnum"), exports);
|
|
@@ -88,7 +88,7 @@ class Batch {
|
|
|
88
88
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
89
89
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
90
90
|
method: "GET",
|
|
91
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
91
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
queryParameters: _queryParams,
|
|
94
94
|
requestType: "json",
|
|
@@ -143,7 +143,7 @@ class Batch {
|
|
|
143
143
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
144
144
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
145
145
|
method: "POST",
|
|
146
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
146
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
body: serializers.expressionMeasurement.batch.InferenceBaseRequest.jsonOrThrow(request, {
|
|
@@ -197,7 +197,7 @@ class Batch {
|
|
|
197
197
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
198
198
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}`),
|
|
199
199
|
method: "GET",
|
|
200
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
200
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -248,7 +248,7 @@ class Batch {
|
|
|
248
248
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
249
249
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/predictions`),
|
|
250
250
|
method: "GET",
|
|
251
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
251
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
252
252
|
contentType: "application/json",
|
|
253
253
|
requestType: "json",
|
|
254
254
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -293,7 +293,7 @@ class Batch {
|
|
|
293
293
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
294
294
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/artifacts`),
|
|
295
295
|
method: "GET",
|
|
296
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
296
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
297
297
|
contentType: "application/json",
|
|
298
298
|
requestType: "json",
|
|
299
299
|
responseType: "streaming",
|
|
@@ -349,7 +349,7 @@ class Batch {
|
|
|
349
349
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
350
350
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
351
351
|
method: "POST",
|
|
352
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
352
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "hume/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
353
353
|
requestType: "file",
|
|
354
354
|
duplex: _maybeEncodedRequest.duplex,
|
|
355
355
|
body: _maybeEncodedRequest.body,
|
|
@@ -73,6 +73,23 @@ export declare class ChatGroups {
|
|
|
73
73
|
* })
|
|
74
74
|
*/
|
|
75
75
|
listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
76
|
+
/**
|
|
77
|
+
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/empathic-voice-interface-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
78
|
+
*
|
|
79
|
+
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
80
|
+
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
81
|
+
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link Hume.empathicVoice.BadRequestError}
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* await client.empathicVoice.chatGroups.getAudio("369846cf-6ad5-404d-905e-a8acb5cdfc78", {
|
|
87
|
+
* pageNumber: 0,
|
|
88
|
+
* pageSize: 10,
|
|
89
|
+
* ascendingOrder: true
|
|
90
|
+
* })
|
|
91
|
+
*/
|
|
92
|
+
getAudio(id: string, request?: Hume.empathicVoice.ChatGroupsGetAudioRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
|
|
76
93
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
77
94
|
"X-Hume-Api-Key": string | undefined;
|
|
78
95
|
}>;
|