@elevenlabs/elevenlabs-js 2.22.0 → 2.24.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 +33 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +12 -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/mcpServers/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +64 -0
- 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/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- 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 +2 -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 +4 -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/ProjectVoiceResponseModel.d.ts +11 -0
- package/api/types/ProjectVoiceResponseModel.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/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigInputContentType.d.ts +6 -0
- package/api/types/WebhookToolApiSchemaConfigInputContentType.js +9 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +6 -0
- package/api/types/WebhookToolApiSchemaConfigOutputContentType.js +9 -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 +19 -0
- package/api/types/index.js +19 -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 +33 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +12 -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/mcpServers/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +64 -0
- 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/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- 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 +2 -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 +4 -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/ProjectVoiceResponseModel.d.ts +11 -0
- package/dist/api/types/ProjectVoiceResponseModel.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/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputContentType.d.ts +6 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputContentType.js +9 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +6 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputContentType.js +9 -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 +19 -0
- package/dist/api/types/index.js +19 -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/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- 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 +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -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 +4 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +4 -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/ProjectVoiceResponseModel.d.ts +17 -0
- package/dist/serialization/types/ProjectVoiceResponseModel.js +49 -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/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputContentType.d.ts +7 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputContentType.js +39 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +7 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputContentType.js +39 -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 +19 -0
- package/dist/serialization/types/index.js +19 -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 +114 -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/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- 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 +2 -0
- package/serialization/types/ConversationSummaryResponseModel.js +2 -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 +4 -0
- package/serialization/types/ProjectExtendedResponse.js +4 -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/ProjectVoiceResponseModel.d.ts +17 -0
- package/serialization/types/ProjectVoiceResponseModel.js +49 -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/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputContentType.d.ts +7 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputContentType.js +39 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +7 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputContentType.js +39 -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 +19 -0
- package/serialization/types/index.js +19 -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,34 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* When consumed by clients it convenient to include the base API schema even though
|
|
4
|
+
* the stored tool config does not include it.
|
|
5
|
+
*/
|
|
6
|
+
export interface ApiIntegrationWebhookToolConfigExternalInput {
|
|
7
|
+
name: string;
|
|
8
|
+
/** Description of when the tool should be used and what it does. */
|
|
9
|
+
description: string;
|
|
10
|
+
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
11
|
+
responseTimeoutSecs?: number;
|
|
12
|
+
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
13
|
+
disableInterruptions?: boolean;
|
|
14
|
+
/** If true, the agent will speak before the tool call. */
|
|
15
|
+
forcePreToolSpeech?: boolean;
|
|
16
|
+
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
17
|
+
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
18
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
19
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
20
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
21
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
22
|
+
/** Configuration for dynamic variables */
|
|
23
|
+
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
24
|
+
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
25
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** The version of the API integration tool */
|
|
27
|
+
toolVersion?: string;
|
|
28
|
+
apiIntegrationId: string;
|
|
29
|
+
apiIntegrationConnectionId: string;
|
|
30
|
+
/** User overrides applied on top of the base api_schema */
|
|
31
|
+
apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesInput;
|
|
32
|
+
/** The base API schema from the integration definition */
|
|
33
|
+
baseApiSchema: ElevenLabs.WebhookToolApiSchemaConfigInput;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* When consumed by clients it convenient to include the base API schema even though
|
|
4
|
+
* the stored tool config does not include it.
|
|
5
|
+
*/
|
|
6
|
+
export interface ApiIntegrationWebhookToolConfigExternalOutput {
|
|
7
|
+
name: string;
|
|
8
|
+
/** Description of when the tool should be used and what it does. */
|
|
9
|
+
description: string;
|
|
10
|
+
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
11
|
+
responseTimeoutSecs: number;
|
|
12
|
+
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
13
|
+
disableInterruptions: boolean;
|
|
14
|
+
/** If true, the agent will speak before the tool call. */
|
|
15
|
+
forcePreToolSpeech: boolean;
|
|
16
|
+
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
17
|
+
assignments: ElevenLabs.DynamicVariableAssignment[];
|
|
18
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
19
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
20
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
21
|
+
toolCallSoundBehavior: ElevenLabs.ToolCallSoundBehavior;
|
|
22
|
+
/** Configuration for dynamic variables */
|
|
23
|
+
dynamicVariables: ElevenLabs.DynamicVariablesConfig;
|
|
24
|
+
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
25
|
+
executionMode: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** The version of the API integration tool */
|
|
27
|
+
toolVersion: string;
|
|
28
|
+
apiIntegrationId: string;
|
|
29
|
+
apiIntegrationConnectionId: string;
|
|
30
|
+
/** User overrides applied on top of the base api_schema */
|
|
31
|
+
apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesOutput;
|
|
32
|
+
/** The base API schema from the integration definition */
|
|
33
|
+
baseApiSchema: ElevenLabs.WebhookToolApiSchemaConfigOutput;
|
|
34
|
+
}
|
|
@@ -4,23 +4,23 @@ export interface ApiIntegrationWebhookToolConfigOutput {
|
|
|
4
4
|
/** Description of when the tool should be used and what it does. */
|
|
5
5
|
description: string;
|
|
6
6
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
7
|
-
responseTimeoutSecs
|
|
7
|
+
responseTimeoutSecs: number;
|
|
8
8
|
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
9
|
-
disableInterruptions
|
|
9
|
+
disableInterruptions: boolean;
|
|
10
10
|
/** If true, the agent will speak before the tool call. */
|
|
11
|
-
forcePreToolSpeech
|
|
11
|
+
forcePreToolSpeech: boolean;
|
|
12
12
|
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
13
|
-
assignments
|
|
13
|
+
assignments: ElevenLabs.DynamicVariableAssignment[];
|
|
14
14
|
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
15
15
|
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
16
16
|
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
17
|
-
toolCallSoundBehavior
|
|
17
|
+
toolCallSoundBehavior: ElevenLabs.ToolCallSoundBehavior;
|
|
18
18
|
/** Configuration for dynamic variables */
|
|
19
|
-
dynamicVariables
|
|
19
|
+
dynamicVariables: ElevenLabs.DynamicVariablesConfig;
|
|
20
20
|
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
21
|
-
executionMode
|
|
21
|
+
executionMode: ElevenLabs.ToolExecutionMode;
|
|
22
22
|
/** The version of the API integration tool */
|
|
23
|
-
toolVersion
|
|
23
|
+
toolVersion: string;
|
|
24
24
|
apiIntegrationId: string;
|
|
25
25
|
apiIntegrationConnectionId: string;
|
|
26
26
|
/** User overrides applied on top of the base api_schema */
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AsrProvider = void 0;
|
|
5
|
+
exports.AsrProvider = {
|
|
6
|
+
Elevenlabs: "elevenlabs",
|
|
7
|
+
ScribeRealtime: "scribe_realtime",
|
|
8
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationConfigClientOverrideConfigInput {
|
|
3
|
+
/** Configures overrides for nested fields. */
|
|
4
|
+
turn?: ElevenLabs.TurnConfigOverrideConfig;
|
|
3
5
|
/** Configures overrides for nested fields. */
|
|
4
6
|
tts?: ElevenLabs.TtsConversationalConfigOverrideConfig;
|
|
5
7
|
/** Configures overrides for nested fields. */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationConfigClientOverrideConfigOutput {
|
|
3
|
+
/** Configures overrides for nested fields. */
|
|
4
|
+
turn?: ElevenLabs.TurnConfigOverrideConfig;
|
|
3
5
|
/** Configures overrides for nested fields. */
|
|
4
6
|
tts?: ElevenLabs.TtsConversationalConfigOverrideConfig;
|
|
5
7
|
/** Configures overrides for nested fields. */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationConfigClientOverrideInput {
|
|
3
|
+
/** Configuration for turn detection */
|
|
4
|
+
turn?: ElevenLabs.TurnConfigOverride;
|
|
3
5
|
/** Configuration for conversational text to speech */
|
|
4
6
|
tts?: ElevenLabs.TtsConversationalConfigOverride;
|
|
5
7
|
/** Configuration for conversational events */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationConfigClientOverrideOutput {
|
|
3
|
+
/** Configuration for turn detection */
|
|
4
|
+
turn?: ElevenLabs.TurnConfigOverride;
|
|
3
5
|
/** Configuration for conversational text to speech */
|
|
4
6
|
tts?: ElevenLabs.TtsConversationalConfigOverride;
|
|
5
7
|
/** Configuration for conversational events */
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ConversationFeedbackType = void 0;
|
|
5
|
+
exports.ConversationFeedbackType = {
|
|
6
|
+
Thumbs: "thumbs",
|
|
7
|
+
Rating: "rating",
|
|
8
|
+
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationHistoryFeedbackCommonModel {
|
|
3
|
+
type?: ElevenLabs.ConversationFeedbackType;
|
|
3
4
|
overallScore?: ElevenLabs.UserFeedbackScore;
|
|
4
5
|
likes?: number;
|
|
5
6
|
dislikes?: number;
|
|
7
|
+
rating?: number;
|
|
8
|
+
comment?: string;
|
|
6
9
|
}
|
|
@@ -2,5 +2,6 @@ export declare const ConversationHistoryTranscriptOtherToolsResultCommonModelTyp
|
|
|
2
2
|
readonly Client: "client";
|
|
3
3
|
readonly Webhook: "webhook";
|
|
4
4
|
readonly Mcp: "mcp";
|
|
5
|
+
readonly ApiIntegrationWebhook: "api_integration_webhook";
|
|
5
6
|
};
|
|
6
7
|
export type ConversationHistoryTranscriptOtherToolsResultCommonModelType = (typeof ConversationHistoryTranscriptOtherToolsResultCommonModelType)[keyof typeof ConversationHistoryTranscriptOtherToolsResultCommonModelType];
|
|
@@ -13,5 +13,6 @@ export declare const ConversationInitiationSource: {
|
|
|
13
13
|
readonly Genesys: "genesys";
|
|
14
14
|
readonly SwiftSdk: "swift_sdk";
|
|
15
15
|
readonly Whatsapp: "whatsapp";
|
|
16
|
+
readonly FlutterSdk: "flutter_sdk";
|
|
16
17
|
};
|
|
17
18
|
export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConversationSummaryResponseModel {
|
|
3
3
|
agentId: string;
|
|
4
|
+
branchId?: string;
|
|
4
5
|
agentName?: string;
|
|
5
6
|
conversationId: string;
|
|
6
7
|
startTimeUnixSecs: number;
|
|
@@ -11,4 +12,5 @@ export interface ConversationSummaryResponseModel {
|
|
|
11
12
|
transcriptSummary?: string;
|
|
12
13
|
callSummaryTitle?: string;
|
|
13
14
|
direction?: ElevenLabs.ConversationSummaryResponseModelDirection;
|
|
15
|
+
rating?: number;
|
|
14
16
|
}
|
|
@@ -18,4 +18,8 @@ export interface GetAgentResponseModel {
|
|
|
18
18
|
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
19
19
|
/** Agent tags used to categorize the agent */
|
|
20
20
|
tags?: string[];
|
|
21
|
+
/** The ID of the version the agent is on */
|
|
22
|
+
versionId?: string;
|
|
23
|
+
/** The ID of the branch the agent is on */
|
|
24
|
+
branchId?: string;
|
|
21
25
|
}
|
|
@@ -4,6 +4,7 @@ export interface GetConversationResponseModel {
|
|
|
4
4
|
conversationId: string;
|
|
5
5
|
status: ElevenLabs.GetConversationResponseModelStatus;
|
|
6
6
|
userId?: string;
|
|
7
|
+
branchId?: string;
|
|
7
8
|
transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
8
9
|
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
|
|
9
10
|
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
|
|
@@ -6,10 +6,12 @@ export interface InvoiceResponse {
|
|
|
6
6
|
subtotalCents?: number;
|
|
7
7
|
/** The tax amount in cents. */
|
|
8
8
|
taxCents?: number;
|
|
9
|
-
/** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
|
|
9
|
+
/** Deprecated. Use [discounts] instead. The discount applied to the invoice. E.g. [20.0f] for 20% off. */
|
|
10
10
|
discountPercentOff?: number;
|
|
11
|
-
/** The discount applied to the invoice. E.g. [20.0f] for 20
|
|
11
|
+
/** Deprecated. Use [discounts] instead. The discount applied to the invoice. E.g. [20.0f] for 20 cents off. */
|
|
12
12
|
discountAmountOff?: number;
|
|
13
|
+
/** The discounts applied to the invoice. */
|
|
14
|
+
discounts: ElevenLabs.DiscountResposneModel[];
|
|
13
15
|
/** The Unix timestamp of the next payment attempt. */
|
|
14
16
|
nextPaymentAttemptUnix: number;
|
|
15
17
|
/** The status of this invoice's payment intent. None when there is no payment intent. */
|
|
@@ -4,4 +4,6 @@ export interface LanguagePresetInput {
|
|
|
4
4
|
overrides: ElevenLabs.ConversationConfigClientOverrideInput;
|
|
5
5
|
/** The translation of the first message */
|
|
6
6
|
firstMessageTranslation?: ElevenLabs.LanguagePresetTranslation;
|
|
7
|
+
/** The translation of the soft timeout message */
|
|
8
|
+
softTimeoutTranslation?: ElevenLabs.LanguagePresetTranslation;
|
|
7
9
|
}
|
|
@@ -4,4 +4,6 @@ export interface LanguagePresetOutput {
|
|
|
4
4
|
overrides: ElevenLabs.ConversationConfigClientOverrideOutput;
|
|
5
5
|
/** The translation of the first message */
|
|
6
6
|
firstMessageTranslation?: ElevenLabs.LanguagePresetTranslation;
|
|
7
|
+
/** The translation of the soft timeout message */
|
|
8
|
+
softTimeoutTranslation?: ElevenLabs.LanguagePresetTranslation;
|
|
7
9
|
}
|
|
@@ -78,4 +78,8 @@ export interface ProjectExtendedResponse {
|
|
|
78
78
|
applyTextNormalization: ElevenLabs.ProjectExtendedResponseModelApplyTextNormalization;
|
|
79
79
|
/** Experimental features for the project. */
|
|
80
80
|
experimental?: Record<string, unknown>;
|
|
81
|
+
/** List of uploaded assets e.g. videos, audios. */
|
|
82
|
+
assets: ElevenLabs.ProjectExtendedResponseModelAssetsItem[];
|
|
83
|
+
/** List of configured project voices. */
|
|
84
|
+
voices: ElevenLabs.ProjectVoiceResponseModel[];
|
|
81
85
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export type ProjectExtendedResponseModelAssetsItem = ElevenLabs.ProjectExtendedResponseModelAssetsItem.Video | ElevenLabs.ProjectExtendedResponseModelAssetsItem.Audio;
|
|
3
|
+
export declare namespace ProjectExtendedResponseModelAssetsItem {
|
|
4
|
+
interface Video extends ElevenLabs.ProjectVideoResponseModel {
|
|
5
|
+
type: "video";
|
|
6
|
+
}
|
|
7
|
+
interface Audio extends ElevenLabs.ProjectExternalAudioResponseModel {
|
|
8
|
+
type: "audio";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ProjectExternalAudioResponseModel {
|
|
2
|
+
externalAudioId: string;
|
|
3
|
+
filename: string;
|
|
4
|
+
signedUrl: string;
|
|
5
|
+
offsetMs: number;
|
|
6
|
+
durationMs: number;
|
|
7
|
+
startTimeMs: number;
|
|
8
|
+
endTimeMs: number;
|
|
9
|
+
order: string;
|
|
10
|
+
trackId: string;
|
|
11
|
+
createdAtMs: number;
|
|
12
|
+
updatedAtMs: number;
|
|
13
|
+
volumeGainDb?: number;
|
|
14
|
+
muted?: boolean;
|
|
15
|
+
fadeInMs?: number;
|
|
16
|
+
fadeOutMs?: number;
|
|
17
|
+
sourceExternalAudioId?: string;
|
|
18
|
+
sourceAssetId?: string;
|
|
19
|
+
pendingBlockIds: string[];
|
|
20
|
+
importSpeechProgress?: number;
|
|
21
|
+
speechImported?: boolean;
|
|
22
|
+
currentSnapshotId?: string;
|
|
23
|
+
}
|
|
@@ -13,4 +13,6 @@ export interface ProjectSnapshotExtendedResponseModel {
|
|
|
13
13
|
/** (Deprecated) */
|
|
14
14
|
zipUpload?: Record<string, unknown>;
|
|
15
15
|
characterAlignments: ElevenLabs.CharacterAlignmentModel[];
|
|
16
|
+
/** The total duration of the audio in seconds. */
|
|
17
|
+
audioDurationSecs: number;
|
|
16
18
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface ProjectVideoResponseModel {
|
|
3
|
+
videoId: string;
|
|
4
|
+
filename: string;
|
|
5
|
+
signedUrl: string;
|
|
6
|
+
signedPreviewUrl?: string;
|
|
7
|
+
offsetMs: number;
|
|
8
|
+
durationMs: number;
|
|
9
|
+
volumeGainDb: number;
|
|
10
|
+
muted: boolean;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
codec: string;
|
|
14
|
+
order: string;
|
|
15
|
+
previewJobProgress: number;
|
|
16
|
+
createdAtMs: number;
|
|
17
|
+
updatedAtMs: number;
|
|
18
|
+
error?: string;
|
|
19
|
+
thumbnailIntervalSeconds: number;
|
|
20
|
+
thumbnailSize: number[];
|
|
21
|
+
thumbnailSheets: ElevenLabs.ProjectVideoThumbnailSheetResponseModel[];
|
|
22
|
+
startTimeMs: number;
|
|
23
|
+
endTimeMs: number;
|
|
24
|
+
assetPreviewSignedUrl?: string;
|
|
25
|
+
sourceVideoId?: string;
|
|
26
|
+
sourceAssetId?: string;
|
|
27
|
+
pendingBlockIds: string[];
|
|
28
|
+
importSpeechProgress?: number;
|
|
29
|
+
speechImported?: boolean;
|
|
30
|
+
currentSnapshotId?: string;
|
|
31
|
+
}
|
|
@@ -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
|
}
|