hume 0.11.5-beta.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +27 -517
- package/.mock/definition/empathic-voice/chatGroups.yml +1 -1
- package/.mock/definition/empathic-voice/chats.yml +1 -1
- package/.mock/definition/empathic-voice/configs.yml +34 -151
- package/.mock/definition/empathic-voice/prompts.yml +21 -21
- package/.mock/definition/empathic-voice/tools.yml +10 -10
- package/.mock/definition/tts/__package__.yml +6 -22
- package/api/resources/empathicVoice/client/Client.d.ts +0 -3
- package/api/resources/empathicVoice/client/Client.js +8 -13
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +13 -13
- package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +4 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
- package/api/resources/empathicVoice/resources/index.d.ts +0 -2
- package/api/resources/empathicVoice/resources/index.js +1 -3
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
- package/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
- package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -3
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
- package/api/resources/empathicVoice/types/VoiceId.d.ts +10 -0
- package/api/resources/empathicVoice/types/VoiceName.d.ts +10 -0
- package/api/resources/empathicVoice/types/VoiceProvider.d.ts +8 -0
- package/api/resources/empathicVoice/types/{PostedVoiceProvider.js → VoiceProvider.js} +2 -2
- package/api/resources/empathicVoice/types/VoiceRef.d.ts +5 -0
- package/api/resources/empathicVoice/types/index.d.ts +4 -18
- package/api/resources/empathicVoice/types/index.js +4 -18
- package/dist/api/resources/empathicVoice/client/Client.d.ts +0 -3
- package/dist/api/resources/empathicVoice/client/Client.js +8 -13
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +13 -13
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +4 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +3 -3
- package/dist/api/resources/empathicVoice/resources/index.d.ts +0 -2
- package/dist/api/resources/empathicVoice/resources/index.js +1 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
- package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -3
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/VoiceId.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/VoiceName.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/VoiceProvider.d.ts +8 -0
- package/{api/resources/empathicVoice/types/ReturnVoiceProvider.js → dist/api/resources/empathicVoice/types/VoiceProvider.js} +2 -2
- package/dist/api/resources/empathicVoice/types/VoiceRef.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +4 -18
- package/dist/api/resources/empathicVoice/types/index.js +4 -18
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
- package/dist/serialization/resources/empathicVoice/resources/index.d.ts +0 -2
- package/dist/serialization/resources/empathicVoice/resources/index.js +1 -3
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +1 -2
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +0 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +1 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +1 -2
- package/dist/serialization/resources/empathicVoice/types/VoiceId.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceId.js +45 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceName.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/VoiceName.js +45 -0
- package/{serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts → dist/serialization/resources/empathicVoice/types/VoiceProvider.d.ts} +2 -2
- package/dist/serialization/resources/empathicVoice/types/{ReturnVoiceProvider.js → VoiceProvider.js} +2 -2
- package/dist/serialization/resources/empathicVoice/types/VoiceRef.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/{PostedCustomVoiceBaseVoice.js → VoiceRef.js} +4 -2
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +4 -18
- package/dist/serialization/resources/empathicVoice/types/index.js +4 -18
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +43 -485
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
- package/serialization/resources/empathicVoice/resources/index.d.ts +0 -2
- package/serialization/resources/empathicVoice/resources/index.js +1 -3
- package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +1 -2
- package/serialization/resources/empathicVoice/types/JsonMessage.js +0 -2
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +1 -2
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +1 -2
- package/serialization/resources/empathicVoice/types/VoiceId.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/VoiceId.js +45 -0
- package/serialization/resources/empathicVoice/types/VoiceName.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/VoiceName.js +45 -0
- package/serialization/resources/empathicVoice/types/{ReturnVoiceProvider.d.ts → VoiceProvider.d.ts} +2 -2
- package/{dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.js → serialization/resources/empathicVoice/types/VoiceProvider.js} +2 -2
- package/serialization/resources/empathicVoice/types/VoiceRef.d.ts +12 -0
- package/{dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js → serialization/resources/empathicVoice/types/VoiceRef.js} +4 -2
- package/serialization/resources/empathicVoice/types/index.d.ts +4 -18
- package/serialization/resources/empathicVoice/types/index.js +4 -18
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.mock/definition/empathic-voice/customVoices.yml +0 -283
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +0 -135
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +0 -533
- package/api/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
- package/api/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
- package/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +0 -25
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -13
- package/api/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -2
- package/api/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -2
- package/api/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
- package/api/resources/empathicVoice/resources/customVoices/index.js +0 -17
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -25
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -17
- package/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -16
- package/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -70
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +0 -20
- package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -11
- package/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -31
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -17
- package/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -16
- package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -68
- package/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -5
- package/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -25
- package/api/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -5
- package/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -12
- package/api/resources/empathicVoice/types/ReturnSignedUri.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +0 -18
- package/api/resources/empathicVoice/types/ReturnVoice.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -31
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -15
- package/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -11
- package/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -8
- package/api/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -14
- package/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -14
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -5
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -14
- package/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -5
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +0 -135
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +0 -533
- package/dist/api/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.d.ts +0 -25
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.js +0 -5
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -13
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -5
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -2
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -2
- package/dist/api/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/index.js +0 -17
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -25
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.js +0 -5
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -17
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -16
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -70
- package/dist/api/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -5
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +0 -20
- package/dist/api/resources/empathicVoice/types/PostedVoice.js +0 -5
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -11
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +0 -10
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -31
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoice.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -17
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -16
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -68
- package/dist/api/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -25
- package/dist/api/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -12
- package/dist/api/resources/empathicVoice/types/ReturnSignedUri.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +0 -18
- package/dist/api/resources/empathicVoice/types/ReturnVoice.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -31
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -15
- package/dist/api/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -11
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +0 -10
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -8
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -14
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -14
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -5
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -14
- package/dist/api/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -5
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -43
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -5
- package/dist/serialization/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
- package/dist/serialization/resources/empathicVoice/resources/customVoices/index.js +0 -17
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -17
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoice.js +0 -48
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -10
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -21
- package/dist/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -52
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +0 -16
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +0 -47
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +0 -10
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -21
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +0 -52
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -10
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -21
- package/dist/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -52
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -16
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -47
- package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnSignedUri.js +0 -46
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +0 -16
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +0 -47
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -34
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -65
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -18
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -49
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +0 -10
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -13
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -48
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -46
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -46
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -15
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -46
- package/serialization/resources/empathicVoice/resources/customVoices/client/index.d.ts +0 -1
- package/serialization/resources/empathicVoice/resources/customVoices/client/index.js +0 -17
- package/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +0 -12
- package/serialization/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.js +0 -43
- package/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.d.ts +0 -1
- package/serialization/resources/empathicVoice/resources/customVoices/client/requests/index.js +0 -5
- package/serialization/resources/empathicVoice/resources/customVoices/index.d.ts +0 -1
- package/serialization/resources/empathicVoice/resources/customVoices/index.js +0 -17
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.d.ts +0 -17
- package/serialization/resources/empathicVoice/types/PostedCustomVoice.js +0 -48
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceBaseVoice.js +0 -41
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.d.ts +0 -21
- package/serialization/resources/empathicVoice/types/PostedCustomVoiceParameters.js +0 -52
- package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +0 -16
- package/serialization/resources/empathicVoice/types/PostedVoice.js +0 -47
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +0 -41
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.d.ts +0 -21
- package/serialization/resources/empathicVoice/types/ReturnCustomVoice.js +0 -52
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceBaseVoice.js +0 -41
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.d.ts +0 -21
- package/serialization/resources/empathicVoice/types/ReturnCustomVoiceParameters.js +0 -52
- package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.d.ts +0 -16
- package/serialization/resources/empathicVoice/types/ReturnPagedCustomVoices.js +0 -47
- package/serialization/resources/empathicVoice/types/ReturnSignedUri.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/ReturnSignedUri.js +0 -46
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +0 -16
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +0 -47
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.d.ts +0 -34
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveCustom.js +0 -65
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.d.ts +0 -18
- package/serialization/resources/empathicVoice/types/ReturnVoiceOctaveShared.js +0 -49
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +0 -41
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.d.ts +0 -13
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpec.js +0 -48
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecEvi2.js +0 -46
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctavecustom.js +0 -46
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.d.ts +0 -15
- package/serialization/resources/empathicVoice/types/ReturnVoiceSpecOctaveshared.js +0 -46
- /package/api/resources/empathicVoice/{resources/customVoices/client/requests/CustomVoicesListCustomVoicesRequest.js → types/VoiceId.js} +0 -0
- /package/api/resources/empathicVoice/{resources/customVoices/client/requests/PostedCustomVoiceName.js → types/VoiceName.js} +0 -0
- /package/api/resources/empathicVoice/types/{PostedCustomVoice.js → VoiceRef.js} +0 -0
- /package/{api/resources/empathicVoice/types/PostedCustomVoiceParameters.js → dist/api/resources/empathicVoice/types/VoiceId.js} +0 -0
- /package/{api/resources/empathicVoice/types/PostedVoice.js → dist/api/resources/empathicVoice/types/VoiceName.js} +0 -0
- /package/{api/resources/empathicVoice/types/ReturnCustomVoice.js → dist/api/resources/empathicVoice/types/VoiceRef.js} +0 -0
|
@@ -31,7 +31,7 @@ export declare class Tools {
|
|
|
31
31
|
/**
|
|
32
32
|
* Fetches a paginated list of **Tools**.
|
|
33
33
|
*
|
|
34
|
-
* Refer to our [tool use](/docs/
|
|
34
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
35
35
|
*
|
|
36
36
|
* @param {Hume.empathicVoice.ToolsListToolsRequest} request
|
|
37
37
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,9 +46,9 @@ export declare class Tools {
|
|
|
46
46
|
*/
|
|
47
47
|
listTools(request?: Hume.empathicVoice.ToolsListToolsRequest, requestOptions?: Tools.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnUserDefinedTool | undefined>>;
|
|
48
48
|
/**
|
|
49
|
-
* Creates a **Tool** that can be added to an [EVI configuration](/reference/
|
|
49
|
+
* Creates a **Tool** that can be added to an [EVI configuration](/reference/speech-to-speech-evi/configs/create-config).
|
|
50
50
|
*
|
|
51
|
-
* Refer to our [tool use](/docs/
|
|
51
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
52
52
|
*
|
|
53
53
|
* @param {Hume.empathicVoice.PostedUserDefinedTool} request
|
|
54
54
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -69,7 +69,7 @@ export declare class Tools {
|
|
|
69
69
|
/**
|
|
70
70
|
* Fetches a list of a **Tool's** versions.
|
|
71
71
|
*
|
|
72
|
-
* Refer to our [tool use](/docs/
|
|
72
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
73
73
|
*
|
|
74
74
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
75
75
|
* @param {Hume.empathicVoice.ToolsListToolVersionsRequest} request
|
|
@@ -84,7 +84,7 @@ export declare class Tools {
|
|
|
84
84
|
/**
|
|
85
85
|
* Updates a **Tool** by creating a new version of the **Tool**.
|
|
86
86
|
*
|
|
87
|
-
* Refer to our [tool use](/docs/
|
|
87
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
88
88
|
*
|
|
89
89
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
90
90
|
* @param {Hume.empathicVoice.PostedUserDefinedToolVersion} request
|
|
@@ -105,7 +105,7 @@ export declare class Tools {
|
|
|
105
105
|
/**
|
|
106
106
|
* Deletes a **Tool** and its versions.
|
|
107
107
|
*
|
|
108
|
-
* Refer to our [tool use](/docs/
|
|
108
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
109
109
|
*
|
|
110
110
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
111
111
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,7 +120,7 @@ export declare class Tools {
|
|
|
120
120
|
/**
|
|
121
121
|
* Updates the name of a **Tool**.
|
|
122
122
|
*
|
|
123
|
-
* Refer to our [tool use](/docs/
|
|
123
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
124
124
|
*
|
|
125
125
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
126
126
|
* @param {Hume.empathicVoice.PostedUserDefinedToolName} request
|
|
@@ -138,7 +138,7 @@ export declare class Tools {
|
|
|
138
138
|
/**
|
|
139
139
|
* Fetches a specified version of a **Tool**.
|
|
140
140
|
*
|
|
141
|
-
* Refer to our [tool use](/docs/
|
|
141
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
142
142
|
*
|
|
143
143
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
144
144
|
* @param {number} version - Version number for a Tool.
|
|
@@ -158,7 +158,7 @@ export declare class Tools {
|
|
|
158
158
|
/**
|
|
159
159
|
* Deletes a specified version of a **Tool**.
|
|
160
160
|
*
|
|
161
|
-
* Refer to our [tool use](/docs/
|
|
161
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
162
162
|
*
|
|
163
163
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
164
164
|
* @param {number} version - Version number for a Tool.
|
|
@@ -178,7 +178,7 @@ export declare class Tools {
|
|
|
178
178
|
/**
|
|
179
179
|
* Updates the description of a specified **Tool** version.
|
|
180
180
|
*
|
|
181
|
-
* Refer to our [tool use](/docs/
|
|
181
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
182
182
|
*
|
|
183
183
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
184
184
|
* @param {number} version - Version number for a Tool.
|
|
@@ -63,7 +63,7 @@ class Tools {
|
|
|
63
63
|
/**
|
|
64
64
|
* Fetches a paginated list of **Tools**.
|
|
65
65
|
*
|
|
66
|
-
* Refer to our [tool use](/docs/
|
|
66
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
67
67
|
*
|
|
68
68
|
* @param {Hume.empathicVoice.ToolsListToolsRequest} request
|
|
69
69
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -162,9 +162,9 @@ class Tools {
|
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
* Creates a **Tool** that can be added to an [EVI configuration](/reference/
|
|
165
|
+
* Creates a **Tool** that can be added to an [EVI configuration](/reference/speech-to-speech-evi/configs/create-config).
|
|
166
166
|
*
|
|
167
|
-
* Refer to our [tool use](/docs/
|
|
167
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
168
168
|
*
|
|
169
169
|
* @param {Hume.empathicVoice.PostedUserDefinedTool} request
|
|
170
170
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -247,7 +247,7 @@ class Tools {
|
|
|
247
247
|
/**
|
|
248
248
|
* Fetches a list of a **Tool's** versions.
|
|
249
249
|
*
|
|
250
|
-
* Refer to our [tool use](/docs/
|
|
250
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
251
251
|
*
|
|
252
252
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
253
253
|
* @param {Hume.empathicVoice.ToolsListToolVersionsRequest} request
|
|
@@ -343,7 +343,7 @@ class Tools {
|
|
|
343
343
|
/**
|
|
344
344
|
* Updates a **Tool** by creating a new version of the **Tool**.
|
|
345
345
|
*
|
|
346
|
-
* Refer to our [tool use](/docs/
|
|
346
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
347
347
|
*
|
|
348
348
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
349
349
|
* @param {Hume.empathicVoice.PostedUserDefinedToolVersion} request
|
|
@@ -426,7 +426,7 @@ class Tools {
|
|
|
426
426
|
/**
|
|
427
427
|
* Deletes a **Tool** and its versions.
|
|
428
428
|
*
|
|
429
|
-
* Refer to our [tool use](/docs/
|
|
429
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
430
430
|
*
|
|
431
431
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
432
432
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -490,7 +490,7 @@ class Tools {
|
|
|
490
490
|
/**
|
|
491
491
|
* Updates the name of a **Tool**.
|
|
492
492
|
*
|
|
493
|
-
* Refer to our [tool use](/docs/
|
|
493
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
494
494
|
*
|
|
495
495
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
496
496
|
* @param {Hume.empathicVoice.PostedUserDefinedToolName} request
|
|
@@ -563,7 +563,7 @@ class Tools {
|
|
|
563
563
|
/**
|
|
564
564
|
* Fetches a specified version of a **Tool**.
|
|
565
565
|
*
|
|
566
|
-
* Refer to our [tool use](/docs/
|
|
566
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
567
567
|
*
|
|
568
568
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
569
569
|
* @param {number} version - Version number for a Tool.
|
|
@@ -640,7 +640,7 @@ class Tools {
|
|
|
640
640
|
/**
|
|
641
641
|
* Deletes a specified version of a **Tool**.
|
|
642
642
|
*
|
|
643
|
-
* Refer to our [tool use](/docs/
|
|
643
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
644
644
|
*
|
|
645
645
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
646
646
|
* @param {number} version - Version number for a Tool.
|
|
@@ -709,7 +709,7 @@ class Tools {
|
|
|
709
709
|
/**
|
|
710
710
|
* Updates the description of a specified **Tool** version.
|
|
711
711
|
*
|
|
712
|
-
* Refer to our [tool use](/docs/
|
|
712
|
+
* Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
713
713
|
*
|
|
714
714
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
715
715
|
* @param {number} version - Version number for a Tool.
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Hume from "../../../index";
|
|
5
|
-
export type JsonMessage = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.WebSocketError | Hume.empathicVoice.UserInterruption | Hume.empathicVoice.UserMessage | Hume.empathicVoice.ToolCallMessage | Hume.empathicVoice.ToolResponseMessage | Hume.empathicVoice.ToolErrorMessage
|
|
5
|
+
export type JsonMessage = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.WebSocketError | Hume.empathicVoice.UserInterruption | Hume.empathicVoice.UserMessage | Hume.empathicVoice.ToolCallMessage | Hume.empathicVoice.ToolResponseMessage | Hume.empathicVoice.ToolErrorMessage;
|
|
@@ -12,7 +12,7 @@ export interface PostedBuiltinTool {
|
|
|
12
12
|
* - **web_search:** enables EVI to search the web for up-to-date information when applicable.
|
|
13
13
|
* - **hang_up:** closes the WebSocket connection when appropriate (e.g., after detecting a farewell in the conversation).
|
|
14
14
|
*
|
|
15
|
-
* For more information, see our guide on [using built-in tools](/docs/
|
|
15
|
+
* For more information, see our guide on [using built-in tools](/docs/speech-to-speech-evi/features/tool-use#using-built-in-tools).
|
|
16
16
|
*/
|
|
17
17
|
name: Hume.empathicVoice.PostedBuiltinToolName;
|
|
18
18
|
/** Optional text passed to the supplemental LLM in place of the tool call result. The LLM then uses this text to generate a response back to the user, ensuring continuity in the conversation if the Tool errors. */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - **web_search:** enables EVI to search the web for up-to-date information when applicable.
|
|
8
8
|
* - **hang_up:** closes the WebSocket connection when appropriate (e.g., after detecting a farewell in the conversation).
|
|
9
9
|
*
|
|
10
|
-
* For more information, see our guide on [using built-in tools](/docs/
|
|
10
|
+
* For more information, see our guide on [using built-in tools](/docs/speech-to-speech-evi/features/tool-use#using-built-in-tools).
|
|
11
11
|
*/
|
|
12
12
|
export type PostedBuiltinToolName = "web_search" | "hang_up";
|
|
13
13
|
export declare const PostedBuiltinToolName: {
|
|
@@ -11,7 +11,7 @@ export interface PostedWebhookSpec {
|
|
|
11
11
|
/**
|
|
12
12
|
* The list of events the specified URL is subscribed to.
|
|
13
13
|
*
|
|
14
|
-
* See our [webhooks guide](/docs/
|
|
14
|
+
* See our [webhooks guide](/docs/speech-to-speech-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
|
|
15
15
|
*/
|
|
16
16
|
events: Hume.empathicVoice.PostedWebhookEventType[];
|
|
17
17
|
}
|
|
@@ -18,7 +18,7 @@ export interface ReturnConfig {
|
|
|
18
18
|
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
19
19
|
*/
|
|
20
20
|
version?: number;
|
|
21
|
-
/** Specifies the EVI version to use. Use `"1"` for version 1, or `"2"` for the latest enhanced version. For a detailed comparison of the two versions, refer to our [guide](/docs/
|
|
21
|
+
/** Specifies the EVI version to use. Use `"1"` for version 1, or `"2"` for the latest enhanced version. For a detailed comparison of the two versions, refer to our [guide](/docs/speech-to-speech-evi/configuration/evi-version). */
|
|
22
22
|
eviVersion?: string;
|
|
23
23
|
timeouts?: Hume.empathicVoice.ReturnTimeoutSpecs;
|
|
24
24
|
nudges?: Hume.empathicVoice.ReturnNudgeSpec;
|
|
@@ -28,8 +28,7 @@ export interface ReturnConfig {
|
|
|
28
28
|
* Hume's eLLM (empathic Large Language Model) is a multimodal language model that takes into account both expression measures and language. The eLLM generates short, empathic language responses and guides text-to-speech (TTS) prosody.
|
|
29
29
|
*/
|
|
30
30
|
ellmModel?: Hume.empathicVoice.ReturnEllmModel;
|
|
31
|
-
|
|
32
|
-
voice?: Hume.empathicVoice.ReturnVoice;
|
|
31
|
+
voice?: unknown;
|
|
33
32
|
prompt?: Hume.empathicVoice.ReturnPrompt;
|
|
34
33
|
/** List of user-defined tools associated with this Config. */
|
|
35
34
|
tools?: (Hume.empathicVoice.ReturnUserDefinedTool | undefined)[];
|
|
@@ -15,7 +15,7 @@ export interface ReturnPrompt {
|
|
|
15
15
|
*
|
|
16
16
|
* You can use the Prompt to define a specific goal or role for EVI, specifying how it should act or what it should focus on during the conversation. For example, EVI can be instructed to act as a customer support representative, a fitness coach, or a travel advisor, each with its own set of behaviors and response styles.
|
|
17
17
|
*
|
|
18
|
-
* For help writing a system prompt, see our [Prompting Guide](/docs/
|
|
18
|
+
* For help writing a system prompt, see our [Prompting Guide](/docs/speech-to-speech-evi/guides/prompting).
|
|
19
19
|
*/
|
|
20
20
|
text: string;
|
|
21
21
|
/**
|
|
@@ -11,7 +11,7 @@ export interface ReturnWebhookSpec {
|
|
|
11
11
|
/**
|
|
12
12
|
* The list of events the specified URL is subscribed to.
|
|
13
13
|
*
|
|
14
|
-
* See our [webhooks guide](/docs/
|
|
14
|
+
* See our [webhooks guide](/docs/speech-to-speech-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
|
|
15
15
|
*/
|
|
16
16
|
events: Hume.empathicVoice.ReturnWebhookEventType[];
|
|
17
17
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Hume from "../../../index";
|
|
5
|
+
export interface VoiceId {
|
|
6
|
+
/** ID of the voice in the `Voice Library`. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Model provider associated with this Voice ID. */
|
|
9
|
+
provider?: Hume.empathicVoice.VoiceProvider;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Hume from "../../../index";
|
|
5
|
+
export interface VoiceName {
|
|
6
|
+
/** Name of the voice in the `Voice Library`. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Model provider associated with this Voice Name. */
|
|
9
|
+
provider?: Hume.empathicVoice.VoiceProvider;
|
|
10
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.VoiceProvider = void 0;
|
|
7
|
+
exports.VoiceProvider = {
|
|
8
8
|
HumeAi: "HUME_AI",
|
|
9
9
|
CustomVoice: "CUSTOM_VOICE",
|
|
10
10
|
};
|
|
@@ -51,13 +51,6 @@ export * from "./ReturnUserDefinedToolVersionType";
|
|
|
51
51
|
export * from "./ReturnUserDefinedTool";
|
|
52
52
|
export * from "./ReturnPagedPrompts";
|
|
53
53
|
export * from "./ReturnPrompt";
|
|
54
|
-
export * from "./ReturnPagedCustomVoices";
|
|
55
|
-
export * from "./PostedCustomVoiceBaseVoice";
|
|
56
|
-
export * from "./PostedCustomVoiceParameters";
|
|
57
|
-
export * from "./PostedCustomVoice";
|
|
58
|
-
export * from "./ReturnCustomVoiceBaseVoice";
|
|
59
|
-
export * from "./ReturnCustomVoiceParameters";
|
|
60
|
-
export * from "./ReturnCustomVoice";
|
|
61
54
|
export * from "./ReturnPagedConfigs";
|
|
62
55
|
export * from "./ReturnConfig";
|
|
63
56
|
export * from "./ReturnPagedChatsPaginationDirection";
|
|
@@ -89,7 +82,6 @@ export * from "./PostedTimeoutSpecsMaxDuration";
|
|
|
89
82
|
export * from "./PostedTimeoutSpecs";
|
|
90
83
|
export * from "./PostedWebhookEventType";
|
|
91
84
|
export * from "./PostedWebhookSpec";
|
|
92
|
-
export * from "./ReturnVoiceSpec";
|
|
93
85
|
export * from "./ReturnLanguageModel";
|
|
94
86
|
export * from "./ReturnEllmModel";
|
|
95
87
|
export * from "./ReturnBuiltinToolToolType";
|
|
@@ -108,15 +100,9 @@ export * from "./ReturnConfigSpec";
|
|
|
108
100
|
export * from "./ReturnChatGroup";
|
|
109
101
|
export * from "./PostedEventMessageSpec";
|
|
110
102
|
export * from "./PostedTimeoutSpec";
|
|
111
|
-
export * from "./ReturnVoiceSpecEvi2";
|
|
112
|
-
export * from "./ReturnVoiceSpecOctavecustom";
|
|
113
|
-
export * from "./ReturnVoiceSpecOctaveshared";
|
|
114
103
|
export * from "./ReturnEventMessageSpec";
|
|
115
104
|
export * from "./ReturnTimeoutSpec";
|
|
116
|
-
export * from "./
|
|
117
|
-
export * from "./
|
|
118
|
-
export * from "./
|
|
119
|
-
export * from "./
|
|
120
|
-
export * from "./PostedVoice";
|
|
121
|
-
export * from "./ReturnVoiceProvider";
|
|
122
|
-
export * from "./ReturnVoice";
|
|
105
|
+
export * from "./VoiceProvider";
|
|
106
|
+
export * from "./VoiceId";
|
|
107
|
+
export * from "./VoiceName";
|
|
108
|
+
export * from "./VoiceRef";
|
|
@@ -67,13 +67,6 @@ __exportStar(require("./ReturnUserDefinedToolVersionType"), exports);
|
|
|
67
67
|
__exportStar(require("./ReturnUserDefinedTool"), exports);
|
|
68
68
|
__exportStar(require("./ReturnPagedPrompts"), exports);
|
|
69
69
|
__exportStar(require("./ReturnPrompt"), exports);
|
|
70
|
-
__exportStar(require("./ReturnPagedCustomVoices"), exports);
|
|
71
|
-
__exportStar(require("./PostedCustomVoiceBaseVoice"), exports);
|
|
72
|
-
__exportStar(require("./PostedCustomVoiceParameters"), exports);
|
|
73
|
-
__exportStar(require("./PostedCustomVoice"), exports);
|
|
74
|
-
__exportStar(require("./ReturnCustomVoiceBaseVoice"), exports);
|
|
75
|
-
__exportStar(require("./ReturnCustomVoiceParameters"), exports);
|
|
76
|
-
__exportStar(require("./ReturnCustomVoice"), exports);
|
|
77
70
|
__exportStar(require("./ReturnPagedConfigs"), exports);
|
|
78
71
|
__exportStar(require("./ReturnConfig"), exports);
|
|
79
72
|
__exportStar(require("./ReturnPagedChatsPaginationDirection"), exports);
|
|
@@ -105,7 +98,6 @@ __exportStar(require("./PostedTimeoutSpecsMaxDuration"), exports);
|
|
|
105
98
|
__exportStar(require("./PostedTimeoutSpecs"), exports);
|
|
106
99
|
__exportStar(require("./PostedWebhookEventType"), exports);
|
|
107
100
|
__exportStar(require("./PostedWebhookSpec"), exports);
|
|
108
|
-
__exportStar(require("./ReturnVoiceSpec"), exports);
|
|
109
101
|
__exportStar(require("./ReturnLanguageModel"), exports);
|
|
110
102
|
__exportStar(require("./ReturnEllmModel"), exports);
|
|
111
103
|
__exportStar(require("./ReturnBuiltinToolToolType"), exports);
|
|
@@ -124,15 +116,9 @@ __exportStar(require("./ReturnConfigSpec"), exports);
|
|
|
124
116
|
__exportStar(require("./ReturnChatGroup"), exports);
|
|
125
117
|
__exportStar(require("./PostedEventMessageSpec"), exports);
|
|
126
118
|
__exportStar(require("./PostedTimeoutSpec"), exports);
|
|
127
|
-
__exportStar(require("./ReturnVoiceSpecEvi2"), exports);
|
|
128
|
-
__exportStar(require("./ReturnVoiceSpecOctavecustom"), exports);
|
|
129
|
-
__exportStar(require("./ReturnVoiceSpecOctaveshared"), exports);
|
|
130
119
|
__exportStar(require("./ReturnEventMessageSpec"), exports);
|
|
131
120
|
__exportStar(require("./ReturnTimeoutSpec"), exports);
|
|
132
|
-
__exportStar(require("./
|
|
133
|
-
__exportStar(require("./
|
|
134
|
-
__exportStar(require("./
|
|
135
|
-
__exportStar(require("./
|
|
136
|
-
__exportStar(require("./PostedVoice"), exports);
|
|
137
|
-
__exportStar(require("./ReturnVoiceProvider"), exports);
|
|
138
|
-
__exportStar(require("./ReturnVoice"), exports);
|
|
121
|
+
__exportStar(require("./VoiceProvider"), exports);
|
|
122
|
+
__exportStar(require("./VoiceId"), exports);
|
|
123
|
+
__exportStar(require("./VoiceName"), exports);
|
|
124
|
+
__exportStar(require("./VoiceRef"), exports);
|
|
@@ -3,7 +3,6 @@ import * as environments from "../../../../environments";
|
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
4
|
import { Tools } from "../resources/tools/client/Client";
|
|
5
5
|
import { Prompts } from "../resources/prompts/client/Client";
|
|
6
|
-
import { CustomVoices } from "../resources/customVoices/client/Client";
|
|
7
6
|
import { Configs } from "../resources/configs/client/Client";
|
|
8
7
|
import { Chats } from "../resources/chats/client/Client";
|
|
9
8
|
import { ChatGroups } from "../resources/chatGroups/client/Client";
|
|
@@ -31,8 +30,6 @@ export declare class EmpathicVoice {
|
|
|
31
30
|
get tools(): Tools;
|
|
32
31
|
protected _prompts: Prompts | undefined;
|
|
33
32
|
get prompts(): Prompts;
|
|
34
|
-
protected _customVoices: CustomVoices | undefined;
|
|
35
|
-
get customVoices(): CustomVoices;
|
|
36
33
|
protected _configs: Configs | undefined;
|
|
37
34
|
get configs(): Configs;
|
|
38
35
|
protected _chats: Chats | undefined;
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.EmpathicVoice = void 0;
|
|
5
5
|
const Client_1 = require("../resources/tools/client/Client");
|
|
6
6
|
const Client_2 = require("../resources/prompts/client/Client");
|
|
7
|
-
const Client_3 = require("../resources/
|
|
8
|
-
const Client_4 = require("../resources/
|
|
9
|
-
const Client_5 = require("../resources/
|
|
10
|
-
const Client_6 = require("../resources/
|
|
11
|
-
const Client_7 = require("../resources/chat/client/Client");
|
|
7
|
+
const Client_3 = require("../resources/configs/client/Client");
|
|
8
|
+
const Client_4 = require("../resources/chats/client/Client");
|
|
9
|
+
const Client_5 = require("../resources/chatGroups/client/Client");
|
|
10
|
+
const Client_6 = require("../resources/chat/client/Client");
|
|
12
11
|
class EmpathicVoice {
|
|
13
12
|
constructor(_options = {}) {
|
|
14
13
|
this._options = _options;
|
|
@@ -21,25 +20,21 @@ class EmpathicVoice {
|
|
|
21
20
|
var _a;
|
|
22
21
|
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_2.Prompts(this._options)));
|
|
23
22
|
}
|
|
24
|
-
get customVoices() {
|
|
25
|
-
var _a;
|
|
26
|
-
return ((_a = this._customVoices) !== null && _a !== void 0 ? _a : (this._customVoices = new Client_3.CustomVoices(this._options)));
|
|
27
|
-
}
|
|
28
23
|
get configs() {
|
|
29
24
|
var _a;
|
|
30
|
-
return ((_a = this._configs) !== null && _a !== void 0 ? _a : (this._configs = new
|
|
25
|
+
return ((_a = this._configs) !== null && _a !== void 0 ? _a : (this._configs = new Client_3.Configs(this._options)));
|
|
31
26
|
}
|
|
32
27
|
get chats() {
|
|
33
28
|
var _a;
|
|
34
|
-
return ((_a = this._chats) !== null && _a !== void 0 ? _a : (this._chats = new
|
|
29
|
+
return ((_a = this._chats) !== null && _a !== void 0 ? _a : (this._chats = new Client_4.Chats(this._options)));
|
|
35
30
|
}
|
|
36
31
|
get chatGroups() {
|
|
37
32
|
var _a;
|
|
38
|
-
return ((_a = this._chatGroups) !== null && _a !== void 0 ? _a : (this._chatGroups = new
|
|
33
|
+
return ((_a = this._chatGroups) !== null && _a !== void 0 ? _a : (this._chatGroups = new Client_5.ChatGroups(this._options)));
|
|
39
34
|
}
|
|
40
35
|
get chat() {
|
|
41
36
|
var _a;
|
|
42
|
-
return ((_a = this._chat) !== null && _a !== void 0 ? _a : (this._chat = new
|
|
37
|
+
return ((_a = this._chat) !== null && _a !== void 0 ? _a : (this._chat = new Client_6.Chat(this._options)));
|
|
43
38
|
}
|
|
44
39
|
}
|
|
45
40
|
exports.EmpathicVoice = EmpathicVoice;
|
|
@@ -55,7 +55,7 @@ class ChatSocket {
|
|
|
55
55
|
(_b = (_a = this.eventHandlers).open) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
56
56
|
};
|
|
57
57
|
this.handleMessage = (event) => {
|
|
58
|
-
var _a, _b
|
|
58
|
+
var _a, _b;
|
|
59
59
|
const data = JSON.parse(event.data);
|
|
60
60
|
const parsedResponse = serializers.empathicVoice.SubscribeEvent.parse(data, {
|
|
61
61
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -66,9 +66,6 @@ class ChatSocket {
|
|
|
66
66
|
if (parsedResponse.ok) {
|
|
67
67
|
(_b = (_a = this.eventHandlers).message) === null || _b === void 0 ? void 0 : _b.call(_a, Object.assign(Object.assign({}, parsedResponse.value), { receivedAt: new Date() }));
|
|
68
68
|
}
|
|
69
|
-
else {
|
|
70
|
-
(_d = (_c = this.eventHandlers).error) === null || _d === void 0 ? void 0 : _d.call(_c, new Error(`Received unknown message type`));
|
|
71
|
-
}
|
|
72
69
|
};
|
|
73
70
|
this.handleClose = (event) => {
|
|
74
71
|
var _a, _b;
|
|
@@ -81,7 +81,7 @@ export declare class ChatGroups {
|
|
|
81
81
|
*/
|
|
82
82
|
listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent>>;
|
|
83
83
|
/**
|
|
84
|
-
* 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/
|
|
84
|
+
* 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/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
85
85
|
*
|
|
86
86
|
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
87
87
|
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
@@ -347,7 +347,7 @@ class ChatGroups {
|
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
|
-
* 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/
|
|
350
|
+
* 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/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
351
351
|
*
|
|
352
352
|
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
353
353
|
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
@@ -62,7 +62,7 @@ export declare class Chats {
|
|
|
62
62
|
*/
|
|
63
63
|
listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: Chats.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent>>;
|
|
64
64
|
/**
|
|
65
|
-
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
65
|
+
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
66
66
|
*
|
|
67
67
|
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
68
68
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -259,7 +259,7 @@ class Chats {
|
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
|
-
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
262
|
+
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
263
263
|
*
|
|
264
264
|
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
265
265
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Configs {
|
|
|
31
31
|
/**
|
|
32
32
|
* Fetches a paginated list of **Configs**.
|
|
33
33
|
*
|
|
34
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
34
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
35
35
|
*
|
|
36
36
|
* @param {Hume.empathicVoice.ConfigsListConfigsRequest} request
|
|
37
37
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -48,7 +48,7 @@ export declare class Configs {
|
|
|
48
48
|
/**
|
|
49
49
|
* Creates a **Config** which can be applied to EVI.
|
|
50
50
|
*
|
|
51
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
51
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
52
52
|
*
|
|
53
53
|
* @param {Hume.empathicVoice.PostedConfig} request
|
|
54
54
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -62,10 +62,10 @@ export declare class Configs {
|
|
|
62
62
|
* id: "af699d45-2985-42cc-91b9-af9e5da3bac5",
|
|
63
63
|
* version: 0
|
|
64
64
|
* },
|
|
65
|
-
* eviVersion: "
|
|
65
|
+
* eviVersion: "3",
|
|
66
66
|
* voice: {
|
|
67
67
|
* provider: "HUME_AI",
|
|
68
|
-
* name: "
|
|
68
|
+
* name: "Ava Song"
|
|
69
69
|
* },
|
|
70
70
|
* languageModel: {
|
|
71
71
|
* modelProvider: "ANTHROPIC",
|
|
@@ -93,7 +93,7 @@ export declare class Configs {
|
|
|
93
93
|
/**
|
|
94
94
|
* Fetches a list of a **Config's** versions.
|
|
95
95
|
*
|
|
96
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
96
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
97
97
|
*
|
|
98
98
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
99
99
|
* @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
|
|
@@ -108,7 +108,7 @@ export declare class Configs {
|
|
|
108
108
|
/**
|
|
109
109
|
* Updates a **Config** by creating a new version of the **Config**.
|
|
110
110
|
*
|
|
111
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
111
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
112
112
|
*
|
|
113
113
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
114
114
|
* @param {Hume.empathicVoice.PostedConfigVersion} request
|
|
@@ -119,14 +119,14 @@ export declare class Configs {
|
|
|
119
119
|
* @example
|
|
120
120
|
* await client.empathicVoice.configs.createConfigVersion("1b60e1a0-cc59-424a-8d2c-189d354db3f3", {
|
|
121
121
|
* versionDescription: "This is an updated version of the Weather Assistant Config.",
|
|
122
|
-
* eviVersion: "
|
|
122
|
+
* eviVersion: "3",
|
|
123
123
|
* prompt: {
|
|
124
124
|
* id: "af699d45-2985-42cc-91b9-af9e5da3bac5",
|
|
125
125
|
* version: 0
|
|
126
126
|
* },
|
|
127
127
|
* voice: {
|
|
128
128
|
* provider: "HUME_AI",
|
|
129
|
-
* name: "
|
|
129
|
+
* name: "Ava Song"
|
|
130
130
|
* },
|
|
131
131
|
* languageModel: {
|
|
132
132
|
* modelProvider: "ANTHROPIC",
|
|
@@ -157,7 +157,7 @@ export declare class Configs {
|
|
|
157
157
|
/**
|
|
158
158
|
* Deletes a **Config** and its versions.
|
|
159
159
|
*
|
|
160
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
160
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
161
161
|
*
|
|
162
162
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
163
163
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -172,7 +172,7 @@ export declare class Configs {
|
|
|
172
172
|
/**
|
|
173
173
|
* Updates the name of a **Config**.
|
|
174
174
|
*
|
|
175
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
175
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
176
176
|
*
|
|
177
177
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
178
178
|
* @param {Hume.empathicVoice.PostedConfigName} request
|
|
@@ -190,7 +190,7 @@ export declare class Configs {
|
|
|
190
190
|
/**
|
|
191
191
|
* Fetches a specified version of a **Config**.
|
|
192
192
|
*
|
|
193
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
193
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
194
194
|
*
|
|
195
195
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
196
196
|
* @param {number} version - Version number for a Config.
|
|
@@ -210,7 +210,7 @@ export declare class Configs {
|
|
|
210
210
|
/**
|
|
211
211
|
* Deletes a specified version of a **Config**.
|
|
212
212
|
*
|
|
213
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
213
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
214
214
|
*
|
|
215
215
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
216
216
|
* @param {number} version - Version number for a Config.
|
|
@@ -230,7 +230,7 @@ export declare class Configs {
|
|
|
230
230
|
/**
|
|
231
231
|
* Updates the description of a **Config**.
|
|
232
232
|
*
|
|
233
|
-
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/
|
|
233
|
+
* For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
234
234
|
*
|
|
235
235
|
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
236
236
|
* @param {number} version - Version number for a Config.
|