hume 0.9.10 → 0.9.12
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 +87 -26
- package/.mock/definition/empathic-voice/chat.yml +5 -1
- package/.mock/definition/empathic-voice/chatGroups.yml +6 -0
- package/.mock/definition/empathic-voice/chatWebhooks.yml +24 -13
- package/.mock/definition/empathic-voice/chats.yml +3 -0
- package/.mock/definition/empathic-voice/configs.yml +8 -1
- package/.mock/definition/empathic-voice/customVoices.yml +23 -12
- package/.mock/definition/empathic-voice/prompts.yml +29 -21
- package/.mock/definition/empathic-voice/tools.yml +34 -27
- package/.mock/definition/expression-measurement/batch/__package__.yml +23 -0
- package/.mock/definition/expression-measurement/stream/__package__.yml +0 -435
- package/.mock/definition/expression-measurement/v0StreamModels.yml +437 -0
- package/.mock/definition/tts/__package__.yml +394 -0
- package/.mock/definition/tts/voices.yml +47 -0
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- 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 +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/api/resources/empathicVoice/types/Context.d.ts +2 -2
- 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/PostedCustomVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/tts/client/Client.d.ts +69 -0
- package/api/resources/tts/client/Client.js +200 -0
- package/api/resources/tts/client/index.d.ts +1 -0
- package/api/resources/tts/client/index.js +2 -0
- package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/api/resources/tts/errors/index.d.ts +1 -0
- package/api/resources/tts/errors/index.js +17 -0
- package/api/resources/tts/index.d.ts +4 -0
- package/api/resources/tts/index.js +20 -0
- package/api/resources/tts/resources/index.d.ts +2 -0
- package/api/resources/tts/resources/index.js +31 -0
- package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/index.js +17 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/index.js +17 -0
- package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/api/resources/tts/types/AudioEncoding.js +5 -0
- package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/api/resources/tts/types/AudioFormatType.js +11 -0
- package/api/resources/tts/types/Format.d.ts +19 -0
- package/api/resources/tts/types/Format.js +5 -0
- package/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/api/resources/tts/types/FormatMp3.js +5 -0
- package/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/api/resources/tts/types/FormatPcm.js +5 -0
- package/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/api/resources/tts/types/FormatWav.js +5 -0
- package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/api/resources/tts/types/HttpValidationError.js +5 -0
- package/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/api/resources/tts/types/PostedContext.js +5 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/api/resources/tts/types/PostedTts.js +5 -0
- package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/api/resources/tts/types/PostedUtterance.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/api/resources/tts/types/ReturnTts.js +5 -0
- package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/api/resources/tts/types/ReturnVoice.js +5 -0
- package/api/resources/tts/types/Snippet.d.ts +11 -0
- package/api/resources/tts/types/Snippet.js +5 -0
- package/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/api/resources/tts/types/ValidationError.js +5 -0
- package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/api/resources/tts/types/VoiceProvider.js +10 -0
- package/api/resources/tts/types/index.d.ts +23 -0
- package/api/resources/tts/types/index.js +39 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- 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 +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
- 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/PostedCustomVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/tts/client/Client.d.ts +69 -0
- package/dist/api/resources/tts/client/Client.js +200 -0
- package/dist/api/resources/tts/client/index.d.ts +1 -0
- package/dist/api/resources/tts/client/index.js +2 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/dist/api/resources/tts/errors/index.d.ts +1 -0
- package/dist/api/resources/tts/errors/index.js +17 -0
- package/dist/api/resources/tts/index.d.ts +4 -0
- package/dist/api/resources/tts/index.js +20 -0
- package/dist/api/resources/tts/resources/index.d.ts +2 -0
- package/dist/api/resources/tts/resources/index.js +31 -0
- package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/index.js +17 -0
- package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
- package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
- package/dist/api/resources/tts/types/Format.d.ts +19 -0
- package/dist/api/resources/tts/types/Format.js +5 -0
- package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatMp3.js +5 -0
- package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatPcm.js +5 -0
- package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatWav.js +5 -0
- package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
- package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/dist/api/resources/tts/types/PostedContext.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/dist/api/resources/tts/types/PostedTts.js +5 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnTts.js +5 -0
- package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
- package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
- package/dist/api/resources/tts/types/Snippet.js +5 -0
- package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/dist/api/resources/tts/types/ValidationError.js +5 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
- package/dist/api/resources/tts/types/index.d.ts +23 -0
- package/dist/api/resources/tts/types/index.js +39 -0
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/tts/index.d.ts +2 -0
- package/dist/serialization/resources/tts/index.js +18 -0
- package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
- package/dist/serialization/resources/tts/resources/index.js +31 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
- package/dist/serialization/resources/tts/types/Format.js +43 -0
- package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/dist/serialization/resources/tts/types/Snippet.js +35 -0
- package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/dist/serialization/resources/tts/types/index.d.ts +23 -0
- package/dist/serialization/resources/tts/types/index.js +39 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +336 -25
- package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/tts/index.d.ts +2 -0
- package/serialization/resources/tts/index.js +18 -0
- package/serialization/resources/tts/resources/index.d.ts +2 -0
- package/serialization/resources/tts/resources/index.js +31 -0
- package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/index.js +17 -0
- package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/serialization/resources/tts/types/Format.d.ts +22 -0
- package/serialization/resources/tts/types/Format.js +43 -0
- package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/serialization/resources/tts/types/FormatWav.js +31 -0
- package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContext.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/serialization/resources/tts/types/PostedTts.js +39 -0
- package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/serialization/resources/tts/types/Snippet.js +35 -0
- package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/serialization/resources/tts/types/ValidationError.js +36 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/serialization/resources/tts/types/index.d.ts +23 -0
- package/serialization/resources/tts/types/index.js +39 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
- /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
|
@@ -52,7 +52,7 @@ class Tools {
|
|
|
52
52
|
/**
|
|
53
53
|
* Fetches a paginated list of **Tools**.
|
|
54
54
|
*
|
|
55
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
55
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
56
56
|
*
|
|
57
57
|
* @param {Hume.empathicVoice.ToolsListToolsRequest} request
|
|
58
58
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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",
|
|
@@ -147,7 +147,7 @@ class Tools {
|
|
|
147
147
|
/**
|
|
148
148
|
* Creates a **Tool** that can be added to an [EVI configuration](/reference/empathic-voice-interface-evi/configs/create-config).
|
|
149
149
|
*
|
|
150
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
150
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
151
151
|
*
|
|
152
152
|
* @param {Hume.empathicVoice.PostedUserDefinedTool} request
|
|
153
153
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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, {
|
|
@@ -221,7 +221,7 @@ class Tools {
|
|
|
221
221
|
/**
|
|
222
222
|
* Fetches a list of a **Tool's** versions.
|
|
223
223
|
*
|
|
224
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
224
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
225
225
|
*
|
|
226
226
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
227
227
|
* @param {Hume.empathicVoice.ToolsListToolVersionsRequest} 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.12", "User-Agent": "hume/0.9.12", "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",
|
|
@@ -299,7 +299,7 @@ class Tools {
|
|
|
299
299
|
/**
|
|
300
300
|
* Updates a **Tool** by creating a new version of the **Tool**.
|
|
301
301
|
*
|
|
302
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
302
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
303
303
|
*
|
|
304
304
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
305
305
|
* @param {Hume.empathicVoice.PostedUserDefinedToolVersion} request
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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, {
|
|
@@ -373,7 +373,7 @@ class Tools {
|
|
|
373
373
|
/**
|
|
374
374
|
* Deletes a **Tool** and its versions.
|
|
375
375
|
*
|
|
376
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
376
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
377
377
|
*
|
|
378
378
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
379
379
|
* @param {Tools.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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,
|
|
@@ -433,7 +433,7 @@ class Tools {
|
|
|
433
433
|
/**
|
|
434
434
|
* Updates the name of a **Tool**.
|
|
435
435
|
*
|
|
436
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
436
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
437
437
|
*
|
|
438
438
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
439
439
|
* @param {Hume.empathicVoice.PostedUserDefinedToolName} request
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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, {
|
|
@@ -500,7 +500,7 @@ class Tools {
|
|
|
500
500
|
/**
|
|
501
501
|
* Fetches a specified version of a **Tool**.
|
|
502
502
|
*
|
|
503
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
503
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
504
504
|
*
|
|
505
505
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
506
506
|
* @param {number} version - Version number for a Tool.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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,
|
|
@@ -570,7 +570,7 @@ class Tools {
|
|
|
570
570
|
/**
|
|
571
571
|
* Deletes a specified version of a **Tool**.
|
|
572
572
|
*
|
|
573
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
573
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
574
574
|
*
|
|
575
575
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
576
576
|
* @param {number} version - Version number for a Tool.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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,
|
|
@@ -635,7 +635,7 @@ class Tools {
|
|
|
635
635
|
/**
|
|
636
636
|
* Updates the description of a specified **Tool** version.
|
|
637
637
|
*
|
|
638
|
-
* Refer to our [tool use](/docs/empathic-voice-interface-evi/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
638
|
+
* Refer to our [tool use](/docs/empathic-voice-interface-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI.
|
|
639
639
|
*
|
|
640
640
|
* @param {string} id - Identifier for a Tool. Formatted as a UUID.
|
|
641
641
|
* @param {number} version - Version number for a Tool.
|
|
@@ -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.12", "User-Agent": "hume/0.9.12", "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, {
|
|
@@ -12,9 +12,9 @@ export interface Context {
|
|
|
12
12
|
*
|
|
13
13
|
* - **Temporary**: The context is appended only to the next user message.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* - **Editable**: The original context is updated to reflect the new context.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* If the type is not specified, it will default to `temporary`.
|
|
18
18
|
*/
|
|
19
19
|
type?: Hume.empathicVoice.ContextType;
|
|
20
20
|
/**
|
|
@@ -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/empathic-voice-interface-evi/tool-use#using-built-in-tools).
|
|
15
|
+
* For more information, see our guide on [using built-in tools](/docs/empathic-voice-interface-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/empathic-voice-interface-evi/tool-use#using-built-in-tools).
|
|
10
|
+
* For more information, see our guide on [using built-in tools](/docs/empathic-voice-interface-evi/features/tool-use#using-built-in-tools).
|
|
11
11
|
*/
|
|
12
12
|
export declare type PostedBuiltinToolName = "web_search" | "hang_up";
|
|
13
13
|
export declare const PostedBuiltinToolName: {
|
|
@@ -7,7 +7,7 @@ import * as Hume from "../../../index";
|
|
|
7
7
|
*
|
|
8
8
|
* If a Custom Voice specification is not provided then the [name](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.name) of a base voice or previously created Custom Voice must be provided.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* See our [Voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for a tutorial on how to craft a Custom Voice.
|
|
11
11
|
*/
|
|
12
12
|
export interface PostedCustomVoice {
|
|
13
13
|
/** The name of the Custom Voice. Maximum length of 75 characters. Will be converted to all-uppercase. (e.g., "sample voice" becomes "SAMPLE VOICE") */
|
|
@@ -6,8 +6,12 @@ import * as Hume from "../../../index";
|
|
|
6
6
|
* URL and settings for a specific webhook to be posted to the server
|
|
7
7
|
*/
|
|
8
8
|
export interface PostedWebhookSpec {
|
|
9
|
-
/** URL
|
|
9
|
+
/** The URL where event payloads will be sent. This must be a valid https URL to ensure secure communication. The server at this URL must accept POST requests with a JSON payload. */
|
|
10
10
|
url: string;
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The list of events the specified URL is subscribed to.
|
|
13
|
+
*
|
|
14
|
+
* See our [webhooks guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
|
|
15
|
+
*/
|
|
12
16
|
events: Hume.empathicVoice.PostedWebhookEventType[];
|
|
13
17
|
}
|
|
@@ -16,7 +16,7 @@ export interface ReturnConfig {
|
|
|
16
16
|
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
17
17
|
*/
|
|
18
18
|
version?: number;
|
|
19
|
-
/** 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/empathic-voice-interface-evi/evi-
|
|
19
|
+
/** 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/empathic-voice-interface-evi/configuration/evi-version). */
|
|
20
20
|
eviVersion?: string;
|
|
21
21
|
/** An optional description of the Config version. */
|
|
22
22
|
versionDescription?: string;
|
|
@@ -31,7 +31,7 @@ export interface ReturnPrompt {
|
|
|
31
31
|
*
|
|
32
32
|
* 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.
|
|
33
33
|
*
|
|
34
|
-
* For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
34
|
+
* For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/guides/prompting).
|
|
35
35
|
*/
|
|
36
36
|
text: string;
|
|
37
37
|
}
|
|
@@ -6,8 +6,12 @@ import * as Hume from "../../../index";
|
|
|
6
6
|
* Collection of webhook URL endpoints to be returned from the server
|
|
7
7
|
*/
|
|
8
8
|
export interface ReturnWebhookSpec {
|
|
9
|
-
/**
|
|
9
|
+
/** The URL where event payloads will be sent. This must be a valid https URL to ensure secure communication. The server at this URL must accept POST requests with a JSON payload. */
|
|
10
10
|
url: string;
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The list of events the specified URL is subscribed to.
|
|
13
|
+
*
|
|
14
|
+
* See our [webhooks guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events) for more information on supported events.
|
|
15
|
+
*/
|
|
12
16
|
events: Hume.empathicVoice.ReturnWebhookEventType[];
|
|
13
17
|
}
|
|
@@ -11,7 +11,7 @@ export interface SessionSettings {
|
|
|
11
11
|
*
|
|
12
12
|
* Session settings are temporary and apply only to the current Chat session. These settings can be adjusted dynamically based on the requirements of each session to ensure optimal performance and user experience.
|
|
13
13
|
*
|
|
14
|
-
* For more information, please refer to the [Session Settings
|
|
14
|
+
* For more information, please refer to the [Session Settings guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
|
|
15
15
|
*/
|
|
16
16
|
type: "session_settings";
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ export interface SessionSettings {
|
|
|
19
19
|
*
|
|
20
20
|
* If included, the response sent from Hume to your backend will include this ID. This allows you to correlate frontend users with their incoming messages.
|
|
21
21
|
*
|
|
22
|
-
* It is recommended to pass a `custom_session_id` if you are using a Custom Language Model. Please see our guide to [using a custom language model](/docs/empathic-voice-interface-evi/custom-language-model) with EVI to learn more.
|
|
22
|
+
* It is recommended to pass a `custom_session_id` if you are using a Custom Language Model. Please see our guide to [using a custom language model](/docs/empathic-voice-interface-evi/guides/custom-language-model) with EVI to learn more.
|
|
23
23
|
*/
|
|
24
24
|
customSessionId?: string;
|
|
25
25
|
/**
|
|
@@ -29,7 +29,7 @@ export interface SessionSettings {
|
|
|
29
29
|
*
|
|
30
30
|
* 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.
|
|
31
31
|
*
|
|
32
|
-
* For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
32
|
+
* For help writing a system prompt, see our [Prompting Guide](/docs/empathic-voice-interface-evi/guides/prompting).
|
|
33
33
|
*/
|
|
34
34
|
systemPrompt?: string;
|
|
35
35
|
/**
|
|
@@ -43,7 +43,7 @@ export interface SessionSettings {
|
|
|
43
43
|
/**
|
|
44
44
|
* Configuration details for the audio input used during the session. Ensures the audio is being correctly set up for processing.
|
|
45
45
|
*
|
|
46
|
-
* This optional field is only required when the audio input is encoded in PCM Linear 16 (16-bit, little-endian, signed PCM WAV data). For detailed instructions on how to configure session settings for PCM Linear 16 audio, please refer to the [Session Settings
|
|
46
|
+
* This optional field is only required when the audio input is encoded in PCM Linear 16 (16-bit, little-endian, signed PCM WAV data). For detailed instructions on how to configure session settings for PCM Linear 16 audio, please refer to the [Session Settings guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
|
|
47
47
|
*/
|
|
48
48
|
audio?: Hume.empathicVoice.AudioConfiguration;
|
|
49
49
|
/**
|
|
@@ -55,13 +55,13 @@ export interface SessionSettings {
|
|
|
55
55
|
/**
|
|
56
56
|
* List of user-defined tools to enable for the session.
|
|
57
57
|
*
|
|
58
|
-
* Tools are resources used by EVI to perform various tasks, such as searching the web or calling external APIs. Built-in tools, like web search, are natively integrated, while user-defined tools are created and invoked by the user. To learn more, see our [Tool Use Guide](/docs/empathic-voice-interface-evi/tool-use).
|
|
58
|
+
* Tools are resources used by EVI to perform various tasks, such as searching the web or calling external APIs. Built-in tools, like web search, are natively integrated, while user-defined tools are created and invoked by the user. To learn more, see our [Tool Use Guide](/docs/empathic-voice-interface-evi/features/tool-use).
|
|
59
59
|
*/
|
|
60
60
|
tools?: Hume.empathicVoice.Tool[];
|
|
61
61
|
/**
|
|
62
62
|
* List of built-in tools to enable for the session.
|
|
63
63
|
*
|
|
64
|
-
* Tools are resources used by EVI to perform various tasks, such as searching the web or calling external APIs. Built-in tools, like web search, are natively integrated, while user-defined tools are created and invoked by the user. To learn more, see our [Tool Use Guide](/docs/empathic-voice-interface-evi/tool-use).
|
|
64
|
+
* Tools are resources used by EVI to perform various tasks, such as searching the web or calling external APIs. Built-in tools, like web search, are natively integrated, while user-defined tools are created and invoked by the user. To learn more, see our [Tool Use Guide](/docs/empathic-voice-interface-evi/features/tool-use).
|
|
65
65
|
*
|
|
66
66
|
* Currently, the only built-in tool Hume provides is **Web Search**. When enabled, Web Search equips EVI with the ability to search the web for up-to-date information.
|
|
67
67
|
*/
|
|
@@ -72,7 +72,7 @@ export interface SessionSettings {
|
|
|
72
72
|
*
|
|
73
73
|
* Each key represents the variable name, and the corresponding value is the specific content you wish to assign to that variable within the session. While the values for variables can be strings, numbers, or booleans, the value will ultimately be converted to a string when injected into your system prompt.
|
|
74
74
|
*
|
|
75
|
-
* Using this field, you can personalize responses based on session-specific details. For more guidance, see our [guide on using dynamic variables](/docs/empathic-voice-interface-evi/
|
|
75
|
+
* Using this field, you can personalize responses based on session-specific details. For more guidance, see our [guide on using dynamic variables](/docs/empathic-voice-interface-evi/features/dynamic-variables).
|
|
76
76
|
*/
|
|
77
77
|
variables?: Record<string, Hume.empathicVoice.SessionSettingsVariablesValue>;
|
|
78
78
|
}
|
|
@@ -5,9 +5,14 @@ import * as Hume from "../../../index";
|
|
|
5
5
|
export interface WebhookEventChatEnded extends Hume.empathicVoice.WebhookEventBase {
|
|
6
6
|
/** Always `chat_ended`. */
|
|
7
7
|
eventName?: "chat_ended";
|
|
8
|
+
/** Unix timestamp (in milliseconds) indicating when the session ended. */
|
|
8
9
|
endTime: number;
|
|
10
|
+
/** Total duration of the session in seconds. */
|
|
9
11
|
durationSeconds: number;
|
|
12
|
+
/** Reason for the session's termination. */
|
|
10
13
|
endReason: Hume.empathicVoice.WebhookEventChatStatus;
|
|
14
|
+
/** Phone number of the caller in E.164 format (e.g., `+12223333333`). This field is included only if the Chat was created via the [Twilio phone calling](/docs/empathic-voice-interface-evi/guides/phone-calling) integration. */
|
|
11
15
|
callerNumber?: string;
|
|
16
|
+
/** User-defined session ID. Relevant only when employing a [custom language model](/docs/empathic-voice-interface-evi/guides/custom-language-model) in the EVI Config. */
|
|
12
17
|
customSessionId?: string;
|
|
13
18
|
}
|
|
@@ -9,8 +9,8 @@ export interface WebhookEventChatStarted extends Hume.empathicVoice.WebhookEvent
|
|
|
9
9
|
startTime: number;
|
|
10
10
|
/** Indicates whether the chat is the first in a new Chat Group (`new_chat_group`) or the continuation of an existing chat group (`resumed_chat_group`). */
|
|
11
11
|
chatStartType: Hume.empathicVoice.WebhookEventChatStartType;
|
|
12
|
-
/** Phone number of the caller in E.164 format (e.g., `+12223333333`). This field is included only if the Chat was created via the [Twilio phone calling](/docs/empathic-voice-interface-evi/phone-calling) integration. */
|
|
12
|
+
/** Phone number of the caller in E.164 format (e.g., `+12223333333`). This field is included only if the Chat was created via the [Twilio phone calling](/docs/empathic-voice-interface-evi/guides/phone-calling) integration. */
|
|
13
13
|
callerNumber?: string;
|
|
14
|
-
/** User-defined session ID. Relevant only when employing a [custom language model](/docs/empathic-voice-interface-evi/custom-language-model) in the EVI Config. */
|
|
14
|
+
/** User-defined session ID. Relevant only when employing a [custom language model](/docs/empathic-voice-interface-evi/guides/custom-language-model) in the EVI Config. */
|
|
15
15
|
customSessionId?: string;
|
|
16
16
|
}
|
|
@@ -88,7 +88,7 @@ class Batch {
|
|
|
88
88
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
89
89
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
90
90
|
method: "GET",
|
|
91
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
91
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
queryParameters: _queryParams,
|
|
94
94
|
requestType: "json",
|
|
@@ -143,7 +143,7 @@ class Batch {
|
|
|
143
143
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
144
144
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
145
145
|
method: "POST",
|
|
146
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
146
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
body: serializers.expressionMeasurement.batch.InferenceBaseRequest.jsonOrThrow(request, {
|
|
@@ -197,7 +197,7 @@ class Batch {
|
|
|
197
197
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
198
198
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}`),
|
|
199
199
|
method: "GET",
|
|
200
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
200
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -248,7 +248,7 @@ class Batch {
|
|
|
248
248
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
249
249
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/predictions`),
|
|
250
250
|
method: "GET",
|
|
251
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
251
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
252
252
|
contentType: "application/json",
|
|
253
253
|
requestType: "json",
|
|
254
254
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -293,7 +293,7 @@ class Batch {
|
|
|
293
293
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
294
294
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/batch/jobs/${encodeURIComponent(id)}/artifacts`),
|
|
295
295
|
method: "GET",
|
|
296
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
296
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
297
297
|
contentType: "application/json",
|
|
298
298
|
requestType: "json",
|
|
299
299
|
responseType: "streaming",
|
|
@@ -349,7 +349,7 @@ class Batch {
|
|
|
349
349
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
350
350
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/batch/jobs"),
|
|
351
351
|
method: "POST",
|
|
352
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
352
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.12", "User-Agent": "hume/0.9.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
353
353
|
requestType: "file",
|
|
354
354
|
duplex: _maybeEncodedRequest.duplex,
|
|
355
355
|
body: _maybeEncodedRequest.body,
|
package/api/resources/index.d.ts
CHANGED
package/api/resources/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.empathicVoice = exports.expressionMeasurement = void 0;
|
|
26
|
+
exports.empathicVoice = exports.expressionMeasurement = exports.tts = void 0;
|
|
27
|
+
exports.tts = __importStar(require("./tts"));
|
|
27
28
|
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
28
29
|
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/// <reference types="node" />
|
|
5
|
+
import * as environments from "../../../../environments";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import * as Hume from "../../../index";
|
|
8
|
+
import * as stream from "stream";
|
|
9
|
+
import { Voices } from "../resources/voices/client/Client";
|
|
10
|
+
export declare namespace Tts {
|
|
11
|
+
interface Options {
|
|
12
|
+
environment?: core.Supplier<environments.HumeEnvironment | string>;
|
|
13
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
14
|
+
fetcher?: core.FetchFunction;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class Tts {
|
|
26
|
+
protected readonly _options: Tts.Options;
|
|
27
|
+
constructor(_options?: Tts.Options);
|
|
28
|
+
/**
|
|
29
|
+
* Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody.
|
|
30
|
+
*
|
|
31
|
+
* The response includes the base64-encoded audio and metadata in JSON format.
|
|
32
|
+
*
|
|
33
|
+
* @param {Hume.tts.PostedTts} request
|
|
34
|
+
* @param {Tts.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link Hume.tts.UnprocessableEntityError}
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.tts.synthesizeJson({
|
|
40
|
+
* utterances: [{
|
|
41
|
+
* text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.",
|
|
42
|
+
* description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality."
|
|
43
|
+
* }],
|
|
44
|
+
* context: {
|
|
45
|
+
* utterances: [{
|
|
46
|
+
* text: "How can people see beauty so differently?",
|
|
47
|
+
* description: "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question."
|
|
48
|
+
* }]
|
|
49
|
+
* },
|
|
50
|
+
* format: {
|
|
51
|
+
* type: "mp3"
|
|
52
|
+
* },
|
|
53
|
+
* numGenerations: 1
|
|
54
|
+
* })
|
|
55
|
+
*/
|
|
56
|
+
synthesizeJson(request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions): Promise<Hume.tts.ReturnTts>;
|
|
57
|
+
/**
|
|
58
|
+
* Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody.
|
|
59
|
+
*
|
|
60
|
+
* The response contains the generated audio file in the requested format.
|
|
61
|
+
* @throws {@link Hume.tts.UnprocessableEntityError}
|
|
62
|
+
*/
|
|
63
|
+
synthesizeFile(request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions): Promise<stream.Readable>;
|
|
64
|
+
protected _voices: Voices | undefined;
|
|
65
|
+
get voices(): Voices;
|
|
66
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
67
|
+
"X-Hume-Api-Key": string | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
}
|