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
|
@@ -76,58 +76,58 @@ types:
|
|
|
76
76
|
CompletedEmbeddingGeneration:
|
|
77
77
|
properties:
|
|
78
78
|
created_timestamp_ms:
|
|
79
|
-
type:
|
|
79
|
+
type: long
|
|
80
80
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
81
81
|
started_timestamp_ms:
|
|
82
|
-
type:
|
|
82
|
+
type: long
|
|
83
83
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
84
84
|
ended_timestamp_ms:
|
|
85
|
-
type:
|
|
85
|
+
type: long
|
|
86
86
|
docs: When this job ended (Unix timestamp in milliseconds).
|
|
87
87
|
CompletedInference:
|
|
88
88
|
properties:
|
|
89
89
|
created_timestamp_ms:
|
|
90
|
-
type:
|
|
90
|
+
type: long
|
|
91
91
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
92
92
|
started_timestamp_ms:
|
|
93
|
-
type:
|
|
93
|
+
type: long
|
|
94
94
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
95
95
|
ended_timestamp_ms:
|
|
96
|
-
type:
|
|
96
|
+
type: long
|
|
97
97
|
docs: When this job ended (Unix timestamp in milliseconds).
|
|
98
98
|
num_predictions:
|
|
99
|
-
type:
|
|
99
|
+
type: uint64
|
|
100
100
|
docs: The number of predictions that were generated by this job.
|
|
101
101
|
num_errors:
|
|
102
|
-
type:
|
|
102
|
+
type: uint64
|
|
103
103
|
docs: The number of errors that occurred while running this job.
|
|
104
104
|
CompletedTlInference:
|
|
105
105
|
properties:
|
|
106
106
|
created_timestamp_ms:
|
|
107
|
-
type:
|
|
107
|
+
type: long
|
|
108
108
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
109
109
|
started_timestamp_ms:
|
|
110
|
-
type:
|
|
110
|
+
type: long
|
|
111
111
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
112
112
|
ended_timestamp_ms:
|
|
113
|
-
type:
|
|
113
|
+
type: long
|
|
114
114
|
docs: When this job ended (Unix timestamp in milliseconds).
|
|
115
115
|
num_predictions:
|
|
116
|
-
type:
|
|
116
|
+
type: uint64
|
|
117
117
|
docs: The number of predictions that were generated by this job.
|
|
118
118
|
num_errors:
|
|
119
|
-
type:
|
|
119
|
+
type: uint64
|
|
120
120
|
docs: The number of errors that occurred while running this job.
|
|
121
121
|
CompletedTraining:
|
|
122
122
|
properties:
|
|
123
123
|
created_timestamp_ms:
|
|
124
|
-
type:
|
|
124
|
+
type: long
|
|
125
125
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
126
126
|
started_timestamp_ms:
|
|
127
|
-
type:
|
|
127
|
+
type: long
|
|
128
128
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
129
129
|
ended_timestamp_ms:
|
|
130
|
-
type:
|
|
130
|
+
type: long
|
|
131
131
|
docs: When this job ended (Unix timestamp in milliseconds).
|
|
132
132
|
custom_model: TrainingCustomModel
|
|
133
133
|
alternatives: optional<map<string, TrainingCustomModel>>
|
|
@@ -195,6 +195,12 @@ types:
|
|
|
195
195
|
properties:
|
|
196
196
|
validation: optional<ValidationArgs>
|
|
197
197
|
Face:
|
|
198
|
+
docs: >-
|
|
199
|
+
The Facial Emotional Expression model analyzes human facial expressions in
|
|
200
|
+
images and videos. Results will be provided per frame for video files.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
Recommended input file types: `.png`, `.jpeg`, `.mp4`
|
|
198
204
|
properties:
|
|
199
205
|
fps_pred:
|
|
200
206
|
type: optional<double>
|
|
@@ -221,14 +227,11 @@ types:
|
|
|
221
227
|
with an `unknown` ID.
|
|
222
228
|
default: false
|
|
223
229
|
min_face_size:
|
|
224
|
-
type: optional<
|
|
230
|
+
type: optional<uint64>
|
|
225
231
|
docs: >-
|
|
226
232
|
Minimum bounding box side length in pixels to treat as a face. Faces
|
|
227
233
|
detected with a bounding box side length in pixels less than this
|
|
228
234
|
threshold will be omitted from the response.
|
|
229
|
-
default: 60
|
|
230
|
-
validation:
|
|
231
|
-
min: 10
|
|
232
235
|
facs: optional<Unconfigurable>
|
|
233
236
|
descriptions: optional<Unconfigurable>
|
|
234
237
|
save_faces:
|
|
@@ -240,7 +243,7 @@ types:
|
|
|
240
243
|
FacePrediction:
|
|
241
244
|
properties:
|
|
242
245
|
frame:
|
|
243
|
-
type:
|
|
246
|
+
type: uint64
|
|
244
247
|
docs: Frame number
|
|
245
248
|
time:
|
|
246
249
|
type: double
|
|
@@ -274,18 +277,19 @@ types:
|
|
|
274
277
|
Failed:
|
|
275
278
|
properties:
|
|
276
279
|
created_timestamp_ms:
|
|
277
|
-
type:
|
|
280
|
+
type: long
|
|
278
281
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
279
282
|
started_timestamp_ms:
|
|
280
|
-
type:
|
|
283
|
+
type: long
|
|
281
284
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
282
285
|
ended_timestamp_ms:
|
|
283
|
-
type:
|
|
286
|
+
type: long
|
|
284
287
|
docs: When this job ended (Unix timestamp in milliseconds).
|
|
285
288
|
message:
|
|
286
289
|
type: string
|
|
287
290
|
docs: An error message.
|
|
288
291
|
File:
|
|
292
|
+
docs: The list of files submitted for analysis.
|
|
289
293
|
properties:
|
|
290
294
|
filename:
|
|
291
295
|
type: optional<string>
|
|
@@ -303,9 +307,35 @@ types:
|
|
|
303
307
|
- utterance
|
|
304
308
|
- conversational_turn
|
|
305
309
|
docs: >-
|
|
306
|
-
The granularity at which to generate predictions. `
|
|
307
|
-
|
|
308
|
-
|
|
310
|
+
The granularity at which to generate predictions. The `granularity` field
|
|
311
|
+
is ignored if transcription is not enabled or if the `window` field has
|
|
312
|
+
been set.
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
- `word`: At the word level, our model provides a separate output for each
|
|
316
|
+
word, offering the most granular insight into emotional expression during
|
|
317
|
+
speech.
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
- `sentence`: At the sentence level of granularity, we annotate the
|
|
321
|
+
emotional tone of each spoken sentence with our Prosody and Emotional
|
|
322
|
+
Language models.
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
- `utterance`: Utterance-level granularity is between word- and
|
|
326
|
+
sentence-level. It takes into account natural pauses or breaks in speech,
|
|
327
|
+
providing more rapidly updated measures of emotional expression within a
|
|
328
|
+
flowing conversation. For text inputs, utterance-level granularity will
|
|
329
|
+
produce results identical to sentence-level granularity.
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
- `conversational_turn`: Conversational turn-level granularity provides a
|
|
333
|
+
distinct output for each change in speaker. It captures the full sequence
|
|
334
|
+
of words and sentences spoken uninterrupted by each person. This approach
|
|
335
|
+
provides a higher-level view of the emotional dynamics in a
|
|
336
|
+
multi-participant dialogue. For text inputs, specifying conversational
|
|
337
|
+
turn-level granularity for our Emotional Language model will produce
|
|
338
|
+
results for the entire passage.
|
|
309
339
|
GroupedPredictionsBurstPrediction:
|
|
310
340
|
properties:
|
|
311
341
|
id:
|
|
@@ -363,14 +393,21 @@ types:
|
|
|
363
393
|
InProgress:
|
|
364
394
|
properties:
|
|
365
395
|
created_timestamp_ms:
|
|
366
|
-
type:
|
|
396
|
+
type: long
|
|
367
397
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
368
398
|
started_timestamp_ms:
|
|
369
|
-
type:
|
|
399
|
+
type: long
|
|
370
400
|
docs: When this job started (Unix timestamp in milliseconds).
|
|
371
401
|
InferenceBaseRequest:
|
|
372
402
|
properties:
|
|
373
|
-
models:
|
|
403
|
+
models:
|
|
404
|
+
type: optional<Models>
|
|
405
|
+
docs: >-
|
|
406
|
+
Specify the models to use for inference.
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
If this field is not explicitly set, then all models will run by
|
|
410
|
+
default.
|
|
374
411
|
transcription: optional<Transcription>
|
|
375
412
|
urls:
|
|
376
413
|
type: optional<list<string>>
|
|
@@ -387,7 +424,9 @@ types:
|
|
|
387
424
|
docs: List of File IDs corresponding to the files in the asset registry.
|
|
388
425
|
text:
|
|
389
426
|
type: optional<list<string>>
|
|
390
|
-
docs:
|
|
427
|
+
docs: >-
|
|
428
|
+
Text supplied directly to our Emotional Language and NER models for
|
|
429
|
+
analysis.
|
|
391
430
|
callback_url:
|
|
392
431
|
type: optional<string>
|
|
393
432
|
docs: >-
|
|
@@ -470,10 +509,15 @@ types:
|
|
|
470
509
|
format: uuid
|
|
471
510
|
user_id:
|
|
472
511
|
type: string
|
|
512
|
+
docs: The unique identifier for the user who initiated the job.
|
|
473
513
|
validation:
|
|
474
514
|
format: uuid
|
|
475
|
-
request:
|
|
476
|
-
|
|
515
|
+
request:
|
|
516
|
+
type: InferenceRequest
|
|
517
|
+
docs: The request that initiated the job.
|
|
518
|
+
state:
|
|
519
|
+
type: StateInference
|
|
520
|
+
docs: The current state of the job.
|
|
477
521
|
JobTlInference:
|
|
478
522
|
properties:
|
|
479
523
|
job_id:
|
|
@@ -508,6 +552,13 @@ types:
|
|
|
508
552
|
validation:
|
|
509
553
|
format: uuid
|
|
510
554
|
Language:
|
|
555
|
+
docs: >-
|
|
556
|
+
The Emotional Language model analyzes passages of text. This also supports
|
|
557
|
+
audio and video files by transcribing and then directly analyzing the
|
|
558
|
+
transcribed text.
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
Recommended input filetypes: `.txt`, `.mp3`, `.wav`, `.mp4`
|
|
511
562
|
properties:
|
|
512
563
|
granularity: optional<Granularity>
|
|
513
564
|
sentiment: optional<Unconfigurable>
|
|
@@ -562,6 +613,7 @@ types:
|
|
|
562
613
|
classified into the following categories: `toxic`, `severe_toxic`,
|
|
563
614
|
`obscene`, `threat`, `insult`, and `identity_hate`.
|
|
564
615
|
Models:
|
|
616
|
+
docs: The models used for inference.
|
|
565
617
|
properties:
|
|
566
618
|
face: optional<Face>
|
|
567
619
|
burst: optional<Unconfigurable>
|
|
@@ -578,6 +630,13 @@ types:
|
|
|
578
630
|
ner: optional<PredictionsOptionalTranscriptionMetadataNerPrediction>
|
|
579
631
|
facemesh: optional<PredictionsOptionalNullFacemeshPrediction>
|
|
580
632
|
Ner:
|
|
633
|
+
docs: >-
|
|
634
|
+
The NER (Named-entity Recognition) model identifies real-world objects and
|
|
635
|
+
concepts in passages of text. This also supports audio and video files by
|
|
636
|
+
transcribing and then directly analyzing the transcribed text.
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
Recommended input filetypes: `.txt`, `.mp3`, `.wav`, `.mp4`
|
|
581
640
|
properties:
|
|
582
641
|
identify_speakers:
|
|
583
642
|
type: optional<boolean>
|
|
@@ -631,10 +690,10 @@ types:
|
|
|
631
690
|
the end index is exclusive.
|
|
632
691
|
properties:
|
|
633
692
|
begin:
|
|
634
|
-
type:
|
|
693
|
+
type: uint64
|
|
635
694
|
docs: The index of the first character in the text segment, inclusive.
|
|
636
695
|
end:
|
|
637
|
-
type:
|
|
696
|
+
type: uint64
|
|
638
697
|
docs: The index of the last character in the text segment, exclusive.
|
|
639
698
|
PredictionsOptionalNullBurstPrediction:
|
|
640
699
|
properties:
|
|
@@ -661,6 +720,12 @@ types:
|
|
|
661
720
|
metadata: optional<TranscriptionMetadata>
|
|
662
721
|
grouped_predictions: list<GroupedPredictionsProsodyPrediction>
|
|
663
722
|
Prosody:
|
|
723
|
+
docs: >-
|
|
724
|
+
The Speech Prosody model analyzes the intonation, stress, and rhythm of
|
|
725
|
+
spoken word.
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
Recommended input file types: `.wav`, `.mp3`, `.mp4`
|
|
664
729
|
properties:
|
|
665
730
|
granularity: optional<Granularity>
|
|
666
731
|
window: optional<Window>
|
|
@@ -694,7 +759,7 @@ types:
|
|
|
694
759
|
Queued:
|
|
695
760
|
properties:
|
|
696
761
|
created_timestamp_ms:
|
|
697
|
-
type:
|
|
762
|
+
type: long
|
|
698
763
|
docs: When this job was created (Unix timestamp in milliseconds).
|
|
699
764
|
RegistryFileDetail:
|
|
700
765
|
properties:
|
|
@@ -867,7 +932,7 @@ types:
|
|
|
867
932
|
Target:
|
|
868
933
|
discriminated: false
|
|
869
934
|
union:
|
|
870
|
-
-
|
|
935
|
+
- long
|
|
871
936
|
- double
|
|
872
937
|
- string
|
|
873
938
|
Task:
|
|
@@ -955,8 +1020,79 @@ types:
|
|
|
955
1020
|
id: string
|
|
956
1021
|
version_id: optional<string>
|
|
957
1022
|
Transcription:
|
|
1023
|
+
docs: |-
|
|
1024
|
+
Transcription-related configuration options.
|
|
1025
|
+
|
|
1026
|
+
To disable transcription, explicitly set this field to `null`.
|
|
958
1027
|
properties:
|
|
959
|
-
language:
|
|
1028
|
+
language:
|
|
1029
|
+
type: optional<Bcp47Tag>
|
|
1030
|
+
docs: >-
|
|
1031
|
+
By default, we use an automated language detection method for our
|
|
1032
|
+
Speech Prosody, Language, and NER models. However, if you know what
|
|
1033
|
+
language is being spoken in your media samples, you can specify it via
|
|
1034
|
+
its BCP-47 tag and potentially obtain more accurate results.
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
You can specify any of the following languages:
|
|
1038
|
+
|
|
1039
|
+
- Chinese: `zh`
|
|
1040
|
+
|
|
1041
|
+
- Danish: `da`
|
|
1042
|
+
|
|
1043
|
+
- Dutch: `nl`
|
|
1044
|
+
|
|
1045
|
+
- English: `en`
|
|
1046
|
+
|
|
1047
|
+
- English (Australia): `en-AU`
|
|
1048
|
+
|
|
1049
|
+
- English (India): `en-IN`
|
|
1050
|
+
|
|
1051
|
+
- English (New Zealand): `en-NZ`
|
|
1052
|
+
|
|
1053
|
+
- English (United Kingdom): `en-GB`
|
|
1054
|
+
|
|
1055
|
+
- French: `fr`
|
|
1056
|
+
|
|
1057
|
+
- French (Canada): `fr-CA`
|
|
1058
|
+
|
|
1059
|
+
- German: `de`
|
|
1060
|
+
|
|
1061
|
+
- Hindi: `hi`
|
|
1062
|
+
|
|
1063
|
+
- Hindi (Roman Script): `hi-Latn`
|
|
1064
|
+
|
|
1065
|
+
- Indonesian: `id`
|
|
1066
|
+
|
|
1067
|
+
- Italian: `it`
|
|
1068
|
+
|
|
1069
|
+
- Japanese: `ja`
|
|
1070
|
+
|
|
1071
|
+
- Korean: `ko`
|
|
1072
|
+
|
|
1073
|
+
- Norwegian: `no`
|
|
1074
|
+
|
|
1075
|
+
- Polish: `pl`
|
|
1076
|
+
|
|
1077
|
+
- Portuguese: `pt`
|
|
1078
|
+
|
|
1079
|
+
- Portuguese (Brazil): `pt-BR`
|
|
1080
|
+
|
|
1081
|
+
- Portuguese (Portugal): `pt-PT`
|
|
1082
|
+
|
|
1083
|
+
- Russian: `ru`
|
|
1084
|
+
|
|
1085
|
+
- Spanish: `es`
|
|
1086
|
+
|
|
1087
|
+
- Spanish (Latin America): `es-419`
|
|
1088
|
+
|
|
1089
|
+
- Swedish: `sv`
|
|
1090
|
+
|
|
1091
|
+
- Tamil: `ta`
|
|
1092
|
+
|
|
1093
|
+
- Turkish: `tr`
|
|
1094
|
+
|
|
1095
|
+
- Ukrainian: `uk`
|
|
960
1096
|
identify_speakers:
|
|
961
1097
|
type: optional<boolean>
|
|
962
1098
|
docs: >-
|
|
@@ -995,35 +1131,35 @@ types:
|
|
|
995
1131
|
To include predictions for this model type, set this field to `{}`. It is
|
|
996
1132
|
currently not configurable further.
|
|
997
1133
|
type: map<string, unknown>
|
|
998
|
-
UnionJob:
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
EMBEDDING_GENERATION: UnionJobJobEmbeddingGeneration
|
|
1003
|
-
INFERENCE: UnionJobJobInference
|
|
1004
|
-
TL_INFERENCE: UnionJobJobTlInference
|
|
1005
|
-
TRAINING: UnionJobJobTraining
|
|
1006
|
-
UnionJobJobEmbeddingGeneration:
|
|
1007
|
-
properties: {}
|
|
1134
|
+
UnionJob: InferenceJob
|
|
1135
|
+
EmbeddingGenerationJob:
|
|
1136
|
+
properties:
|
|
1137
|
+
type: string
|
|
1008
1138
|
extends:
|
|
1009
1139
|
- JobEmbeddingGeneration
|
|
1010
|
-
|
|
1011
|
-
properties:
|
|
1140
|
+
InferenceJob:
|
|
1141
|
+
properties:
|
|
1142
|
+
type:
|
|
1143
|
+
type: string
|
|
1144
|
+
docs: >-
|
|
1145
|
+
Denotes the job type.
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
Jobs created with the Expression Measurement API will have this field
|
|
1149
|
+
set to `INFERENCE`.
|
|
1012
1150
|
extends:
|
|
1013
1151
|
- JobInference
|
|
1014
|
-
|
|
1015
|
-
properties:
|
|
1152
|
+
CustomModelsInferenceJob:
|
|
1153
|
+
properties:
|
|
1154
|
+
type: string
|
|
1016
1155
|
extends:
|
|
1017
1156
|
- JobTlInference
|
|
1018
|
-
|
|
1019
|
-
properties:
|
|
1157
|
+
CustomModelsTrainingJob:
|
|
1158
|
+
properties:
|
|
1159
|
+
type: string
|
|
1020
1160
|
extends:
|
|
1021
1161
|
- JobTraining
|
|
1022
|
-
UnionPredictResult:
|
|
1023
|
-
discriminated: false
|
|
1024
|
-
union:
|
|
1025
|
-
- InferenceSourcePredictResult
|
|
1026
|
-
- TlInferenceSourcePredictResult
|
|
1162
|
+
UnionPredictResult: InferenceSourcePredictResult
|
|
1027
1163
|
ValidationArgs:
|
|
1028
1164
|
properties:
|
|
1029
1165
|
positive_label: optional<Target>
|
|
@@ -1032,6 +1168,14 @@ types:
|
|
|
1032
1168
|
- created_before
|
|
1033
1169
|
- created_after
|
|
1034
1170
|
Window:
|
|
1171
|
+
docs: >-
|
|
1172
|
+
Generate predictions based on time.
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
Setting the `window` field allows for a 'sliding window' approach, where a
|
|
1176
|
+
fixed-size window moves across the audio or video file in defined steps.
|
|
1177
|
+
This enables continuous analysis of prosody within subsets of the file,
|
|
1178
|
+
providing dynamic and localized insights into emotional expression.
|
|
1035
1179
|
properties:
|
|
1036
1180
|
length:
|
|
1037
1181
|
type: optional<double>
|
|
@@ -19,25 +19,63 @@ service:
|
|
|
19
19
|
status:
|
|
20
20
|
type: optional<root.Status>
|
|
21
21
|
allow-multiple: true
|
|
22
|
-
docs:
|
|
22
|
+
docs: >-
|
|
23
|
+
Include only jobs of this status in the response. There are four
|
|
24
|
+
possible statuses:
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
- `QUEUED`: The job has been received and is waiting to be
|
|
28
|
+
processed.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- `IN_PROGRESS`: The job is currently being processed.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- `COMPLETED`: The job has finished processing.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- `FAILED`: The job encountered an error and could not be
|
|
38
|
+
completed successfully.
|
|
23
39
|
when:
|
|
24
40
|
type: optional<root.When>
|
|
25
41
|
docs: >-
|
|
26
|
-
|
|
42
|
+
Specify whether to include jobs created before or after a given
|
|
27
43
|
`timestamp_ms`.
|
|
28
44
|
timestamp_ms:
|
|
29
|
-
type: optional<
|
|
30
|
-
docs:
|
|
45
|
+
type: optional<long>
|
|
46
|
+
docs: |-
|
|
47
|
+
Provide a timestamp in milliseconds to filter jobs.
|
|
48
|
+
|
|
49
|
+
When combined with the `when` parameter, you can filter jobs before or after the given timestamp. Defaults to the current Unix timestamp if one is not provided.
|
|
31
50
|
sort_by:
|
|
32
51
|
type: optional<root.SortBy>
|
|
33
|
-
docs:
|
|
52
|
+
docs: >-
|
|
53
|
+
Specify which timestamp to sort the jobs by.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- `created`: Sort jobs by the time of creation, indicated by
|
|
57
|
+
`created_timestamp_ms`.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
- `started`: Sort jobs by the time processing started, indicated
|
|
61
|
+
by `started_timestamp_ms`.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- `ended`: Sort jobs by the time processing ended, indicated by
|
|
65
|
+
`ended_timestamp_ms`.
|
|
34
66
|
direction:
|
|
35
67
|
type: optional<root.Direction>
|
|
36
|
-
docs:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
68
|
+
docs: >-
|
|
69
|
+
Specify the order in which to sort the jobs. Defaults to
|
|
70
|
+
descending order.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- `asc`: Sort in ascending order (chronological, with the oldest
|
|
74
|
+
records first).
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- `desc`: Sort in descending order (reverse-chronological, with
|
|
78
|
+
the newest records first).
|
|
41
79
|
response:
|
|
42
80
|
docs: ''
|
|
43
81
|
type: list<root.UnionJob>
|
|
@@ -106,27 +144,14 @@ service:
|
|
|
106
144
|
auth: true
|
|
107
145
|
docs: Get the request details and state of a given job.
|
|
108
146
|
path-parameters:
|
|
109
|
-
id:
|
|
147
|
+
id:
|
|
148
|
+
type: string
|
|
149
|
+
docs: The unique identifier for the job.
|
|
110
150
|
display-name: Get job details
|
|
111
151
|
response:
|
|
112
152
|
docs: ''
|
|
113
153
|
type: root.UnionJob
|
|
114
154
|
examples:
|
|
115
|
-
- name: Embedding Generation
|
|
116
|
-
path-parameters:
|
|
117
|
-
id: job_id
|
|
118
|
-
response:
|
|
119
|
-
body:
|
|
120
|
-
type: EMBEDDING_GENERATION
|
|
121
|
-
job_id: string
|
|
122
|
-
request:
|
|
123
|
-
registry_file_details:
|
|
124
|
-
- file_id: string
|
|
125
|
-
file_url: string
|
|
126
|
-
state:
|
|
127
|
-
status: QUEUED
|
|
128
|
-
created_timestamp_ms: 0
|
|
129
|
-
user_id: string
|
|
130
155
|
- name: Inference
|
|
131
156
|
path-parameters:
|
|
132
157
|
id: job_id
|
|
@@ -170,11 +195,11 @@ service:
|
|
|
170
195
|
path: /v0/batch/jobs/{id}/predictions
|
|
171
196
|
method: GET
|
|
172
197
|
auth: true
|
|
173
|
-
docs:
|
|
174
|
-
Get the JSON predictions of a completed measurement or custom models
|
|
175
|
-
inference job.
|
|
198
|
+
docs: Get the JSON predictions of a completed inference job.
|
|
176
199
|
path-parameters:
|
|
177
|
-
id:
|
|
200
|
+
id:
|
|
201
|
+
type: string
|
|
202
|
+
docs: The unique identifier for the job.
|
|
178
203
|
display-name: Get job predictions
|
|
179
204
|
response:
|
|
180
205
|
docs: ''
|
|
@@ -305,11 +330,11 @@ service:
|
|
|
305
330
|
path: /v0/batch/jobs/{id}/artifacts
|
|
306
331
|
method: GET
|
|
307
332
|
auth: true
|
|
308
|
-
docs:
|
|
309
|
-
Get the artifacts ZIP of a completed measurement or custom models
|
|
310
|
-
inference job.
|
|
333
|
+
docs: Get the artifacts ZIP of a completed inference job.
|
|
311
334
|
path-parameters:
|
|
312
|
-
id:
|
|
335
|
+
id:
|
|
336
|
+
type: string
|
|
337
|
+
docs: The unique identifier for the job.
|
|
313
338
|
display-name: Get job artifacts
|
|
314
339
|
response:
|
|
315
340
|
docs: ''
|
|
@@ -324,7 +349,11 @@ service:
|
|
|
324
349
|
name: BatchStartInferenceJobFromLocalFileRequest
|
|
325
350
|
body:
|
|
326
351
|
properties:
|
|
327
|
-
json:
|
|
352
|
+
json:
|
|
353
|
+
type: optional<root.InferenceBaseRequest>
|
|
354
|
+
docs: >-
|
|
355
|
+
Stringified JSON object containing the inference job
|
|
356
|
+
configuration.
|
|
328
357
|
file: list<file>
|
|
329
358
|
content-type: multipart/form-data
|
|
330
359
|
response:
|
package/.mock/fern.config.json
CHANGED
|
@@ -27,16 +27,25 @@ export declare class ChatGroups {
|
|
|
27
27
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
|
-
* await client.empathicVoice.chatGroups.listChatGroups(
|
|
30
|
+
* await client.empathicVoice.chatGroups.listChatGroups({
|
|
31
|
+
* pageNumber: 0,
|
|
32
|
+
* pageSize: 1,
|
|
33
|
+
* ascendingOrder: true,
|
|
34
|
+
* configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3"
|
|
35
|
+
* })
|
|
31
36
|
*/
|
|
32
37
|
listChatGroups(request?: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedChatGroups>;
|
|
33
38
|
/**
|
|
34
|
-
* @param {string} id - Identifier for a
|
|
39
|
+
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
35
40
|
* @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
|
|
36
41
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
42
|
*
|
|
38
43
|
* @example
|
|
39
|
-
* await client.empathicVoice.chatGroups.listChatGroupEvents("
|
|
44
|
+
* await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", {
|
|
45
|
+
* pageNumber: 0,
|
|
46
|
+
* pageSize: 3,
|
|
47
|
+
* ascendingOrder: true
|
|
48
|
+
* })
|
|
40
49
|
*/
|
|
41
50
|
listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<Hume.empathicVoice.ReturnChatGroupPagedEvents>;
|
|
42
51
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
@@ -53,7 +53,12 @@ class ChatGroups {
|
|
|
53
53
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
|
-
* await client.empathicVoice.chatGroups.listChatGroups(
|
|
56
|
+
* await client.empathicVoice.chatGroups.listChatGroups({
|
|
57
|
+
* pageNumber: 0,
|
|
58
|
+
* pageSize: 1,
|
|
59
|
+
* ascendingOrder: true,
|
|
60
|
+
* configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3"
|
|
61
|
+
* })
|
|
57
62
|
*/
|
|
58
63
|
listChatGroups(request = {}, requestOptions) {
|
|
59
64
|
var _a, _b;
|
|
@@ -75,7 +80,7 @@ class ChatGroups {
|
|
|
75
80
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
76
81
|
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'),
|
|
77
82
|
method: 'GET',
|
|
78
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
83
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
84
|
contentType: 'application/json',
|
|
80
85
|
queryParameters: _queryParams,
|
|
81
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
@@ -114,12 +119,16 @@ class ChatGroups {
|
|
|
114
119
|
});
|
|
115
120
|
}
|
|
116
121
|
/**
|
|
117
|
-
* @param {string} id - Identifier for a
|
|
122
|
+
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
118
123
|
* @param {Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest} request
|
|
119
124
|
* @param {ChatGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
120
125
|
*
|
|
121
126
|
* @example
|
|
122
|
-
* await client.empathicVoice.chatGroups.listChatGroupEvents("
|
|
127
|
+
* await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", {
|
|
128
|
+
* pageNumber: 0,
|
|
129
|
+
* pageSize: 3,
|
|
130
|
+
* ascendingOrder: true
|
|
131
|
+
* })
|
|
123
132
|
*/
|
|
124
133
|
listChatGroupEvents(id, request = {}, requestOptions) {
|
|
125
134
|
var _a, _b;
|
|
@@ -138,7 +147,7 @@ class ChatGroups {
|
|
|
138
147
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
139
148
|
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`),
|
|
140
149
|
method: 'GET',
|
|
141
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
150
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
142
151
|
contentType: 'application/json',
|
|
143
152
|
queryParameters: _queryParams,
|
|
144
153
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|