hume 0.9.12 → 0.9.13
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/chat.yml +1 -0
- package/.mock/definition/expression-measurement/batch/__package__.yml +76 -61
- package/.mock/definition/expression-measurement/{v0StreamModels.yml → stream/stream.yml} +15 -14
- package/.mock/definition/tts/__package__.yml +36 -21
- package/.mock/definition/tts/voices.yml +3 -3
- package/.mock/fern.config.json +1 -1
- 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/customVoices/client/Client.js +6 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/batch/types/Transcription.d.ts +0 -1
- package/api/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
- package/api/resources/expressionMeasurement/resources/stream/index.js +1 -0
- package/api/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
- package/api/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/Config.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurst.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemesh.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguage.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.d.ts +1 -1
- package/{dist/api/resources/expressionMeasurement → api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +1 -1
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
- package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
- package/api/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
- package/api/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/tts/client/Client.js +2 -2
- package/api/resources/tts/resources/voices/client/Client.js +1 -1
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
- package/api/resources/tts/types/PostedUtterance.d.ts +4 -0
- package/api/resources/tts/types/Snippet.d.ts +6 -0
- package/api/resources/tts/types/index.d.ts +0 -1
- package/api/resources/tts/types/index.js +0 -1
- 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/customVoices/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/types/Transcription.d.ts +0 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/index.js +1 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/Config.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurst.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemesh.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguage.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.d.ts +1 -1
- package/{api/resources/expressionMeasurement → dist/api/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
- package/dist/api/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
- package/dist/api/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/tts/client/Client.js +2 -2
- package/dist/api/resources/tts/resources/voices/client/Client.js +1 -1
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +1 -1
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +4 -0
- package/dist/api/resources/tts/types/Snippet.d.ts +6 -0
- package/dist/api/resources/tts/types/index.d.ts +0 -1
- package/dist/api/resources/tts/types/index.js +0 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
- package/{serialization/resources/expressionMeasurement → dist/serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
- package/dist/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
- package/dist/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.js +2 -0
- package/dist/serialization/resources/tts/types/Snippet.d.ts +3 -0
- package/dist/serialization/resources/tts/types/Snippet.js +3 -0
- package/dist/serialization/resources/tts/types/index.d.ts +0 -1
- package/dist/serialization/resources/tts/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +552 -552
- package/serialization/resources/expressionMeasurement/resources/stream/index.d.ts +1 -0
- package/serialization/resources/expressionMeasurement/resources/stream/index.js +1 -0
- package/serialization/resources/expressionMeasurement/resources/stream/resources/index.d.ts +2 -0
- package/serialization/resources/expressionMeasurement/resources/stream/resources/index.js +31 -0
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.d.ts +1 -0
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/index.js +17 -0
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/JobDetails.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamErrorMessage.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamFace.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamLanguage.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictions.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.d.ts +5 -5
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.d.ts +5 -5
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacePredictionsItem.js +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.d.ts +4 -4
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.js +2 -2
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsJobDetails.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.d.ts +7 -7
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.js +5 -5
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.d.ts +5 -5
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.js +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamModelsEndpointPayload.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessage.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +1 -1
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.d.ts +3 -3
- package/{dist/serialization/resources/expressionMeasurement → serialization/resources/expressionMeasurement/resources/stream}/resources/stream/types/StreamWarningMessageJobDetails.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.d.ts +3 -3
- package/serialization/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +1 -1
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +21 -0
- package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +37 -0
- package/serialization/resources/expressionMeasurement/resources/stream/types/index.d.ts +0 -21
- package/serialization/resources/expressionMeasurement/resources/stream/types/index.js +0 -21
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/tts/types/PostedUtterance.d.ts +2 -0
- package/serialization/resources/tts/types/PostedUtterance.js +2 -0
- package/serialization/resources/tts/types/Snippet.d.ts +3 -0
- package/serialization/resources/tts/types/Snippet.js +3 -0
- package/serialization/resources/tts/types/index.d.ts +0 -1
- package/serialization/resources/tts/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
- package/api/resources/tts/types/PostedTtsRecord.js +0 -5
- package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +0 -11
- package/dist/api/resources/tts/types/PostedTtsRecord.js +0 -5
- package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
- package/dist/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
- package/serialization/resources/tts/types/PostedTtsRecord.d.ts +0 -17
- package/serialization/resources/tts/types/PostedTtsRecord.js +0 -38
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
- /package/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/Config.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.d.ts +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/JobDetails.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamErrorMessage.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.d.ts +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamFace.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.d.ts +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamLanguage.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictions.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurst.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsBurstPredictionsItem.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFace.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacePredictionsItem.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemesh.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsFacemeshPredictionsItem.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.d.ts +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsJobDetails.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguage.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsLanguagePredictionsItem.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsody.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelPredictionsProsodyPredictionsItem.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamModelsEndpointPayload.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessage.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.d.ts +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/StreamWarningMessageJobDetails.js +0 -0
- /package/dist/api/resources/expressionMeasurement/resources/stream/{types → resources/stream/types}/SubscribeEvent.js +0 -0
|
@@ -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.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -169,7 +169,7 @@ class Tools {
|
|
|
169
169
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
170
170
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/tools"),
|
|
171
171
|
method: "POST",
|
|
172
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
172
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
173
173
|
contentType: "application/json",
|
|
174
174
|
requestType: "json",
|
|
175
175
|
body: serializers.empathicVoice.PostedUserDefinedTool.jsonOrThrow(request, {
|
|
@@ -249,7 +249,7 @@ class Tools {
|
|
|
249
249
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
250
250
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
251
251
|
method: "GET",
|
|
252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
253
253
|
contentType: "application/json",
|
|
254
254
|
queryParameters: _queryParams,
|
|
255
255
|
requestType: "json",
|
|
@@ -321,7 +321,7 @@ class Tools {
|
|
|
321
321
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
322
322
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
323
323
|
method: "POST",
|
|
324
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
324
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
requestType: "json",
|
|
327
327
|
body: serializers.empathicVoice.PostedUserDefinedToolVersion.jsonOrThrow(request, {
|
|
@@ -389,7 +389,7 @@ class Tools {
|
|
|
389
389
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
390
390
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
391
391
|
method: "DELETE",
|
|
392
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
392
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
393
393
|
contentType: "application/json",
|
|
394
394
|
requestType: "json",
|
|
395
395
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -452,7 +452,7 @@ class Tools {
|
|
|
452
452
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
453
453
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}`),
|
|
454
454
|
method: "PATCH",
|
|
455
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
455
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
456
456
|
contentType: "application/json",
|
|
457
457
|
requestType: "json",
|
|
458
458
|
body: serializers.empathicVoice.PostedUserDefinedToolName.jsonOrThrow(request, {
|
|
@@ -521,7 +521,7 @@ class Tools {
|
|
|
521
521
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
522
522
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
523
523
|
method: "GET",
|
|
524
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
524
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
525
525
|
contentType: "application/json",
|
|
526
526
|
requestType: "json",
|
|
527
527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -591,7 +591,7 @@ class Tools {
|
|
|
591
591
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
592
592
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
593
593
|
method: "DELETE",
|
|
594
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
594
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
595
595
|
contentType: "application/json",
|
|
596
596
|
requestType: "json",
|
|
597
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -659,7 +659,7 @@ class Tools {
|
|
|
659
659
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
660
660
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
661
661
|
method: "PATCH",
|
|
662
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
662
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "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, {
|
|
@@ -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.13", "User-Agent": "hume/0.9.13", "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.13", "User-Agent": "hume/0.9.13", "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.13", "User-Agent": "hume/0.9.13", "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.13", "User-Agent": "hume/0.9.13", "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.13", "User-Agent": "hume/0.9.13", "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.13", "User-Agent": "hume/0.9.13", "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,
|
|
@@ -30,7 +30,7 @@ export interface BatchListJobsRequest {
|
|
|
30
30
|
/**
|
|
31
31
|
* Provide a timestamp in milliseconds to filter jobs.
|
|
32
32
|
*
|
|
33
|
-
*
|
|
33
|
+
* When combined with the `when` parameter, you can filter jobs before or after the given timestamp. Defaults to the current Unix timestamp if one is not provided.
|
|
34
34
|
*/
|
|
35
35
|
timestampMs?: number;
|
|
36
36
|
/**
|
|
@@ -12,7 +12,6 @@ export interface Transcription {
|
|
|
12
12
|
* By default, we use an automated language detection method for our Speech Prosody, Language, and NER models. However, if you know what language is being spoken in your media samples, you can specify it via its BCP-47 tag and potentially obtain more accurate results.
|
|
13
13
|
*
|
|
14
14
|
* You can specify any of the following languages:
|
|
15
|
-
*
|
|
16
15
|
* - Chinese: `zh`
|
|
17
16
|
* - Danish: `da`
|
|
18
17
|
* - Dutch: `nl`
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
17
18
|
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.stream = void 0;
|
|
30
|
+
exports.stream = __importStar(require("./stream"));
|
|
31
|
+
__exportStar(require("./stream/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* Configuration used to specify which models should be used and with what settings.
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
export interface StreamModelPredictionsBurstPredictionsItem {
|
|
6
6
|
time?: Hume.expressionMeasurement.stream.TimeRange;
|
|
7
7
|
emotions?: Hume.expressionMeasurement.stream.EmotionEmbedding;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
export interface StreamModelPredictionsFacePredictionsItem {
|
|
6
6
|
/** Frame number */
|
|
7
7
|
frame?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
export interface StreamModelPredictionsFacemeshPredictionsItem {
|
|
6
6
|
emotions?: Hume.expressionMeasurement.stream.EmotionEmbedding;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
export interface StreamModelPredictionsLanguagePredictionsItem {
|
|
6
6
|
/** A segment of text (like a word or a sentence). */
|
|
7
7
|
text?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Hume from "
|
|
4
|
+
import * as Hume from "../../../../../../../index";
|
|
5
5
|
export interface StreamModelPredictionsProsodyPredictionsItem {
|
|
6
6
|
time?: Hume.expressionMeasurement.stream.TimeRange;
|
|
7
7
|
emotions?: Hume.expressionMeasurement.stream.EmotionEmbedding;
|
package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from "./StreamModelPredictionsJobDetails";
|
|
2
|
+
export * from "./StreamModelPredictionsBurstPredictionsItem";
|
|
3
|
+
export * from "./StreamModelPredictionsBurst";
|
|
4
|
+
export * from "./StreamModelPredictionsFacePredictionsItem";
|
|
5
|
+
export * from "./StreamModelPredictionsFace";
|
|
6
|
+
export * from "./StreamModelPredictionsFacemeshPredictionsItem";
|
|
7
|
+
export * from "./StreamModelPredictionsFacemesh";
|
|
8
|
+
export * from "./StreamModelPredictionsLanguagePredictionsItem";
|
|
9
|
+
export * from "./StreamModelPredictionsLanguage";
|
|
10
|
+
export * from "./StreamModelPredictionsProsodyPredictionsItem";
|
|
11
|
+
export * from "./StreamModelPredictionsProsody";
|
|
12
|
+
export * from "./StreamModelPredictions";
|
|
13
|
+
export * from "./JobDetails";
|
|
14
|
+
export * from "./StreamErrorMessage";
|
|
15
|
+
export * from "./StreamWarningMessageJobDetails";
|
|
16
|
+
export * from "./StreamWarningMessage";
|
|
17
|
+
export * from "./SubscribeEvent";
|
|
18
|
+
export * from "./StreamFace";
|
|
19
|
+
export * from "./StreamLanguage";
|
|
20
|
+
export * from "./Config";
|
|
21
|
+
export * from "./StreamModelsEndpointPayload";
|
package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./StreamModelPredictionsJobDetails"), exports);
|
|
18
|
+
__exportStar(require("./StreamModelPredictionsBurstPredictionsItem"), exports);
|
|
19
|
+
__exportStar(require("./StreamModelPredictionsBurst"), exports);
|
|
20
|
+
__exportStar(require("./StreamModelPredictionsFacePredictionsItem"), exports);
|
|
21
|
+
__exportStar(require("./StreamModelPredictionsFace"), exports);
|
|
22
|
+
__exportStar(require("./StreamModelPredictionsFacemeshPredictionsItem"), exports);
|
|
23
|
+
__exportStar(require("./StreamModelPredictionsFacemesh"), exports);
|
|
24
|
+
__exportStar(require("./StreamModelPredictionsLanguagePredictionsItem"), exports);
|
|
25
|
+
__exportStar(require("./StreamModelPredictionsLanguage"), exports);
|
|
26
|
+
__exportStar(require("./StreamModelPredictionsProsodyPredictionsItem"), exports);
|
|
27
|
+
__exportStar(require("./StreamModelPredictionsProsody"), exports);
|
|
28
|
+
__exportStar(require("./StreamModelPredictions"), exports);
|
|
29
|
+
__exportStar(require("./JobDetails"), exports);
|
|
30
|
+
__exportStar(require("./StreamErrorMessage"), exports);
|
|
31
|
+
__exportStar(require("./StreamWarningMessageJobDetails"), exports);
|
|
32
|
+
__exportStar(require("./StreamWarningMessage"), exports);
|
|
33
|
+
__exportStar(require("./SubscribeEvent"), exports);
|
|
34
|
+
__exportStar(require("./StreamFace"), exports);
|
|
35
|
+
__exportStar(require("./StreamLanguage"), exports);
|
|
36
|
+
__exportStar(require("./Config"), exports);
|
|
37
|
+
__exportStar(require("./StreamModelsEndpointPayload"), exports);
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
export * from "./StreamModelPredictionsJobDetails";
|
|
2
|
-
export * from "./StreamModelPredictionsBurstPredictionsItem";
|
|
3
|
-
export * from "./StreamModelPredictionsBurst";
|
|
4
|
-
export * from "./StreamModelPredictionsFacePredictionsItem";
|
|
5
|
-
export * from "./StreamModelPredictionsFace";
|
|
6
|
-
export * from "./StreamModelPredictionsFacemeshPredictionsItem";
|
|
7
|
-
export * from "./StreamModelPredictionsFacemesh";
|
|
8
|
-
export * from "./StreamModelPredictionsLanguagePredictionsItem";
|
|
9
|
-
export * from "./StreamModelPredictionsLanguage";
|
|
10
|
-
export * from "./StreamModelPredictionsProsodyPredictionsItem";
|
|
11
|
-
export * from "./StreamModelPredictionsProsody";
|
|
12
|
-
export * from "./StreamModelPredictions";
|
|
13
|
-
export * from "./JobDetails";
|
|
14
|
-
export * from "./StreamErrorMessage";
|
|
15
|
-
export * from "./StreamWarningMessageJobDetails";
|
|
16
|
-
export * from "./StreamWarningMessage";
|
|
17
|
-
export * from "./SubscribeEvent";
|
|
18
|
-
export * from "./StreamFace";
|
|
19
|
-
export * from "./StreamLanguage";
|
|
20
|
-
export * from "./Config";
|
|
21
|
-
export * from "./StreamModelsEndpointPayload";
|
|
22
1
|
export * from "./EmotionEmbeddingItem";
|
|
23
2
|
export * from "./EmotionEmbedding";
|
|
24
3
|
export * from "./StreamBoundingBox";
|
|
@@ -14,27 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./StreamModelPredictionsJobDetails"), exports);
|
|
18
|
-
__exportStar(require("./StreamModelPredictionsBurstPredictionsItem"), exports);
|
|
19
|
-
__exportStar(require("./StreamModelPredictionsBurst"), exports);
|
|
20
|
-
__exportStar(require("./StreamModelPredictionsFacePredictionsItem"), exports);
|
|
21
|
-
__exportStar(require("./StreamModelPredictionsFace"), exports);
|
|
22
|
-
__exportStar(require("./StreamModelPredictionsFacemeshPredictionsItem"), exports);
|
|
23
|
-
__exportStar(require("./StreamModelPredictionsFacemesh"), exports);
|
|
24
|
-
__exportStar(require("./StreamModelPredictionsLanguagePredictionsItem"), exports);
|
|
25
|
-
__exportStar(require("./StreamModelPredictionsLanguage"), exports);
|
|
26
|
-
__exportStar(require("./StreamModelPredictionsProsodyPredictionsItem"), exports);
|
|
27
|
-
__exportStar(require("./StreamModelPredictionsProsody"), exports);
|
|
28
|
-
__exportStar(require("./StreamModelPredictions"), exports);
|
|
29
|
-
__exportStar(require("./JobDetails"), exports);
|
|
30
|
-
__exportStar(require("./StreamErrorMessage"), exports);
|
|
31
|
-
__exportStar(require("./StreamWarningMessageJobDetails"), exports);
|
|
32
|
-
__exportStar(require("./StreamWarningMessage"), exports);
|
|
33
|
-
__exportStar(require("./SubscribeEvent"), exports);
|
|
34
|
-
__exportStar(require("./StreamFace"), exports);
|
|
35
|
-
__exportStar(require("./StreamLanguage"), exports);
|
|
36
|
-
__exportStar(require("./Config"), exports);
|
|
37
|
-
__exportStar(require("./StreamModelsEndpointPayload"), exports);
|
|
38
17
|
__exportStar(require("./EmotionEmbeddingItem"), exports);
|
|
39
18
|
__exportStar(require("./EmotionEmbedding"), exports);
|
|
40
19
|
__exportStar(require("./StreamBoundingBox"), exports);
|
|
@@ -23,7 +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.
|
|
26
|
+
exports.expressionMeasurement = exports.empathicVoice = exports.tts = void 0;
|
|
27
27
|
exports.tts = __importStar(require("./tts"));
|
|
28
|
-
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
29
28
|
exports.empathicVoice = __importStar(require("./empathicVoice"));
|
|
29
|
+
exports.expressionMeasurement = __importStar(require("./expressionMeasurement"));
|
|
@@ -84,7 +84,7 @@ class Tts {
|
|
|
84
84
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
85
85
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/tts"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
87
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.tts.PostedTts.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -143,7 +143,7 @@ class Tts {
|
|
|
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/tts/file"),
|
|
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.13", "User-Agent": "hume/0.9.13", "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.tts.PostedTts.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -69,7 +69,7 @@ class Voices {
|
|
|
69
69
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
70
70
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/tts/voices"),
|
|
71
71
|
method: "POST",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "hume/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
requestType: "json",
|
|
75
75
|
body: serializers.tts.PostedVoice.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface PostedVoice {
|
|
12
|
-
/**
|
|
12
|
+
/** A unique ID associated with this TTS generation that can be used as context for generating consistent speech style and prosody across multiple requests. */
|
|
13
13
|
generationId: string;
|
|
14
14
|
/** Name of the voice in the `Voice Library`. */
|
|
15
15
|
name: string;
|
|
@@ -11,8 +11,12 @@ export interface PostedUtterance {
|
|
|
11
11
|
* See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on crafting your descriptions.
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
|
+
/** Speed multiplier for the synthesized speech. */
|
|
15
|
+
speed?: number;
|
|
14
16
|
/** The input text to be synthesized into speech. */
|
|
15
17
|
text: string;
|
|
18
|
+
/** Duration of trailing silence (in seconds) to add to this utterance */
|
|
19
|
+
trailingSilence?: number;
|
|
16
20
|
/**
|
|
17
21
|
* The `name` or `id` associated with a **Voice** from the **Voice Library** to be used as the speaker for this and all subsequent `utterances`, until the `voice` field is updated again.
|
|
18
22
|
*
|