@elevenlabs/elevenlabs-js 2.41.1 → 2.42.0
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/BaseClient.js +2 -2
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +18 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +59 -2
- package/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +12 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.d.ts +73 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +291 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +12 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +10 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
- package/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/index.js +3 -1
- package/api/types/AgentConfigOverrideInput.d.ts +1 -1
- package/api/types/AgentConfigOverrideOutput.d.ts +1 -1
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
- package/api/types/AnalysisScope.d.ts +5 -0
- package/api/types/AnalysisScope.js +8 -0
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/api/types/CreateAgentRuleParams.d.ts +3 -0
- package/api/types/CreateAgentRuleParams.js +3 -0
- package/api/types/CreateAgentTestFolderResponseModel.d.ts +4 -0
- package/api/types/CreateAgentTestFolderResponseModel.js +3 -0
- package/api/types/CreateClientInteractionParams.d.ts +3 -0
- package/api/types/CreateClientInteractionParams.js +3 -0
- package/api/types/CreateHolidayParams.d.ts +3 -0
- package/api/types/CreateHolidayParams.js +3 -0
- package/api/types/CreateRentalServiceParams.d.ts +3 -0
- package/api/types/CreateRentalServiceParams.js +3 -0
- package/api/types/DeleteAgentRuleParams.d.ts +3 -0
- package/api/types/DeleteAgentRuleParams.js +3 -0
- package/api/types/DeleteClientInteractionParams.d.ts +3 -0
- package/api/types/DeleteClientInteractionParams.js +3 -0
- package/api/types/DeleteHolidayParams.d.ts +3 -0
- package/api/types/DeleteHolidayParams.js +3 -0
- package/api/types/DeleteRentalServiceParams.d.ts +3 -0
- package/api/types/DeleteRentalServiceParams.js +3 -0
- package/api/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +1 -1
- package/api/types/EvaluationSettingsInput.js +3 -0
- package/api/types/EvaluationSettingsOutput.d.ts +9 -0
- package/api/types/EvaluationSettingsOutput.js +3 -0
- package/api/types/GetAgentTestFolderResponseModel.d.ts +9 -0
- package/api/types/GetAgentTestFolderResponseModel.js +3 -0
- package/api/types/GetAnalyticsSummaryParams.d.ts +6 -0
- package/api/types/GetAnalyticsSummaryParams.js +3 -0
- package/api/types/GetBookingPageSettingsParams.d.ts +3 -0
- package/api/types/GetBookingPageSettingsParams.js +3 -0
- package/api/types/GetBookingSlugStatusParams.d.ts +3 -0
- package/api/types/GetBookingSlugStatusParams.js +3 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetScheduleParams.d.ts +3 -0
- package/api/types/GetScheduleParams.js +3 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/api/types/ListAgentRulesParams.d.ts +3 -0
- package/api/types/ListAgentRulesParams.js +3 -0
- package/api/types/ListClientInteractionsParams.d.ts +3 -0
- package/api/types/ListClientInteractionsParams.js +3 -0
- package/api/types/ListHolidaysParams.d.ts +3 -0
- package/api/types/ListHolidaysParams.js +3 -0
- package/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
- package/api/types/PromptAgentApiModelOverrideConfig.d.ts +4 -0
- package/api/types/{PromptAgentApiModelOverride.d.ts → PromptAgentApiModelOverrideInput.d.ts} +5 -1
- package/api/types/PromptAgentApiModelOverrideInput.js +3 -0
- package/api/types/PromptAgentApiModelOverrideOutput.d.ts +13 -0
- package/api/types/PromptAgentApiModelOverrideOutput.js +3 -0
- package/api/types/PromptEvaluationCriteria.d.ts +3 -0
- package/api/types/ResponseFilter.d.ts +1 -1
- package/api/types/ResponseFilterMode.d.ts +1 -0
- package/api/types/ResponseFilterMode.js +1 -0
- package/api/types/ScopedAnalysisResult.d.ts +11 -0
- package/api/types/ScopedAnalysisResult.js +3 -0
- package/api/types/SetBookingSlugParams.d.ts +3 -0
- package/api/types/SetBookingSlugParams.js +3 -0
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/ToDialogueSettingsResponseModel.d.ts +5 -0
- package/api/types/ToDialogueSettingsResponseModel.js +3 -0
- package/api/types/UpdateAgentRuleParams.d.ts +3 -0
- package/api/types/UpdateAgentRuleParams.js +3 -0
- package/api/types/UpdateBookingPageSettingsParams.d.ts +3 -0
- package/api/types/UpdateBookingPageSettingsParams.js +3 -0
- package/api/types/UpdateBusinessInfoParams.d.ts +3 -0
- package/api/types/UpdateBusinessInfoParams.js +3 -0
- package/api/types/UpdateCustomerFacingConfigParams.d.ts +3 -0
- package/api/types/UpdateCustomerFacingConfigParams.js +3 -0
- package/api/types/UpdateHolidayParams.d.ts +3 -0
- package/api/types/UpdateHolidayParams.js +3 -0
- package/api/types/UpdateRentalServiceParams.d.ts +3 -0
- package/api/types/UpdateRentalServiceParams.js +3 -0
- package/api/types/VisitedAgentRef.d.ts +7 -0
- package/api/types/VisitedAgentRef.js +3 -0
- package/api/types/VoiceResponseModelRecordingQuality.d.ts +2 -0
- package/api/types/VoiceResponseModelRecordingQuality.js +2 -0
- package/api/types/index.d.ts +32 -2
- package/api/types/index.js +32 -2
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +18 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +59 -2
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.d.ts +73 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +291 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/index.js +3 -1
- package/dist/api/types/AgentConfigOverrideInput.d.ts +1 -1
- package/dist/api/types/AgentConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
- package/dist/api/types/AnalysisScope.d.ts +5 -0
- package/dist/api/types/AnalysisScope.js +8 -0
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/api/types/CreateAgentRuleParams.d.ts +3 -0
- package/dist/api/types/CreateAgentRuleParams.js +3 -0
- package/dist/api/types/CreateAgentTestFolderResponseModel.d.ts +4 -0
- package/dist/api/types/CreateAgentTestFolderResponseModel.js +3 -0
- package/dist/api/types/CreateClientInteractionParams.d.ts +3 -0
- package/dist/api/types/CreateClientInteractionParams.js +3 -0
- package/dist/api/types/CreateHolidayParams.d.ts +3 -0
- package/dist/api/types/CreateHolidayParams.js +3 -0
- package/dist/api/types/CreateRentalServiceParams.d.ts +3 -0
- package/dist/api/types/CreateRentalServiceParams.js +3 -0
- package/dist/api/types/DeleteAgentRuleParams.d.ts +3 -0
- package/dist/api/types/DeleteAgentRuleParams.js +3 -0
- package/dist/api/types/DeleteClientInteractionParams.d.ts +3 -0
- package/dist/api/types/DeleteClientInteractionParams.js +3 -0
- package/dist/api/types/DeleteHolidayParams.d.ts +3 -0
- package/dist/api/types/DeleteHolidayParams.js +3 -0
- package/dist/api/types/DeleteRentalServiceParams.d.ts +3 -0
- package/dist/api/types/DeleteRentalServiceParams.js +3 -0
- package/dist/api/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +1 -1
- package/dist/api/types/EvaluationSettingsInput.js +3 -0
- package/dist/api/types/EvaluationSettingsOutput.d.ts +9 -0
- package/dist/api/types/EvaluationSettingsOutput.js +3 -0
- package/dist/api/types/GetAgentTestFolderResponseModel.d.ts +9 -0
- package/dist/api/types/GetAgentTestFolderResponseModel.js +3 -0
- package/dist/api/types/GetAnalyticsSummaryParams.d.ts +6 -0
- package/dist/api/types/GetAnalyticsSummaryParams.js +3 -0
- package/dist/api/types/GetBookingPageSettingsParams.d.ts +3 -0
- package/dist/api/types/GetBookingPageSettingsParams.js +3 -0
- package/dist/api/types/GetBookingSlugStatusParams.d.ts +3 -0
- package/dist/api/types/GetBookingSlugStatusParams.js +3 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetScheduleParams.d.ts +3 -0
- package/dist/api/types/GetScheduleParams.js +3 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/api/types/ListAgentRulesParams.d.ts +3 -0
- package/dist/api/types/ListAgentRulesParams.js +3 -0
- package/dist/api/types/ListClientInteractionsParams.d.ts +3 -0
- package/dist/api/types/ListClientInteractionsParams.js +3 -0
- package/dist/api/types/ListHolidaysParams.d.ts +3 -0
- package/dist/api/types/ListHolidaysParams.js +3 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +4 -0
- package/dist/api/types/{PromptAgentApiModelOverride.d.ts → PromptAgentApiModelOverrideInput.d.ts} +5 -1
- package/dist/api/types/PromptAgentApiModelOverrideInput.js +3 -0
- package/dist/api/types/PromptAgentApiModelOverrideOutput.d.ts +13 -0
- package/dist/api/types/PromptAgentApiModelOverrideOutput.js +3 -0
- package/dist/api/types/PromptEvaluationCriteria.d.ts +3 -0
- package/dist/api/types/ResponseFilter.d.ts +1 -1
- package/dist/api/types/ResponseFilterMode.d.ts +1 -0
- package/dist/api/types/ResponseFilterMode.js +1 -0
- package/dist/api/types/ScopedAnalysisResult.d.ts +11 -0
- package/dist/api/types/ScopedAnalysisResult.js +3 -0
- package/dist/api/types/SetBookingSlugParams.d.ts +3 -0
- package/dist/api/types/SetBookingSlugParams.js +3 -0
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/ToDialogueSettingsResponseModel.d.ts +5 -0
- package/dist/api/types/ToDialogueSettingsResponseModel.js +3 -0
- package/dist/api/types/UpdateAgentRuleParams.d.ts +3 -0
- package/dist/api/types/UpdateAgentRuleParams.js +3 -0
- package/dist/api/types/UpdateBookingPageSettingsParams.d.ts +3 -0
- package/dist/api/types/UpdateBookingPageSettingsParams.js +3 -0
- package/dist/api/types/UpdateBusinessInfoParams.d.ts +3 -0
- package/dist/api/types/UpdateBusinessInfoParams.js +3 -0
- package/dist/api/types/UpdateCustomerFacingConfigParams.d.ts +3 -0
- package/dist/api/types/UpdateCustomerFacingConfigParams.js +3 -0
- package/dist/api/types/UpdateHolidayParams.d.ts +3 -0
- package/dist/api/types/UpdateHolidayParams.js +3 -0
- package/dist/api/types/UpdateRentalServiceParams.d.ts +3 -0
- package/dist/api/types/UpdateRentalServiceParams.js +3 -0
- package/dist/api/types/VisitedAgentRef.d.ts +7 -0
- package/dist/api/types/VisitedAgentRef.js +3 -0
- package/dist/api/types/VoiceResponseModelRecordingQuality.d.ts +2 -0
- package/dist/api/types/VoiceResponseModelRecordingQuality.js +2 -0
- package/dist/api/types/index.d.ts +32 -2
- package/dist/api/types/index.js +32 -2
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +7 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.js +3 -1
- package/dist/serialization/types/AgentConfigOverrideInput.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideInput.js +2 -2
- package/dist/serialization/types/AgentConfigOverrideOutput.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideOutput.js +2 -2
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +4 -2
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +4 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +4 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +4 -2
- package/dist/serialization/types/AnalysisScope.d.ts +7 -0
- package/dist/serialization/types/AnalysisScope.js +39 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
- package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
- package/dist/serialization/types/CreateAgentRuleParams.d.ts +9 -0
- package/dist/serialization/types/{PromptAgentApiModelOverride.js → CreateAgentRuleParams.js} +3 -6
- package/dist/serialization/types/CreateAgentTestFolderResponseModel.d.ts +10 -0
- package/{serialization/types/PromptAgentApiModelOverride.js → dist/serialization/types/CreateAgentTestFolderResponseModel.js} +4 -6
- package/dist/serialization/types/CreateClientInteractionParams.d.ts +9 -0
- package/dist/serialization/types/CreateClientInteractionParams.js +41 -0
- package/dist/serialization/types/CreateHolidayParams.d.ts +9 -0
- package/dist/serialization/types/CreateHolidayParams.js +41 -0
- package/dist/serialization/types/CreateRentalServiceParams.d.ts +9 -0
- package/dist/serialization/types/CreateRentalServiceParams.js +41 -0
- package/dist/serialization/types/DeleteAgentRuleParams.d.ts +9 -0
- package/dist/serialization/types/DeleteAgentRuleParams.js +41 -0
- package/dist/serialization/types/DeleteClientInteractionParams.d.ts +9 -0
- package/dist/serialization/types/DeleteClientInteractionParams.js +41 -0
- package/dist/serialization/types/DeleteHolidayParams.d.ts +9 -0
- package/dist/serialization/types/DeleteHolidayParams.js +41 -0
- package/dist/serialization/types/DeleteRentalServiceParams.d.ts +9 -0
- package/dist/serialization/types/DeleteRentalServiceParams.js +41 -0
- package/dist/serialization/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +2 -2
- package/dist/serialization/types/{EvaluationSettings.js → EvaluationSettingsInput.js} +2 -2
- package/dist/serialization/types/EvaluationSettingsOutput.d.ts +10 -0
- package/dist/serialization/types/EvaluationSettingsOutput.js +42 -0
- package/dist/serialization/types/GetAgentTestFolderResponseModel.d.ts +13 -0
- package/dist/serialization/types/GetAgentTestFolderResponseModel.js +45 -0
- package/dist/serialization/types/GetAnalyticsSummaryParams.d.ts +9 -0
- package/dist/serialization/types/GetAnalyticsSummaryParams.js +41 -0
- package/dist/serialization/types/GetBookingPageSettingsParams.d.ts +9 -0
- package/dist/serialization/types/GetBookingPageSettingsParams.js +41 -0
- package/dist/serialization/types/GetBookingSlugStatusParams.d.ts +9 -0
- package/dist/serialization/types/GetBookingSlugStatusParams.js +41 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetConversationResponseModel.js +2 -0
- package/dist/serialization/types/GetScheduleParams.d.ts +9 -0
- package/dist/serialization/types/GetScheduleParams.js +41 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/dist/serialization/types/ListAgentRulesParams.d.ts +9 -0
- package/dist/serialization/types/ListAgentRulesParams.js +41 -0
- package/dist/serialization/types/ListClientInteractionsParams.d.ts +9 -0
- package/dist/serialization/types/ListClientInteractionsParams.js +41 -0
- package/dist/serialization/types/ListHolidaysParams.d.ts +9 -0
- package/dist/serialization/types/ListHolidaysParams.js +41 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideInput.d.ts +15 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideInput.js +47 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideOutput.d.ts +15 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideOutput.js +47 -0
- package/dist/serialization/types/PromptEvaluationCriteria.d.ts +2 -0
- package/dist/serialization/types/PromptEvaluationCriteria.js +2 -0
- package/dist/serialization/types/ResponseFilterMode.d.ts +1 -1
- package/dist/serialization/types/ResponseFilterMode.js +1 -1
- package/dist/serialization/types/ScopedAnalysisResult.d.ts +18 -0
- package/dist/serialization/types/ScopedAnalysisResult.js +52 -0
- package/dist/serialization/types/SetBookingSlugParams.d.ts +9 -0
- package/dist/serialization/types/SetBookingSlugParams.js +41 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/dist/serialization/types/ToDialogueSettingsResponseModel.d.ts +10 -0
- package/dist/serialization/types/ToDialogueSettingsResponseModel.js +42 -0
- package/dist/serialization/types/UpdateAgentRuleParams.d.ts +9 -0
- package/dist/serialization/types/UpdateAgentRuleParams.js +41 -0
- package/dist/serialization/types/UpdateBookingPageSettingsParams.d.ts +9 -0
- package/dist/serialization/types/UpdateBookingPageSettingsParams.js +41 -0
- package/dist/serialization/types/UpdateBusinessInfoParams.d.ts +9 -0
- package/dist/serialization/types/UpdateBusinessInfoParams.js +41 -0
- package/dist/serialization/types/UpdateCustomerFacingConfigParams.d.ts +9 -0
- package/dist/serialization/types/UpdateCustomerFacingConfigParams.js +41 -0
- package/dist/serialization/types/UpdateHolidayParams.d.ts +9 -0
- package/dist/serialization/types/UpdateHolidayParams.js +41 -0
- package/dist/serialization/types/UpdateRentalServiceParams.d.ts +9 -0
- package/dist/serialization/types/UpdateRentalServiceParams.js +41 -0
- package/dist/serialization/types/VisitedAgentRef.d.ts +10 -0
- package/dist/serialization/types/VisitedAgentRef.js +42 -0
- package/dist/serialization/types/VoiceResponseModelRecordingQuality.d.ts +1 -1
- package/dist/serialization/types/VoiceResponseModelRecordingQuality.js +1 -1
- package/dist/serialization/types/index.d.ts +32 -2
- package/dist/serialization/types/index.js +32 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +340 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +42 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +42 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +41 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +7 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/index.js +3 -1
- package/serialization/types/AgentConfigOverrideInput.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideInput.js +2 -2
- package/serialization/types/AgentConfigOverrideOutput.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideOutput.js +2 -2
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +4 -2
- package/serialization/types/AgentPlatformSettingsRequestModel.js +4 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +4 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.js +4 -2
- package/serialization/types/AnalysisScope.d.ts +7 -0
- package/serialization/types/AnalysisScope.js +39 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
- package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/serialization/types/ConversationTurnMetrics.js +1 -0
- package/serialization/types/CreateAgentRuleParams.d.ts +9 -0
- package/serialization/types/CreateAgentRuleParams.js +41 -0
- package/serialization/types/CreateAgentTestFolderResponseModel.d.ts +10 -0
- package/serialization/types/CreateAgentTestFolderResponseModel.js +42 -0
- package/serialization/types/CreateClientInteractionParams.d.ts +9 -0
- package/serialization/types/CreateClientInteractionParams.js +41 -0
- package/serialization/types/CreateHolidayParams.d.ts +9 -0
- package/serialization/types/CreateHolidayParams.js +41 -0
- package/serialization/types/CreateRentalServiceParams.d.ts +9 -0
- package/serialization/types/CreateRentalServiceParams.js +41 -0
- package/serialization/types/DeleteAgentRuleParams.d.ts +9 -0
- package/serialization/types/DeleteAgentRuleParams.js +41 -0
- package/serialization/types/DeleteClientInteractionParams.d.ts +9 -0
- package/serialization/types/DeleteClientInteractionParams.js +41 -0
- package/serialization/types/DeleteHolidayParams.d.ts +9 -0
- package/serialization/types/DeleteHolidayParams.js +41 -0
- package/serialization/types/DeleteRentalServiceParams.d.ts +9 -0
- package/serialization/types/DeleteRentalServiceParams.js +41 -0
- package/serialization/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +2 -2
- package/serialization/types/{EvaluationSettings.js → EvaluationSettingsInput.js} +2 -2
- package/serialization/types/EvaluationSettingsOutput.d.ts +10 -0
- package/serialization/types/EvaluationSettingsOutput.js +42 -0
- package/serialization/types/GetAgentTestFolderResponseModel.d.ts +13 -0
- package/serialization/types/GetAgentTestFolderResponseModel.js +45 -0
- package/serialization/types/GetAnalyticsSummaryParams.d.ts +9 -0
- package/serialization/types/GetAnalyticsSummaryParams.js +41 -0
- package/serialization/types/GetBookingPageSettingsParams.d.ts +9 -0
- package/serialization/types/GetBookingPageSettingsParams.js +41 -0
- package/serialization/types/GetBookingSlugStatusParams.d.ts +9 -0
- package/serialization/types/GetBookingSlugStatusParams.js +41 -0
- package/serialization/types/GetConversationResponseModel.d.ts +2 -0
- package/serialization/types/GetConversationResponseModel.js +2 -0
- package/serialization/types/GetScheduleParams.d.ts +9 -0
- package/serialization/types/GetScheduleParams.js +41 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/serialization/types/ListAgentRulesParams.d.ts +9 -0
- package/serialization/types/ListAgentRulesParams.js +41 -0
- package/serialization/types/ListClientInteractionsParams.d.ts +9 -0
- package/serialization/types/ListClientInteractionsParams.js +41 -0
- package/serialization/types/ListHolidaysParams.d.ts +9 -0
- package/serialization/types/ListHolidaysParams.js +41 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.js +2 -0
- package/serialization/types/PromptAgentApiModelOverrideInput.d.ts +15 -0
- package/serialization/types/PromptAgentApiModelOverrideInput.js +47 -0
- package/serialization/types/PromptAgentApiModelOverrideOutput.d.ts +15 -0
- package/serialization/types/PromptAgentApiModelOverrideOutput.js +47 -0
- package/serialization/types/PromptEvaluationCriteria.d.ts +2 -0
- package/serialization/types/PromptEvaluationCriteria.js +2 -0
- package/serialization/types/ResponseFilterMode.d.ts +1 -1
- package/serialization/types/ResponseFilterMode.js +1 -1
- package/serialization/types/ScopedAnalysisResult.d.ts +18 -0
- package/serialization/types/ScopedAnalysisResult.js +52 -0
- package/serialization/types/SetBookingSlugParams.d.ts +9 -0
- package/serialization/types/SetBookingSlugParams.js +41 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/serialization/types/ToDialogueSettingsResponseModel.d.ts +10 -0
- package/serialization/types/ToDialogueSettingsResponseModel.js +42 -0
- package/serialization/types/UpdateAgentRuleParams.d.ts +9 -0
- package/serialization/types/UpdateAgentRuleParams.js +41 -0
- package/serialization/types/UpdateBookingPageSettingsParams.d.ts +9 -0
- package/serialization/types/UpdateBookingPageSettingsParams.js +41 -0
- package/serialization/types/UpdateBusinessInfoParams.d.ts +9 -0
- package/serialization/types/UpdateBusinessInfoParams.js +41 -0
- package/serialization/types/UpdateCustomerFacingConfigParams.d.ts +9 -0
- package/serialization/types/UpdateCustomerFacingConfigParams.js +41 -0
- package/serialization/types/UpdateHolidayParams.d.ts +9 -0
- package/serialization/types/UpdateHolidayParams.js +41 -0
- package/serialization/types/UpdateRentalServiceParams.d.ts +9 -0
- package/serialization/types/UpdateRentalServiceParams.js +41 -0
- package/serialization/types/VisitedAgentRef.d.ts +10 -0
- package/serialization/types/VisitedAgentRef.js +42 -0
- package/serialization/types/VoiceResponseModelRecordingQuality.d.ts +1 -1
- package/serialization/types/VoiceResponseModelRecordingQuality.js +1 -1
- package/serialization/types/index.d.ts +32 -2
- package/serialization/types/index.js +32 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/types/PromptAgentApiModelOverride.d.ts +0 -12
- package/serialization/types/PromptAgentApiModelOverride.d.ts +0 -12
- /package/api/{types/EvaluationSettings.js → resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js} +0 -0
- /package/api/{types/PromptAgentApiModelOverride.js → resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js} +0 -0
- /package/{dist/api/types/EvaluationSettings.js → api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js} +0 -0
- /package/{dist/api/types/PromptAgentApiModelOverride.js → api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.js} +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface AgentPlatformSettingsRequestModel {
|
|
3
3
|
/** Settings for evaluation */
|
|
4
|
-
evaluation?: ElevenLabs.
|
|
4
|
+
evaluation?: ElevenLabs.EvaluationSettingsInput;
|
|
5
5
|
/** Configuration for the widget */
|
|
6
6
|
widget?: ElevenLabs.WidgetConfig;
|
|
7
7
|
/** Data collection settings */
|
|
8
8
|
dataCollection?: Record<string, ElevenLabs.LiteralJsonSchemaProperty>;
|
|
9
|
+
/** Scope per data collection item ID. Missing keys default to conversation scope. */
|
|
10
|
+
dataCollectionScopes?: Record<string, ElevenLabs.AnalysisScope>;
|
|
9
11
|
/** Additional overrides for the agent during conversation initiation */
|
|
10
12
|
overrides?: ElevenLabs.ConversationInitiationClientDataConfigInput;
|
|
11
13
|
/** Workspace overrides for the agent */
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface AgentPlatformSettingsResponseModel {
|
|
3
3
|
/** Settings for evaluation */
|
|
4
|
-
evaluation?: ElevenLabs.
|
|
4
|
+
evaluation?: ElevenLabs.EvaluationSettingsOutput;
|
|
5
5
|
/** Configuration for the widget */
|
|
6
6
|
widget?: ElevenLabs.WidgetConfig;
|
|
7
7
|
/** Data collection settings */
|
|
8
8
|
dataCollection?: Record<string, ElevenLabs.LiteralJsonSchemaProperty>;
|
|
9
|
+
/** Scope per data collection item ID. Missing keys default to conversation scope. */
|
|
10
|
+
dataCollectionScopes?: Record<string, ElevenLabs.AnalysisScope>;
|
|
9
11
|
/** Additional overrides for the agent during conversation initiation */
|
|
10
12
|
overrides?: ElevenLabs.ConversationInitiationClientDataConfigOutput;
|
|
11
13
|
/** Workspace overrides for the agent */
|
|
@@ -18,6 +18,7 @@ export declare const ClientEvent: {
|
|
|
18
18
|
readonly AgentChatResponsePart: "agent_chat_response_part";
|
|
19
19
|
readonly ClientError: "client_error";
|
|
20
20
|
readonly GuardrailTriggered: "guardrail_triggered";
|
|
21
|
+
readonly DtmfRequest: "dtmf_request";
|
|
21
22
|
readonly InternalTurnProbability: "internal_turn_probability";
|
|
22
23
|
readonly InternalTentativeAgentResponse: "internal_tentative_agent_response";
|
|
23
24
|
};
|
package/api/types/ClientEvent.js
CHANGED
|
@@ -22,6 +22,7 @@ exports.ClientEvent = {
|
|
|
22
22
|
AgentChatResponsePart: "agent_chat_response_part",
|
|
23
23
|
ClientError: "client_error",
|
|
24
24
|
GuardrailTriggered: "guardrail_triggered",
|
|
25
|
+
DtmfRequest: "dtmf_request",
|
|
25
26
|
InternalTurnProbability: "internal_turn_probability",
|
|
26
27
|
InternalTentativeAgentResponse: "internal_tentative_agent_response",
|
|
27
28
|
};
|
|
@@ -3,7 +3,7 @@ import type * as ElevenLabs from "../index";
|
|
|
3
3
|
* Settings to evaluate an agent's performance.
|
|
4
4
|
* Agents are evaluated against a set of criteria, with success being defined as meeting some combination of those criteria.
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface EvaluationSettingsInput {
|
|
7
7
|
/** Individual criteria that the agent should be evaluated against */
|
|
8
8
|
criteria?: ElevenLabs.PromptEvaluationCriteria[];
|
|
9
9
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Settings to evaluate an agent's performance.
|
|
4
|
+
* Agents are evaluated against a set of criteria, with success being defined as meeting some combination of those criteria.
|
|
5
|
+
*/
|
|
6
|
+
export interface EvaluationSettingsOutput {
|
|
7
|
+
/** Individual criteria that the agent should be evaluated against */
|
|
8
|
+
criteria?: ElevenLabs.PromptEvaluationCriteria[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface GetAgentTestFolderResponseModel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
/** The path from the root folder to the current folder. */
|
|
6
|
+
folderPath?: ElevenLabs.AgentTestFolderPathSegmentResponseModel[];
|
|
7
|
+
/** The number of direct children (tests and subfolders) in this folder */
|
|
8
|
+
childrenCount?: number;
|
|
9
|
+
}
|
|
@@ -9,6 +9,7 @@ export interface GetConversationResponseModel {
|
|
|
9
9
|
versionId?: string;
|
|
10
10
|
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
|
|
11
11
|
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
|
|
12
|
+
visitedAgents?: ElevenLabs.VisitedAgentRef[];
|
|
12
13
|
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestOutput;
|
|
13
14
|
environment?: string;
|
|
14
15
|
conversationId: string;
|
|
@@ -7,4 +7,6 @@ export interface MultichannelSpeechToTextResponseModel {
|
|
|
7
7
|
transcripts: ElevenLabs.SpeechToTextChunkResponseModel[];
|
|
8
8
|
/** The transcription ID of the response. */
|
|
9
9
|
transcriptionId?: string;
|
|
10
|
+
/** The duration of the audio that was transcribed across all channels in seconds. */
|
|
11
|
+
audioDurationSecs?: number;
|
|
10
12
|
}
|
|
@@ -3,6 +3,10 @@ export interface PromptAgentApiModelOverrideConfig {
|
|
|
3
3
|
prompt?: boolean;
|
|
4
4
|
/** Whether to allow overriding the llm field. */
|
|
5
5
|
llm?: boolean;
|
|
6
|
+
/** Whether to allow overriding the tool_ids field. */
|
|
7
|
+
toolIds?: boolean;
|
|
6
8
|
/** Whether to allow overriding the native_mcp_server_ids field. */
|
|
7
9
|
nativeMcpServerIds?: boolean;
|
|
10
|
+
/** Whether to allow overriding the knowledge_base field. */
|
|
11
|
+
knowledgeBase?: boolean;
|
|
8
12
|
}
|
package/api/types/{PromptAgentApiModelOverride.d.ts → PromptAgentApiModelOverrideInput.d.ts}
RENAMED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export interface
|
|
2
|
+
export interface PromptAgentApiModelOverrideInput {
|
|
3
3
|
/** The prompt for the agent */
|
|
4
4
|
prompt?: string;
|
|
5
5
|
/** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
|
|
6
6
|
llm?: ElevenLabs.Llm;
|
|
7
|
+
/** A list of IDs of tools used by the agent */
|
|
8
|
+
toolIds?: string[];
|
|
7
9
|
/** A list of Native MCP server ids to be used by the agent */
|
|
8
10
|
nativeMcpServerIds?: string[];
|
|
11
|
+
/** A list of knowledge bases to be used by the agent */
|
|
12
|
+
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
9
13
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface PromptAgentApiModelOverrideOutput {
|
|
3
|
+
/** The prompt for the agent */
|
|
4
|
+
prompt?: string;
|
|
5
|
+
/** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
|
|
6
|
+
llm?: ElevenLabs.Llm;
|
|
7
|
+
/** A list of IDs of tools used by the agent */
|
|
8
|
+
toolIds?: string[];
|
|
9
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
10
|
+
nativeMcpServerIds?: string[];
|
|
11
|
+
/** A list of knowledge bases to be used by the agent */
|
|
12
|
+
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
13
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
1
2
|
/**
|
|
2
3
|
* An evaluation using the transcript and a prompt for a yes/no achieved answer
|
|
3
4
|
*/
|
|
@@ -11,4 +12,6 @@ export interface PromptEvaluationCriteria {
|
|
|
11
12
|
conversationGoalPrompt: string;
|
|
12
13
|
/** When evaluating the prompt, should the agent's knowledge base be used. */
|
|
13
14
|
useKnowledgeBase?: boolean;
|
|
15
|
+
/** The scope of transcript context used when evaluating this criterion. 'conversation' uses the full transcript; 'agent' uses only the portion where the defining agent was active. */
|
|
16
|
+
scope?: ElevenLabs.AnalysisScope;
|
|
14
17
|
}
|
|
@@ -3,7 +3,7 @@ import type * as ElevenLabs from "../index";
|
|
|
3
3
|
* Configuration for filtering tool responses before they are visible to the agent.
|
|
4
4
|
*/
|
|
5
5
|
export interface ResponseFilter {
|
|
6
|
-
/** Controls how tool responses are filtered. 'all' returns entire response, 'allow' returns only specified paths. */
|
|
6
|
+
/** Controls how tool responses are filtered. 'all' returns entire response, 'allow' returns only specified paths, 'hide_all' hides the entire response. */
|
|
7
7
|
mode?: ElevenLabs.ResponseFilterMode;
|
|
8
8
|
/** Dot notation paths to include when mode is 'allow' (e.g., ['ticket.id', 'ticket.status']). */
|
|
9
9
|
filters?: string[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface ScopedAnalysisResult {
|
|
3
|
+
/** The scope of the analysis. 'conversation' uses the full transcript; 'agent' uses only the portion where the defining agent was active. */
|
|
4
|
+
scope: ElevenLabs.AnalysisScope;
|
|
5
|
+
sourceAgentId: string;
|
|
6
|
+
/** Branch of the agent for this scoped block; disambiguates repeated agent_id. */
|
|
7
|
+
sourceBranchId?: string;
|
|
8
|
+
evaluationCriteriaResults?: Record<string, ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel>;
|
|
9
|
+
dataCollectionResults?: Record<string, ElevenLabs.DataCollectionResultCommonModel>;
|
|
10
|
+
successful: ElevenLabs.EvaluationSuccessResult;
|
|
11
|
+
}
|
|
@@ -19,4 +19,6 @@ export interface SpeechToTextChunkResponseModel {
|
|
|
19
19
|
transcriptionId?: string;
|
|
20
20
|
/** List of detected entities with their text, type, and character positions in the transcript. */
|
|
21
21
|
entities?: ElevenLabs.DetectedEntity[];
|
|
22
|
+
/** The duration of the audio that was transcribed in seconds. */
|
|
23
|
+
audioDurationSecs?: number;
|
|
22
24
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface ToDialogueSettingsResponseModel {
|
|
2
|
+
/** Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion. */
|
|
3
|
+
stability?: number;
|
|
4
|
+
speed?: number;
|
|
5
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const VoiceResponseModelRecordingQuality: {
|
|
2
2
|
readonly Studio: "studio";
|
|
3
|
+
readonly Good: "good";
|
|
3
4
|
readonly Ok: "ok";
|
|
5
|
+
readonly Poor: "poor";
|
|
4
6
|
readonly Bad: "bad";
|
|
5
7
|
};
|
|
6
8
|
export type VoiceResponseModelRecordingQuality = (typeof VoiceResponseModelRecordingQuality)[keyof typeof VoiceResponseModelRecordingQuality];
|