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
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* name: "string"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
4
|
export interface PostedCustomVoiceName {
|
|
11
5
|
/** The name of the Custom Voice. Maximum length of 75 characters. Will be converted to all-uppercase. (e.g., "sample voice" becomes "SAMPLE VOICE") */
|
|
12
6
|
name: string;
|
|
@@ -86,7 +86,7 @@ class Prompts {
|
|
|
86
86
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
87
87
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
89
|
+
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())),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -166,7 +166,7 @@ class Prompts {
|
|
|
166
166
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
167
167
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/prompts"),
|
|
168
168
|
method: "POST",
|
|
169
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
169
|
+
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())),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
body: serializers.empathicVoice.PostedPrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -244,7 +244,7 @@ class Prompts {
|
|
|
244
244
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
245
245
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
|
|
246
246
|
method: "GET",
|
|
247
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
247
|
+
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())),
|
|
248
248
|
contentType: "application/json",
|
|
249
249
|
queryParameters: _queryParams,
|
|
250
250
|
requestType: "json",
|
|
@@ -314,7 +314,7 @@ class Prompts {
|
|
|
314
314
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
315
315
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
|
|
316
316
|
method: "POST",
|
|
317
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
317
|
+
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())),
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
requestType: "json",
|
|
320
320
|
body: serializers.empathicVoice.PostedPromptVersion.jsonOrThrow(request, {
|
|
@@ -382,7 +382,7 @@ class Prompts {
|
|
|
382
382
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
383
383
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
|
|
384
384
|
method: "DELETE",
|
|
385
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
385
|
+
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())),
|
|
386
386
|
contentType: "application/json",
|
|
387
387
|
requestType: "json",
|
|
388
388
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -445,7 +445,7 @@ class Prompts {
|
|
|
445
445
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
446
446
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}`),
|
|
447
447
|
method: "PATCH",
|
|
448
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
448
|
+
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())),
|
|
449
449
|
contentType: "application/json",
|
|
450
450
|
requestType: "json",
|
|
451
451
|
body: serializers.empathicVoice.PostedPromptName.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -512,7 +512,7 @@ class Prompts {
|
|
|
512
512
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
513
513
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
514
514
|
method: "GET",
|
|
515
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
515
|
+
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())),
|
|
516
516
|
contentType: "application/json",
|
|
517
517
|
requestType: "json",
|
|
518
518
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -582,7 +582,7 @@ class Prompts {
|
|
|
582
582
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
583
583
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
584
584
|
method: "DELETE",
|
|
585
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
585
|
+
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())),
|
|
586
586
|
contentType: "application/json",
|
|
587
587
|
requestType: "json",
|
|
588
588
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -650,7 +650,7 @@ class Prompts {
|
|
|
650
650
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
651
651
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
652
652
|
method: "PATCH",
|
|
653
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
653
|
+
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())),
|
|
654
654
|
contentType: "application/json",
|
|
655
655
|
requestType: "json",
|
|
656
656
|
body: serializers.empathicVoice.PostedPromptVersionDescription.jsonOrThrow(request, {
|
package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ export interface PromptsListPromptsRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
pageSize?: number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Only include the most recent version of each prompt in the list.
|
|
26
26
|
*/
|
|
27
27
|
restrictToMostRecent?: boolean;
|
|
28
28
|
/**
|
|
29
|
-
* Filter to only include prompts with
|
|
29
|
+
* Filter to only include prompts with name.
|
|
30
30
|
*/
|
|
31
31
|
name?: string;
|
|
32
32
|
}
|
|
@@ -86,7 +86,7 @@ class Tools {
|
|
|
86
86
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
87
87
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/tools"),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
89
|
+
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())),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -169,7 +169,7 @@ class Tools {
|
|
|
169
169
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
170
170
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/tools"),
|
|
171
171
|
method: "POST",
|
|
172
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
172
|
+
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())),
|
|
173
173
|
contentType: "application/json",
|
|
174
174
|
requestType: "json",
|
|
175
175
|
body: serializers.empathicVoice.PostedUserDefinedTool.jsonOrThrow(request, {
|
|
@@ -249,7 +249,7 @@ class Tools {
|
|
|
249
249
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
250
250
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
251
251
|
method: "GET",
|
|
252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
252
|
+
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())),
|
|
253
253
|
contentType: "application/json",
|
|
254
254
|
queryParameters: _queryParams,
|
|
255
255
|
requestType: "json",
|
|
@@ -321,7 +321,7 @@ class Tools {
|
|
|
321
321
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
322
322
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
323
323
|
method: "POST",
|
|
324
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
324
|
+
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())),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
requestType: "json",
|
|
327
327
|
body: serializers.empathicVoice.PostedUserDefinedToolVersion.jsonOrThrow(request, {
|
|
@@ -389,7 +389,7 @@ class Tools {
|
|
|
389
389
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
390
390
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
391
391
|
method: "DELETE",
|
|
392
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
392
|
+
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())),
|
|
393
393
|
contentType: "application/json",
|
|
394
394
|
requestType: "json",
|
|
395
395
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -452,7 +452,7 @@ class Tools {
|
|
|
452
452
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
453
453
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
454
454
|
method: "PATCH",
|
|
455
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
455
|
+
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())),
|
|
456
456
|
contentType: "application/json",
|
|
457
457
|
requestType: "json",
|
|
458
458
|
body: serializers.empathicVoice.PostedUserDefinedToolName.jsonOrThrow(request, {
|
|
@@ -521,7 +521,7 @@ class Tools {
|
|
|
521
521
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
522
522
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
523
523
|
method: "GET",
|
|
524
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
524
|
+
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())),
|
|
525
525
|
contentType: "application/json",
|
|
526
526
|
requestType: "json",
|
|
527
527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -591,7 +591,7 @@ class Tools {
|
|
|
591
591
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
592
592
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
593
593
|
method: "DELETE",
|
|
594
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
594
|
+
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())),
|
|
595
595
|
contentType: "application/json",
|
|
596
596
|
requestType: "json",
|
|
597
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -659,7 +659,7 @@ class Tools {
|
|
|
659
659
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
660
660
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
661
661
|
method: "PATCH",
|
|
662
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
662
|
+
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())),
|
|
663
663
|
contentType: "application/json",
|
|
664
664
|
requestType: "json",
|
|
665
665
|
body: serializers.empathicVoice.PostedUserDefinedToolVersionDescription.jsonOrThrow(request, {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* The type of message sent through the socket; for an Audio Output message, this must be `audio_output`.
|
|
6
6
|
*/
|
|
7
7
|
export interface AudioOutput {
|
|
8
8
|
/** The type of message sent through the socket; for an Audio Output message, this must be `audio_output`. */
|
|
@@ -14,8 +14,8 @@ export interface PostedCustomVoice {
|
|
|
14
14
|
name: string;
|
|
15
15
|
/** Specifies the base voice used to create the Custom Voice. */
|
|
16
16
|
baseVoice: Hume.empathicVoice.PostedCustomVoiceBaseVoice;
|
|
17
|
-
/** The name of the parameter model used to define which attributes are used by the `parameters` field. Currently, only `
|
|
18
|
-
parameterModel: "
|
|
17
|
+
/** 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. */
|
|
18
|
+
parameterModel: "20241004-11parameter";
|
|
19
19
|
/**
|
|
20
20
|
* The specified attributes of a Custom Voice.
|
|
21
21
|
*
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Specifies the base voice used to create the Custom Voice.
|
|
6
6
|
*/
|
|
7
|
-
export declare type PostedCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "STELLA" | "
|
|
7
|
+
export declare type PostedCustomVoiceBaseVoice = "ITO" | "KORA" | "DACHER" | "AURA" | "FINN" | "WHIMSY" | "STELLA" | "SUNNY";
|
|
8
8
|
export declare const PostedCustomVoiceBaseVoice: {
|
|
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
|
};
|
|
@@ -8,27 +8,69 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface PostedCustomVoiceParameters {
|
|
10
10
|
/**
|
|
11
|
-
* The vocalization of gender, ranging between masculine and feminine.
|
|
11
|
+
* The vocalization of gender, ranging between more masculine and more feminine.
|
|
12
12
|
*
|
|
13
13
|
* 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.
|
|
14
14
|
*/
|
|
15
15
|
gender?: number;
|
|
16
16
|
/**
|
|
17
|
-
* The
|
|
17
|
+
* The clarity of the voice, ranging between mumbled and articulate.
|
|
18
18
|
*
|
|
19
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
19
|
+
* 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.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
articulation?: number;
|
|
22
22
|
/**
|
|
23
|
-
* The
|
|
23
|
+
* The firmness of the voice, ranging between whiny and bold.
|
|
24
24
|
*
|
|
25
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
25
|
+
* 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.
|
|
26
|
+
*/
|
|
27
|
+
assertiveness?: number;
|
|
28
|
+
/**
|
|
29
|
+
* The density of the voice, ranging between deflated and buoyant.
|
|
30
|
+
*
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
buoyancy?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The assuredness of the voice, ranging between shy and confident.
|
|
36
|
+
*
|
|
37
|
+
* 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.
|
|
38
|
+
*/
|
|
39
|
+
confidence?: number;
|
|
40
|
+
/**
|
|
41
|
+
* The excitement within the voice, ranging between calm and enthusiastic.
|
|
42
|
+
*
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
enthusiasm?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The openness of the voice, ranging between clear and nasal.
|
|
48
|
+
*
|
|
49
|
+
* 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.
|
|
26
50
|
*/
|
|
27
51
|
nasality?: number;
|
|
28
52
|
/**
|
|
29
|
-
* The
|
|
53
|
+
* The stress within the voice, ranging between tense and relaxed.
|
|
54
|
+
*
|
|
55
|
+
* 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.
|
|
56
|
+
*/
|
|
57
|
+
relaxedness?: number;
|
|
58
|
+
/**
|
|
59
|
+
* The texture of the voice, ranging between smooth and staccato.
|
|
60
|
+
*
|
|
61
|
+
* 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.
|
|
62
|
+
*/
|
|
63
|
+
smoothness?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The liveliness behind the voice, ranging between tepid and vigorous.
|
|
66
|
+
*
|
|
67
|
+
* 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.
|
|
68
|
+
*/
|
|
69
|
+
tepidity?: number;
|
|
70
|
+
/**
|
|
71
|
+
* The containment of the voice, ranging between tight and breathy.
|
|
30
72
|
*
|
|
31
|
-
* The default value is `0`, with a minimum of `-100` (
|
|
73
|
+
* 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.
|
|
32
74
|
*/
|
|
33
|
-
|
|
75
|
+
tightness?: number;
|
|
34
76
|
}
|
|
@@ -9,7 +9,7 @@ export interface PostedLanguageModel {
|
|
|
9
9
|
/** The provider of the supplemental language model. */
|
|
10
10
|
modelProvider?: Hume.empathicVoice.PostedLanguageModelModelProvider;
|
|
11
11
|
/** String that specifies the language model to use with `model_provider`. */
|
|
12
|
-
modelResource?:
|
|
12
|
+
modelResource?: Hume.empathicVoice.PostedLanguageModelModelResource;
|
|
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 PostedLanguageModelModelResource = "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 PostedLanguageModelModelResource: {
|
|
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.PostedLanguageModelModelResource = void 0;
|
|
7
|
+
exports.PostedLanguageModelModelResource = {
|
|
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 PostedTimeoutSpecs {
|
|
|
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.PostedTimeoutSpecsInactivity;
|
|
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.PostedTimeoutSpecsMaxDuration;
|
|
23
23
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Specifies the duration of user inactivity (in seconds) after which the EVI WebSocket connection will be automatically disconnected. Default is 600 seconds (10 minutes).
|
|
6
6
|
*
|
|
7
|
-
* Accepts a minimum value of
|
|
7
|
+
* Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
|
|
8
8
|
*/
|
|
9
9
|
export interface PostedTimeoutSpecsInactivity {
|
|
10
10
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected. Default is 1,800 seconds (30 minutes).
|
|
6
6
|
*
|
|
7
|
-
* Accepts a minimum value of
|
|
7
|
+
* Accepts a minimum value of 30 seconds and a maximum value of 1,800 seconds.
|
|
8
8
|
*/
|
|
9
9
|
export interface PostedTimeoutSpecsMaxDuration {
|
|
10
10
|
/**
|
|
@@ -6,12 +6,12 @@ import * as Hume from "../../../index";
|
|
|
6
6
|
* A Voice specification posted to the server
|
|
7
7
|
*/
|
|
8
8
|
export interface PostedVoice {
|
|
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.PostedVoiceProvider;
|
|
11
11
|
/**
|
|
12
12
|
* Specifies the name of the voice to use.
|
|
13
13
|
*
|
|
14
|
-
* This can be either the name of a previously created Custom Voice or one of our
|
|
14
|
+
* This can be either 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
|
* The name will be automatically converted to uppercase (e.g., "Ito" becomes "ITO"). If a name is not specified, then a [Custom Voice](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.custom_voice) specification must be provided.
|
|
17
17
|
*/
|
|
@@ -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 PostedVoiceProvider = "HUME_AI" | "CUSTOM_VOICE";
|
|
8
|
+
export declare const PostedVoiceProvider: {
|
|
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.PostedVoiceProvider = void 0;
|
|
7
|
+
exports.PostedVoiceProvider = {
|
|
8
|
+
HumeAi: "HUME_AI",
|
|
9
|
+
CustomVoice: "CUSTOM_VOICE",
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Hume from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* List of chat audio reconstructions returned for the specified page number and page size.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReturnChatAudioReconstruction {
|
|
9
|
+
/** Identifier for the chat. Formatted as a UUID. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Identifier for the user that owns this chat. Formatted as a UUID. */
|
|
12
|
+
userId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates the current state of the audio reconstruction job. There are five possible statuses:
|
|
15
|
+
*
|
|
16
|
+
* - `QUEUED`: The reconstruction job is waiting to be processed.
|
|
17
|
+
*
|
|
18
|
+
* - `IN_PROGRESS`: The reconstruction is currently being processed.
|
|
19
|
+
*
|
|
20
|
+
* - `COMPLETE`: The audio reconstruction is finished and ready for download.
|
|
21
|
+
*
|
|
22
|
+
* - `ERROR`: An error occurred during the reconstruction process.
|
|
23
|
+
*
|
|
24
|
+
* - `CANCELED`: The reconstruction job has been canceled.
|
|
25
|
+
*/
|
|
26
|
+
status: Hume.empathicVoice.ReturnChatAudioReconstructionStatus;
|
|
27
|
+
/** Name of the chat audio reconstruction file. */
|
|
28
|
+
filename?: string;
|
|
29
|
+
/** The timestamp of the most recent status change for this audio reconstruction, formatted milliseconds since the Unix epoch. */
|
|
30
|
+
modifiedAt?: number;
|
|
31
|
+
/** Signed URL used to download the chat audio reconstruction file. */
|
|
32
|
+
signedAudioUrl?: string;
|
|
33
|
+
/** The timestamp when the signed URL will expire, formatted as a Unix epoch milliseconds. */
|
|
34
|
+
signedUrlExpirationTimestampMillis?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Indicates the current state of the audio reconstruction job. There are five possible statuses:
|
|
6
|
+
*
|
|
7
|
+
* - `QUEUED`: The reconstruction job is waiting to be processed.
|
|
8
|
+
*
|
|
9
|
+
* - `IN_PROGRESS`: The reconstruction is currently being processed.
|
|
10
|
+
*
|
|
11
|
+
* - `COMPLETE`: The audio reconstruction is finished and ready for download.
|
|
12
|
+
*
|
|
13
|
+
* - `ERROR`: An error occurred during the reconstruction process.
|
|
14
|
+
*
|
|
15
|
+
* - `CANCELED`: The reconstruction job has been canceled.
|
|
16
|
+
*/
|
|
17
|
+
export declare type ReturnChatAudioReconstructionStatus = "QUEUED" | "IN_PROGRESS" | "COMPLETE" | "ERROR" | "CANCELLED";
|
|
18
|
+
export declare const ReturnChatAudioReconstructionStatus: {
|
|
19
|
+
readonly Queued: "QUEUED";
|
|
20
|
+
readonly InProgress: "IN_PROGRESS";
|
|
21
|
+
readonly Complete: "COMPLETE";
|
|
22
|
+
readonly Error: "ERROR";
|
|
23
|
+
readonly Cancelled: "CANCELLED";
|
|
24
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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.ReturnChatAudioReconstructionStatus = void 0;
|
|
7
|
+
exports.ReturnChatAudioReconstructionStatus = {
|
|
8
|
+
Queued: "QUEUED",
|
|
9
|
+
InProgress: "IN_PROGRESS",
|
|
10
|
+
Complete: "COMPLETE",
|
|
11
|
+
Error: "ERROR",
|
|
12
|
+
Cancelled: "CANCELLED",
|
|
13
|
+
};
|