hume 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +855 -216
- package/.mock/definition/empathic-voice/chatGroups.yml +383 -35
- package/.mock/definition/empathic-voice/chats.yml +393 -44
- package/.mock/definition/empathic-voice/configs.yml +437 -228
- package/.mock/definition/empathic-voice/prompts.yml +258 -83
- package/.mock/definition/empathic-voice/tools.yml +119 -23
- package/.mock/definition/expression-measurement/__package__.yml +203 -59
- package/.mock/definition/expression-measurement/batch.yml +64 -35
- package/.mock/fern.config.json +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
- package/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
- package/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
- package/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
- 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/AudioInput.d.ts +4 -2
- package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/api/resources/empathicVoice/types/JsonMessage.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.d.ts +4 -4
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
- package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
- package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
- package/api/resources/expressionMeasurement/types/{UnionJobJobInference.d.ts → CustomModelsInferenceJob.d.ts} +2 -1
- package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → CustomModelsTrainingJob.d.ts} +2 -1
- package/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
- package/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
- package/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
- package/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
- package/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
- package/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
- package/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
- package/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/api/resources/expressionMeasurement/types/index.js +4 -4
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/pagination/Page.d.ts +29 -0
- package/core/pagination/Page.js +94 -0
- package/core/pagination/Pageable.d.ts +12 -0
- package/core/pagination/Pageable.js +10 -0
- package/core/pagination/index.d.ts +2 -0
- package/core/pagination/index.js +7 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
- 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 +11 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
- 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 +11 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
- 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/AudioInput.d.ts +4 -2
- package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/JsonMessage.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.d.ts +4 -4
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
- package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
- package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
- package/{api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +2 -1
- package/{api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +2 -1
- package/dist/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
- package/dist/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
- package/dist/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
- package/dist/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
- package/dist/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
- package/dist/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
- package/dist/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/dist/api/resources/expressionMeasurement/types/index.js +4 -4
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/pagination/Page.d.ts +29 -0
- package/dist/core/pagination/Page.js +94 -0
- package/dist/core/pagination/Pageable.d.ts +12 -0
- package/dist/core/pagination/Pageable.js +10 -0
- package/dist/core/pagination/index.d.ts +2 -0
- package/dist/core/pagination/index.js +7 -0
- package/dist/errors/HumeError.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- 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/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.js → dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js} +2 -3
- 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/{expressionMeasurement/types/UnionJobJobTraining.js → empathicVoice/types/ReturnChatEventRole.js} +2 -3
- 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/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
- package/dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
- package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
- package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → dist/serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → dist/serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
- package/dist/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
- package/dist/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
- package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
- package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
- package/dist/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/dist/serialization/resources/expressionMeasurement/types/index.js +4 -4
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- 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 +608 -502
- package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- 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/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
- package/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
- package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
- package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
- package/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
- package/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
- package/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
- package/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
- package/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/serialization/resources/expressionMeasurement/types/index.js +4 -4
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobInference.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts +0 -6
- /package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
|
@@ -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 { AssistantEnd } from './AssistantEnd';
|
|
7
8
|
import { AssistantMessage } from './AssistantMessage';
|
|
8
9
|
import { ChatMetadata } from './ChatMetadata';
|
|
9
10
|
import { WebSocketError } from './WebSocketError';
|
|
@@ -14,5 +15,5 @@ import { ToolResponseMessage } from './ToolResponseMessage';
|
|
|
14
15
|
import { ToolErrorMessage } from './ToolErrorMessage';
|
|
15
16
|
export declare const JsonMessage: core.serialization.Schema<serializers.empathicVoice.JsonMessage.Raw, Hume.empathicVoice.JsonMessage>;
|
|
16
17
|
export declare namespace JsonMessage {
|
|
17
|
-
type Raw = AssistantMessage.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
|
|
18
|
+
type Raw = AssistantEnd.Raw | AssistantMessage.Raw | ChatMetadata.Raw | WebSocketError.Raw | UserInterruption.Raw | UserMessage.Raw | ToolCallMessage.Raw | ToolResponseMessage.Raw | ToolErrorMessage.Raw;
|
|
18
19
|
}
|
|
@@ -28,6 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.JsonMessage = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const AssistantEnd_1 = require("./AssistantEnd");
|
|
31
32
|
const AssistantMessage_1 = require("./AssistantMessage");
|
|
32
33
|
const ChatMetadata_1 = require("./ChatMetadata");
|
|
33
34
|
const WebSocketError_1 = require("./WebSocketError");
|
|
@@ -37,6 +38,7 @@ const ToolCallMessage_1 = require("./ToolCallMessage");
|
|
|
37
38
|
const ToolResponseMessage_1 = require("./ToolResponseMessage");
|
|
38
39
|
const ToolErrorMessage_1 = require("./ToolErrorMessage");
|
|
39
40
|
exports.JsonMessage = core.serialization.undiscriminatedUnion([
|
|
41
|
+
AssistantEnd_1.AssistantEnd,
|
|
40
42
|
AssistantMessage_1.AssistantMessage,
|
|
41
43
|
ChatMetadata_1.ChatMetadata,
|
|
42
44
|
WebSocketError_1.WebSocketError,
|
|
@@ -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']);
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as serializers from '../../../index';
|
|
5
5
|
import * as Hume from '../../../../api/index';
|
|
6
6
|
import * as core from '../../../../core';
|
|
7
|
+
import { ReturnChatPagedEventsStatus } from './ReturnChatPagedEventsStatus';
|
|
8
|
+
import { ReturnChatPagedEventsPaginationDirection } from './ReturnChatPagedEventsPaginationDirection';
|
|
7
9
|
import { ReturnChatEvent } from './ReturnChatEvent';
|
|
8
10
|
import { ReturnConfigSpec } from './ReturnConfigSpec';
|
|
9
11
|
export declare const ReturnChatPagedEvents: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatPagedEvents.Raw, Hume.empathicVoice.ReturnChatPagedEvents>;
|
|
@@ -11,11 +13,10 @@ export declare namespace ReturnChatPagedEvents {
|
|
|
11
13
|
interface Raw {
|
|
12
14
|
id: string;
|
|
13
15
|
chat_group_id: string;
|
|
14
|
-
|
|
15
|
-
status: string;
|
|
16
|
+
status: ReturnChatPagedEventsStatus.Raw;
|
|
16
17
|
start_timestamp: number;
|
|
17
18
|
end_timestamp?: number | null;
|
|
18
|
-
pagination_direction:
|
|
19
|
+
pagination_direction: ReturnChatPagedEventsPaginationDirection.Raw;
|
|
19
20
|
events_page: ReturnChatEvent.Raw[];
|
|
20
21
|
metadata?: string | null;
|
|
21
22
|
page_number: number;
|
|
@@ -28,16 +28,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnChatPagedEvents = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatPagedEventsStatus_1 = require("./ReturnChatPagedEventsStatus");
|
|
32
|
+
const ReturnChatPagedEventsPaginationDirection_1 = require("./ReturnChatPagedEventsPaginationDirection");
|
|
31
33
|
const ReturnChatEvent_1 = require("./ReturnChatEvent");
|
|
32
34
|
const ReturnConfigSpec_1 = require("./ReturnConfigSpec");
|
|
33
35
|
exports.ReturnChatPagedEvents = core.serialization.object({
|
|
34
36
|
id: core.serialization.string(),
|
|
35
37
|
chatGroupId: core.serialization.property('chat_group_id', core.serialization.string()),
|
|
36
|
-
|
|
37
|
-
status: core.serialization.string(),
|
|
38
|
+
status: ReturnChatPagedEventsStatus_1.ReturnChatPagedEventsStatus,
|
|
38
39
|
startTimestamp: core.serialization.property('start_timestamp', core.serialization.number()),
|
|
39
40
|
endTimestamp: core.serialization.property('end_timestamp', core.serialization.number().optional()),
|
|
40
|
-
paginationDirection: core.serialization.property('pagination_direction',
|
|
41
|
+
paginationDirection: core.serialization.property('pagination_direction', ReturnChatPagedEventsPaginationDirection_1.ReturnChatPagedEventsPaginationDirection),
|
|
41
42
|
eventsPage: core.serialization.property('events_page', core.serialization.list(ReturnChatEvent_1.ReturnChatEvent)),
|
|
42
43
|
metadata: core.serialization.string().optional(),
|
|
43
44
|
pageNumber: core.serialization.property('page_number', core.serialization.number()),
|
package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts
ADDED
|
@@ -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 ReturnChatPagedEventsPaginationDirection: core.serialization.Schema<serializers.empathicVoice.ReturnChatPagedEventsPaginationDirection.Raw, Hume.empathicVoice.ReturnChatPagedEventsPaginationDirection>;
|
|
8
|
+
export declare namespace ReturnChatPagedEventsPaginationDirection {
|
|
9
|
+
type Raw = 'ASC' | 'DESC';
|
|
10
|
+
}
|
package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.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.ReturnChatPagedEventsPaginationDirection = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatPagedEventsPaginationDirection = core.serialization.enum_(['ASC', 'DESC']);
|
|
@@ -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 ReturnChatPagedEventsStatus: core.serialization.Schema<serializers.empathicVoice.ReturnChatPagedEventsStatus.Raw, Hume.empathicVoice.ReturnChatPagedEventsStatus>;
|
|
8
|
+
export declare namespace ReturnChatPagedEventsStatus {
|
|
9
|
+
type Raw = 'ACTIVE' | 'USER_ENDED' | 'USER_TIMEOUT' | 'MAX_DURATION_TIMEOUT' | 'INACTIVITY_TIMEOUT' | 'ERROR';
|
|
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.ReturnChatPagedEventsStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatPagedEventsStatus = core.serialization.enum_([
|
|
32
|
+
'ACTIVE',
|
|
33
|
+
'USER_ENDED',
|
|
34
|
+
'USER_TIMEOUT',
|
|
35
|
+
'MAX_DURATION_TIMEOUT',
|
|
36
|
+
'INACTIVITY_TIMEOUT',
|
|
37
|
+
'ERROR',
|
|
38
|
+
]);
|
|
@@ -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 ReturnChatStatus: core.serialization.Schema<serializers.empathicVoice.ReturnChatStatus.Raw, Hume.empathicVoice.ReturnChatStatus>;
|
|
8
|
+
export declare namespace ReturnChatStatus {
|
|
9
|
+
type Raw = 'ACTIVE' | 'USER_ENDED' | 'USER_TIMEOUT' | 'MAX_DURATION_TIMEOUT' | 'INACTIVITY_TIMEOUT' | 'ERROR';
|
|
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.ReturnChatStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatStatus = core.serialization.enum_([
|
|
32
|
+
'ACTIVE',
|
|
33
|
+
'USER_ENDED',
|
|
34
|
+
'USER_TIMEOUT',
|
|
35
|
+
'MAX_DURATION_TIMEOUT',
|
|
36
|
+
'INACTIVITY_TIMEOUT',
|
|
37
|
+
'ERROR',
|
|
38
|
+
]);
|
|
@@ -9,5 +9,7 @@ export declare const ReturnEventMessageSpecs: core.serialization.ObjectSchema<se
|
|
|
9
9
|
export declare namespace ReturnEventMessageSpecs {
|
|
10
10
|
interface Raw {
|
|
11
11
|
on_new_chat?: ReturnEventMessageSpec.Raw | null;
|
|
12
|
+
on_inactivity_timeout?: ReturnEventMessageSpec.Raw | null;
|
|
13
|
+
on_max_duration_timeout?: ReturnEventMessageSpec.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -31,4 +31,6 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const ReturnEventMessageSpec_1 = require("./ReturnEventMessageSpec");
|
|
32
32
|
exports.ReturnEventMessageSpecs = core.serialization.object({
|
|
33
33
|
onNewChat: core.serialization.property('on_new_chat', ReturnEventMessageSpec_1.ReturnEventMessageSpec.optional()),
|
|
34
|
+
onInactivityTimeout: core.serialization.property('on_inactivity_timeout', ReturnEventMessageSpec_1.ReturnEventMessageSpec.optional()),
|
|
35
|
+
onMaxDurationTimeout: core.serialization.property('on_max_duration_timeout', ReturnEventMessageSpec_1.ReturnEventMessageSpec.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 { ReturnLanguageModelModelProvider } from './ReturnLanguageModelModelProvider';
|
|
7
8
|
export declare const ReturnLanguageModel: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnLanguageModel.Raw, Hume.empathicVoice.ReturnLanguageModel>;
|
|
8
9
|
export declare namespace ReturnLanguageModel {
|
|
9
10
|
interface Raw {
|
|
10
|
-
model_provider?:
|
|
11
|
+
model_provider?: ReturnLanguageModelModelProvider.Raw | null;
|
|
11
12
|
model_resource?: string | null;
|
|
12
13
|
temperature?: number | 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.ReturnLanguageModel = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnLanguageModelModelProvider_1 = require("./ReturnLanguageModelModelProvider");
|
|
31
32
|
exports.ReturnLanguageModel = core.serialization.object({
|
|
32
|
-
modelProvider: core.serialization.property('model_provider',
|
|
33
|
+
modelProvider: core.serialization.property('model_provider', ReturnLanguageModelModelProvider_1.ReturnLanguageModelModelProvider.optional()),
|
|
33
34
|
modelResource: core.serialization.property('model_resource', core.serialization.string().optional()),
|
|
34
35
|
temperature: core.serialization.number().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 ReturnLanguageModelModelProvider: core.serialization.Schema<serializers.empathicVoice.ReturnLanguageModelModelProvider.Raw, Hume.empathicVoice.ReturnLanguageModelModelProvider>;
|
|
8
|
+
export declare namespace ReturnLanguageModelModelProvider {
|
|
9
|
+
type Raw = 'OPEN_AI' | 'CUSTOM_LANGUAGE_MODEL' | 'ANTHROPIC' | 'FIREWORKS' | 'GROQ' | 'GOOGLE';
|
|
10
|
+
}
|