hume 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +820 -182
- package/.mock/definition/empathic-voice/chatGroups.yml +54 -17
- package/.mock/definition/empathic-voice/chats.yml +51 -19
- package/.mock/definition/empathic-voice/configs.yml +198 -61
- package/.mock/definition/empathic-voice/prompts.yml +126 -27
- package/.mock/definition/empathic-voice/tools.yml +116 -23
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/api/resources/empathicVoice/types/index.js +14 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/index.js +14 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/errors/HumeError.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
- package/errors/HumeError.js +1 -1
- package/eslint.config.mjs +1 -1
- package/{jest.config.mjs → jest.config.js} +1 -3
- package/package.json +2 -2
- package/reference.md +86 -32
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/index.js +14 -0
package/reference.md
CHANGED
|
@@ -177,7 +177,7 @@ await client.empathicVoice.tools.listToolVersions(
|
|
|
177
177
|
|
|
178
178
|
<dd>
|
|
179
179
|
|
|
180
|
-
**id: `string`** — Identifier for a
|
|
180
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
181
181
|
|
|
182
182
|
</dd>
|
|
183
183
|
|
|
@@ -260,7 +260,7 @@ await client.empathicVoice.tools.createToolVersion(
|
|
|
260
260
|
|
|
261
261
|
<dd>
|
|
262
262
|
|
|
263
|
-
**id: `string`** — Identifier for a
|
|
263
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
264
264
|
|
|
265
265
|
</dd>
|
|
266
266
|
|
|
@@ -335,7 +335,7 @@ await client.empathicVoice.tools.deleteTool(
|
|
|
335
335
|
|
|
336
336
|
<dd>
|
|
337
337
|
|
|
338
|
-
**id: `string`** — Identifier for a
|
|
338
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
339
339
|
|
|
340
340
|
</dd>
|
|
341
341
|
|
|
@@ -403,7 +403,7 @@ await client.empathicVoice.tools.updateToolName(
|
|
|
403
403
|
|
|
404
404
|
<dd>
|
|
405
405
|
|
|
406
|
-
**id: `string`** — Identifier for a
|
|
406
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
407
407
|
|
|
408
408
|
</dd>
|
|
409
409
|
|
|
@@ -479,7 +479,7 @@ await client.empathicVoice.tools.getToolVersion(
|
|
|
479
479
|
|
|
480
480
|
<dd>
|
|
481
481
|
|
|
482
|
-
**id: `string`** — Identifier for a
|
|
482
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
483
483
|
|
|
484
484
|
</dd>
|
|
485
485
|
|
|
@@ -489,7 +489,13 @@ await client.empathicVoice.tools.getToolVersion(
|
|
|
489
489
|
|
|
490
490
|
<dd>
|
|
491
491
|
|
|
492
|
-
**version: `number`**
|
|
492
|
+
**version: `number`**
|
|
493
|
+
|
|
494
|
+
Version number for a Tool.
|
|
495
|
+
|
|
496
|
+
Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
|
|
497
|
+
|
|
498
|
+
Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
|
|
493
499
|
|
|
494
500
|
</dd>
|
|
495
501
|
|
|
@@ -555,7 +561,7 @@ await client.empathicVoice.tools.deleteToolVersion(
|
|
|
555
561
|
|
|
556
562
|
<dd>
|
|
557
563
|
|
|
558
|
-
**id: `string`** — Identifier for a
|
|
564
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
559
565
|
|
|
560
566
|
</dd>
|
|
561
567
|
|
|
@@ -565,7 +571,13 @@ await client.empathicVoice.tools.deleteToolVersion(
|
|
|
565
571
|
|
|
566
572
|
<dd>
|
|
567
573
|
|
|
568
|
-
**version: `number`**
|
|
574
|
+
**version: `number`**
|
|
575
|
+
|
|
576
|
+
Version number for a Tool.
|
|
577
|
+
|
|
578
|
+
Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
|
|
579
|
+
|
|
580
|
+
Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
|
|
569
581
|
|
|
570
582
|
</dd>
|
|
571
583
|
|
|
@@ -635,7 +647,7 @@ await client.empathicVoice.tools.updateToolDescription(
|
|
|
635
647
|
|
|
636
648
|
<dd>
|
|
637
649
|
|
|
638
|
-
**id: `string`** — Identifier for a
|
|
650
|
+
**id: `string`** — Identifier for a Tool. Formatted as a UUID.
|
|
639
651
|
|
|
640
652
|
</dd>
|
|
641
653
|
|
|
@@ -645,7 +657,13 @@ await client.empathicVoice.tools.updateToolDescription(
|
|
|
645
657
|
|
|
646
658
|
<dd>
|
|
647
659
|
|
|
648
|
-
**version: `number`**
|
|
660
|
+
**version: `number`**
|
|
661
|
+
|
|
662
|
+
Version number for a Tool.
|
|
663
|
+
|
|
664
|
+
Tools, as well as Configs and Prompts, are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed.
|
|
665
|
+
|
|
666
|
+
Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number.
|
|
649
667
|
|
|
650
668
|
</dd>
|
|
651
669
|
|
|
@@ -849,7 +867,7 @@ await client.empathicVoice.prompts.listPromptVersions('id');
|
|
|
849
867
|
|
|
850
868
|
<dd>
|
|
851
869
|
|
|
852
|
-
**id: `string`** — Identifier for a
|
|
870
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
853
871
|
|
|
854
872
|
</dd>
|
|
855
873
|
|
|
@@ -924,7 +942,7 @@ await client.empathicVoice.prompts.createPromptVerison('id', {
|
|
|
924
942
|
|
|
925
943
|
<dd>
|
|
926
944
|
|
|
927
|
-
**id: `string`** — Identifier for a
|
|
945
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
928
946
|
|
|
929
947
|
</dd>
|
|
930
948
|
|
|
@@ -997,7 +1015,7 @@ await client.empathicVoice.prompts.deletePrompt('id');
|
|
|
997
1015
|
|
|
998
1016
|
<dd>
|
|
999
1017
|
|
|
1000
|
-
**id: `string`** — Identifier for a
|
|
1018
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
1001
1019
|
|
|
1002
1020
|
</dd>
|
|
1003
1021
|
|
|
@@ -1062,7 +1080,7 @@ await client.empathicVoice.prompts.updatePromptName('string', {
|
|
|
1062
1080
|
|
|
1063
1081
|
<dd>
|
|
1064
1082
|
|
|
1065
|
-
**id: `string`** — Identifier for a
|
|
1083
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
1066
1084
|
|
|
1067
1085
|
</dd>
|
|
1068
1086
|
|
|
@@ -1135,7 +1153,7 @@ await client.empathicVoice.prompts.getPromptVersion('id', 1);
|
|
|
1135
1153
|
|
|
1136
1154
|
<dd>
|
|
1137
1155
|
|
|
1138
|
-
**id: `string`** — Identifier for a
|
|
1156
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
1139
1157
|
|
|
1140
1158
|
</dd>
|
|
1141
1159
|
|
|
@@ -1145,7 +1163,13 @@ await client.empathicVoice.prompts.getPromptVersion('id', 1);
|
|
|
1145
1163
|
|
|
1146
1164
|
<dd>
|
|
1147
1165
|
|
|
1148
|
-
**version: `number`**
|
|
1166
|
+
**version: `number`**
|
|
1167
|
+
|
|
1168
|
+
Version number for a Prompt.
|
|
1169
|
+
|
|
1170
|
+
Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
1171
|
+
|
|
1172
|
+
Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
1149
1173
|
|
|
1150
1174
|
</dd>
|
|
1151
1175
|
|
|
@@ -1208,7 +1232,7 @@ await client.empathicVoice.prompts.deletePromptVersion('id', 1);
|
|
|
1208
1232
|
|
|
1209
1233
|
<dd>
|
|
1210
1234
|
|
|
1211
|
-
**id: `string`** — Identifier for a
|
|
1235
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
1212
1236
|
|
|
1213
1237
|
</dd>
|
|
1214
1238
|
|
|
@@ -1218,7 +1242,13 @@ await client.empathicVoice.prompts.deletePromptVersion('id', 1);
|
|
|
1218
1242
|
|
|
1219
1243
|
<dd>
|
|
1220
1244
|
|
|
1221
|
-
**version: `number`**
|
|
1245
|
+
**version: `number`**
|
|
1246
|
+
|
|
1247
|
+
Version number for a Prompt.
|
|
1248
|
+
|
|
1249
|
+
Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
1250
|
+
|
|
1251
|
+
Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
1222
1252
|
|
|
1223
1253
|
</dd>
|
|
1224
1254
|
|
|
@@ -1281,7 +1311,7 @@ await client.empathicVoice.prompts.updatePromptDescription('id', 1);
|
|
|
1281
1311
|
|
|
1282
1312
|
<dd>
|
|
1283
1313
|
|
|
1284
|
-
**id: `string`** — Identifier for a
|
|
1314
|
+
**id: `string`** — Identifier for a Prompt. Formatted as a UUID.
|
|
1285
1315
|
|
|
1286
1316
|
</dd>
|
|
1287
1317
|
|
|
@@ -1291,7 +1321,13 @@ await client.empathicVoice.prompts.updatePromptDescription('id', 1);
|
|
|
1291
1321
|
|
|
1292
1322
|
<dd>
|
|
1293
1323
|
|
|
1294
|
-
**version: `number`**
|
|
1324
|
+
**version: `number`**
|
|
1325
|
+
|
|
1326
|
+
Version number for a Prompt.
|
|
1327
|
+
|
|
1328
|
+
Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
1329
|
+
|
|
1330
|
+
Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
1295
1331
|
|
|
1296
1332
|
</dd>
|
|
1297
1333
|
|
|
@@ -1494,7 +1530,7 @@ await client.empathicVoice.configs.listConfigVersions('id');
|
|
|
1494
1530
|
|
|
1495
1531
|
<dd>
|
|
1496
1532
|
|
|
1497
|
-
**id: `string`** — Identifier for a
|
|
1533
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1498
1534
|
|
|
1499
1535
|
</dd>
|
|
1500
1536
|
|
|
@@ -1567,7 +1603,7 @@ await client.empathicVoice.configs.createConfigVersion('id');
|
|
|
1567
1603
|
|
|
1568
1604
|
<dd>
|
|
1569
1605
|
|
|
1570
|
-
**id: `string`** — Identifier for a
|
|
1606
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1571
1607
|
|
|
1572
1608
|
</dd>
|
|
1573
1609
|
|
|
@@ -1640,7 +1676,7 @@ await client.empathicVoice.configs.deleteConfig('id');
|
|
|
1640
1676
|
|
|
1641
1677
|
<dd>
|
|
1642
1678
|
|
|
1643
|
-
**id: `string`** — Identifier for a
|
|
1679
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1644
1680
|
|
|
1645
1681
|
</dd>
|
|
1646
1682
|
|
|
@@ -1705,7 +1741,7 @@ await client.empathicVoice.configs.updateConfigName('string', {
|
|
|
1705
1741
|
|
|
1706
1742
|
<dd>
|
|
1707
1743
|
|
|
1708
|
-
**id: `string`** — Identifier for a
|
|
1744
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1709
1745
|
|
|
1710
1746
|
</dd>
|
|
1711
1747
|
|
|
@@ -1778,7 +1814,7 @@ await client.empathicVoice.configs.getConfigVersion('id', 1);
|
|
|
1778
1814
|
|
|
1779
1815
|
<dd>
|
|
1780
1816
|
|
|
1781
|
-
**id: `string`** — Identifier for a
|
|
1817
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1782
1818
|
|
|
1783
1819
|
</dd>
|
|
1784
1820
|
|
|
@@ -1788,7 +1824,13 @@ await client.empathicVoice.configs.getConfigVersion('id', 1);
|
|
|
1788
1824
|
|
|
1789
1825
|
<dd>
|
|
1790
1826
|
|
|
1791
|
-
**version: `number`**
|
|
1827
|
+
**version: `number`**
|
|
1828
|
+
|
|
1829
|
+
Version number for a Config.
|
|
1830
|
+
|
|
1831
|
+
Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
1832
|
+
|
|
1833
|
+
Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
1792
1834
|
|
|
1793
1835
|
</dd>
|
|
1794
1836
|
|
|
@@ -1851,7 +1893,7 @@ await client.empathicVoice.configs.deleteConfigVersion('id', 1);
|
|
|
1851
1893
|
|
|
1852
1894
|
<dd>
|
|
1853
1895
|
|
|
1854
|
-
**id: `string`** — Identifier for a
|
|
1896
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1855
1897
|
|
|
1856
1898
|
</dd>
|
|
1857
1899
|
|
|
@@ -1861,7 +1903,13 @@ await client.empathicVoice.configs.deleteConfigVersion('id', 1);
|
|
|
1861
1903
|
|
|
1862
1904
|
<dd>
|
|
1863
1905
|
|
|
1864
|
-
**version: `number`**
|
|
1906
|
+
**version: `number`**
|
|
1907
|
+
|
|
1908
|
+
Version number for a Config.
|
|
1909
|
+
|
|
1910
|
+
Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
1911
|
+
|
|
1912
|
+
Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
1865
1913
|
|
|
1866
1914
|
</dd>
|
|
1867
1915
|
|
|
@@ -1924,7 +1972,7 @@ await client.empathicVoice.configs.updateConfigDescription('id', 1);
|
|
|
1924
1972
|
|
|
1925
1973
|
<dd>
|
|
1926
1974
|
|
|
1927
|
-
**id: `string`** — Identifier for a
|
|
1975
|
+
**id: `string`** — Identifier for a Config. Formatted as a UUID.
|
|
1928
1976
|
|
|
1929
1977
|
</dd>
|
|
1930
1978
|
|
|
@@ -1934,7 +1982,13 @@ await client.empathicVoice.configs.updateConfigDescription('id', 1);
|
|
|
1934
1982
|
|
|
1935
1983
|
<dd>
|
|
1936
1984
|
|
|
1937
|
-
**version: `number`**
|
|
1985
|
+
**version: `number`**
|
|
1986
|
+
|
|
1987
|
+
Version number for a Config.
|
|
1988
|
+
|
|
1989
|
+
Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
1990
|
+
|
|
1991
|
+
Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
1938
1992
|
|
|
1939
1993
|
</dd>
|
|
1940
1994
|
|
|
@@ -2072,7 +2126,7 @@ await client.empathicVoice.chats.listChatEvents('id');
|
|
|
2072
2126
|
|
|
2073
2127
|
<dd>
|
|
2074
2128
|
|
|
2075
|
-
**id: `string`** — Identifier for a
|
|
2129
|
+
**id: `string`** — Identifier for a Chat. Formatted as a UUID.
|
|
2076
2130
|
|
|
2077
2131
|
</dd>
|
|
2078
2132
|
|
|
@@ -2210,7 +2264,7 @@ await client.empathicVoice.chatGroups.listChatGroupEvents('id');
|
|
|
2210
2264
|
|
|
2211
2265
|
<dd>
|
|
2212
2266
|
|
|
2213
|
-
**id: `string`** — Identifier for a
|
|
2267
|
+
**id: `string`** — Identifier for a Chat Group. Formatted as a UUID.
|
|
2214
2268
|
|
|
2215
2269
|
</dd>
|
|
2216
2270
|
|
|
@@ -9,5 +9,7 @@ export declare const PostedEventMessageSpecs: core.serialization.ObjectSchema<se
|
|
|
9
9
|
export declare namespace PostedEventMessageSpecs {
|
|
10
10
|
interface Raw {
|
|
11
11
|
on_new_chat?: PostedEventMessageSpec.Raw | null;
|
|
12
|
+
on_inactivity_timeout?: PostedEventMessageSpec.Raw | null;
|
|
13
|
+
on_max_duration_timeout?: PostedEventMessageSpec.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -31,4 +31,6 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const PostedEventMessageSpec_1 = require("./PostedEventMessageSpec");
|
|
32
32
|
exports.PostedEventMessageSpecs = core.serialization.object({
|
|
33
33
|
onNewChat: core.serialization.property('on_new_chat', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
|
|
34
|
+
onInactivityTimeout: core.serialization.property('on_inactivity_timeout', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
|
|
35
|
+
onMaxDurationTimeout: core.serialization.property('on_max_duration_timeout', PostedEventMessageSpec_1.PostedEventMessageSpec.optional()),
|
|
34
36
|
});
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import * as serializers from '../../../index';
|
|
5
5
|
import * as Hume from '../../../../api/index';
|
|
6
6
|
import * as core from '../../../../core';
|
|
7
|
+
import { ReturnBuiltinToolToolType } from './ReturnBuiltinToolToolType';
|
|
7
8
|
export declare const ReturnBuiltinTool: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnBuiltinTool.Raw, Hume.empathicVoice.ReturnBuiltinTool>;
|
|
8
9
|
export declare namespace ReturnBuiltinTool {
|
|
9
10
|
interface Raw {
|
|
10
|
-
tool_type:
|
|
11
|
+
tool_type: ReturnBuiltinToolToolType.Raw;
|
|
11
12
|
name: string;
|
|
12
13
|
fallback_content?: string | null;
|
|
13
14
|
}
|
|
@@ -28,8 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnBuiltinTool = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnBuiltinToolToolType_1 = require("./ReturnBuiltinToolToolType");
|
|
31
32
|
exports.ReturnBuiltinTool = core.serialization.object({
|
|
32
|
-
toolType: core.serialization.property('tool_type',
|
|
33
|
+
toolType: core.serialization.property('tool_type', ReturnBuiltinToolToolType_1.ReturnBuiltinToolToolType),
|
|
33
34
|
name: core.serialization.string(),
|
|
34
35
|
fallbackContent: core.serialization.property('fallback_content', core.serialization.string().optional()),
|
|
35
36
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnBuiltinToolToolType: core.serialization.Schema<serializers.empathicVoice.ReturnBuiltinToolToolType.Raw, Hume.empathicVoice.ReturnBuiltinToolToolType>;
|
|
8
|
+
export declare namespace ReturnBuiltinToolToolType {
|
|
9
|
+
type Raw = 'BUILTIN' | 'FUNCTION';
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ReturnBuiltinToolToolType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnBuiltinToolToolType = core.serialization.enum_(['BUILTIN', 'FUNCTION']);
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from '../../../index';
|
|
5
5
|
import * as Hume from '../../../../api/index';
|
|
6
6
|
import * as core from '../../../../core';
|
|
7
|
+
import { ReturnChatStatus } from './ReturnChatStatus';
|
|
7
8
|
import { ReturnConfigSpec } from './ReturnConfigSpec';
|
|
8
9
|
export declare const ReturnChat: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChat.Raw, Hume.empathicVoice.ReturnChat>;
|
|
9
10
|
export declare namespace ReturnChat {
|
|
10
11
|
interface Raw {
|
|
11
12
|
id: string;
|
|
12
13
|
chat_group_id: string;
|
|
13
|
-
|
|
14
|
-
status: string;
|
|
14
|
+
status: ReturnChatStatus.Raw;
|
|
15
15
|
start_timestamp: number;
|
|
16
16
|
end_timestamp?: number | null;
|
|
17
17
|
event_count?: number | null;
|
|
@@ -28,12 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnChat = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatStatus_1 = require("./ReturnChatStatus");
|
|
31
32
|
const ReturnConfigSpec_1 = require("./ReturnConfigSpec");
|
|
32
33
|
exports.ReturnChat = core.serialization.object({
|
|
33
34
|
id: core.serialization.string(),
|
|
34
35
|
chatGroupId: core.serialization.property('chat_group_id', core.serialization.string()),
|
|
35
|
-
|
|
36
|
-
status: core.serialization.string(),
|
|
36
|
+
status: ReturnChatStatus_1.ReturnChatStatus,
|
|
37
37
|
startTimestamp: core.serialization.property('start_timestamp', core.serialization.number()),
|
|
38
38
|
endTimestamp: core.serialization.property('end_timestamp', core.serialization.number().optional()),
|
|
39
39
|
eventCount: core.serialization.property('event_count', core.serialization.number().optional()),
|
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
import * as serializers from '../../../index';
|
|
5
5
|
import * as Hume from '../../../../api/index';
|
|
6
6
|
import * as core from '../../../../core';
|
|
7
|
+
import { ReturnChatEventRole } from './ReturnChatEventRole';
|
|
8
|
+
import { ReturnChatEventType } from './ReturnChatEventType';
|
|
7
9
|
export declare const ReturnChatEvent: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatEvent.Raw, Hume.empathicVoice.ReturnChatEvent>;
|
|
8
10
|
export declare namespace ReturnChatEvent {
|
|
9
11
|
interface Raw {
|
|
10
12
|
id: string;
|
|
11
13
|
chat_id: string;
|
|
12
14
|
timestamp: number;
|
|
13
|
-
role:
|
|
14
|
-
type:
|
|
15
|
+
role: ReturnChatEventRole.Raw;
|
|
16
|
+
type: ReturnChatEventType.Raw;
|
|
15
17
|
message_text?: string | null;
|
|
16
18
|
emotion_features?: string | null;
|
|
17
19
|
metadata?: string | null;
|
|
@@ -28,12 +28,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnChatEvent = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatEventRole_1 = require("./ReturnChatEventRole");
|
|
32
|
+
const ReturnChatEventType_1 = require("./ReturnChatEventType");
|
|
31
33
|
exports.ReturnChatEvent = core.serialization.object({
|
|
32
34
|
id: core.serialization.string(),
|
|
33
35
|
chatId: core.serialization.property('chat_id', core.serialization.string()),
|
|
34
36
|
timestamp: core.serialization.number(),
|
|
35
|
-
role:
|
|
36
|
-
type:
|
|
37
|
+
role: ReturnChatEventRole_1.ReturnChatEventRole,
|
|
38
|
+
type: ReturnChatEventType_1.ReturnChatEventType,
|
|
37
39
|
messageText: core.serialization.property('message_text', core.serialization.string().optional()),
|
|
38
40
|
emotionFeatures: core.serialization.property('emotion_features', core.serialization.string().optional()),
|
|
39
41
|
metadata: core.serialization.string().optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnChatEventRole: core.serialization.Schema<serializers.empathicVoice.ReturnChatEventRole.Raw, Hume.empathicVoice.ReturnChatEventRole>;
|
|
8
|
+
export declare namespace ReturnChatEventRole {
|
|
9
|
+
type Raw = 'USER' | 'AGENT' | 'SYSTEM' | 'TOOL';
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ReturnChatEventRole = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatEventRole = core.serialization.enum_(['USER', 'AGENT', 'SYSTEM', 'TOOL']);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnChatEventType: core.serialization.Schema<serializers.empathicVoice.ReturnChatEventType.Raw, Hume.empathicVoice.ReturnChatEventType>;
|
|
8
|
+
export declare namespace ReturnChatEventType {
|
|
9
|
+
type Raw = 'SYSTEM_PROMPT' | 'USER_MESSAGE' | 'USER_INTERRUPTION' | 'AGENT_MESSAGE' | 'FUNCTION_CALL' | 'FUNCTION_CALL_RESPONSE';
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.ReturnChatEventType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatEventType = core.serialization.enum_([
|
|
32
|
+
'SYSTEM_PROMPT',
|
|
33
|
+
'USER_MESSAGE',
|
|
34
|
+
'USER_INTERRUPTION',
|
|
35
|
+
'AGENT_MESSAGE',
|
|
36
|
+
'FUNCTION_CALL',
|
|
37
|
+
'FUNCTION_CALL_RESPONSE',
|
|
38
|
+
]);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from '../../../index';
|
|
5
5
|
import * as Hume from '../../../../api/index';
|
|
6
6
|
import * as core from '../../../../core';
|
|
7
|
+
import { ReturnChatGroupPagedEventsPaginationDirection } from './ReturnChatGroupPagedEventsPaginationDirection';
|
|
7
8
|
import { ReturnChatEvent } from './ReturnChatEvent';
|
|
8
9
|
export declare const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
9
10
|
export declare namespace ReturnChatGroupPagedEvents {
|
|
@@ -12,7 +13,7 @@ export declare namespace ReturnChatGroupPagedEvents {
|
|
|
12
13
|
page_number: number;
|
|
13
14
|
page_size: number;
|
|
14
15
|
total_pages: number;
|
|
15
|
-
pagination_direction:
|
|
16
|
+
pagination_direction: ReturnChatGroupPagedEventsPaginationDirection.Raw;
|
|
16
17
|
events_page: ReturnChatEvent.Raw[];
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -28,12 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnChatGroupPagedEvents = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatGroupPagedEventsPaginationDirection_1 = require("./ReturnChatGroupPagedEventsPaginationDirection");
|
|
31
32
|
const ReturnChatEvent_1 = require("./ReturnChatEvent");
|
|
32
33
|
exports.ReturnChatGroupPagedEvents = core.serialization.object({
|
|
33
34
|
id: core.serialization.string(),
|
|
34
35
|
pageNumber: core.serialization.property('page_number', core.serialization.number()),
|
|
35
36
|
pageSize: core.serialization.property('page_size', core.serialization.number()),
|
|
36
37
|
totalPages: core.serialization.property('total_pages', core.serialization.number()),
|
|
37
|
-
paginationDirection: core.serialization.property('pagination_direction',
|
|
38
|
+
paginationDirection: core.serialization.property('pagination_direction', ReturnChatGroupPagedEventsPaginationDirection_1.ReturnChatGroupPagedEventsPaginationDirection),
|
|
38
39
|
eventsPage: core.serialization.property('events_page', core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
|
|
39
40
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnChatGroupPagedEventsPaginationDirection: core.serialization.Schema<serializers.empathicVoice.ReturnChatGroupPagedEventsPaginationDirection.Raw, Hume.empathicVoice.ReturnChatGroupPagedEventsPaginationDirection>;
|
|
8
|
+
export declare namespace ReturnChatGroupPagedEventsPaginationDirection {
|
|
9
|
+
type Raw = 'ASC' | 'DESC';
|
|
10
|
+
}
|
package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.ReturnChatGroupPagedEventsPaginationDirection = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatGroupPagedEventsPaginationDirection = core.serialization.enum_(['ASC', 'DESC']);
|