@elevenlabs/elevenlabs-js 2.22.0 → 2.23.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/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
- package/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
- package/api/resources/music/client/Client.d.ts +1 -1
- package/api/resources/music/client/Client.js +1 -1
- package/api/types/AgentMetadata.d.ts +1 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/api/types/ConversationFeedbackType.d.ts +5 -0
- package/api/types/ConversationFeedbackType.js +8 -0
- package/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/DiscountResposneModel.d.ts +6 -0
- package/api/types/DiscountResposneModel.js +3 -0
- package/api/types/GetAgentResponseModel.d.ts +4 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +4 -2
- package/api/types/LanguagePresetInput.d.ts +2 -0
- package/api/types/LanguagePresetOutput.d.ts +2 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/api/types/ProjectVideoResponseModel.js +3 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- package/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/api/types/SoftTimeoutConfig.js +3 -0
- package/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +1 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +2 -6
- package/api/types/TtsConversationalModel.d.ts +1 -0
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/TtsModelFamily.d.ts +1 -0
- package/api/types/TtsModelFamily.js +1 -0
- package/api/types/TurnConfig.d.ts +4 -0
- package/api/types/TurnConfigOverride.d.ts +5 -0
- package/api/types/TurnConfigOverride.js +3 -0
- package/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/api/types/TurnConfigOverrideConfig.js +3 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/api/types/WidgetEndFeedbackType.js +3 -0
- package/api/types/WorkspaceResourceType.d.ts +4 -0
- package/api/types/WorkspaceResourceType.js +4 -0
- package/api/types/index.d.ts +16 -0
- package/api/types/index.js +16 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
- package/dist/api/resources/music/client/Client.d.ts +1 -1
- package/dist/api/resources/music/client/Client.js +1 -1
- package/dist/api/types/AgentMetadata.d.ts +1 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationFeedbackType.d.ts +5 -0
- package/dist/api/types/ConversationFeedbackType.js +8 -0
- package/dist/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/DiscountResposneModel.d.ts +6 -0
- package/dist/api/types/DiscountResposneModel.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +4 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +4 -2
- package/dist/api/types/LanguagePresetInput.d.ts +2 -0
- package/dist/api/types/LanguagePresetOutput.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/dist/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/dist/api/types/ProjectVideoResponseModel.js +3 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/dist/api/types/SoftTimeoutConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +1 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -6
- package/dist/api/types/TtsConversationalModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/TtsModelFamily.d.ts +1 -0
- package/dist/api/types/TtsModelFamily.js +1 -0
- package/dist/api/types/TurnConfig.d.ts +4 -0
- package/dist/api/types/TurnConfigOverride.d.ts +5 -0
- package/dist/api/types/TurnConfigOverride.js +3 -0
- package/dist/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/dist/api/types/TurnConfigOverrideConfig.js +3 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/dist/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/dist/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/dist/api/types/WidgetEndFeedbackType.js +3 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +4 -0
- package/dist/api/types/WorkspaceResourceType.js +4 -0
- package/dist/api/types/index.d.ts +16 -0
- package/dist/api/types/index.js +16 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- package/dist/serialization/types/AgentMetadata.d.ts +1 -0
- package/dist/serialization/types/AgentMetadata.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/dist/serialization/types/ConversationFeedbackType.js +39 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/dist/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/dist/serialization/types/DiscountResposneModel.js +42 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetInput.js +1 -0
- package/dist/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetOutput.js +1 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +42 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -5
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +1 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
- package/dist/serialization/types/TtsModelFamily.js +1 -1
- package/dist/serialization/types/TurnConfig.d.ts +3 -0
- package/dist/serialization/types/TurnConfig.js +3 -0
- package/dist/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverride.js +42 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/dist/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/dist/serialization/types/WidgetEndFeedbackType.js +39 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +4 -0
- package/dist/serialization/types/index.d.ts +16 -0
- package/dist/serialization/types/index.js +16 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +2 -2
- package/dist/wrapper/ElevenLabsClient.js +2 -1
- package/dist/wrapper/music.d.ts +11 -0
- package/dist/wrapper/music.js +32 -0
- package/dist/wrapper/realtime/connection.d.ts +59 -10
- package/dist/wrapper/realtime/connection.js +14 -14
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/dist/wrapper/realtime/scribe.d.ts +2 -2
- package/dist/wrapper/realtime/scribe.js +5 -5
- package/package.json +1 -1
- package/reference.md +51 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- package/serialization/types/AgentMetadata.d.ts +1 -0
- package/serialization/types/AgentMetadata.js +1 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/serialization/types/ConversationFeedbackType.js +39 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/serialization/types/DiscountResposneModel.js +42 -0
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/serialization/types/LanguagePresetInput.js +1 -0
- package/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/serialization/types/LanguagePresetOutput.js +1 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/serialization/types/ProjectExtendedResponse.js +2 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfig.js +42 -0
- package/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolRequestModelToolConfig.js +2 -2
- package/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
- package/serialization/types/ToolResponseModelToolConfig.js +2 -5
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +1 -0
- package/serialization/types/TtsModelFamily.d.ts +1 -1
- package/serialization/types/TtsModelFamily.js +1 -1
- package/serialization/types/TurnConfig.d.ts +3 -0
- package/serialization/types/TurnConfig.js +3 -0
- package/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/serialization/types/TurnConfigOverride.js +42 -0
- package/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/serialization/types/WidgetEndFeedbackType.js +39 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +4 -0
- package/serialization/types/index.d.ts +16 -0
- package/serialization/types/index.js +16 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +2 -2
- package/wrapper/ElevenLabsClient.js +2 -1
- package/wrapper/music.d.ts +11 -0
- package/wrapper/music.js +32 -0
- package/wrapper/realtime/connection.d.ts +59 -10
- package/wrapper/realtime/connection.js +14 -14
- package/wrapper/realtime/index.d.ts +1 -1
- package/wrapper/realtime/scribe.d.ts +2 -2
- package/wrapper/realtime/scribe.js +5 -5
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- /package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → api/types/ApiIntegrationWebhookToolConfigExternalInput.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for soft timeout functionality during LLM response generation.
|
|
3
|
+
*/
|
|
4
|
+
export interface SoftTimeoutConfig {
|
|
5
|
+
/** Time in seconds before showing the predefined message while waiting for LLM response. Set to -1 to disable. */
|
|
6
|
+
timeoutSeconds?: number;
|
|
7
|
+
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
8
|
+
message?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SoftTimeoutConfigWorkflowOverride {
|
|
2
|
+
/** Time in seconds before showing the predefined message while waiting for LLM response. Set to -1 to disable. */
|
|
3
|
+
timeoutSeconds?: number;
|
|
4
|
+
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
5
|
+
message?: string;
|
|
6
|
+
}
|
|
@@ -2,6 +2,10 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface TestInvocationSummaryResponseModel {
|
|
3
3
|
/** The ID of the test invocation */
|
|
4
4
|
id: string;
|
|
5
|
+
/** The ID of the agent this test invocation belongs to */
|
|
6
|
+
agentId?: string;
|
|
7
|
+
/** The ID of the branch this test invocation was run on */
|
|
8
|
+
branchId?: string;
|
|
5
9
|
/** Creation time of the test invocation in unix seconds */
|
|
6
10
|
createdAtUnixSecs: number;
|
|
7
11
|
/** Number of test runs in this invocation */
|
|
@@ -4,7 +4,7 @@ import * as ElevenLabs from "../index";
|
|
|
4
4
|
*/
|
|
5
5
|
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolRequestModelToolConfig {
|
|
7
|
-
interface ApiIntegrationWebhook extends ElevenLabs.
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigExternalInput {
|
|
8
8
|
type: "api_integration_webhook";
|
|
9
9
|
}
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
@@ -2,18 +2,14 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.
|
|
5
|
+
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolResponseModelToolConfig {
|
|
7
|
-
interface ApiIntegrationWebhook extends ElevenLabs.
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigExternalOutput {
|
|
8
8
|
type: "api_integration_webhook";
|
|
9
9
|
}
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp {
|
|
14
|
-
type: "mcp";
|
|
15
|
-
value?: unknown;
|
|
16
|
-
}
|
|
17
13
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
18
14
|
type: "system";
|
|
19
15
|
}
|
|
@@ -4,5 +4,6 @@ export declare const TtsConversationalModel: {
|
|
|
4
4
|
readonly ElevenFlashV2: "eleven_flash_v2";
|
|
5
5
|
readonly ElevenFlashV25: "eleven_flash_v2_5";
|
|
6
6
|
readonly ElevenMultilingualV2: "eleven_multilingual_v2";
|
|
7
|
+
readonly ElevenExpressive: "eleven_expressive";
|
|
7
8
|
};
|
|
8
9
|
export type TtsConversationalModel = (typeof TtsConversationalModel)[keyof typeof TtsConversationalModel];
|
|
@@ -2,8 +2,12 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface TurnConfig {
|
|
3
3
|
/** Maximum wait time for the user's reply before re-engaging the user */
|
|
4
4
|
turnTimeout?: number;
|
|
5
|
+
/** How long the agent will wait for the user to start the conversation if the first message is empty. If not set, uses the regular turn_timeout. */
|
|
6
|
+
initialWaitTime?: number;
|
|
5
7
|
/** Maximum wait time since the user last spoke before terminating the call */
|
|
6
8
|
silenceEndCallTimeout?: number;
|
|
9
|
+
/** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
|
|
10
|
+
softTimeoutConfig?: ElevenLabs.SoftTimeoutConfig;
|
|
7
11
|
/** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
|
|
8
12
|
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
9
13
|
}
|
|
@@ -2,8 +2,12 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface TurnConfigWorkflowOverride {
|
|
3
3
|
/** Maximum wait time for the user's reply before re-engaging the user */
|
|
4
4
|
turnTimeout?: number;
|
|
5
|
+
/** How long the agent will wait for the user to start the conversation if the first message is empty. If not set, uses the regular turn_timeout. */
|
|
6
|
+
initialWaitTime?: number;
|
|
5
7
|
/** Maximum wait time since the user last spoke before terminating the call */
|
|
6
8
|
silenceEndCallTimeout?: number;
|
|
9
|
+
/** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
|
|
10
|
+
softTimeoutConfig?: ElevenLabs.SoftTimeoutConfigWorkflowOverride;
|
|
7
11
|
/** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
|
|
8
12
|
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
9
13
|
}
|
|
@@ -4,6 +4,7 @@ export interface UnitTestRunResponseModel {
|
|
|
4
4
|
testInfo?: ElevenLabs.UnitTestCommonModel;
|
|
5
5
|
testInvocationId: string;
|
|
6
6
|
agentId: string;
|
|
7
|
+
branchId?: string;
|
|
7
8
|
workflowNodeId?: string;
|
|
8
9
|
status: ElevenLabs.TestRunStatus;
|
|
9
10
|
agentResponses?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
@@ -10,6 +10,8 @@ export interface WidgetConfig {
|
|
|
10
10
|
avatar?: ElevenLabs.WidgetConfigOutputAvatar;
|
|
11
11
|
/** The feedback mode of the widget */
|
|
12
12
|
feedbackMode?: ElevenLabs.WidgetFeedbackMode;
|
|
13
|
+
/** Configuration for feedback collected at the end of the conversation */
|
|
14
|
+
endFeedback?: ElevenLabs.WidgetEndFeedbackConfig;
|
|
13
15
|
/** The background color of the widget */
|
|
14
16
|
bgColor?: string;
|
|
15
17
|
/** The text color of the widget */
|
|
@@ -10,6 +10,8 @@ export interface WidgetConfigResponse {
|
|
|
10
10
|
avatar?: ElevenLabs.WidgetConfigResponseModelAvatar;
|
|
11
11
|
/** The feedback mode of the widget */
|
|
12
12
|
feedbackMode?: ElevenLabs.WidgetFeedbackMode;
|
|
13
|
+
/** Configuration for feedback collected at the end of the conversation */
|
|
14
|
+
endFeedback?: ElevenLabs.WidgetEndFeedbackConfig;
|
|
13
15
|
/** The background color of the widget */
|
|
14
16
|
bgColor?: string;
|
|
15
17
|
/** The text color of the widget */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type WidgetEndFeedbackType = "rating";
|
|
@@ -14,12 +14,16 @@ export declare const WorkspaceResourceType: {
|
|
|
14
14
|
readonly ConvaiPhoneNumbers: "convai_phone_numbers";
|
|
15
15
|
readonly ConvaiMcpServers: "convai_mcp_servers";
|
|
16
16
|
readonly ConvaiApiIntegrationConnections: "convai_api_integration_connections";
|
|
17
|
+
readonly ConvaiApiIntegrationTriggerConnections: "convai_api_integration_trigger_connections";
|
|
17
18
|
readonly ConvaiBatchCalls: "convai_batch_calls";
|
|
18
19
|
readonly ConvaiAgentResponseTests: "convai_agent_response_tests";
|
|
19
20
|
readonly ConvaiTestSuiteInvocations: "convai_test_suite_invocations";
|
|
20
21
|
readonly ConvaiCrawlJobs: "convai_crawl_jobs";
|
|
21
22
|
readonly ConvaiCrawlTasks: "convai_crawl_tasks";
|
|
22
23
|
readonly ConvaiWhatsappAccounts: "convai_whatsapp_accounts";
|
|
24
|
+
readonly ConvaiAgentVersions: "convai_agent_versions";
|
|
25
|
+
readonly ConvaiAgentBranches: "convai_agent_branches";
|
|
26
|
+
readonly ConvaiAgentVersionsDeployments: "convai_agent_versions_deployments";
|
|
23
27
|
readonly Dashboard: "dashboard";
|
|
24
28
|
readonly DashboardConfiguration: "dashboard_configuration";
|
|
25
29
|
};
|
|
@@ -18,12 +18,16 @@ exports.WorkspaceResourceType = {
|
|
|
18
18
|
ConvaiPhoneNumbers: "convai_phone_numbers",
|
|
19
19
|
ConvaiMcpServers: "convai_mcp_servers",
|
|
20
20
|
ConvaiApiIntegrationConnections: "convai_api_integration_connections",
|
|
21
|
+
ConvaiApiIntegrationTriggerConnections: "convai_api_integration_trigger_connections",
|
|
21
22
|
ConvaiBatchCalls: "convai_batch_calls",
|
|
22
23
|
ConvaiAgentResponseTests: "convai_agent_response_tests",
|
|
23
24
|
ConvaiTestSuiteInvocations: "convai_test_suite_invocations",
|
|
24
25
|
ConvaiCrawlJobs: "convai_crawl_jobs",
|
|
25
26
|
ConvaiCrawlTasks: "convai_crawl_tasks",
|
|
26
27
|
ConvaiWhatsappAccounts: "convai_whatsapp_accounts",
|
|
28
|
+
ConvaiAgentVersions: "convai_agent_versions",
|
|
29
|
+
ConvaiAgentBranches: "convai_agent_branches",
|
|
30
|
+
ConvaiAgentVersionsDeployments: "convai_agent_versions_deployments",
|
|
27
31
|
Dashboard: "dashboard",
|
|
28
32
|
DashboardConfiguration: "dashboard_configuration",
|
|
29
33
|
};
|
|
@@ -102,6 +102,8 @@ export * from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
|
|
|
102
102
|
export * from "./ApiIntegrationWebhookOverridesOutput";
|
|
103
103
|
export * from "./ApiIntegrationWebhookToolConfigInput";
|
|
104
104
|
export * from "./ApiIntegrationWebhookToolConfigOutput";
|
|
105
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalInput";
|
|
106
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalOutput";
|
|
105
107
|
export * from "./ArrayJsonSchemaPropertyInputItems";
|
|
106
108
|
export * from "./ArrayJsonSchemaPropertyInput";
|
|
107
109
|
export * from "./ArrayJsonSchemaPropertyOutputItems";
|
|
@@ -193,6 +195,7 @@ export * from "./ConversationConfigOverride";
|
|
|
193
195
|
export * from "./ConversationConfigOverrideConfig";
|
|
194
196
|
export * from "./ConversationConfigWorkflowOverride";
|
|
195
197
|
export * from "./ConversationDeletionSettings";
|
|
198
|
+
export * from "./ConversationFeedbackType";
|
|
196
199
|
export * from "./ConversationHistoryAnalysisCommonModel";
|
|
197
200
|
export * from "./ConversationHistoryBatchCallModel";
|
|
198
201
|
export * from "./ConversationHistoryElevenAssistantCommonModel";
|
|
@@ -286,6 +289,7 @@ export * from "./DependentUnknownToolIdentifier";
|
|
|
286
289
|
export * from "./DetailedMusicResponse";
|
|
287
290
|
export * from "./DialogueInput";
|
|
288
291
|
export * from "./DialogueInputResponseModel";
|
|
292
|
+
export * from "./DiscountResposneModel";
|
|
289
293
|
export * from "./DoDubbingResponse";
|
|
290
294
|
export * from "./DocumentUsageModeEnum";
|
|
291
295
|
export * from "./DocxExportOptions";
|
|
@@ -498,7 +502,9 @@ export * from "./ProjectExtendedResponseModelSourceType";
|
|
|
498
502
|
export * from "./ProjectExtendedResponseModelAspectRatio";
|
|
499
503
|
export * from "./ProjectExtendedResponseModelQualityPreset";
|
|
500
504
|
export * from "./ProjectExtendedResponseModelApplyTextNormalization";
|
|
505
|
+
export * from "./ProjectExtendedResponseModelAssetsItem";
|
|
501
506
|
export * from "./ProjectExtendedResponse";
|
|
507
|
+
export * from "./ProjectExternalAudioResponseModel";
|
|
502
508
|
export * from "./ProjectResponseModelTargetAudience";
|
|
503
509
|
export * from "./ProjectResponseModelAccessLevel";
|
|
504
510
|
export * from "./ProjectResponseModelFiction";
|
|
@@ -508,6 +514,8 @@ export * from "./ProjectResponse";
|
|
|
508
514
|
export * from "./ProjectSnapshotExtendedResponseModel";
|
|
509
515
|
export * from "./ProjectSnapshotResponse";
|
|
510
516
|
export * from "./ProjectSnapshotsResponse";
|
|
517
|
+
export * from "./ProjectVideoResponseModel";
|
|
518
|
+
export * from "./ProjectVideoThumbnailSheetResponseModel";
|
|
511
519
|
export * from "./PromptAgentApiModelInputBackupLlmConfig";
|
|
512
520
|
export * from "./PromptAgentApiModelInputToolsItem";
|
|
513
521
|
export * from "./PromptAgentApiModelInput";
|
|
@@ -589,6 +597,10 @@ export * from "./SingleUseTokenResponseModel";
|
|
|
589
597
|
export * from "./SingleUseTokenType";
|
|
590
598
|
export * from "./SkipTurnToolConfig";
|
|
591
599
|
export * from "./SkipTurnToolResponseModel";
|
|
600
|
+
export * from "./SoftTimeoutConfig";
|
|
601
|
+
export * from "./SoftTimeoutConfigOverride";
|
|
602
|
+
export * from "./SoftTimeoutConfigOverrideConfig";
|
|
603
|
+
export * from "./SoftTimeoutConfigWorkflowOverride";
|
|
592
604
|
export * from "./SongMetadata";
|
|
593
605
|
export * from "./SongSection";
|
|
594
606
|
export * from "./SortDirection";
|
|
@@ -669,6 +681,8 @@ export * from "./TransferToNumberToolConfigInput";
|
|
|
669
681
|
export * from "./TransferToNumberToolConfigOutput";
|
|
670
682
|
export * from "./TransferTypeEnum";
|
|
671
683
|
export * from "./TurnConfig";
|
|
684
|
+
export * from "./TurnConfigOverride";
|
|
685
|
+
export * from "./TurnConfigOverrideConfig";
|
|
672
686
|
export * from "./TurnConfigWorkflowOverride";
|
|
673
687
|
export * from "./TurnEagerness";
|
|
674
688
|
export * from "./TurnMode";
|
|
@@ -736,6 +750,8 @@ export * from "./WidgetConfig";
|
|
|
736
750
|
export * from "./WidgetConfigOutputAvatar";
|
|
737
751
|
export * from "./WidgetConfigResponseModelAvatar";
|
|
738
752
|
export * from "./WidgetConfigResponse";
|
|
753
|
+
export * from "./WidgetEndFeedbackConfig";
|
|
754
|
+
export * from "./WidgetEndFeedbackType";
|
|
739
755
|
export * from "./WidgetExpandable";
|
|
740
756
|
export * from "./WidgetFeedbackMode";
|
|
741
757
|
export * from "./WidgetLanguagePreset";
|
package/dist/api/types/index.js
CHANGED
|
@@ -118,6 +118,8 @@ __exportStar(require("./ApiIntegrationWebhookOverridesOutputRequestHeadersValue"
|
|
|
118
118
|
__exportStar(require("./ApiIntegrationWebhookOverridesOutput"), exports);
|
|
119
119
|
__exportStar(require("./ApiIntegrationWebhookToolConfigInput"), exports);
|
|
120
120
|
__exportStar(require("./ApiIntegrationWebhookToolConfigOutput"), exports);
|
|
121
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalInput"), exports);
|
|
122
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalOutput"), exports);
|
|
121
123
|
__exportStar(require("./ArrayJsonSchemaPropertyInputItems"), exports);
|
|
122
124
|
__exportStar(require("./ArrayJsonSchemaPropertyInput"), exports);
|
|
123
125
|
__exportStar(require("./ArrayJsonSchemaPropertyOutputItems"), exports);
|
|
@@ -209,6 +211,7 @@ __exportStar(require("./ConversationConfigOverride"), exports);
|
|
|
209
211
|
__exportStar(require("./ConversationConfigOverrideConfig"), exports);
|
|
210
212
|
__exportStar(require("./ConversationConfigWorkflowOverride"), exports);
|
|
211
213
|
__exportStar(require("./ConversationDeletionSettings"), exports);
|
|
214
|
+
__exportStar(require("./ConversationFeedbackType"), exports);
|
|
212
215
|
__exportStar(require("./ConversationHistoryAnalysisCommonModel"), exports);
|
|
213
216
|
__exportStar(require("./ConversationHistoryBatchCallModel"), exports);
|
|
214
217
|
__exportStar(require("./ConversationHistoryElevenAssistantCommonModel"), exports);
|
|
@@ -302,6 +305,7 @@ __exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
|
302
305
|
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
303
306
|
__exportStar(require("./DialogueInput"), exports);
|
|
304
307
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
308
|
+
__exportStar(require("./DiscountResposneModel"), exports);
|
|
305
309
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
306
310
|
__exportStar(require("./DocumentUsageModeEnum"), exports);
|
|
307
311
|
__exportStar(require("./DocxExportOptions"), exports);
|
|
@@ -514,7 +518,9 @@ __exportStar(require("./ProjectExtendedResponseModelSourceType"), exports);
|
|
|
514
518
|
__exportStar(require("./ProjectExtendedResponseModelAspectRatio"), exports);
|
|
515
519
|
__exportStar(require("./ProjectExtendedResponseModelQualityPreset"), exports);
|
|
516
520
|
__exportStar(require("./ProjectExtendedResponseModelApplyTextNormalization"), exports);
|
|
521
|
+
__exportStar(require("./ProjectExtendedResponseModelAssetsItem"), exports);
|
|
517
522
|
__exportStar(require("./ProjectExtendedResponse"), exports);
|
|
523
|
+
__exportStar(require("./ProjectExternalAudioResponseModel"), exports);
|
|
518
524
|
__exportStar(require("./ProjectResponseModelTargetAudience"), exports);
|
|
519
525
|
__exportStar(require("./ProjectResponseModelAccessLevel"), exports);
|
|
520
526
|
__exportStar(require("./ProjectResponseModelFiction"), exports);
|
|
@@ -524,6 +530,8 @@ __exportStar(require("./ProjectResponse"), exports);
|
|
|
524
530
|
__exportStar(require("./ProjectSnapshotExtendedResponseModel"), exports);
|
|
525
531
|
__exportStar(require("./ProjectSnapshotResponse"), exports);
|
|
526
532
|
__exportStar(require("./ProjectSnapshotsResponse"), exports);
|
|
533
|
+
__exportStar(require("./ProjectVideoResponseModel"), exports);
|
|
534
|
+
__exportStar(require("./ProjectVideoThumbnailSheetResponseModel"), exports);
|
|
527
535
|
__exportStar(require("./PromptAgentApiModelInputBackupLlmConfig"), exports);
|
|
528
536
|
__exportStar(require("./PromptAgentApiModelInputToolsItem"), exports);
|
|
529
537
|
__exportStar(require("./PromptAgentApiModelInput"), exports);
|
|
@@ -605,6 +613,10 @@ __exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
|
605
613
|
__exportStar(require("./SingleUseTokenType"), exports);
|
|
606
614
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
607
615
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
616
|
+
__exportStar(require("./SoftTimeoutConfig"), exports);
|
|
617
|
+
__exportStar(require("./SoftTimeoutConfigOverride"), exports);
|
|
618
|
+
__exportStar(require("./SoftTimeoutConfigOverrideConfig"), exports);
|
|
619
|
+
__exportStar(require("./SoftTimeoutConfigWorkflowOverride"), exports);
|
|
608
620
|
__exportStar(require("./SongMetadata"), exports);
|
|
609
621
|
__exportStar(require("./SongSection"), exports);
|
|
610
622
|
__exportStar(require("./SortDirection"), exports);
|
|
@@ -685,6 +697,8 @@ __exportStar(require("./TransferToNumberToolConfigInput"), exports);
|
|
|
685
697
|
__exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
686
698
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
687
699
|
__exportStar(require("./TurnConfig"), exports);
|
|
700
|
+
__exportStar(require("./TurnConfigOverride"), exports);
|
|
701
|
+
__exportStar(require("./TurnConfigOverrideConfig"), exports);
|
|
688
702
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
689
703
|
__exportStar(require("./TurnEagerness"), exports);
|
|
690
704
|
__exportStar(require("./TurnMode"), exports);
|
|
@@ -752,6 +766,8 @@ __exportStar(require("./WidgetConfig"), exports);
|
|
|
752
766
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
753
767
|
__exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
|
|
754
768
|
__exportStar(require("./WidgetConfigResponse"), exports);
|
|
769
|
+
__exportStar(require("./WidgetEndFeedbackConfig"), exports);
|
|
770
|
+
__exportStar(require("./WidgetEndFeedbackType"), exports);
|
|
755
771
|
__exportStar(require("./WidgetExpandable"), exports);
|
|
756
772
|
__exportStar(require("./WidgetFeedbackMode"), exports);
|
|
757
773
|
__exportStar(require("./WidgetLanguagePreset"), exports);
|
|
@@ -41,4 +41,5 @@ const AdhocAgentConfigOverrideForTestRequestModel_1 = require("../../../../../..
|
|
|
41
41
|
exports.RunAgentTestsRequestModel = core.serialization.object({
|
|
42
42
|
tests: core.serialization.list(SingleTestRunRequestModel_1.SingleTestRunRequestModel),
|
|
43
43
|
agentConfigOverride: core.serialization.property("agent_config_override", AdhocAgentConfigOverrideForTestRequestModel_1.AdhocAgentConfigOverrideForTestRequestModel.optional()),
|
|
44
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
44
45
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../../../../../../../../index";
|
|
2
|
+
import * as ElevenLabs from "../../../../../../../../../api/index";
|
|
3
|
+
import * as core from "../../../../../../../../../core";
|
|
4
|
+
import { UserFeedbackScore } from "../../../../../../../../types/UserFeedbackScore";
|
|
5
|
+
export declare const ConversationFeedbackRequestModel: core.serialization.Schema<serializers.conversationalAi.conversations.ConversationFeedbackRequestModel.Raw, ElevenLabs.conversationalAi.conversations.ConversationFeedbackRequestModel>;
|
|
6
|
+
export declare namespace ConversationFeedbackRequestModel {
|
|
7
|
+
interface Raw {
|
|
8
|
+
feedback?: UserFeedbackScore.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ConversationFeedbackRequestModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../../../core"));
|
|
39
39
|
const UserFeedbackScore_1 = require("../../../../../../../../types/UserFeedbackScore");
|
|
40
|
-
exports.
|
|
41
|
-
feedback: UserFeedbackScore_1.UserFeedbackScore,
|
|
40
|
+
exports.ConversationFeedbackRequestModel = core.serialization.object({
|
|
41
|
+
feedback: UserFeedbackScore_1.UserFeedbackScore.optional(),
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ConversationFeedbackRequestModel } from "./ConversationFeedbackRequestModel";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "
|
|
3
|
+
exports.ConversationFeedbackRequestModel = void 0;
|
|
4
|
+
var ConversationFeedbackRequestModel_1 = require("./ConversationFeedbackRequestModel");
|
|
5
|
+
Object.defineProperty(exports, "ConversationFeedbackRequestModel", { enumerable: true, get: function () { return ConversationFeedbackRequestModel_1.ConversationFeedbackRequestModel; } });
|
|
@@ -41,4 +41,5 @@ exports.ResubmitTestsRequestModel = core.serialization.object({
|
|
|
41
41
|
testRunIds: core.serialization.property("test_run_ids", core.serialization.list(core.serialization.string())),
|
|
42
42
|
agentConfigOverride: core.serialization.property("agent_config_override", AdhocAgentConfigOverrideForTestRequestModel_1.AdhocAgentConfigOverrideForTestRequestModel.optional()),
|
|
43
43
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
44
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
44
45
|
});
|
|
@@ -38,5 +38,6 @@ exports.AgentMetadata = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.AgentMetadata = core.serialization.object({
|
|
40
40
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
41
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
41
42
|
workflowNodeId: core.serialization.property("workflow_node_id", core.serialization.string().optional()),
|
|
42
43
|
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
|
|
5
|
+
import { ToolCallSoundType } from "./ToolCallSoundType";
|
|
6
|
+
import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
|
|
7
|
+
import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
|
|
8
|
+
import { ToolExecutionMode } from "./ToolExecutionMode";
|
|
9
|
+
import { ApiIntegrationWebhookOverridesInput } from "./ApiIntegrationWebhookOverridesInput";
|
|
10
|
+
import { WebhookToolApiSchemaConfigInput } from "./WebhookToolApiSchemaConfigInput";
|
|
11
|
+
export declare const ApiIntegrationWebhookToolConfigExternalInput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookToolConfigExternalInput.Raw, ElevenLabs.ApiIntegrationWebhookToolConfigExternalInput>;
|
|
12
|
+
export declare namespace ApiIntegrationWebhookToolConfigExternalInput {
|
|
13
|
+
interface Raw {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
response_timeout_secs?: number | null;
|
|
17
|
+
disable_interruptions?: boolean | null;
|
|
18
|
+
force_pre_tool_speech?: boolean | null;
|
|
19
|
+
assignments?: DynamicVariableAssignment.Raw[] | null;
|
|
20
|
+
tool_call_sound?: ToolCallSoundType.Raw | null;
|
|
21
|
+
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
|
|
22
|
+
dynamic_variables?: DynamicVariablesConfig.Raw | null;
|
|
23
|
+
execution_mode?: ToolExecutionMode.Raw | null;
|
|
24
|
+
tool_version?: string | null;
|
|
25
|
+
api_integration_id: string;
|
|
26
|
+
api_integration_connection_id: string;
|
|
27
|
+
api_schema_overrides?: ApiIntegrationWebhookOverridesInput.Raw | null;
|
|
28
|
+
base_api_schema: WebhookToolApiSchemaConfigInput.Raw;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ApiIntegrationWebhookToolConfigExternalInput = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
|
|
40
|
+
const ToolCallSoundType_1 = require("./ToolCallSoundType");
|
|
41
|
+
const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
|
|
42
|
+
const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
|
|
43
|
+
const ToolExecutionMode_1 = require("./ToolExecutionMode");
|
|
44
|
+
const ApiIntegrationWebhookOverridesInput_1 = require("./ApiIntegrationWebhookOverridesInput");
|
|
45
|
+
const WebhookToolApiSchemaConfigInput_1 = require("./WebhookToolApiSchemaConfigInput");
|
|
46
|
+
exports.ApiIntegrationWebhookToolConfigExternalInput = core.serialization.object({
|
|
47
|
+
name: core.serialization.string(),
|
|
48
|
+
description: core.serialization.string(),
|
|
49
|
+
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
50
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
51
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
52
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
|
|
53
|
+
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
54
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
|
|
55
|
+
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
|
|
56
|
+
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
57
|
+
toolVersion: core.serialization.property("tool_version", core.serialization.string().optional()),
|
|
58
|
+
apiIntegrationId: core.serialization.property("api_integration_id", core.serialization.string()),
|
|
59
|
+
apiIntegrationConnectionId: core.serialization.property("api_integration_connection_id", core.serialization.string()),
|
|
60
|
+
apiSchemaOverrides: core.serialization.property("api_schema_overrides", ApiIntegrationWebhookOverridesInput_1.ApiIntegrationWebhookOverridesInput.optional()),
|
|
61
|
+
baseApiSchema: core.serialization.property("base_api_schema", WebhookToolApiSchemaConfigInput_1.WebhookToolApiSchemaConfigInput),
|
|
62
|
+
});
|