hume 0.15.11 → 0.15.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.js +16 -5
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -3
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.js +11 -3
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/resources/chats/client/Client.d.ts +8 -2
- package/dist/cjs/api/resources/empathicVoice/resources/chats/client/Client.js +8 -2
- package/dist/cjs/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/Client.d.ts +58 -10
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/Client.js +58 -10
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +3 -2
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +57 -9
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/Client.js +57 -9
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/Client.d.ts +57 -9
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/Client.js +57 -9
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +16 -5
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.ts +8 -1
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/AssistantInput.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/AssistantProsody.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/AudioInput.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/AudioOutput.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ChatMetadata.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettings.d.ts +4 -2
- package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.d.ts +3 -3
- package/dist/cjs/api/resources/empathicVoice/types/ConnectSessionSettingsContext.d.ts +5 -11
- package/dist/cjs/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedNudgeSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.js +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +9 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChat.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +9 -5
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +10 -6
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +7 -3
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +10 -6
- package/dist/cjs/api/resources/empathicVoice/types/ReturnConfig.d.ts +17 -7
- package/dist/cjs/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnNudgeSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPrompt.d.ts +8 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +16 -5
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.js +5 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/dist/cjs/api/resources/empathicVoice/types/SessionSettings.d.ts +13 -4
- package/dist/cjs/api/resources/empathicVoice/types/ToolCallMessage.d.ts +8 -2
- package/dist/cjs/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/UserInterruption.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/UserMessage.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/VoiceId.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/VoiceName.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/WebSocketError.d.ts +3 -1
- package/dist/cjs/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +2 -0
- package/dist/cjs/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -0
- package/dist/cjs/api/resources/empathicVoice/types/WebhookEventToolCall.d.ts +2 -0
- package/dist/cjs/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.js +2 -2
- package/dist/cjs/api/resources/tts/resources/voices/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tts/resources/voices/client/Client.js +1 -1
- package/dist/cjs/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/ReturnPagedVoices.d.ts +5 -1
- package/dist/cjs/core/schemas/builders/object/object.js +20 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +1 -0
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +1 -0
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +1 -0
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +1 -0
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventToolCall.d.ts +1 -0
- package/dist/cjs/serialization/resources/empathicVoice/types/WebhookEventToolCall.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.mjs +16 -5
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.d.mts +11 -3
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.mjs +11 -3
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/resources/chats/client/Client.d.mts +8 -2
- package/dist/esm/api/resources/empathicVoice/resources/chats/client/Client.mjs +8 -2
- package/dist/esm/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/Client.d.mts +58 -10
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/Client.mjs +58 -10
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +3 -2
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/Client.d.mts +57 -9
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/Client.mjs +57 -9
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/Client.d.mts +57 -9
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/Client.mjs +57 -9
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +16 -5
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.d.mts +8 -1
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +8 -4
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/AssistantEnd.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/AssistantInput.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/AssistantMessage.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/AssistantProsody.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/AudioInput.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/AudioOutput.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ChatMetadata.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettings.d.mts +4 -2
- package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.d.mts +3 -3
- package/dist/esm/api/resources/empathicVoice/types/ConnectSessionSettingsContext.d.mts +5 -11
- package/dist/esm/api/resources/empathicVoice/types/PauseAssistantMessage.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedBuiltinTool.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedEllmModel.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedLanguageModel.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedNudgeSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.mjs +5 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ResumeAssistantMessage.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +9 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnChat.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatEvent.d.mts +9 -5
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroup.d.mts +5 -5
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +10 -6
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +7 -3
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +10 -6
- package/dist/esm/api/resources/empathicVoice/types/ReturnConfig.d.mts +17 -7
- package/dist/esm/api/resources/empathicVoice/types/ReturnConfigSpec.d.mts +8 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnEllmModel.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnLanguageModel.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnNudgeSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChats.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPrompt.d.mts +8 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +16 -5
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +5 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.mjs +5 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +6 -2
- package/dist/esm/api/resources/empathicVoice/types/SessionSettings.d.mts +13 -4
- package/dist/esm/api/resources/empathicVoice/types/ToolCallMessage.d.mts +8 -2
- package/dist/esm/api/resources/empathicVoice/types/ToolErrorMessage.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/ToolResponseMessage.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/UserInput.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/UserInterruption.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/UserMessage.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/VoiceId.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/VoiceName.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/WebSocketError.d.mts +3 -1
- package/dist/esm/api/resources/empathicVoice/types/WebhookEventChatEnded.d.mts +2 -0
- package/dist/esm/api/resources/empathicVoice/types/WebhookEventChatStarted.d.mts +2 -0
- package/dist/esm/api/resources/empathicVoice/types/WebhookEventToolCall.d.mts +2 -0
- package/dist/esm/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tts/resources/voices/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tts/resources/voices/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tts/resources/voices/client/requests/VoicesListRequest.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/PostedUtteranceVoiceWithId.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/PostedUtteranceVoiceWithName.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/ReturnPagedVoices.d.mts +5 -1
- package/dist/esm/core/schemas/builders/object/object.mjs +20 -2
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.mts +1 -0
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatEnded.mjs +1 -0
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.mts +1 -0
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventChatStarted.mjs +1 -0
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventToolCall.d.mts +1 -0
- package/dist/esm/serialization/resources/empathicVoice/types/WebhookEventToolCall.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +630 -46
|
@@ -5,7 +5,7 @@ export interface PostedUtteranceVoiceWithName {
|
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the source provider associated with the chosen voice.
|
|
7
7
|
*
|
|
8
|
-
* - **`HUME_AI`**: Select voices from Hume's [Voice Library](https://app.hume.ai/
|
|
8
|
+
* - **`HUME_AI`**: Select voices from Hume's [Voice Library](https://app.hume.ai/tts/voice-library), containing a variety of preset, shared voices.
|
|
9
9
|
* - **`CUSTOM_VOICE`**: Select from voices you've personally generated and saved in your account.
|
|
10
10
|
*
|
|
11
11
|
* If no provider is explicitly set, the default provider is `CUSTOM_VOICE`. When using voices from Hume's **Voice Library**, you must explicitly set the provider to `HUME_AI`.
|
|
@@ -3,7 +3,11 @@ import type * as Hume from "../../../index.mjs";
|
|
|
3
3
|
* A paginated list Octave voices available for text-to-speech
|
|
4
4
|
*/
|
|
5
5
|
export interface ReturnPagedVoices {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The page number of the returned list.
|
|
8
|
+
*
|
|
9
|
+
* This value corresponds to the `page_number` parameter specified in the request. Pagination uses zero-based indexing.
|
|
10
|
+
*/
|
|
7
11
|
pageNumber: number;
|
|
8
12
|
/**
|
|
9
13
|
* The maximum number of items returned per page.
|
|
@@ -193,6 +193,8 @@ export function getObjectUtils(schema) {
|
|
|
193
193
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema)), getObjectLikeUtils(baseSchema)), getObjectUtils(baseSchema));
|
|
194
194
|
},
|
|
195
195
|
passthrough: () => {
|
|
196
|
+
const knownRawKeys = new Set(schema._getRawProperties());
|
|
197
|
+
const knownParsedKeys = new Set(schema._getParsedProperties());
|
|
196
198
|
const baseSchema = {
|
|
197
199
|
_getParsedProperties: () => schema._getParsedProperties(),
|
|
198
200
|
_getRawProperties: () => schema._getRawProperties(),
|
|
@@ -201,9 +203,17 @@ export function getObjectUtils(schema) {
|
|
|
201
203
|
if (!transformed.ok) {
|
|
202
204
|
return transformed;
|
|
203
205
|
}
|
|
206
|
+
const extraProperties = {};
|
|
207
|
+
if (typeof raw === "object" && raw != null) {
|
|
208
|
+
for (const [key, value] of Object.entries(raw)) {
|
|
209
|
+
if (!knownRawKeys.has(key)) {
|
|
210
|
+
extraProperties[key] = value;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
204
214
|
return {
|
|
205
215
|
ok: true,
|
|
206
|
-
value: Object.assign(Object.assign({},
|
|
216
|
+
value: Object.assign(Object.assign({}, extraProperties), transformed.value),
|
|
207
217
|
};
|
|
208
218
|
},
|
|
209
219
|
json: (parsed, opts) => {
|
|
@@ -211,9 +221,17 @@ export function getObjectUtils(schema) {
|
|
|
211
221
|
if (!transformed.ok) {
|
|
212
222
|
return transformed;
|
|
213
223
|
}
|
|
224
|
+
const extraProperties = {};
|
|
225
|
+
if (typeof parsed === "object" && parsed != null) {
|
|
226
|
+
for (const [key, value] of Object.entries(parsed)) {
|
|
227
|
+
if (!knownParsedKeys.has(key)) {
|
|
228
|
+
extraProperties[key] = value;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
214
232
|
return {
|
|
215
233
|
ok: true,
|
|
216
|
-
value: Object.assign(Object.assign({},
|
|
234
|
+
value: Object.assign(Object.assign({}, extraProperties), transformed.value),
|
|
217
235
|
};
|
|
218
236
|
},
|
|
219
237
|
getType: () => SchemaType.OBJECT,
|
|
@@ -10,5 +10,6 @@ export const WebhookEventChatEnded = core.serialization
|
|
|
10
10
|
endReason: core.serialization.property("end_reason", WebhookEventChatStatus),
|
|
11
11
|
endTime: core.serialization.property("end_time", core.serialization.number()),
|
|
12
12
|
eventName: core.serialization.property("event_name", core.serialization.stringLiteral("chat_ended").optional()),
|
|
13
|
+
twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
13
14
|
})
|
|
14
15
|
.extend(WebhookEventBase);
|
|
@@ -9,5 +9,6 @@ export const WebhookEventChatStarted = core.serialization
|
|
|
9
9
|
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
10
10
|
eventName: core.serialization.property("event_name", core.serialization.stringLiteral("chat_started").optional()),
|
|
11
11
|
startTime: core.serialization.property("start_time", core.serialization.number()),
|
|
12
|
+
twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
12
13
|
})
|
|
13
14
|
.extend(WebhookEventBase);
|
|
@@ -9,5 +9,6 @@ export const WebhookEventToolCall = core.serialization
|
|
|
9
9
|
eventName: core.serialization.property("event_name", core.serialization.stringLiteral("tool_call").optional()),
|
|
10
10
|
timestamp: core.serialization.number(),
|
|
11
11
|
toolCallMessage: core.serialization.property("tool_call_message", ToolCallMessage),
|
|
12
|
+
twilioMetadata: core.serialization.property("twilio_metadata", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
12
13
|
})
|
|
13
14
|
.extend(WebhookEventBase);
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.15.
|
|
1
|
+
export declare const SDK_VERSION = "0.15.13";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.15.
|
|
1
|
+
export const SDK_VERSION = "0.15.13";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hume",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"msw": "2.11.2",
|
|
71
71
|
"@types/node": "^18.19.70",
|
|
72
72
|
"typescript": "~5.7.2",
|
|
73
|
-
"@biomejs/biome": "2.3.
|
|
73
|
+
"@biomejs/biome": "2.3.11",
|
|
74
74
|
"@types/uuid": "9.0.7"
|
|
75
75
|
},
|
|
76
76
|
"browser": {
|