hume 0.15.4 → 0.15.5
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/Client.d.ts +2 -2
- package/dist/cjs/Client.js +6 -6
- package/dist/cjs/api/resources/empathicVoice/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/empathicVoice/client/Client.js +8 -8
- package/dist/cjs/api/resources/empathicVoice/resources/chat/client/Client.js +1 -1
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +11 -11
- package/dist/cjs/api/resources/empathicVoice/resources/chatGroups/client/Client.js +92 -92
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +18 -18
- package/dist/cjs/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +16 -16
- package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/resources/controlPlane/client/Client.js +9 -4
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +6 -6
- package/dist/cjs/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ControlPlanePublishEvent.d.ts +24 -1
- package/dist/cjs/api/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/JsonMessage.d.ts +31 -1
- package/dist/cjs/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -0
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookEventType.js +1 -0
- package/dist/cjs/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChat.d.ts +11 -11
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +10 -10
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +16 -16
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +6 -6
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +6 -6
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +8 -8
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +27 -27
- package/dist/cjs/api/resources/empathicVoice/types/ReturnConfig.d.ts +20 -41
- package/dist/cjs/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -4
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnPrompt.d.ts +12 -23
- package/dist/cjs/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +20 -20
- package/dist/cjs/api/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -0
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -0
- package/dist/cjs/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +2 -2
- package/dist/cjs/api/resources/empathicVoice/types/SubscribeEvent.d.ts +34 -1
- package/dist/cjs/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -7
- package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tts/resources/streamInput/client/Client.js +7 -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 +7 -2
- package/dist/cjs/api/resources/tts/types/ErrorResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/PostedTts.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/ReturnVoice.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/Snippet.d.ts +1 -1
- package/dist/cjs/api/resources/tts/types/Timestamp.d.ts +2 -0
- package/dist/cjs/core/websocket/ws.js +3 -2
- package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.js +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.js +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ErrorResponse.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedBuiltinTool.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookEventType.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/PostedWebhookSpec.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.d.ts +4 -4
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChat.js +4 -4
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +5 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatEvent.js +5 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroup.js +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +3 -3
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -4
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +4 -4
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +5 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +5 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +12 -12
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnConfig.js +12 -12
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -2
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +4 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnPrompt.js +4 -5
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +8 -8
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnVoice.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookEventType.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ReturnWebhookSpec.js +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -1
- package/dist/cjs/serialization/resources/empathicVoice/types/ToolCallMessage.js +1 -1
- package/dist/cjs/serialization/resources/tts/types/ErrorResponse.d.ts +1 -1
- package/dist/cjs/serialization/resources/tts/types/ErrorResponse.js +1 -1
- package/dist/cjs/serialization/resources/tts/types/ReturnVoice.d.ts +1 -1
- package/dist/cjs/serialization/resources/tts/types/ReturnVoice.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +2 -2
- package/dist/esm/Client.mjs +6 -6
- package/dist/esm/api/resources/empathicVoice/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/empathicVoice/client/Client.mjs +8 -8
- package/dist/esm/api/resources/empathicVoice/resources/chat/client/Client.mjs +1 -1
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.d.mts +11 -11
- package/dist/esm/api/resources/empathicVoice/resources/chatGroups/client/Client.mjs +92 -92
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +18 -18
- package/dist/esm/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +16 -16
- package/dist/esm/api/resources/empathicVoice/resources/controlPlane/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/resources/controlPlane/client/Client.mjs +9 -4
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +6 -6
- package/dist/esm/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ControlPlanePublishEvent.d.mts +24 -1
- package/dist/esm/api/resources/empathicVoice/types/ErrorResponse.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/JsonMessage.d.mts +31 -1
- package/dist/esm/api/resources/empathicVoice/types/PostedBuiltinTool.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedConfigPromptSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.d.mts +1 -0
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookEventType.mjs +1 -0
- package/dist/esm/api/resources/empathicVoice/types/PostedWebhookSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnChat.d.mts +11 -11
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts +10 -10
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatEvent.d.mts +16 -16
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroup.d.mts +6 -6
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +6 -6
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +8 -8
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +27 -27
- package/dist/esm/api/resources/empathicVoice/types/ReturnConfig.d.mts +20 -41
- package/dist/esm/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedChats.d.mts +4 -4
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnPrompt.d.mts +12 -23
- package/dist/esm/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +20 -20
- package/dist/esm/api/resources/empathicVoice/types/ReturnVoice.d.mts +1 -1
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +1 -0
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookEventType.mjs +1 -0
- package/dist/esm/api/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +2 -2
- package/dist/esm/api/resources/empathicVoice/types/SubscribeEvent.d.mts +34 -1
- package/dist/esm/api/resources/empathicVoice/types/ToolCallMessage.d.mts +3 -7
- package/dist/esm/api/resources/tts/resources/streamInput/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tts/resources/streamInput/client/Client.mjs +7 -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 +7 -2
- package/dist/esm/api/resources/tts/types/ErrorResponse.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/PostedTts.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/ReturnVoice.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/Snippet.d.mts +1 -1
- package/dist/esm/api/resources/tts/types/Timestamp.d.mts +2 -0
- package/dist/esm/core/websocket/ws.mjs +3 -2
- package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.mts +8 -8
- package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.mjs +8 -8
- package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.mts +8 -8
- package/dist/esm/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.mjs +8 -8
- package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.mts +3 -3
- package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.mjs +3 -3
- package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.mts +2 -2
- package/dist/esm/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.mjs +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ErrorResponse.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedBuiltinTool.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedTimeoutSpec.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookEventType.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/PostedWebhookSpec.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.mts +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnBuiltinTool.mjs +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.d.mts +4 -4
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChat.mjs +4 -4
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.mjs +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.d.mts +5 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatEvent.mjs +5 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.d.mts +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroup.mjs +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.mts +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.mjs +3 -3
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts +4 -4
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.mjs +4 -4
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.mjs +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.mts +5 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.mjs +5 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.d.mts +12 -12
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnConfig.mjs +12 -12
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.mts +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.mjs +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.d.mts +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedChats.mjs +2 -2
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedConfigs.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedPrompts.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.d.mts +4 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnPrompt.mjs +4 -5
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.mts +8 -8
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.mjs +8 -8
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnVoice.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookEventType.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ReturnWebhookSpec.mjs +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ToolCallMessage.d.mts +1 -1
- package/dist/esm/serialization/resources/empathicVoice/types/ToolCallMessage.mjs +1 -1
- package/dist/esm/serialization/resources/tts/types/ErrorResponse.d.mts +1 -1
- package/dist/esm/serialization/resources/tts/types/ErrorResponse.mjs +1 -1
- package/dist/esm/serialization/resources/tts/types/ReturnVoice.d.mts +1 -1
- package/dist/esm/serialization/resources/tts/types/ReturnVoice.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +740 -740
|
@@ -14,18 +14,18 @@ import { VoiceRef } from "../../../../types/VoiceRef.mjs";
|
|
|
14
14
|
export declare const PostedConfig: core.serialization.Schema<serializers.empathicVoice.PostedConfig.Raw, Hume.empathicVoice.PostedConfig>;
|
|
15
15
|
export declare namespace PostedConfig {
|
|
16
16
|
interface Raw {
|
|
17
|
-
evi_version: string;
|
|
18
|
-
name: string;
|
|
19
|
-
version_description?: string | null;
|
|
20
|
-
prompt?: PostedConfigPromptSpec.Raw | null;
|
|
21
|
-
voice?: VoiceRef.Raw | null;
|
|
22
|
-
language_model?: PostedLanguageModel.Raw | null;
|
|
23
|
-
ellm_model?: PostedEllmModel.Raw | null;
|
|
24
|
-
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
25
17
|
builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
|
|
18
|
+
ellm_model?: PostedEllmModel.Raw | null;
|
|
26
19
|
event_messages?: PostedEventMessageSpecs.Raw | null;
|
|
20
|
+
evi_version: string;
|
|
21
|
+
language_model?: PostedLanguageModel.Raw | null;
|
|
22
|
+
name: string;
|
|
27
23
|
nudges?: PostedNudgeSpec.Raw | null;
|
|
24
|
+
prompt?: PostedConfigPromptSpec.Raw | null;
|
|
28
25
|
timeouts?: PostedTimeoutSpecs.Raw | null;
|
|
26
|
+
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
27
|
+
version_description?: string | null;
|
|
28
|
+
voice?: VoiceRef.Raw | null;
|
|
29
29
|
webhooks?: (PostedWebhookSpec.Raw | null | undefined)[] | null;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -11,17 +11,17 @@ import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedTo
|
|
|
11
11
|
import { PostedWebhookSpec } from "../../../../types/PostedWebhookSpec.mjs";
|
|
12
12
|
import { VoiceRef } from "../../../../types/VoiceRef.mjs";
|
|
13
13
|
export const PostedConfig = core.serialization.object({
|
|
14
|
-
eviVersion: core.serialization.property("evi_version", core.serialization.string()),
|
|
15
|
-
name: core.serialization.string(),
|
|
16
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
17
|
-
prompt: PostedConfigPromptSpec.optional(),
|
|
18
|
-
voice: VoiceRef.optional(),
|
|
19
|
-
languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
|
|
20
|
-
ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
|
|
21
|
-
tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
|
|
22
14
|
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool.optional()).optional()),
|
|
15
|
+
ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
|
|
23
16
|
eventMessages: core.serialization.property("event_messages", PostedEventMessageSpecs.optional()),
|
|
17
|
+
eviVersion: core.serialization.property("evi_version", core.serialization.string()),
|
|
18
|
+
languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
|
|
19
|
+
name: core.serialization.string(),
|
|
24
20
|
nudges: PostedNudgeSpec.optional(),
|
|
21
|
+
prompt: PostedConfigPromptSpec.optional(),
|
|
25
22
|
timeouts: PostedTimeoutSpecs.optional(),
|
|
23
|
+
tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
|
|
24
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
25
|
+
voice: VoiceRef.optional(),
|
|
26
26
|
webhooks: core.serialization.list(PostedWebhookSpec.optional()).optional(),
|
|
27
27
|
});
|
|
@@ -14,17 +14,17 @@ import { VoiceRef } from "../../../../types/VoiceRef.mjs";
|
|
|
14
14
|
export declare const PostedConfigVersion: core.serialization.Schema<serializers.empathicVoice.PostedConfigVersion.Raw, Hume.empathicVoice.PostedConfigVersion>;
|
|
15
15
|
export declare namespace PostedConfigVersion {
|
|
16
16
|
interface Raw {
|
|
17
|
-
evi_version: string;
|
|
18
|
-
version_description?: string | null;
|
|
19
|
-
prompt?: PostedConfigPromptSpec.Raw | null;
|
|
20
|
-
voice?: VoiceRef.Raw | null;
|
|
21
|
-
language_model?: PostedLanguageModel.Raw | null;
|
|
22
|
-
ellm_model?: PostedEllmModel.Raw | null;
|
|
23
|
-
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
24
17
|
builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
|
|
18
|
+
ellm_model?: PostedEllmModel.Raw | null;
|
|
25
19
|
event_messages?: PostedEventMessageSpecs.Raw | null;
|
|
26
|
-
|
|
20
|
+
evi_version: string;
|
|
21
|
+
language_model?: PostedLanguageModel.Raw | null;
|
|
27
22
|
nudges?: PostedNudgeSpec.Raw | null;
|
|
23
|
+
prompt?: PostedConfigPromptSpec.Raw | null;
|
|
24
|
+
timeouts?: PostedTimeoutSpecs.Raw | null;
|
|
25
|
+
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
26
|
+
version_description?: string | null;
|
|
27
|
+
voice?: VoiceRef.Raw | null;
|
|
28
28
|
webhooks?: (PostedWebhookSpec.Raw | null | undefined)[] | null;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -11,16 +11,16 @@ import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedTo
|
|
|
11
11
|
import { PostedWebhookSpec } from "../../../../types/PostedWebhookSpec.mjs";
|
|
12
12
|
import { VoiceRef } from "../../../../types/VoiceRef.mjs";
|
|
13
13
|
export const PostedConfigVersion = core.serialization.object({
|
|
14
|
-
eviVersion: core.serialization.property("evi_version", core.serialization.string()),
|
|
15
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
16
|
-
prompt: PostedConfigPromptSpec.optional(),
|
|
17
|
-
voice: VoiceRef.optional(),
|
|
18
|
-
languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
|
|
19
|
-
ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
|
|
20
|
-
tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
|
|
21
14
|
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool.optional()).optional()),
|
|
15
|
+
ellmModel: core.serialization.property("ellm_model", PostedEllmModel.optional()),
|
|
22
16
|
eventMessages: core.serialization.property("event_messages", PostedEventMessageSpecs.optional()),
|
|
23
|
-
|
|
17
|
+
eviVersion: core.serialization.property("evi_version", core.serialization.string()),
|
|
18
|
+
languageModel: core.serialization.property("language_model", PostedLanguageModel.optional()),
|
|
24
19
|
nudges: PostedNudgeSpec.optional(),
|
|
20
|
+
prompt: PostedConfigPromptSpec.optional(),
|
|
21
|
+
timeouts: PostedTimeoutSpecs.optional(),
|
|
22
|
+
tools: core.serialization.list(PostedUserDefinedToolSpec.optional()).optional(),
|
|
23
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
24
|
+
voice: VoiceRef.optional(),
|
|
25
25
|
webhooks: core.serialization.list(PostedWebhookSpec.optional()).optional(),
|
|
26
26
|
});
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as core from "../../../../../../../core/index.mjs";
|
|
3
3
|
export const PostedPrompt = core.serialization.object({
|
|
4
4
|
name: core.serialization.string(),
|
|
5
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
6
5
|
text: core.serialization.string(),
|
|
6
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
7
7
|
});
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../../../../../../index.mjs";
|
|
|
4
4
|
export declare const PostedPromptVersion: core.serialization.Schema<serializers.empathicVoice.PostedPromptVersion.Raw, Hume.empathicVoice.PostedPromptVersion>;
|
|
5
5
|
export declare namespace PostedPromptVersion {
|
|
6
6
|
interface Raw {
|
|
7
|
-
version_description?: string | null;
|
|
8
7
|
text: string;
|
|
8
|
+
version_description?: string | null;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../../../core/index.mjs";
|
|
3
3
|
export const PostedPromptVersion = core.serialization.object({
|
|
4
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
5
4
|
text: core.serialization.string(),
|
|
5
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
6
6
|
});
|
|
@@ -4,10 +4,10 @@ import type * as serializers from "../../../../../../index.mjs";
|
|
|
4
4
|
export declare const PostedUserDefinedTool: core.serialization.Schema<serializers.empathicVoice.PostedUserDefinedTool.Raw, Hume.empathicVoice.PostedUserDefinedTool>;
|
|
5
5
|
export declare namespace PostedUserDefinedTool {
|
|
6
6
|
interface Raw {
|
|
7
|
-
name: string;
|
|
8
|
-
version_description?: string | null;
|
|
9
7
|
description?: string | null;
|
|
10
|
-
parameters: string;
|
|
11
8
|
fallback_content?: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
parameters: string;
|
|
11
|
+
version_description?: string | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../../../core/index.mjs";
|
|
3
3
|
export const PostedUserDefinedTool = core.serialization.object({
|
|
4
|
-
name: core.serialization.string(),
|
|
5
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
6
4
|
description: core.serialization.string().optional(),
|
|
7
|
-
parameters: core.serialization.string(),
|
|
8
5
|
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
parameters: core.serialization.string(),
|
|
8
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
9
9
|
});
|
|
@@ -4,9 +4,9 @@ import type * as serializers from "../../../../../../index.mjs";
|
|
|
4
4
|
export declare const PostedUserDefinedToolVersion: core.serialization.Schema<serializers.empathicVoice.PostedUserDefinedToolVersion.Raw, Hume.empathicVoice.PostedUserDefinedToolVersion>;
|
|
5
5
|
export declare namespace PostedUserDefinedToolVersion {
|
|
6
6
|
interface Raw {
|
|
7
|
-
version_description?: string | null;
|
|
8
7
|
description?: string | null;
|
|
9
|
-
parameters: string;
|
|
10
8
|
fallback_content?: string | null;
|
|
9
|
+
parameters: string;
|
|
10
|
+
version_description?: string | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../../../core/index.mjs";
|
|
3
3
|
export const PostedUserDefinedToolVersion = core.serialization.object({
|
|
4
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
5
4
|
description: core.serialization.string().optional(),
|
|
6
|
-
parameters: core.serialization.string(),
|
|
7
5
|
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
6
|
+
parameters: core.serialization.string(),
|
|
7
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
8
8
|
});
|
|
@@ -4,8 +4,8 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
export declare const ErrorResponse: core.serialization.ObjectSchema<serializers.empathicVoice.ErrorResponse.Raw, Hume.empathicVoice.ErrorResponse>;
|
|
5
5
|
export declare namespace ErrorResponse {
|
|
6
6
|
interface Raw {
|
|
7
|
+
code?: string | null;
|
|
7
8
|
error?: string | null;
|
|
8
9
|
message?: string | null;
|
|
9
|
-
code?: string | null;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export const ErrorResponse = core.serialization.object({
|
|
4
|
+
code: core.serialization.string().optional(),
|
|
4
5
|
error: core.serialization.string().optional(),
|
|
5
6
|
message: core.serialization.string().optional(),
|
|
6
|
-
code: core.serialization.string().optional(),
|
|
7
7
|
});
|
|
@@ -5,7 +5,7 @@ import { PostedBuiltinToolName } from "./PostedBuiltinToolName.mjs";
|
|
|
5
5
|
export declare const PostedBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.PostedBuiltinTool.Raw, Hume.empathicVoice.PostedBuiltinTool>;
|
|
6
6
|
export declare namespace PostedBuiltinTool {
|
|
7
7
|
interface Raw {
|
|
8
|
-
name: PostedBuiltinToolName.Raw;
|
|
9
8
|
fallback_content?: string | null;
|
|
9
|
+
name: PostedBuiltinToolName.Raw;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { PostedBuiltinToolName } from "./PostedBuiltinToolName.mjs";
|
|
4
4
|
export const PostedBuiltinTool = core.serialization.object({
|
|
5
|
-
name: PostedBuiltinToolName,
|
|
6
5
|
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
6
|
+
name: PostedBuiltinToolName,
|
|
7
7
|
});
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export const PostedConfigPromptSpec = core.serialization.object({
|
|
4
4
|
id: core.serialization.string().optional(),
|
|
5
|
-
version: core.serialization.number().optional(),
|
|
6
5
|
text: core.serialization.string().optional(),
|
|
6
|
+
version: core.serialization.number().optional(),
|
|
7
7
|
});
|
|
@@ -5,8 +5,8 @@ import { PostedEventMessageSpec } from "./PostedEventMessageSpec.mjs";
|
|
|
5
5
|
export declare const PostedEventMessageSpecs: core.serialization.ObjectSchema<serializers.empathicVoice.PostedEventMessageSpecs.Raw, Hume.empathicVoice.PostedEventMessageSpecs>;
|
|
6
6
|
export declare namespace PostedEventMessageSpecs {
|
|
7
7
|
interface Raw {
|
|
8
|
-
on_new_chat?: PostedEventMessageSpec.Raw | null;
|
|
9
8
|
on_inactivity_timeout?: PostedEventMessageSpec.Raw | null;
|
|
10
9
|
on_max_duration_timeout?: PostedEventMessageSpec.Raw | null;
|
|
10
|
+
on_new_chat?: PostedEventMessageSpec.Raw | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { PostedEventMessageSpec } from "./PostedEventMessageSpec.mjs";
|
|
4
4
|
export const PostedEventMessageSpecs = core.serialization.object({
|
|
5
|
-
onNewChat: core.serialization.property("on_new_chat", PostedEventMessageSpec.optional()),
|
|
6
5
|
onInactivityTimeout: core.serialization.property("on_inactivity_timeout", PostedEventMessageSpec.optional()),
|
|
7
6
|
onMaxDurationTimeout: core.serialization.property("on_max_duration_timeout", PostedEventMessageSpec.optional()),
|
|
7
|
+
onNewChat: core.serialization.property("on_new_chat", PostedEventMessageSpec.optional()),
|
|
8
8
|
});
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
export declare const PostedTimeoutSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedTimeoutSpec.Raw, Hume.empathicVoice.PostedTimeoutSpec>;
|
|
5
5
|
export declare namespace PostedTimeoutSpec {
|
|
6
6
|
interface Raw {
|
|
7
|
-
enabled: boolean;
|
|
8
7
|
duration_secs?: number | null;
|
|
8
|
+
enabled: boolean;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export const PostedTimeoutSpec = core.serialization.object({
|
|
4
|
-
enabled: core.serialization.boolean(),
|
|
5
4
|
durationSecs: core.serialization.property("duration_secs", core.serialization.number().optional()),
|
|
5
|
+
enabled: core.serialization.boolean(),
|
|
6
6
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const PostedWebhookEventType: core.serialization.Schema<serializers.empathicVoice.PostedWebhookEventType.Raw, Hume.empathicVoice.PostedWebhookEventType>;
|
|
5
5
|
export declare namespace PostedWebhookEventType {
|
|
6
|
-
type Raw = "chat_started" | "chat_ended";
|
|
6
|
+
type Raw = "chat_started" | "chat_ended" | "tool_call";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
export const PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended"]);
|
|
3
|
+
export const PostedWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended", "tool_call"]);
|
|
@@ -5,7 +5,7 @@ import { PostedWebhookEventType } from "./PostedWebhookEventType.mjs";
|
|
|
5
5
|
export declare const PostedWebhookSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedWebhookSpec.Raw, Hume.empathicVoice.PostedWebhookSpec>;
|
|
6
6
|
export declare namespace PostedWebhookSpec {
|
|
7
7
|
interface Raw {
|
|
8
|
-
url: string;
|
|
9
8
|
events: PostedWebhookEventType.Raw[];
|
|
9
|
+
url: string;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { PostedWebhookEventType } from "./PostedWebhookEventType.mjs";
|
|
4
4
|
export const PostedWebhookSpec = core.serialization.object({
|
|
5
|
-
url: core.serialization.string(),
|
|
6
5
|
events: core.serialization.list(PostedWebhookEventType),
|
|
6
|
+
url: core.serialization.string(),
|
|
7
7
|
});
|
|
@@ -5,8 +5,8 @@ import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.mjs";
|
|
|
5
5
|
export declare const ReturnBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnBuiltinTool.Raw, Hume.empathicVoice.ReturnBuiltinTool>;
|
|
6
6
|
export declare namespace ReturnBuiltinTool {
|
|
7
7
|
interface Raw {
|
|
8
|
-
tool_type: ReturnBuiltinToolToolType.Raw;
|
|
9
|
-
name: string;
|
|
10
8
|
fallback_content?: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
tool_type: ReturnBuiltinToolToolType.Raw;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.mjs";
|
|
4
4
|
export const ReturnBuiltinTool = core.serialization.object({
|
|
5
|
-
toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType),
|
|
6
|
-
name: core.serialization.string(),
|
|
7
5
|
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
toolType: core.serialization.property("tool_type", ReturnBuiltinToolToolType),
|
|
8
8
|
});
|
|
@@ -6,13 +6,13 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
|
|
|
6
6
|
export declare const ReturnChat: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChat.Raw, Hume.empathicVoice.ReturnChat>;
|
|
7
7
|
export declare namespace ReturnChat {
|
|
8
8
|
interface Raw {
|
|
9
|
-
id: string;
|
|
10
9
|
chat_group_id: string;
|
|
11
|
-
|
|
12
|
-
start_timestamp: number;
|
|
10
|
+
config?: ReturnConfigSpec.Raw | null;
|
|
13
11
|
end_timestamp?: number | null;
|
|
14
12
|
event_count?: number | null;
|
|
13
|
+
id: string;
|
|
15
14
|
metadata?: string | null;
|
|
16
|
-
|
|
15
|
+
start_timestamp: number;
|
|
16
|
+
status: ReturnChatStatus.Raw;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -3,12 +3,12 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChatStatus } from "./ReturnChatStatus.mjs";
|
|
4
4
|
import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
|
|
5
5
|
export const ReturnChat = core.serialization.object({
|
|
6
|
-
id: core.serialization.string(),
|
|
7
6
|
chatGroupId: core.serialization.property("chat_group_id", core.serialization.string()),
|
|
8
|
-
|
|
9
|
-
startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
|
|
7
|
+
config: ReturnConfigSpec.optional(),
|
|
10
8
|
endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
|
|
11
9
|
eventCount: core.serialization.property("event_count", core.serialization.number().optional()),
|
|
10
|
+
id: core.serialization.string(),
|
|
12
11
|
metadata: core.serialization.string().optional(),
|
|
13
|
-
|
|
12
|
+
startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
|
|
13
|
+
status: ReturnChatStatus,
|
|
14
14
|
});
|
package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.mts
CHANGED
|
@@ -5,12 +5,12 @@ import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstruc
|
|
|
5
5
|
export declare const ReturnChatAudioReconstruction: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatAudioReconstruction.Raw, Hume.empathicVoice.ReturnChatAudioReconstruction>;
|
|
6
6
|
export declare namespace ReturnChatAudioReconstruction {
|
|
7
7
|
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
user_id: string;
|
|
10
|
-
status: ReturnChatAudioReconstructionStatus.Raw;
|
|
11
8
|
filename?: string | null;
|
|
9
|
+
id: string;
|
|
12
10
|
modified_at?: number | null;
|
|
13
11
|
signed_audio_url?: string | null;
|
|
14
12
|
signed_url_expiration_timestamp_millis?: number | null;
|
|
13
|
+
status: ReturnChatAudioReconstructionStatus.Raw;
|
|
14
|
+
user_id: string;
|
|
15
15
|
}
|
|
16
16
|
}
|
package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstructionStatus.mjs";
|
|
4
4
|
export const ReturnChatAudioReconstruction = core.serialization.object({
|
|
5
|
-
id: core.serialization.string(),
|
|
6
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
7
|
-
status: ReturnChatAudioReconstructionStatus,
|
|
8
5
|
filename: core.serialization.string().optional(),
|
|
6
|
+
id: core.serialization.string(),
|
|
9
7
|
modifiedAt: core.serialization.property("modified_at", core.serialization.number().optional()),
|
|
10
8
|
signedAudioUrl: core.serialization.property("signed_audio_url", core.serialization.string().optional()),
|
|
11
9
|
signedUrlExpirationTimestampMillis: core.serialization.property("signed_url_expiration_timestamp_millis", core.serialization.number().optional()),
|
|
10
|
+
status: ReturnChatAudioReconstructionStatus,
|
|
11
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
12
12
|
});
|
|
@@ -6,14 +6,14 @@ import { ReturnChatEventType } from "./ReturnChatEventType.mjs";
|
|
|
6
6
|
export declare const ReturnChatEvent: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatEvent.Raw, Hume.empathicVoice.ReturnChatEvent>;
|
|
7
7
|
export declare namespace ReturnChatEvent {
|
|
8
8
|
interface Raw {
|
|
9
|
-
id: string;
|
|
10
9
|
chat_id: string;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
role: ReturnChatEventRole.Raw;
|
|
13
|
-
type: ReturnChatEventType.Raw;
|
|
14
|
-
message_text?: string | null;
|
|
15
10
|
emotion_features?: string | null;
|
|
11
|
+
id: string;
|
|
12
|
+
message_text?: string | null;
|
|
16
13
|
metadata?: string | null;
|
|
17
14
|
related_event_id?: string | null;
|
|
15
|
+
role: ReturnChatEventRole.Raw;
|
|
16
|
+
timestamp: number;
|
|
17
|
+
type: ReturnChatEventType.Raw;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -3,13 +3,13 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChatEventRole } from "./ReturnChatEventRole.mjs";
|
|
4
4
|
import { ReturnChatEventType } from "./ReturnChatEventType.mjs";
|
|
5
5
|
export const ReturnChatEvent = core.serialization.object({
|
|
6
|
-
id: core.serialization.string(),
|
|
7
6
|
chatId: core.serialization.property("chat_id", core.serialization.string()),
|
|
8
|
-
timestamp: core.serialization.number(),
|
|
9
|
-
role: ReturnChatEventRole,
|
|
10
|
-
type: ReturnChatEventType,
|
|
11
|
-
messageText: core.serialization.property("message_text", core.serialization.string().optional()),
|
|
12
7
|
emotionFeatures: core.serialization.property("emotion_features", core.serialization.string().optional()),
|
|
8
|
+
id: core.serialization.string(),
|
|
9
|
+
messageText: core.serialization.property("message_text", core.serialization.string().optional()),
|
|
13
10
|
metadata: core.serialization.string().optional(),
|
|
14
11
|
relatedEventId: core.serialization.property("related_event_id", core.serialization.string().optional()),
|
|
12
|
+
role: ReturnChatEventRole,
|
|
13
|
+
timestamp: core.serialization.number(),
|
|
14
|
+
type: ReturnChatEventType,
|
|
15
15
|
});
|
|
@@ -5,12 +5,12 @@ import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
|
|
|
5
5
|
export declare const ReturnChatGroup: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroup.Raw, Hume.empathicVoice.ReturnChatGroup>;
|
|
6
6
|
export declare namespace ReturnChatGroup {
|
|
7
7
|
interface Raw {
|
|
8
|
-
|
|
8
|
+
active?: boolean | null;
|
|
9
9
|
first_start_timestamp: number;
|
|
10
|
-
|
|
10
|
+
id: string;
|
|
11
11
|
most_recent_chat_id?: string | null;
|
|
12
12
|
most_recent_config?: ReturnConfigSpec.Raw | null;
|
|
13
|
+
most_recent_start_timestamp: number;
|
|
13
14
|
num_chats: number;
|
|
14
|
-
active?: boolean | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnConfigSpec } from "./ReturnConfigSpec.mjs";
|
|
4
4
|
export const ReturnChatGroup = core.serialization.object({
|
|
5
|
-
|
|
5
|
+
active: core.serialization.boolean().optional(),
|
|
6
6
|
firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
|
|
7
|
-
|
|
7
|
+
id: core.serialization.string(),
|
|
8
8
|
mostRecentChatId: core.serialization.property("most_recent_chat_id", core.serialization.string().optional()),
|
|
9
9
|
mostRecentConfig: core.serialization.property("most_recent_config", ReturnConfigSpec.optional()),
|
|
10
|
+
mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
|
|
10
11
|
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
11
|
-
active: core.serialization.boolean().optional(),
|
|
12
12
|
});
|
|
@@ -6,13 +6,13 @@ import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./R
|
|
|
6
6
|
export declare const ReturnChatGroupPagedAudioReconstructions: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
|
|
7
7
|
export declare namespace ReturnChatGroupPagedAudioReconstructions {
|
|
8
8
|
interface Raw {
|
|
9
|
+
audio_reconstructions_page: ReturnChatAudioReconstruction.Raw[];
|
|
9
10
|
id: string;
|
|
10
|
-
user_id: string;
|
|
11
11
|
num_chats: number;
|
|
12
12
|
page_number: number;
|
|
13
13
|
page_size: number;
|
|
14
|
-
total_pages: number;
|
|
15
14
|
pagination_direction: ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw;
|
|
16
|
-
|
|
15
|
+
total_pages: number;
|
|
16
|
+
user_id: string;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -3,12 +3,12 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChatAudioReconstruction } from "./ReturnChatAudioReconstruction.mjs";
|
|
4
4
|
import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.mjs";
|
|
5
5
|
export const ReturnChatGroupPagedAudioReconstructions = core.serialization.object({
|
|
6
|
+
audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction)),
|
|
6
7
|
id: core.serialization.string(),
|
|
7
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
8
8
|
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
9
9
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
10
10
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
11
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
12
11
|
paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedAudioReconstructionsPaginationDirection),
|
|
13
|
-
|
|
12
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
13
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
14
14
|
});
|
package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.mts
CHANGED
|
@@ -6,15 +6,15 @@ import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupP
|
|
|
6
6
|
export declare const ReturnChatGroupPagedChats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedChats.Raw, Hume.empathicVoice.ReturnChatGroupPagedChats>;
|
|
7
7
|
export declare namespace ReturnChatGroupPagedChats {
|
|
8
8
|
interface Raw {
|
|
9
|
-
|
|
9
|
+
active?: boolean | null;
|
|
10
|
+
chats_page: ReturnChat.Raw[];
|
|
10
11
|
first_start_timestamp: number;
|
|
12
|
+
id: string;
|
|
11
13
|
most_recent_start_timestamp: number;
|
|
12
14
|
num_chats: number;
|
|
13
15
|
page_number: number;
|
|
14
16
|
page_size: number;
|
|
15
|
-
total_pages: number;
|
|
16
17
|
pagination_direction: ReturnChatGroupPagedChatsPaginationDirection.Raw;
|
|
17
|
-
|
|
18
|
-
active?: boolean | null;
|
|
18
|
+
total_pages: number;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -3,14 +3,14 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChat } from "./ReturnChat.mjs";
|
|
4
4
|
import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupPagedChatsPaginationDirection.mjs";
|
|
5
5
|
export const ReturnChatGroupPagedChats = core.serialization.object({
|
|
6
|
-
|
|
6
|
+
active: core.serialization.boolean().optional(),
|
|
7
|
+
chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat)),
|
|
7
8
|
firstStartTimestamp: core.serialization.property("first_start_timestamp", core.serialization.number()),
|
|
9
|
+
id: core.serialization.string(),
|
|
8
10
|
mostRecentStartTimestamp: core.serialization.property("most_recent_start_timestamp", core.serialization.number()),
|
|
9
11
|
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
10
12
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
11
13
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
12
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
13
14
|
paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedChatsPaginationDirection),
|
|
14
|
-
|
|
15
|
-
active: core.serialization.boolean().optional(),
|
|
15
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
16
16
|
});
|
package/dist/esm/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.mts
CHANGED
|
@@ -6,11 +6,11 @@ import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroup
|
|
|
6
6
|
export declare const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
7
7
|
export declare namespace ReturnChatGroupPagedEvents {
|
|
8
8
|
interface Raw {
|
|
9
|
+
events_page: ReturnChatEvent.Raw[];
|
|
9
10
|
id: string;
|
|
10
11
|
page_number: number;
|
|
11
12
|
page_size: number;
|
|
12
|
-
total_pages: number;
|
|
13
13
|
pagination_direction: ReturnChatGroupPagedEventsPaginationDirection.Raw;
|
|
14
|
-
|
|
14
|
+
total_pages: number;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -3,10 +3,10 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChatEvent } from "./ReturnChatEvent.mjs";
|
|
4
4
|
import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroupPagedEventsPaginationDirection.mjs";
|
|
5
5
|
export const ReturnChatGroupPagedEvents = core.serialization.object({
|
|
6
|
+
eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent)),
|
|
6
7
|
id: core.serialization.string(),
|
|
7
8
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
8
9
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
9
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
10
10
|
paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedEventsPaginationDirection),
|
|
11
|
-
|
|
11
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
12
12
|
});
|