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
|
@@ -55,7 +55,7 @@ class Files {
|
|
|
55
55
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
* await
|
|
58
|
+
* await client.customModels.files.listFiles()
|
|
59
59
|
*/
|
|
60
60
|
listFiles(request = {}, requestOptions) {
|
|
61
61
|
var _a, _b;
|
|
@@ -74,7 +74,7 @@ class Files {
|
|
|
74
74
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
75
75
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files"),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
77
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -118,7 +118,7 @@ class Files {
|
|
|
118
118
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
|
-
* await
|
|
121
|
+
* await client.customModels.files.createFiles([{
|
|
122
122
|
* file: {
|
|
123
123
|
* name: "name",
|
|
124
124
|
* humeStorage: true,
|
|
@@ -132,7 +132,7 @@ class Files {
|
|
|
132
132
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
133
133
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files"),
|
|
134
134
|
method: "POST",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
body: yield serializers.customModels.files.createFiles.Request.jsonOrThrow(request, {
|
|
138
138
|
unrecognizedObjectKeys: "strip",
|
|
@@ -179,7 +179,7 @@ class Files {
|
|
|
179
179
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
|
-
* await
|
|
182
|
+
* await client.customModels.files.uploadFile(fs.createReadStream("/path/to/your/file"), fs.createReadStream("/path/to/your/file"))
|
|
183
183
|
*/
|
|
184
184
|
uploadFile(file, attributes, requestOptions) {
|
|
185
185
|
var _a, _b;
|
|
@@ -193,7 +193,7 @@ class Files {
|
|
|
193
193
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
194
194
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/files/upload"),
|
|
195
195
|
method: "POST",
|
|
196
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
196
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.getHeaders())),
|
|
197
197
|
body: yield _maybeEncodedRequest.getBody(),
|
|
198
198
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
199
199
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -236,7 +236,7 @@ class Files {
|
|
|
236
236
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
|
-
* await
|
|
239
|
+
* await client.customModels.files.getFile("id")
|
|
240
240
|
*/
|
|
241
241
|
getFile(id, requestOptions) {
|
|
242
242
|
var _a, _b;
|
|
@@ -244,7 +244,7 @@ class Files {
|
|
|
244
244
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
245
245
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
|
|
246
246
|
method: "GET",
|
|
247
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
247
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
248
248
|
contentType: "application/json",
|
|
249
249
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
250
250
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -287,7 +287,7 @@ class Files {
|
|
|
287
287
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
288
288
|
*
|
|
289
289
|
* @example
|
|
290
|
-
* await
|
|
290
|
+
* await client.customModels.files.deleteFile("id")
|
|
291
291
|
*/
|
|
292
292
|
deleteFile(id, requestOptions) {
|
|
293
293
|
var _a, _b;
|
|
@@ -295,7 +295,7 @@ class Files {
|
|
|
295
295
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
296
296
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
|
|
297
297
|
method: "DELETE",
|
|
298
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
298
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
299
299
|
contentType: "application/json",
|
|
300
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
301
301
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -333,7 +333,7 @@ class Files {
|
|
|
333
333
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
334
334
|
*
|
|
335
335
|
* @example
|
|
336
|
-
* await
|
|
336
|
+
* await client.customModels.files.updateFileName("id", {
|
|
337
337
|
* name: "name"
|
|
338
338
|
* })
|
|
339
339
|
*/
|
|
@@ -346,7 +346,7 @@ class Files {
|
|
|
346
346
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
347
347
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}`),
|
|
348
348
|
method: "PATCH",
|
|
349
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
349
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
queryParameters: _queryParams,
|
|
352
352
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -390,7 +390,7 @@ class Files {
|
|
|
390
390
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
391
391
|
*
|
|
392
392
|
* @example
|
|
393
|
-
* await
|
|
393
|
+
* await client.customModels.files.getFilePredictions("id")
|
|
394
394
|
*/
|
|
395
395
|
getFilePredictions(id, requestOptions) {
|
|
396
396
|
var _a, _b;
|
|
@@ -398,7 +398,7 @@ class Files {
|
|
|
398
398
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
399
399
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/files/${encodeURIComponent(id)}/predictions`),
|
|
400
400
|
method: "GET",
|
|
401
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
401
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
402
402
|
contentType: "application/json",
|
|
403
403
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
404
404
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -26,7 +26,7 @@ export declare class Jobs {
|
|
|
26
26
|
* @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* await
|
|
29
|
+
* await client.customModels.jobs.startTrainingJob({
|
|
30
30
|
* customModel: {
|
|
31
31
|
* name: "name"
|
|
32
32
|
* },
|
|
@@ -43,7 +43,7 @@ export declare class Jobs {
|
|
|
43
43
|
* @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await
|
|
46
|
+
* await client.customModels.jobs.startCustomModelsInferenceJob({
|
|
47
47
|
* customModel: {
|
|
48
48
|
* id: "id"
|
|
49
49
|
* }
|
|
@@ -55,7 +55,7 @@ class Jobs {
|
|
|
55
55
|
* @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
* await
|
|
58
|
+
* await client.customModels.jobs.startTrainingJob({
|
|
59
59
|
* customModel: {
|
|
60
60
|
* name: "name"
|
|
61
61
|
* },
|
|
@@ -70,7 +70,7 @@ class Jobs {
|
|
|
70
70
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
71
71
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/v0/batch/jobs/tl/train"),
|
|
72
72
|
method: "POST",
|
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
73
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.customModels.TrainingBaseRequest.jsonOrThrow(request, {
|
|
76
76
|
unrecognizedObjectKeys: "strip",
|
|
@@ -116,7 +116,7 @@ class Jobs {
|
|
|
116
116
|
* @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
117
|
*
|
|
118
118
|
* @example
|
|
119
|
-
* await
|
|
119
|
+
* await client.customModels.jobs.startCustomModelsInferenceJob({
|
|
120
120
|
* customModel: {
|
|
121
121
|
* id: "id"
|
|
122
122
|
* }
|
|
@@ -128,7 +128,7 @@ class Jobs {
|
|
|
128
128
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
129
129
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/v0/batch/jobs/tl/inference"),
|
|
130
130
|
method: "POST",
|
|
131
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
131
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
body: yield serializers.customModels.TlInferenceBaseRequest.jsonOrThrow(request, {
|
|
134
134
|
unrecognizedObjectKeys: "strip",
|
|
@@ -26,7 +26,7 @@ export declare class Models {
|
|
|
26
26
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* await
|
|
29
|
+
* await client.customModels.models.listModels()
|
|
30
30
|
*/
|
|
31
31
|
listModels(request?: Hume.customModels.ModelsListModelsRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ModelPage>;
|
|
32
32
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class Models {
|
|
|
36
36
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* await
|
|
39
|
+
* await client.customModels.models.getModelDetails("id")
|
|
40
40
|
*/
|
|
41
41
|
getModelDetails(id: string, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModel>;
|
|
42
42
|
/**
|
|
@@ -47,7 +47,7 @@ export declare class Models {
|
|
|
47
47
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
|
-
* await
|
|
50
|
+
* await client.customModels.models.updateModelName("id", {
|
|
51
51
|
* name: "name"
|
|
52
52
|
* })
|
|
53
53
|
*/
|
|
@@ -59,7 +59,7 @@ export declare class Models {
|
|
|
59
59
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
|
-
* await
|
|
62
|
+
* await client.customModels.models.listModelVersions()
|
|
63
63
|
*/
|
|
64
64
|
listModelVersions(request?: Hume.customModels.ModelsListModelVersionsRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion[]>;
|
|
65
65
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class Models {
|
|
|
70
70
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
|
-
* await
|
|
73
|
+
* await client.customModels.models.getModelVersion("id")
|
|
74
74
|
*/
|
|
75
75
|
getModelVersion(id: string, request?: Hume.customModels.ModelsGetModelVersionRequest, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion>;
|
|
76
76
|
/**
|
|
@@ -81,7 +81,7 @@ export declare class Models {
|
|
|
81
81
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
|
-
* await
|
|
84
|
+
* await client.customModels.models.updateModelDescription("id", "string")
|
|
85
85
|
*/
|
|
86
86
|
updateModelDescription(id: string, request: string, requestOptions?: Models.RequestOptions): Promise<Hume.customModels.ExternalModelVersion>;
|
|
87
87
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
@@ -55,7 +55,7 @@ class Models {
|
|
|
55
55
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
* await
|
|
58
|
+
* await client.customModels.models.listModels()
|
|
59
59
|
*/
|
|
60
60
|
listModels(request = {}, requestOptions) {
|
|
61
61
|
var _a, _b;
|
|
@@ -77,7 +77,7 @@ class Models {
|
|
|
77
77
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
78
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/models"),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
80
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
queryParameters: _queryParams,
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -121,7 +121,7 @@ class Models {
|
|
|
121
121
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
|
-
* await
|
|
124
|
+
* await client.customModels.models.getModelDetails("id")
|
|
125
125
|
*/
|
|
126
126
|
getModelDetails(id, requestOptions) {
|
|
127
127
|
var _a, _b;
|
|
@@ -129,7 +129,7 @@ class Models {
|
|
|
129
129
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
130
130
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/${encodeURIComponent(id)}`),
|
|
131
131
|
method: "GET",
|
|
132
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
132
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
135
135
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -173,7 +173,7 @@ class Models {
|
|
|
173
173
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
174
174
|
*
|
|
175
175
|
* @example
|
|
176
|
-
* await
|
|
176
|
+
* await client.customModels.models.updateModelName("id", {
|
|
177
177
|
* name: "name"
|
|
178
178
|
* })
|
|
179
179
|
*/
|
|
@@ -186,7 +186,7 @@ class Models {
|
|
|
186
186
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
187
187
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/${encodeURIComponent(id)}`),
|
|
188
188
|
method: "PATCH",
|
|
189
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
189
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
queryParameters: _queryParams,
|
|
192
192
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -230,7 +230,7 @@ class Models {
|
|
|
230
230
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
231
231
|
*
|
|
232
232
|
* @example
|
|
233
|
-
* await
|
|
233
|
+
* await client.customModels.models.listModelVersions()
|
|
234
234
|
*/
|
|
235
235
|
listModelVersions(request = {}, requestOptions) {
|
|
236
236
|
var _a, _b;
|
|
@@ -257,7 +257,7 @@ class Models {
|
|
|
257
257
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
258
258
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/registry/models/version"),
|
|
259
259
|
method: "GET",
|
|
260
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
260
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
261
261
|
contentType: "application/json",
|
|
262
262
|
queryParameters: _queryParams,
|
|
263
263
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -302,7 +302,7 @@ class Models {
|
|
|
302
302
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
|
-
* await
|
|
305
|
+
* await client.customModels.models.getModelVersion("id")
|
|
306
306
|
*/
|
|
307
307
|
getModelVersion(id, request = {}, requestOptions) {
|
|
308
308
|
var _a, _b;
|
|
@@ -315,7 +315,7 @@ class Models {
|
|
|
315
315
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
316
316
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/version/${encodeURIComponent(id)}`),
|
|
317
317
|
method: "GET",
|
|
318
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
318
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
319
319
|
contentType: "application/json",
|
|
320
320
|
queryParameters: _queryParams,
|
|
321
321
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -360,7 +360,7 @@ class Models {
|
|
|
360
360
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
361
361
|
*
|
|
362
362
|
* @example
|
|
363
|
-
* await
|
|
363
|
+
* await client.customModels.models.updateModelDescription("id", "string")
|
|
364
364
|
*/
|
|
365
365
|
updateModelDescription(id, request, requestOptions) {
|
|
366
366
|
var _a, _b;
|
|
@@ -368,7 +368,7 @@ class Models {
|
|
|
368
368
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
369
369
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/registry/models/version/${encodeURIComponent(id)}`),
|
|
370
370
|
method: "PATCH",
|
|
371
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
371
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
372
372
|
contentType: "application/json",
|
|
373
373
|
body: yield serializers.customModels.models.updateModelDescription.Request.jsonOrThrow(request, {
|
|
374
374
|
unrecognizedObjectKeys: "strip",
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Hume from "../../../../../index";
|
|
5
|
-
export declare type SubscribeEvent = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.AudioOutput | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.
|
|
5
|
+
export declare type SubscribeEvent = Hume.empathicVoice.AssistantEnd | Hume.empathicVoice.AssistantMessage | Hume.empathicVoice.AudioOutput | Hume.empathicVoice.ChatMetadata | Hume.empathicVoice.Error_ | Hume.empathicVoice.UserInterruption | Hume.empathicVoice.UserMessage | Hume.empathicVoice.ToolCallMessage | Hume.empathicVoice.ToolResponseMessage | Hume.empathicVoice.ToolErrorMessage;
|
|
@@ -24,7 +24,7 @@ export declare class ChatGroups {
|
|
|
24
24
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* await
|
|
27
|
+
* await client.empathicVoice.chatGroups.listChatGroups()
|
|
28
28
|
*/
|
|
29
29
|
listChatGroups(request?: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChatGroups>;
|
|
30
30
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class ChatGroups {
|
|
|
33
33
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
* await
|
|
36
|
+
* await client.empathicVoice.chatGroups.listChatGroupEvents("id")
|
|
37
37
|
*/
|
|
38
38
|
listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
39
39
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
@@ -53,12 +53,12 @@ class ChatGroups {
|
|
|
53
53
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
|
-
* await
|
|
56
|
+
* await client.empathicVoice.chatGroups.listChatGroups()
|
|
57
57
|
*/
|
|
58
58
|
listChatGroups(request = {}, requestOptions) {
|
|
59
59
|
var _a, _b;
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
const { pageNumber, pageSize } = request;
|
|
61
|
+
const { pageNumber, pageSize, ascendingOrder } = request;
|
|
62
62
|
const _queryParams = {};
|
|
63
63
|
if (pageNumber != null) {
|
|
64
64
|
_queryParams["page_number"] = pageNumber.toString();
|
|
@@ -66,10 +66,13 @@ class ChatGroups {
|
|
|
66
66
|
if (pageSize != null) {
|
|
67
67
|
_queryParams["page_size"] = pageSize.toString();
|
|
68
68
|
}
|
|
69
|
+
if (ascendingOrder != null) {
|
|
70
|
+
_queryParams["ascending_order"] = ascendingOrder.toString();
|
|
71
|
+
}
|
|
69
72
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
70
73
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chat_groups"),
|
|
71
74
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
76
|
contentType: "application/json",
|
|
74
77
|
queryParameters: _queryParams,
|
|
75
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -112,7 +115,7 @@ class ChatGroups {
|
|
|
112
115
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
113
116
|
*
|
|
114
117
|
* @example
|
|
115
|
-
* await
|
|
118
|
+
* await client.empathicVoice.chatGroups.listChatGroupEvents("id")
|
|
116
119
|
*/
|
|
117
120
|
listChatGroupEvents(id, request = {}, requestOptions) {
|
|
118
121
|
var _a, _b;
|
|
@@ -131,7 +134,7 @@ class ChatGroups {
|
|
|
131
134
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
132
135
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chat_groups/${encodeURIComponent(id)}/events`),
|
|
133
136
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
137
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
138
|
contentType: "application/json",
|
|
136
139
|
queryParameters: _queryParams,
|
|
137
140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -14,4 +14,8 @@ export interface ChatGroupsListChatGroupsRequest {
|
|
|
14
14
|
* The maximum number of results to include per page.
|
|
15
15
|
*/
|
|
16
16
|
pageSize?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
|
|
19
|
+
*/
|
|
20
|
+
ascendingOrder?: boolean;
|
|
17
21
|
}
|
|
@@ -24,7 +24,7 @@ export declare class Chats {
|
|
|
24
24
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* await
|
|
27
|
+
* await client.empathicVoice.chats.listChats()
|
|
28
28
|
*/
|
|
29
29
|
listChats(request?: Hume.empathicVoice.ChatsListChatsRequest, requestOptions?: Chats.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChats>;
|
|
30
30
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class Chats {
|
|
|
33
33
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
* await
|
|
36
|
+
* await client.empathicVoice.chats.listChatEvents("id")
|
|
37
37
|
*/
|
|
38
38
|
listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: Chats.RequestOptions): Promise<Hume.empathicVoice.ReturnChatPagedEvents>;
|
|
39
39
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
@@ -53,7 +53,7 @@ class Chats {
|
|
|
53
53
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
|
-
* await
|
|
56
|
+
* await client.empathicVoice.chats.listChats()
|
|
57
57
|
*/
|
|
58
58
|
listChats(request = {}, requestOptions) {
|
|
59
59
|
var _a, _b;
|
|
@@ -72,7 +72,7 @@ class Chats {
|
|
|
72
72
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
73
73
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, "v0/evi/chats"),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
queryParameters: _queryParams,
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -115,12 +115,12 @@ class Chats {
|
|
|
115
115
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
|
-
* await
|
|
118
|
+
* await client.empathicVoice.chats.listChatEvents("id")
|
|
119
119
|
*/
|
|
120
120
|
listChatEvents(id, request = {}, requestOptions) {
|
|
121
121
|
var _a, _b;
|
|
122
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const { pageSize, pageNumber } = request;
|
|
123
|
+
const { pageSize, pageNumber, ascendingOrder } = request;
|
|
124
124
|
const _queryParams = {};
|
|
125
125
|
if (pageSize != null) {
|
|
126
126
|
_queryParams["page_size"] = pageSize.toString();
|
|
@@ -128,10 +128,13 @@ class Chats {
|
|
|
128
128
|
if (pageNumber != null) {
|
|
129
129
|
_queryParams["page_number"] = pageNumber.toString();
|
|
130
130
|
}
|
|
131
|
+
if (ascendingOrder != null) {
|
|
132
|
+
_queryParams["ascending_order"] = ascendingOrder.toString();
|
|
133
|
+
}
|
|
131
134
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
132
135
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}`),
|
|
133
136
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.
|
|
137
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
138
|
contentType: "application/json",
|
|
136
139
|
queryParameters: _queryParams,
|
|
137
140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -14,4 +14,8 @@ export interface ChatsListChatEventsRequest {
|
|
|
14
14
|
* The page number of the results to return.
|
|
15
15
|
*/
|
|
16
16
|
pageNumber?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
|
|
19
|
+
*/
|
|
20
|
+
ascendingOrder?: boolean;
|
|
17
21
|
}
|
package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ChatsListChatsRequest {
|
|
|
15
15
|
*/
|
|
16
16
|
pageSize?: number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Boolean to indicate if the results should be paginated in chronological order or reverse-chronological order. Defaults to true.
|
|
19
19
|
*/
|
|
20
20
|
ascendingOrder?: boolean;
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ export declare class Configs {
|
|
|
24
24
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* await
|
|
27
|
+
* await client.empathicVoice.configs.listConfigs()
|
|
28
28
|
*/
|
|
29
29
|
listConfigs(request?: Hume.empathicVoice.ConfigsListConfigsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
|
|
30
30
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class Configs {
|
|
|
32
32
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* await
|
|
35
|
+
* await client.empathicVoice.configs.createConfig({
|
|
36
36
|
* name: "name"
|
|
37
37
|
* })
|
|
38
38
|
*/
|
|
@@ -43,7 +43,7 @@ export declare class Configs {
|
|
|
43
43
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await
|
|
46
|
+
* await client.empathicVoice.configs.listConfigVersions("id")
|
|
47
47
|
*/
|
|
48
48
|
listConfigVersions(id: string, request?: Hume.empathicVoice.ConfigsListConfigVersionsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
|
|
49
49
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class Configs {
|
|
|
52
52
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
|
-
* await
|
|
55
|
+
* await client.empathicVoice.configs.createConfigVersion("id")
|
|
56
56
|
*/
|
|
57
57
|
createConfigVersion(id: string, request?: Hume.empathicVoice.PostedConfigVersion, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
58
58
|
/**
|
|
@@ -60,7 +60,7 @@ export declare class Configs {
|
|
|
60
60
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
|
-
* await
|
|
63
|
+
* await client.empathicVoice.configs.deleteConfig("id")
|
|
64
64
|
*/
|
|
65
65
|
deleteConfig(id: string, requestOptions?: Configs.RequestOptions): Promise<void>;
|
|
66
66
|
/**
|
|
@@ -69,7 +69,7 @@ export declare class Configs {
|
|
|
69
69
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
|
-
* await
|
|
72
|
+
* await client.empathicVoice.configs.updateConfigName("string", {
|
|
73
73
|
* name: "string"
|
|
74
74
|
* })
|
|
75
75
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class Configs {
|
|
|
80
80
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* await
|
|
83
|
+
* await client.empathicVoice.configs.getConfigVersion("id", 1)
|
|
84
84
|
*/
|
|
85
85
|
getConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
86
86
|
/**
|
|
@@ -89,7 +89,7 @@ export declare class Configs {
|
|
|
89
89
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
|
-
* await
|
|
92
|
+
* await client.empathicVoice.configs.deleteConfigVersion("id", 1)
|
|
93
93
|
*/
|
|
94
94
|
deleteConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<void>;
|
|
95
95
|
/**
|
|
@@ -99,7 +99,7 @@ export declare class Configs {
|
|
|
99
99
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
|
-
* await
|
|
102
|
+
* await client.empathicVoice.configs.updateConfigDescription("id", 1)
|
|
103
103
|
*/
|
|
104
104
|
updateConfigDescription(id: string, version: number, request?: Hume.empathicVoice.PostedConfigVersionDescription, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
105
105
|
protected _getCustomAuthorizationHeaders(): Promise<{
|