hume 0.15.4 → 0.15.6
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/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/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/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/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/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/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
|
@@ -11,21 +11,21 @@ import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool.mjs";
|
|
|
11
11
|
import { ReturnVoice } from "./ReturnVoice.mjs";
|
|
12
12
|
import { ReturnWebhookSpec } from "./ReturnWebhookSpec.mjs";
|
|
13
13
|
export const ReturnConfig = core.serialization.object({
|
|
14
|
-
name: core.serialization.string().optional(),
|
|
15
|
-
id: core.serialization.string().optional(),
|
|
16
|
-
version: core.serialization.number().optional(),
|
|
17
|
-
languageModel: core.serialization.property("language_model", ReturnLanguageModel.optional()),
|
|
18
14
|
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool.optional()).optional()),
|
|
15
|
+
createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
|
|
16
|
+
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel.optional()),
|
|
17
|
+
eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs.optional()),
|
|
19
18
|
eviVersion: core.serialization.property("evi_version", core.serialization.string().optional()),
|
|
20
|
-
|
|
19
|
+
id: core.serialization.string().optional(),
|
|
20
|
+
languageModel: core.serialization.property("language_model", ReturnLanguageModel.optional()),
|
|
21
|
+
modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
|
|
22
|
+
name: core.serialization.string().optional(),
|
|
21
23
|
nudges: ReturnNudgeSpec.optional(),
|
|
22
|
-
eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs.optional()),
|
|
23
|
-
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel.optional()),
|
|
24
|
-
voice: ReturnVoice.optional(),
|
|
25
24
|
prompt: ReturnPrompt.optional(),
|
|
26
|
-
|
|
27
|
-
createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
|
|
28
|
-
modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
|
|
29
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
25
|
+
timeouts: ReturnTimeoutSpecs.optional(),
|
|
30
26
|
tools: core.serialization.list(ReturnUserDefinedTool.optional()).optional(),
|
|
27
|
+
version: core.serialization.number().optional(),
|
|
28
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
29
|
+
voice: ReturnVoice.optional(),
|
|
30
|
+
webhooks: core.serialization.list(ReturnWebhookSpec.optional()).optional(),
|
|
31
31
|
});
|
|
@@ -5,8 +5,8 @@ import { ReturnEventMessageSpec } from "./ReturnEventMessageSpec.mjs";
|
|
|
5
5
|
export declare const ReturnEventMessageSpecs: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnEventMessageSpecs.Raw, Hume.empathicVoice.ReturnEventMessageSpecs>;
|
|
6
6
|
export declare namespace ReturnEventMessageSpecs {
|
|
7
7
|
interface Raw {
|
|
8
|
-
on_new_chat?: ReturnEventMessageSpec.Raw | null;
|
|
9
8
|
on_inactivity_timeout?: ReturnEventMessageSpec.Raw | null;
|
|
10
9
|
on_max_duration_timeout?: ReturnEventMessageSpec.Raw | null;
|
|
10
|
+
on_new_chat?: ReturnEventMessageSpec.Raw | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnEventMessageSpec } from "./ReturnEventMessageSpec.mjs";
|
|
4
4
|
export const ReturnEventMessageSpecs = core.serialization.object({
|
|
5
|
-
onNewChat: core.serialization.property("on_new_chat", ReturnEventMessageSpec.optional()),
|
|
6
5
|
onInactivityTimeout: core.serialization.property("on_inactivity_timeout", ReturnEventMessageSpec.optional()),
|
|
7
6
|
onMaxDurationTimeout: core.serialization.property("on_max_duration_timeout", ReturnEventMessageSpec.optional()),
|
|
7
|
+
onNewChat: core.serialization.property("on_new_chat", ReturnEventMessageSpec.optional()),
|
|
8
8
|
});
|
|
@@ -6,10 +6,10 @@ import { ReturnPagedChatGroupsPaginationDirection } from "./ReturnPagedChatGroup
|
|
|
6
6
|
export declare const ReturnPagedChatGroups: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedChatGroups.Raw, Hume.empathicVoice.ReturnPagedChatGroups>;
|
|
7
7
|
export declare namespace ReturnPagedChatGroups {
|
|
8
8
|
interface Raw {
|
|
9
|
+
chat_groups_page: ReturnChatGroup.Raw[];
|
|
9
10
|
page_number: number;
|
|
10
11
|
page_size: number;
|
|
11
|
-
total_pages: number;
|
|
12
12
|
pagination_direction: ReturnPagedChatGroupsPaginationDirection.Raw;
|
|
13
|
-
|
|
13
|
+
total_pages: number;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -3,9 +3,9 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChatGroup } from "./ReturnChatGroup.mjs";
|
|
4
4
|
import { ReturnPagedChatGroupsPaginationDirection } from "./ReturnPagedChatGroupsPaginationDirection.mjs";
|
|
5
5
|
export const ReturnPagedChatGroups = core.serialization.object({
|
|
6
|
+
chatGroupsPage: core.serialization.property("chat_groups_page", core.serialization.list(ReturnChatGroup)),
|
|
6
7
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
7
8
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
8
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
9
9
|
paginationDirection: core.serialization.property("pagination_direction", ReturnPagedChatGroupsPaginationDirection),
|
|
10
|
-
|
|
10
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
11
11
|
});
|
|
@@ -6,10 +6,10 @@ import { ReturnPagedChatsPaginationDirection } from "./ReturnPagedChatsPaginatio
|
|
|
6
6
|
export declare const ReturnPagedChats: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedChats.Raw, Hume.empathicVoice.ReturnPagedChats>;
|
|
7
7
|
export declare namespace ReturnPagedChats {
|
|
8
8
|
interface Raw {
|
|
9
|
+
chats_page: ReturnChat.Raw[];
|
|
9
10
|
page_number: number;
|
|
10
11
|
page_size: number;
|
|
11
|
-
total_pages: number;
|
|
12
12
|
pagination_direction: ReturnPagedChatsPaginationDirection.Raw;
|
|
13
|
-
|
|
13
|
+
total_pages: number;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -3,9 +3,9 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnChat } from "./ReturnChat.mjs";
|
|
4
4
|
import { ReturnPagedChatsPaginationDirection } from "./ReturnPagedChatsPaginationDirection.mjs";
|
|
5
5
|
export const ReturnPagedChats = core.serialization.object({
|
|
6
|
+
chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat)),
|
|
6
7
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
7
8
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
8
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
9
9
|
paginationDirection: core.serialization.property("pagination_direction", ReturnPagedChatsPaginationDirection),
|
|
10
|
-
|
|
10
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
11
11
|
});
|
|
@@ -5,9 +5,9 @@ import { ReturnConfig } from "./ReturnConfig.mjs";
|
|
|
5
5
|
export declare const ReturnPagedConfigs: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPagedConfigs.Raw, Hume.empathicVoice.ReturnPagedConfigs>;
|
|
6
6
|
export declare namespace ReturnPagedConfigs {
|
|
7
7
|
interface Raw {
|
|
8
|
+
configs_page?: ReturnConfig.Raw[] | null;
|
|
8
9
|
page_number?: number | null;
|
|
9
10
|
page_size?: number | null;
|
|
10
11
|
total_pages: number;
|
|
11
|
-
configs_page?: ReturnConfig.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnConfig } from "./ReturnConfig.mjs";
|
|
4
4
|
export const ReturnPagedConfigs = core.serialization.object({
|
|
5
|
+
configsPage: core.serialization.property("configs_page", core.serialization.list(ReturnConfig).optional()),
|
|
5
6
|
pageNumber: core.serialization.property("page_number", core.serialization.number().optional()),
|
|
6
7
|
pageSize: core.serialization.property("page_size", core.serialization.number().optional()),
|
|
7
8
|
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
8
|
-
configsPage: core.serialization.property("configs_page", core.serialization.list(ReturnConfig).optional()),
|
|
9
9
|
});
|
|
@@ -4,6 +4,6 @@ import { ReturnPrompt } from "./ReturnPrompt.mjs";
|
|
|
4
4
|
export const ReturnPagedPrompts = core.serialization.object({
|
|
5
5
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
6
6
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
7
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
8
7
|
promptsPage: core.serialization.property("prompts_page", core.serialization.list(ReturnPrompt.optional())),
|
|
8
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
9
9
|
});
|
package/dist/esm/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.mjs
CHANGED
|
@@ -4,6 +4,6 @@ import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool.mjs";
|
|
|
4
4
|
export const ReturnPagedUserDefinedTools = core.serialization.object({
|
|
5
5
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
6
6
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
7
|
-
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
8
7
|
toolsPage: core.serialization.property("tools_page", core.serialization.list(ReturnUserDefinedTool.optional())),
|
|
8
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
9
9
|
});
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import type * as Hume from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
import { ReturnPromptVersionType } from "./ReturnPromptVersionType.mjs";
|
|
5
4
|
export declare const ReturnPrompt: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnPrompt.Raw, Hume.empathicVoice.ReturnPrompt>;
|
|
6
5
|
export declare namespace ReturnPrompt {
|
|
7
6
|
interface Raw {
|
|
8
|
-
|
|
7
|
+
created_on: number;
|
|
9
8
|
id: string;
|
|
9
|
+
modified_on: number;
|
|
10
|
+
name: string;
|
|
10
11
|
text: string;
|
|
11
12
|
version: number;
|
|
12
|
-
version_type: ReturnPromptVersionType.Raw;
|
|
13
|
-
created_on: number;
|
|
14
|
-
modified_on: number;
|
|
15
13
|
version_description?: string | null;
|
|
14
|
+
version_type: string;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import { ReturnPromptVersionType } from "./ReturnPromptVersionType.mjs";
|
|
4
3
|
export const ReturnPrompt = core.serialization.object({
|
|
5
|
-
|
|
4
|
+
createdOn: core.serialization.property("created_on", core.serialization.number()),
|
|
6
5
|
id: core.serialization.string(),
|
|
6
|
+
modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
|
|
7
|
+
name: core.serialization.string(),
|
|
7
8
|
text: core.serialization.string(),
|
|
8
9
|
version: core.serialization.number(),
|
|
9
|
-
versionType: core.serialization.property("version_type", ReturnPromptVersionType),
|
|
10
|
-
createdOn: core.serialization.property("created_on", core.serialization.number()),
|
|
11
|
-
modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
|
|
12
10
|
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
11
|
+
versionType: core.serialization.property("version_type", core.serialization.string()),
|
|
13
12
|
});
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
export declare const ReturnTimeoutSpec: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnTimeoutSpec.Raw, Hume.empathicVoice.ReturnTimeoutSpec>;
|
|
5
5
|
export declare namespace ReturnTimeoutSpec {
|
|
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 ReturnTimeoutSpec = 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
|
});
|
|
@@ -6,16 +6,16 @@ import { ReturnUserDefinedToolVersionType } from "./ReturnUserDefinedToolVersion
|
|
|
6
6
|
export declare const ReturnUserDefinedTool: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnUserDefinedTool.Raw, Hume.empathicVoice.ReturnUserDefinedTool>;
|
|
7
7
|
export declare namespace ReturnUserDefinedTool {
|
|
8
8
|
interface Raw {
|
|
9
|
-
tool_type: ReturnUserDefinedToolToolType.Raw;
|
|
10
|
-
id: string;
|
|
11
|
-
version: number;
|
|
12
|
-
version_type: ReturnUserDefinedToolVersionType.Raw;
|
|
13
|
-
version_description?: string | null;
|
|
14
|
-
name: string;
|
|
15
9
|
created_on: number;
|
|
16
|
-
modified_on: number;
|
|
17
|
-
fallback_content?: string | null;
|
|
18
10
|
description?: string | null;
|
|
11
|
+
fallback_content?: string | null;
|
|
12
|
+
id: string;
|
|
13
|
+
modified_on: number;
|
|
14
|
+
name: string;
|
|
19
15
|
parameters: string;
|
|
16
|
+
tool_type: ReturnUserDefinedToolToolType.Raw;
|
|
17
|
+
version: number;
|
|
18
|
+
version_description?: string | null;
|
|
19
|
+
version_type: ReturnUserDefinedToolVersionType.Raw;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -3,15 +3,15 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ReturnUserDefinedToolToolType } from "./ReturnUserDefinedToolToolType.mjs";
|
|
4
4
|
import { ReturnUserDefinedToolVersionType } from "./ReturnUserDefinedToolVersionType.mjs";
|
|
5
5
|
export const ReturnUserDefinedTool = core.serialization.object({
|
|
6
|
-
toolType: core.serialization.property("tool_type", ReturnUserDefinedToolToolType),
|
|
7
|
-
id: core.serialization.string(),
|
|
8
|
-
version: core.serialization.number(),
|
|
9
|
-
versionType: core.serialization.property("version_type", ReturnUserDefinedToolVersionType),
|
|
10
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
11
|
-
name: core.serialization.string(),
|
|
12
6
|
createdOn: core.serialization.property("created_on", core.serialization.number()),
|
|
13
|
-
modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
|
|
14
|
-
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
15
7
|
description: core.serialization.string().optional(),
|
|
8
|
+
fallbackContent: core.serialization.property("fallback_content", core.serialization.string().optional()),
|
|
9
|
+
id: core.serialization.string(),
|
|
10
|
+
modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
|
|
11
|
+
name: core.serialization.string(),
|
|
16
12
|
parameters: core.serialization.string(),
|
|
13
|
+
toolType: core.serialization.property("tool_type", ReturnUserDefinedToolToolType),
|
|
14
|
+
version: core.serialization.number(),
|
|
15
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
16
|
+
versionType: core.serialization.property("version_type", ReturnUserDefinedToolVersionType),
|
|
17
17
|
});
|
|
@@ -5,9 +5,9 @@ import { VoiceProvider } from "./VoiceProvider.mjs";
|
|
|
5
5
|
export declare const ReturnVoice: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoice.Raw, Hume.empathicVoice.ReturnVoice>;
|
|
6
6
|
export declare namespace ReturnVoice {
|
|
7
7
|
interface Raw {
|
|
8
|
+
compatible_octave_models?: string[] | null;
|
|
8
9
|
id?: string | null;
|
|
9
10
|
name?: string | null;
|
|
10
11
|
provider?: VoiceProvider.Raw | null;
|
|
11
|
-
compatible_octave_models?: string[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { VoiceProvider } from "./VoiceProvider.mjs";
|
|
4
4
|
export const ReturnVoice = core.serialization.object({
|
|
5
|
+
compatibleOctaveModels: core.serialization.property("compatible_octave_models", core.serialization.list(core.serialization.string()).optional()),
|
|
5
6
|
id: core.serialization.string().optional(),
|
|
6
7
|
name: core.serialization.string().optional(),
|
|
7
8
|
provider: VoiceProvider.optional(),
|
|
8
|
-
compatibleOctaveModels: core.serialization.property("compatible_octave_models", core.serialization.list(core.serialization.string()).optional()),
|
|
9
9
|
});
|
|
@@ -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 ReturnWebhookEventType: core.serialization.Schema<serializers.empathicVoice.ReturnWebhookEventType.Raw, Hume.empathicVoice.ReturnWebhookEventType>;
|
|
5
5
|
export declare namespace ReturnWebhookEventType {
|
|
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 ReturnWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended"]);
|
|
3
|
+
export const ReturnWebhookEventType = core.serialization.enum_(["chat_started", "chat_ended", "tool_call"]);
|
|
@@ -5,7 +5,7 @@ import { ReturnWebhookEventType } from "./ReturnWebhookEventType.mjs";
|
|
|
5
5
|
export declare const ReturnWebhookSpec: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnWebhookSpec.Raw, Hume.empathicVoice.ReturnWebhookSpec>;
|
|
6
6
|
export declare namespace ReturnWebhookSpec {
|
|
7
7
|
interface Raw {
|
|
8
|
-
url: string;
|
|
9
8
|
events: ReturnWebhookEventType.Raw[];
|
|
9
|
+
url: string;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { ReturnWebhookEventType } from "./ReturnWebhookEventType.mjs";
|
|
4
4
|
export const ReturnWebhookSpec = core.serialization.object({
|
|
5
|
-
url: core.serialization.string(),
|
|
6
5
|
events: core.serialization.list(ReturnWebhookEventType),
|
|
6
|
+
url: core.serialization.string(),
|
|
7
7
|
});
|
|
@@ -4,8 +4,8 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
export declare const ErrorResponse: core.serialization.ObjectSchema<serializers.tts.ErrorResponse.Raw, Hume.tts.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,9 +5,9 @@ import { VoiceProvider } from "./VoiceProvider.mjs";
|
|
|
5
5
|
export declare const ReturnVoice: core.serialization.ObjectSchema<serializers.tts.ReturnVoice.Raw, Hume.tts.ReturnVoice>;
|
|
6
6
|
export declare namespace ReturnVoice {
|
|
7
7
|
interface Raw {
|
|
8
|
+
compatible_octave_models?: string[] | null;
|
|
8
9
|
id?: string | null;
|
|
9
10
|
name?: string | null;
|
|
10
11
|
provider?: VoiceProvider.Raw | null;
|
|
11
|
-
compatible_octave_models?: string[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { VoiceProvider } from "./VoiceProvider.mjs";
|
|
4
4
|
export const ReturnVoice = core.serialization.object({
|
|
5
|
+
compatibleOctaveModels: core.serialization.property("compatible_octave_models", core.serialization.list(core.serialization.string()).optional()),
|
|
5
6
|
id: core.serialization.string().optional(),
|
|
6
7
|
name: core.serialization.string().optional(),
|
|
7
8
|
provider: VoiceProvider.optional(),
|
|
8
|
-
compatibleOctaveModels: core.serialization.property("compatible_octave_models", core.serialization.list(core.serialization.string()).optional()),
|
|
9
9
|
});
|
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.6";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.15.
|
|
1
|
+
export const SDK_VERSION = "0.15.6";
|