hume 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +176 -72
- package/.mock/definition/empathic-voice/chat.yml +6 -6
- package/.mock/definition/empathic-voice/chatGroups.yml +9 -0
- package/.mock/definition/empathic-voice/chats.yml +14 -1
- package/.mock/definition/empathic-voice/configs.yml +138 -86
- package/.mock/definition/empathic-voice/prompts.yml +4 -2
- package/.mock/definition/empathic-voice/tools.yml +4 -2
- package/.mock/fern.config.json +1 -1
- package/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
- package/api/resources/customModels/resources/datasets/client/Client.js +18 -18
- package/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
- package/api/resources/customModels/resources/files/client/Client.js +14 -14
- package/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
- package/api/resources/customModels/resources/jobs/client/Client.js +4 -4
- package/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
- package/api/resources/customModels/resources/models/client/Client.js +12 -12
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
- package/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
- package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
- package/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
- package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
- package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
- package/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
- package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
- package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
- package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
- package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
- package/api/resources/empathicVoice/types/index.d.ts +9 -6
- package/api/resources/empathicVoice/types/index.js +9 -6
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +11 -1
- package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
- package/dist/api/resources/customModels/resources/datasets/client/Client.js +18 -18
- package/dist/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
- package/dist/api/resources/customModels/resources/files/client/Client.js +14 -14
- package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
- package/dist/api/resources/customModels/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
- package/dist/api/resources/customModels/resources/models/client/Client.js +12 -12
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
- package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
- package/dist/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
- package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +9 -6
- package/dist/api/resources/empathicVoice/types/index.js +9 -6
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +11 -1
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
- package/{serialization/resources/empathicVoice/types/WebSocketError.d.ts → dist/serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
- package/{serialization/resources/empathicVoice/types/WebSocketError.js → dist/serialization/resources/empathicVoice/types/Error_.js} +2 -2
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → PostedEventMessageSpec.js} +4 -3
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
- package/dist/serialization/resources/empathicVoice/types/{TtsInput.d.ts → ReturnEllmModel.d.ts} +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/{TextInput.js → ReturnEventMessageSpec.js} +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -6
- package/dist/serialization/resources/empathicVoice/types/index.js +9 -6
- package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
- package/package.json +6 -1
- package/reference.md +208 -122
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
- package/{dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts → serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
- package/{dist/serialization/resources/empathicVoice/types/WebSocketError.js → serialization/resources/empathicVoice/types/Error_.js} +2 -2
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
- package/{dist/serialization/resources/empathicVoice/types/TtsInput.js → serialization/resources/empathicVoice/types/PostedEventMessageSpec.js} +4 -3
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
- package/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
- package/serialization/resources/empathicVoice/types/{TextInput.d.ts → ReturnEllmModel.d.ts} +3 -3
- package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → ReturnEventMessageSpec.js} +4 -3
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
- package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
- package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/index.d.ts +9 -6
- package/serialization/resources/empathicVoice/types/index.js +9 -6
- package/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
- package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TextInput.js +0 -33
- package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TtsInput.js +0 -33
- /package/api/resources/empathicVoice/types/{FunctionCallResponseInput.js → Error_.js} +0 -0
- /package/api/resources/empathicVoice/types/{TextInput.js → PostedEllmModel.js} +0 -0
- /package/api/resources/empathicVoice/types/{TtsInput.js → PostedEventMessageSpec.js} +0 -0
- /package/api/resources/empathicVoice/types/{WebSocketError.js → PostedTimeoutSpec.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js → api/resources/empathicVoice/types/ReturnEllmModel.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/TextInput.js → api/resources/empathicVoice/types/ReturnEventMessageSpec.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/TtsInput.js → api/resources/empathicVoice/types/ReturnTimeoutSpec.js} +0 -0
- /package/dist/api/resources/empathicVoice/types/{WebSocketError.js → Error_.js} +0 -0
|
@@ -8,7 +8,7 @@ import { AssistantEnd } from "../../../types/AssistantEnd";
|
|
|
8
8
|
import { AssistantMessage } from "../../../types/AssistantMessage";
|
|
9
9
|
import { AudioOutput } from "../../../types/AudioOutput";
|
|
10
10
|
import { ChatMetadata } from "../../../types/ChatMetadata";
|
|
11
|
-
import {
|
|
11
|
+
import { Error_ } from "../../../types/Error_";
|
|
12
12
|
import { UserInterruption } from "../../../types/UserInterruption";
|
|
13
13
|
import { UserMessage } from "../../../types/UserMessage";
|
|
14
14
|
import { ToolCallMessage } from "../../../types/ToolCallMessage";
|
|
@@ -16,5 +16,5 @@ import { ToolResponseMessage } from "../../../types/ToolResponseMessage";
|
|
|
16
16
|
import { ToolErrorMessage } from "../../../types/ToolErrorMessage";
|
|
17
17
|
export declare const SubscribeEvent: core.serialization.Schema<serializers.empathicVoice.SubscribeEvent.Raw, Hume.empathicVoice.SubscribeEvent>;
|
|
18
18
|
export declare namespace SubscribeEvent {
|
|
19
|
-
type Raw = AssistantEnd.Raw | AssistantMessage.Raw | AudioOutput.Raw | ChatMetadata.Raw |
|
|
19
|
+
type Raw = AssistantEnd.Raw | AssistantMessage.Raw | AudioOutput.Raw | ChatMetadata.Raw | Error_.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
|
|
20
20
|
}
|
|
@@ -32,7 +32,7 @@ const AssistantEnd_1 = require("../../../types/AssistantEnd");
|
|
|
32
32
|
const AssistantMessage_1 = require("../../../types/AssistantMessage");
|
|
33
33
|
const AudioOutput_1 = require("../../../types/AudioOutput");
|
|
34
34
|
const ChatMetadata_1 = require("../../../types/ChatMetadata");
|
|
35
|
-
const
|
|
35
|
+
const Error_1 = require("../../../types/Error_");
|
|
36
36
|
const UserInterruption_1 = require("../../../types/UserInterruption");
|
|
37
37
|
const UserMessage_1 = require("../../../types/UserMessage");
|
|
38
38
|
const ToolCallMessage_1 = require("../../../types/ToolCallMessage");
|
|
@@ -43,7 +43,7 @@ exports.SubscribeEvent = core.serialization.undiscriminatedUnion([
|
|
|
43
43
|
AssistantMessage_1.AssistantMessage,
|
|
44
44
|
AudioOutput_1.AudioOutput,
|
|
45
45
|
ChatMetadata_1.ChatMetadata,
|
|
46
|
-
|
|
46
|
+
Error_1.Error_,
|
|
47
47
|
UserInterruption_1.UserInterruption,
|
|
48
48
|
UserMessage_1.UserMessage,
|
|
49
49
|
ToolCallMessage_1.ToolCallMessage,
|
package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts
CHANGED
|
@@ -7,8 +7,11 @@ import * as core from "../../../../../../../core";
|
|
|
7
7
|
import { PostedPromptSpec } from "../../../../types/PostedPromptSpec";
|
|
8
8
|
import { PostedVoice } from "../../../../types/PostedVoice";
|
|
9
9
|
import { PostedLanguageModel } from "../../../../types/PostedLanguageModel";
|
|
10
|
+
import { PostedEllmModel } from "../../../../types/PostedEllmModel";
|
|
10
11
|
import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec";
|
|
11
12
|
import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool";
|
|
13
|
+
import { PostedEventMessageSpec } from "../../../../types/PostedEventMessageSpec";
|
|
14
|
+
import { PostedTimeoutSpec } from "../../../../types/PostedTimeoutSpec";
|
|
12
15
|
export declare const PostedConfig: core.serialization.Schema<serializers.empathicVoice.PostedConfig.Raw, Hume.empathicVoice.PostedConfig>;
|
|
13
16
|
export declare namespace PostedConfig {
|
|
14
17
|
interface Raw {
|
|
@@ -17,7 +20,10 @@ export declare namespace PostedConfig {
|
|
|
17
20
|
prompt?: PostedPromptSpec.Raw | null;
|
|
18
21
|
voice?: PostedVoice.Raw | null;
|
|
19
22
|
language_model?: PostedLanguageModel.Raw | null;
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
ellm_model?: PostedEllmModel.Raw | null;
|
|
24
|
+
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
25
|
+
builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
|
|
26
|
+
event_messages?: Record<string, PostedEventMessageSpec.Raw | null | undefined> | null;
|
|
27
|
+
timeouts?: Record<string, PostedTimeoutSpec.Raw | null | undefined> | null;
|
|
22
28
|
}
|
|
23
29
|
}
|
package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js
CHANGED
|
@@ -31,14 +31,20 @@ const core = __importStar(require("../../../../../../../core"));
|
|
|
31
31
|
const PostedPromptSpec_1 = require("../../../../types/PostedPromptSpec");
|
|
32
32
|
const PostedVoice_1 = require("../../../../types/PostedVoice");
|
|
33
33
|
const PostedLanguageModel_1 = require("../../../../types/PostedLanguageModel");
|
|
34
|
+
const PostedEllmModel_1 = require("../../../../types/PostedEllmModel");
|
|
34
35
|
const PostedUserDefinedToolSpec_1 = require("../../../../types/PostedUserDefinedToolSpec");
|
|
35
36
|
const PostedBuiltinTool_1 = require("../../../../types/PostedBuiltinTool");
|
|
37
|
+
const PostedEventMessageSpec_1 = require("../../../../types/PostedEventMessageSpec");
|
|
38
|
+
const PostedTimeoutSpec_1 = require("../../../../types/PostedTimeoutSpec");
|
|
36
39
|
exports.PostedConfig = core.serialization.object({
|
|
37
40
|
name: core.serialization.string(),
|
|
38
41
|
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
39
42
|
prompt: PostedPromptSpec_1.PostedPromptSpec.optional(),
|
|
40
43
|
voice: PostedVoice_1.PostedVoice.optional(),
|
|
41
44
|
languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
ellmModel: core.serialization.property("ellm_model", PostedEllmModel_1.PostedEllmModel.optional()),
|
|
46
|
+
tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
|
|
47
|
+
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool_1.PostedBuiltinTool.optional()).optional()),
|
|
48
|
+
eventMessages: core.serialization.property("event_messages", core.serialization.record(core.serialization.string(), PostedEventMessageSpec_1.PostedEventMessageSpec.optional()).optional()),
|
|
49
|
+
timeouts: core.serialization.record(core.serialization.string(), PostedTimeoutSpec_1.PostedTimeoutSpec.optional()).optional(),
|
|
44
50
|
});
|
|
@@ -7,8 +7,11 @@ import * as core from "../../../../../../../core";
|
|
|
7
7
|
import { PostedPromptSpec } from "../../../../types/PostedPromptSpec";
|
|
8
8
|
import { PostedVoice } from "../../../../types/PostedVoice";
|
|
9
9
|
import { PostedLanguageModel } from "../../../../types/PostedLanguageModel";
|
|
10
|
+
import { PostedEllmModel } from "../../../../types/PostedEllmModel";
|
|
10
11
|
import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec";
|
|
11
12
|
import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool";
|
|
13
|
+
import { PostedEventMessageSpec } from "../../../../types/PostedEventMessageSpec";
|
|
14
|
+
import { PostedTimeoutSpec } from "../../../../types/PostedTimeoutSpec";
|
|
12
15
|
export declare const PostedConfigVersion: core.serialization.Schema<serializers.empathicVoice.PostedConfigVersion.Raw, Hume.empathicVoice.PostedConfigVersion>;
|
|
13
16
|
export declare namespace PostedConfigVersion {
|
|
14
17
|
interface Raw {
|
|
@@ -16,7 +19,10 @@ export declare namespace PostedConfigVersion {
|
|
|
16
19
|
prompt?: PostedPromptSpec.Raw | null;
|
|
17
20
|
voice?: PostedVoice.Raw | null;
|
|
18
21
|
language_model?: PostedLanguageModel.Raw | null;
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
ellm_model?: PostedEllmModel.Raw | null;
|
|
23
|
+
tools?: (PostedUserDefinedToolSpec.Raw | null | undefined)[] | null;
|
|
24
|
+
builtin_tools?: (PostedBuiltinTool.Raw | null | undefined)[] | null;
|
|
25
|
+
event_messages?: Record<string, PostedEventMessageSpec.Raw | null | undefined> | null;
|
|
26
|
+
timeouts?: Record<string, PostedTimeoutSpec.Raw | null | undefined> | null;
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -31,13 +31,19 @@ const core = __importStar(require("../../../../../../../core"));
|
|
|
31
31
|
const PostedPromptSpec_1 = require("../../../../types/PostedPromptSpec");
|
|
32
32
|
const PostedVoice_1 = require("../../../../types/PostedVoice");
|
|
33
33
|
const PostedLanguageModel_1 = require("../../../../types/PostedLanguageModel");
|
|
34
|
+
const PostedEllmModel_1 = require("../../../../types/PostedEllmModel");
|
|
34
35
|
const PostedUserDefinedToolSpec_1 = require("../../../../types/PostedUserDefinedToolSpec");
|
|
35
36
|
const PostedBuiltinTool_1 = require("../../../../types/PostedBuiltinTool");
|
|
37
|
+
const PostedEventMessageSpec_1 = require("../../../../types/PostedEventMessageSpec");
|
|
38
|
+
const PostedTimeoutSpec_1 = require("../../../../types/PostedTimeoutSpec");
|
|
36
39
|
exports.PostedConfigVersion = core.serialization.object({
|
|
37
40
|
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
38
41
|
prompt: PostedPromptSpec_1.PostedPromptSpec.optional(),
|
|
39
42
|
voice: PostedVoice_1.PostedVoice.optional(),
|
|
40
43
|
languageModel: core.serialization.property("language_model", PostedLanguageModel_1.PostedLanguageModel.optional()),
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
ellmModel: core.serialization.property("ellm_model", PostedEllmModel_1.PostedEllmModel.optional()),
|
|
45
|
+
tools: core.serialization.list(PostedUserDefinedToolSpec_1.PostedUserDefinedToolSpec.optional()).optional(),
|
|
46
|
+
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(PostedBuiltinTool_1.PostedBuiltinTool.optional()).optional()),
|
|
47
|
+
eventMessages: core.serialization.property("event_messages", core.serialization.record(core.serialization.string(), PostedEventMessageSpec_1.PostedEventMessageSpec.optional()).optional()),
|
|
48
|
+
timeouts: core.serialization.record(core.serialization.string(), PostedTimeoutSpec_1.PostedTimeoutSpec.optional()).optional(),
|
|
43
49
|
});
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const Error_: core.serialization.ObjectSchema<serializers.empathicVoice.Error_.Raw, Hume.empathicVoice.Error_>;
|
|
8
|
+
export declare namespace Error_ {
|
|
9
9
|
interface Raw {
|
|
10
10
|
code: string;
|
|
11
11
|
custom_session_id?: string | null;
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.Error_ = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.Error_ = core.serialization.object({
|
|
32
32
|
code: core.serialization.string(),
|
|
33
33
|
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
34
34
|
message: core.serialization.string(),
|
|
@@ -8,6 +8,6 @@ export declare const PauseAssistantMessage: core.serialization.ObjectSchema<seri
|
|
|
8
8
|
export declare namespace PauseAssistantMessage {
|
|
9
9
|
interface Raw {
|
|
10
10
|
custom_session_id?: string | null;
|
|
11
|
-
type
|
|
11
|
+
type: "pause_assistant_message";
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -30,5 +30,5 @@ exports.PauseAssistantMessage = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.PauseAssistantMessage = core.serialization.object({
|
|
32
32
|
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
33
|
-
type: core.serialization.stringLiteral("pause_assistant_message")
|
|
33
|
+
type: core.serialization.stringLiteral("pause_assistant_message"),
|
|
34
34
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PostedEllmModel: core.serialization.ObjectSchema<serializers.empathicVoice.PostedEllmModel.Raw, Hume.empathicVoice.PostedEllmModel>;
|
|
8
|
+
export declare namespace PostedEllmModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
allow_short_responses?: boolean | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedEllmModel = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedEllmModel = core.serialization.object({
|
|
32
|
+
allowShortResponses: core.serialization.property("allow_short_responses", core.serialization.boolean().optional()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PostedEventMessageSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedEventMessageSpec.Raw, Hume.empathicVoice.PostedEventMessageSpec>;
|
|
8
|
+
export declare namespace PostedEventMessageSpec {
|
|
9
|
+
interface Raw {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.PostedEventMessageSpec = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.PostedEventMessageSpec = core.serialization.object({
|
|
32
|
+
enabled: core.serialization.boolean(),
|
|
33
|
+
text: core.serialization.string().optional(),
|
|
33
34
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PostedTimeoutSpec: core.serialization.ObjectSchema<serializers.empathicVoice.PostedTimeoutSpec.Raw, Hume.empathicVoice.PostedTimeoutSpec>;
|
|
8
|
+
export declare namespace PostedTimeoutSpec {
|
|
9
|
+
interface Raw {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
duration_secs?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedTimeoutSpec = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedTimeoutSpec = core.serialization.object({
|
|
32
|
+
enabled: core.serialization.boolean(),
|
|
33
|
+
durationSecs: core.serialization.property("duration_secs", core.serialization.number().optional()),
|
|
34
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const PostedVoiceName: core.serialization.Schema<serializers.empathicVoice.PostedVoiceName.Raw, Hume.empathicVoice.PostedVoiceName>;
|
|
8
8
|
export declare namespace PostedVoiceName {
|
|
9
|
-
type Raw = "ITO" | "DACHER";
|
|
9
|
+
type Raw = "ITO" | "DACHER" | "KORA";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PostedVoiceName = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.PostedVoiceName = core.serialization.enum_(["ITO", "DACHER"]);
|
|
31
|
+
exports.PostedVoiceName = core.serialization.enum_(["ITO", "DACHER", "KORA"]);
|
|
@@ -8,6 +8,6 @@ export declare const ResumeAssistantMessage: core.serialization.ObjectSchema<ser
|
|
|
8
8
|
export declare namespace ResumeAssistantMessage {
|
|
9
9
|
interface Raw {
|
|
10
10
|
custom_session_id?: string | null;
|
|
11
|
-
type
|
|
11
|
+
type: "resume_assistant_message";
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -30,5 +30,5 @@ exports.ResumeAssistantMessage = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.ResumeAssistantMessage = core.serialization.object({
|
|
32
32
|
customSessionId: core.serialization.property("custom_session_id", core.serialization.string().optional()),
|
|
33
|
-
type: core.serialization.stringLiteral("resume_assistant_message")
|
|
33
|
+
type: core.serialization.stringLiteral("resume_assistant_message"),
|
|
34
34
|
});
|
|
@@ -36,6 +36,8 @@ exports.ReturnChatGroupPagedChats = core.serialization.object({
|
|
|
36
36
|
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
37
37
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
38
38
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
39
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
40
|
+
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
39
41
|
chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_1.ReturnChat)),
|
|
40
42
|
active: core.serialization.boolean().optional(),
|
|
41
43
|
});
|
|
@@ -33,6 +33,7 @@ exports.ReturnChatGroupPagedEvents = core.serialization.object({
|
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
35
35
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
36
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
36
37
|
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
37
38
|
eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
|
|
38
39
|
});
|
|
@@ -15,10 +15,12 @@ export declare namespace ReturnChatPagedEvents {
|
|
|
15
15
|
status: string;
|
|
16
16
|
start_timestamp: number;
|
|
17
17
|
end_timestamp?: number | null;
|
|
18
|
+
pagination_direction: string;
|
|
18
19
|
events_page: ReturnChatEvent.Raw[];
|
|
19
20
|
metadata?: string | null;
|
|
20
21
|
page_number: number;
|
|
21
22
|
page_size: number;
|
|
23
|
+
total_pages: number;
|
|
22
24
|
config?: ReturnConfigSpec.Raw | null;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -37,9 +37,11 @@ exports.ReturnChatPagedEvents = core.serialization.object({
|
|
|
37
37
|
status: core.serialization.string(),
|
|
38
38
|
startTimestamp: core.serialization.property("start_timestamp", core.serialization.number()),
|
|
39
39
|
endTimestamp: core.serialization.property("end_timestamp", core.serialization.number().optional()),
|
|
40
|
+
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
40
41
|
eventsPage: core.serialization.property("events_page", core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
|
|
41
42
|
metadata: core.serialization.string().optional(),
|
|
42
43
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
43
44
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
45
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
44
46
|
config: ReturnConfigSpec_1.ReturnConfigSpec.optional(),
|
|
45
47
|
});
|
|
@@ -7,8 +7,11 @@ import * as core from "../../../../core";
|
|
|
7
7
|
import { ReturnPrompt } from "./ReturnPrompt";
|
|
8
8
|
import { ReturnVoice } from "./ReturnVoice";
|
|
9
9
|
import { ReturnLanguageModel } from "./ReturnLanguageModel";
|
|
10
|
+
import { ReturnEllmModel } from "./ReturnEllmModel";
|
|
10
11
|
import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool";
|
|
11
12
|
import { ReturnBuiltinTool } from "./ReturnBuiltinTool";
|
|
13
|
+
import { ReturnEventMessageSpec } from "./ReturnEventMessageSpec";
|
|
14
|
+
import { ReturnTimeoutSpec } from "./ReturnTimeoutSpec";
|
|
12
15
|
export declare const ReturnConfig: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnConfig.Raw, Hume.empathicVoice.ReturnConfig>;
|
|
13
16
|
export declare namespace ReturnConfig {
|
|
14
17
|
interface Raw {
|
|
@@ -21,7 +24,10 @@ export declare namespace ReturnConfig {
|
|
|
21
24
|
prompt?: ReturnPrompt.Raw | null;
|
|
22
25
|
voice?: ReturnVoice.Raw | null;
|
|
23
26
|
language_model?: ReturnLanguageModel.Raw | null;
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
ellm_model?: ReturnEllmModel.Raw | null;
|
|
28
|
+
tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
|
|
29
|
+
builtin_tools?: (ReturnBuiltinTool.Raw | null | undefined)[] | null;
|
|
30
|
+
event_messages?: Record<string, ReturnEventMessageSpec.Raw | null | undefined> | null;
|
|
31
|
+
timeouts?: Record<string, ReturnTimeoutSpec.Raw | null | undefined> | null;
|
|
26
32
|
}
|
|
27
33
|
}
|
|
@@ -31,8 +31,11 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const ReturnPrompt_1 = require("./ReturnPrompt");
|
|
32
32
|
const ReturnVoice_1 = require("./ReturnVoice");
|
|
33
33
|
const ReturnLanguageModel_1 = require("./ReturnLanguageModel");
|
|
34
|
+
const ReturnEllmModel_1 = require("./ReturnEllmModel");
|
|
34
35
|
const ReturnUserDefinedTool_1 = require("./ReturnUserDefinedTool");
|
|
35
36
|
const ReturnBuiltinTool_1 = require("./ReturnBuiltinTool");
|
|
37
|
+
const ReturnEventMessageSpec_1 = require("./ReturnEventMessageSpec");
|
|
38
|
+
const ReturnTimeoutSpec_1 = require("./ReturnTimeoutSpec");
|
|
36
39
|
exports.ReturnConfig = core.serialization.object({
|
|
37
40
|
id: core.serialization.string().optional(),
|
|
38
41
|
version: core.serialization.number().optional(),
|
|
@@ -43,6 +46,9 @@ exports.ReturnConfig = core.serialization.object({
|
|
|
43
46
|
prompt: ReturnPrompt_1.ReturnPrompt.optional(),
|
|
44
47
|
voice: ReturnVoice_1.ReturnVoice.optional(),
|
|
45
48
|
languageModel: core.serialization.property("language_model", ReturnLanguageModel_1.ReturnLanguageModel.optional()),
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_1.ReturnEllmModel.optional()),
|
|
50
|
+
tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
|
|
51
|
+
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool_1.ReturnBuiltinTool.optional()).optional()),
|
|
52
|
+
eventMessages: core.serialization.property("event_messages", core.serialization.record(core.serialization.string(), ReturnEventMessageSpec_1.ReturnEventMessageSpec.optional()).optional()),
|
|
53
|
+
timeouts: core.serialization.record(core.serialization.string(), ReturnTimeoutSpec_1.ReturnTimeoutSpec.optional()).optional(),
|
|
48
54
|
});
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ReturnEllmModel: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnEllmModel.Raw, Hume.empathicVoice.ReturnEllmModel>;
|
|
8
|
+
export declare namespace ReturnEllmModel {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
allow_short_responses: boolean;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnEllmModel = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnEllmModel = core.serialization.object({
|
|
32
|
+
allowShortResponses: core.serialization.property("allow_short_responses", core.serialization.boolean()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ReturnEventMessageSpec: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnEventMessageSpec.Raw, Hume.empathicVoice.ReturnEventMessageSpec>;
|
|
8
|
+
export declare namespace ReturnEventMessageSpec {
|
|
9
|
+
interface Raw {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ReturnEventMessageSpec = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.ReturnEventMessageSpec = core.serialization.object({
|
|
32
|
+
enabled: core.serialization.boolean(),
|
|
33
|
+
text: core.serialization.string().optional(),
|
|
33
34
|
});
|
|
@@ -32,5 +32,7 @@ const ReturnChatGroup_1 = require("./ReturnChatGroup");
|
|
|
32
32
|
exports.ReturnPagedChatGroups = core.serialization.object({
|
|
33
33
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
34
34
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
35
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
36
|
+
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
35
37
|
chatGroupsPage: core.serialization.property("chat_groups_page", core.serialization.list(ReturnChatGroup_1.ReturnChatGroup)),
|
|
36
38
|
});
|
|
@@ -32,5 +32,7 @@ const ReturnChat_1 = require("./ReturnChat");
|
|
|
32
32
|
exports.ReturnPagedChats = core.serialization.object({
|
|
33
33
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
34
34
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
35
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
36
|
+
paginationDirection: core.serialization.property("pagination_direction", core.serialization.string()),
|
|
35
37
|
chatsPage: core.serialization.property("chats_page", core.serialization.list(ReturnChat_1.ReturnChat)),
|
|
36
38
|
});
|
|
@@ -32,5 +32,6 @@ const ReturnConfig_1 = require("./ReturnConfig");
|
|
|
32
32
|
exports.ReturnPagedConfigs = core.serialization.object({
|
|
33
33
|
pageNumber: core.serialization.property("page_number", core.serialization.number().optional()),
|
|
34
34
|
pageSize: core.serialization.property("page_size", core.serialization.number().optional()),
|
|
35
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
35
36
|
configsPage: core.serialization.property("configs_page", core.serialization.list(ReturnConfig_1.ReturnConfig).optional()),
|
|
36
37
|
});
|
|
@@ -32,5 +32,6 @@ const ReturnPrompt_1 = require("./ReturnPrompt");
|
|
|
32
32
|
exports.ReturnPagedPrompts = core.serialization.object({
|
|
33
33
|
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
34
34
|
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
35
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
35
36
|
promptsPage: core.serialization.property("prompts_page", core.serialization.list(ReturnPrompt_1.ReturnPrompt.optional())),
|
|
36
37
|
});
|