@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
package/api/types/index.d.ts
CHANGED
|
@@ -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,9 @@ 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";
|
|
519
|
+
export * from "./ProjectVoiceResponseModel";
|
|
511
520
|
export * from "./PromptAgentApiModelInputBackupLlmConfig";
|
|
512
521
|
export * from "./PromptAgentApiModelInputToolsItem";
|
|
513
522
|
export * from "./PromptAgentApiModelInput";
|
|
@@ -589,6 +598,10 @@ export * from "./SingleUseTokenResponseModel";
|
|
|
589
598
|
export * from "./SingleUseTokenType";
|
|
590
599
|
export * from "./SkipTurnToolConfig";
|
|
591
600
|
export * from "./SkipTurnToolResponseModel";
|
|
601
|
+
export * from "./SoftTimeoutConfig";
|
|
602
|
+
export * from "./SoftTimeoutConfigOverride";
|
|
603
|
+
export * from "./SoftTimeoutConfigOverrideConfig";
|
|
604
|
+
export * from "./SoftTimeoutConfigWorkflowOverride";
|
|
592
605
|
export * from "./SongMetadata";
|
|
593
606
|
export * from "./SongSection";
|
|
594
607
|
export * from "./SortDirection";
|
|
@@ -669,6 +682,8 @@ export * from "./TransferToNumberToolConfigInput";
|
|
|
669
682
|
export * from "./TransferToNumberToolConfigOutput";
|
|
670
683
|
export * from "./TransferTypeEnum";
|
|
671
684
|
export * from "./TurnConfig";
|
|
685
|
+
export * from "./TurnConfigOverride";
|
|
686
|
+
export * from "./TurnConfigOverrideConfig";
|
|
672
687
|
export * from "./TurnConfigWorkflowOverride";
|
|
673
688
|
export * from "./TurnEagerness";
|
|
674
689
|
export * from "./TurnMode";
|
|
@@ -723,9 +738,11 @@ export * from "./WebhookAuthMethodType";
|
|
|
723
738
|
export * from "./WebhookEventType";
|
|
724
739
|
export * from "./WebhookToolApiSchemaConfigInputMethod";
|
|
725
740
|
export * from "./WebhookToolApiSchemaConfigInputRequestHeadersValue";
|
|
741
|
+
export * from "./WebhookToolApiSchemaConfigInputContentType";
|
|
726
742
|
export * from "./WebhookToolApiSchemaConfigInput";
|
|
727
743
|
export * from "./WebhookToolApiSchemaConfigOutputMethod";
|
|
728
744
|
export * from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
|
|
745
|
+
export * from "./WebhookToolApiSchemaConfigOutputContentType";
|
|
729
746
|
export * from "./WebhookToolApiSchemaConfigOutput";
|
|
730
747
|
export * from "./WebhookToolConfigInput";
|
|
731
748
|
export * from "./WebhookToolConfigOutput";
|
|
@@ -736,6 +753,8 @@ export * from "./WidgetConfig";
|
|
|
736
753
|
export * from "./WidgetConfigOutputAvatar";
|
|
737
754
|
export * from "./WidgetConfigResponseModelAvatar";
|
|
738
755
|
export * from "./WidgetConfigResponse";
|
|
756
|
+
export * from "./WidgetEndFeedbackConfig";
|
|
757
|
+
export * from "./WidgetEndFeedbackType";
|
|
739
758
|
export * from "./WidgetExpandable";
|
|
740
759
|
export * from "./WidgetFeedbackMode";
|
|
741
760
|
export * from "./WidgetLanguagePreset";
|
package/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,9 @@ __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);
|
|
535
|
+
__exportStar(require("./ProjectVoiceResponseModel"), exports);
|
|
527
536
|
__exportStar(require("./PromptAgentApiModelInputBackupLlmConfig"), exports);
|
|
528
537
|
__exportStar(require("./PromptAgentApiModelInputToolsItem"), exports);
|
|
529
538
|
__exportStar(require("./PromptAgentApiModelInput"), exports);
|
|
@@ -605,6 +614,10 @@ __exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
|
605
614
|
__exportStar(require("./SingleUseTokenType"), exports);
|
|
606
615
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
607
616
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
617
|
+
__exportStar(require("./SoftTimeoutConfig"), exports);
|
|
618
|
+
__exportStar(require("./SoftTimeoutConfigOverride"), exports);
|
|
619
|
+
__exportStar(require("./SoftTimeoutConfigOverrideConfig"), exports);
|
|
620
|
+
__exportStar(require("./SoftTimeoutConfigWorkflowOverride"), exports);
|
|
608
621
|
__exportStar(require("./SongMetadata"), exports);
|
|
609
622
|
__exportStar(require("./SongSection"), exports);
|
|
610
623
|
__exportStar(require("./SortDirection"), exports);
|
|
@@ -685,6 +698,8 @@ __exportStar(require("./TransferToNumberToolConfigInput"), exports);
|
|
|
685
698
|
__exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
686
699
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
687
700
|
__exportStar(require("./TurnConfig"), exports);
|
|
701
|
+
__exportStar(require("./TurnConfigOverride"), exports);
|
|
702
|
+
__exportStar(require("./TurnConfigOverrideConfig"), exports);
|
|
688
703
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
689
704
|
__exportStar(require("./TurnEagerness"), exports);
|
|
690
705
|
__exportStar(require("./TurnMode"), exports);
|
|
@@ -739,9 +754,11 @@ __exportStar(require("./WebhookAuthMethodType"), exports);
|
|
|
739
754
|
__exportStar(require("./WebhookEventType"), exports);
|
|
740
755
|
__exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
|
|
741
756
|
__exportStar(require("./WebhookToolApiSchemaConfigInputRequestHeadersValue"), exports);
|
|
757
|
+
__exportStar(require("./WebhookToolApiSchemaConfigInputContentType"), exports);
|
|
742
758
|
__exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
|
|
743
759
|
__exportStar(require("./WebhookToolApiSchemaConfigOutputMethod"), exports);
|
|
744
760
|
__exportStar(require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue"), exports);
|
|
761
|
+
__exportStar(require("./WebhookToolApiSchemaConfigOutputContentType"), exports);
|
|
745
762
|
__exportStar(require("./WebhookToolApiSchemaConfigOutput"), exports);
|
|
746
763
|
__exportStar(require("./WebhookToolConfigInput"), exports);
|
|
747
764
|
__exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
@@ -752,6 +769,8 @@ __exportStar(require("./WidgetConfig"), exports);
|
|
|
752
769
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
753
770
|
__exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
|
|
754
771
|
__exportStar(require("./WidgetConfigResponse"), exports);
|
|
772
|
+
__exportStar(require("./WidgetEndFeedbackConfig"), exports);
|
|
773
|
+
__exportStar(require("./WidgetEndFeedbackType"), exports);
|
|
755
774
|
__exportStar(require("./WidgetExpandable"), exports);
|
|
756
775
|
__exportStar(require("./WidgetFeedbackMode"), exports);
|
|
757
776
|
__exportStar(require("./WidgetLanguagePreset"), exports);
|
package/dist/Client.js
CHANGED
|
@@ -78,8 +78,8 @@ class ElevenLabsClient {
|
|
|
78
78
|
"xi-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
81
|
-
"X-Fern-SDK-Version": "v2.
|
|
82
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
81
|
+
"X-Fern-SDK-Version": "v2.24.0",
|
|
82
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.24.0",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -12,4 +12,6 @@ export interface RunAgentTestsRequestModel {
|
|
|
12
12
|
tests: ElevenLabs.SingleTestRunRequestModel[];
|
|
13
13
|
/** Configuration overrides to use for testing. If not provided, the agent's default configuration will be used. */
|
|
14
14
|
agentConfigOverride?: ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel;
|
|
15
|
+
/** ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration. */
|
|
16
|
+
branchId?: string;
|
|
15
17
|
}
|
|
@@ -241,6 +241,8 @@ class Conversations {
|
|
|
241
241
|
* callSuccessful: "success",
|
|
242
242
|
* callStartBeforeUnix: 1,
|
|
243
243
|
* callStartAfterUnix: 1,
|
|
244
|
+
* callDurationMinSecs: 1,
|
|
245
|
+
* callDurationMaxSecs: 1,
|
|
244
246
|
* userId: "user_id",
|
|
245
247
|
* pageSize: 1,
|
|
246
248
|
* summaryMode: "exclude",
|
|
@@ -253,7 +255,7 @@ class Conversations {
|
|
|
253
255
|
__list() {
|
|
254
256
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
255
257
|
var _a, _b, _c, _d, _e;
|
|
256
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, userId, pageSize, summaryMode, search, } = request;
|
|
258
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, userId, evaluationParams, dataCollectionParams, toolNames, pageSize, summaryMode, search, } = request;
|
|
257
259
|
const _queryParams = {};
|
|
258
260
|
if (cursor != null) {
|
|
259
261
|
_queryParams["cursor"] = cursor;
|
|
@@ -272,9 +274,39 @@ class Conversations {
|
|
|
272
274
|
if (callStartAfterUnix != null) {
|
|
273
275
|
_queryParams["call_start_after_unix"] = callStartAfterUnix.toString();
|
|
274
276
|
}
|
|
277
|
+
if (callDurationMinSecs != null) {
|
|
278
|
+
_queryParams["call_duration_min_secs"] = callDurationMinSecs.toString();
|
|
279
|
+
}
|
|
280
|
+
if (callDurationMaxSecs != null) {
|
|
281
|
+
_queryParams["call_duration_max_secs"] = callDurationMaxSecs.toString();
|
|
282
|
+
}
|
|
275
283
|
if (userId != null) {
|
|
276
284
|
_queryParams["user_id"] = userId;
|
|
277
285
|
}
|
|
286
|
+
if (evaluationParams != null) {
|
|
287
|
+
if (Array.isArray(evaluationParams)) {
|
|
288
|
+
_queryParams["evaluation_params"] = evaluationParams.map((item) => item);
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
_queryParams["evaluation_params"] = evaluationParams;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
if (dataCollectionParams != null) {
|
|
295
|
+
if (Array.isArray(dataCollectionParams)) {
|
|
296
|
+
_queryParams["data_collection_params"] = dataCollectionParams.map((item) => item);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
_queryParams["data_collection_params"] = dataCollectionParams;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
if (toolNames != null) {
|
|
303
|
+
if (Array.isArray(toolNames)) {
|
|
304
|
+
_queryParams["tool_names"] = toolNames.map((item) => item);
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
_queryParams["tool_names"] = toolNames;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
278
310
|
if (pageSize != null) {
|
|
279
311
|
_queryParams["page_size"] = pageSize.toString();
|
|
280
312
|
}
|
|
@@ -7,6 +7,8 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
7
7
|
* callSuccessful: "success",
|
|
8
8
|
* callStartBeforeUnix: 1,
|
|
9
9
|
* callStartAfterUnix: 1,
|
|
10
|
+
* callDurationMinSecs: 1,
|
|
11
|
+
* callDurationMaxSecs: 1,
|
|
10
12
|
* userId: "user_id",
|
|
11
13
|
* pageSize: 1,
|
|
12
14
|
* summaryMode: "exclude",
|
|
@@ -24,8 +26,18 @@ export interface ConversationsListRequest {
|
|
|
24
26
|
callStartBeforeUnix?: number;
|
|
25
27
|
/** Unix timestamp (in seconds) to filter conversations after to this start date. */
|
|
26
28
|
callStartAfterUnix?: number;
|
|
29
|
+
/** Minimum call duration in seconds. */
|
|
30
|
+
callDurationMinSecs?: number;
|
|
31
|
+
/** Maximum call duration in seconds. */
|
|
32
|
+
callDurationMaxSecs?: number;
|
|
27
33
|
/** Filter conversations by the user ID who initiated them. */
|
|
28
34
|
userId?: string;
|
|
35
|
+
/** Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success */
|
|
36
|
+
evaluationParams?: string | string[];
|
|
37
|
+
/** Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values. */
|
|
38
|
+
dataCollectionParams?: string | string[];
|
|
39
|
+
/** Filter conversations by tool names used during the call. */
|
|
40
|
+
toolNames?: string | string[];
|
|
29
41
|
/** How many conversations to return at maximum. Can not exceed 100, defaults to 30. */
|
|
30
42
|
pageSize?: number;
|
|
31
43
|
/** Whether to include transcript summaries in the response. */
|
|
@@ -33,7 +33,7 @@ export declare class Feedback {
|
|
|
33
33
|
* Send the feedback for the given conversation
|
|
34
34
|
*
|
|
35
35
|
* @param {string} conversationId - The id of the conversation you're taking the action on.
|
|
36
|
-
* @param {ElevenLabs.conversationalAi.conversations.
|
|
36
|
+
* @param {ElevenLabs.conversationalAi.conversations.ConversationFeedbackRequestModel} request
|
|
37
37
|
* @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -43,6 +43,6 @@ export declare class Feedback {
|
|
|
43
43
|
* feedback: "like"
|
|
44
44
|
* })
|
|
45
45
|
*/
|
|
46
|
-
create(conversationId: string, request
|
|
46
|
+
create(conversationId: string, request?: ElevenLabs.conversationalAi.conversations.ConversationFeedbackRequestModel, requestOptions?: Feedback.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
47
47
|
private __create;
|
|
48
48
|
}
|
|
@@ -58,7 +58,7 @@ class Feedback {
|
|
|
58
58
|
* Send the feedback for the given conversation
|
|
59
59
|
*
|
|
60
60
|
* @param {string} conversationId - The id of the conversation you're taking the action on.
|
|
61
|
-
* @param {ElevenLabs.conversationalAi.conversations.
|
|
61
|
+
* @param {ElevenLabs.conversationalAi.conversations.ConversationFeedbackRequestModel} request
|
|
62
62
|
* @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -68,11 +68,11 @@ class Feedback {
|
|
|
68
68
|
* feedback: "like"
|
|
69
69
|
* })
|
|
70
70
|
*/
|
|
71
|
-
create(conversationId, request, requestOptions) {
|
|
71
|
+
create(conversationId, request = {}, requestOptions) {
|
|
72
72
|
return core.HttpResponsePromise.fromPromise(this.__create(conversationId, request, requestOptions));
|
|
73
73
|
}
|
|
74
|
-
__create(
|
|
75
|
-
return __awaiter(this,
|
|
74
|
+
__create(conversationId_1) {
|
|
75
|
+
return __awaiter(this, arguments, void 0, function* (conversationId, request = {}, requestOptions) {
|
|
76
76
|
var _a, _b, _c, _d, _e;
|
|
77
77
|
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
78
78
|
const _response = yield core.fetcher({
|
|
@@ -82,7 +82,9 @@ class Feedback {
|
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
84
|
requestType: "json",
|
|
85
|
-
body: serializers.conversationalAi.conversations.
|
|
85
|
+
body: serializers.conversationalAi.conversations.ConversationFeedbackRequestModel.jsonOrThrow(request, {
|
|
86
|
+
unrecognizedObjectKeys: "strip",
|
|
87
|
+
}),
|
|
86
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
87
89
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
88
90
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../../../../../../../../index";
|
|
|
5
5
|
* feedback: "like"
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface ConversationFeedbackRequestModel {
|
|
9
9
|
/** Either 'like' or 'dislike' to indicate the feedback for the conversation. */
|
|
10
|
-
feedback
|
|
10
|
+
feedback?: ElevenLabs.UserFeedbackScore;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type ConversationFeedbackRequestModel } from "./ConversationFeedbackRequestModel";
|
|
@@ -84,6 +84,19 @@ export declare class McpServers {
|
|
|
84
84
|
*/
|
|
85
85
|
get(mcpServerId: string, requestOptions?: McpServers.RequestOptions): core.HttpResponsePromise<ElevenLabs.McpServerResponseModel>;
|
|
86
86
|
private __get;
|
|
87
|
+
/**
|
|
88
|
+
* Delete a specific MCP server configuration from the workspace.
|
|
89
|
+
*
|
|
90
|
+
* @param {string} mcpServerId - ID of the MCP Server.
|
|
91
|
+
* @param {McpServers.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.conversationalAi.mcpServers.delete("mcp_server_id")
|
|
97
|
+
*/
|
|
98
|
+
delete(mcpServerId: string, requestOptions?: McpServers.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
99
|
+
private __delete;
|
|
87
100
|
/**
|
|
88
101
|
* Update the configuration settings for an MCP server.
|
|
89
102
|
*
|
|
@@ -299,6 +299,70 @@ class McpServers {
|
|
|
299
299
|
}
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* Delete a specific MCP server configuration from the workspace.
|
|
304
|
+
*
|
|
305
|
+
* @param {string} mcpServerId - ID of the MCP Server.
|
|
306
|
+
* @param {McpServers.RequestOptions} requestOptions - Request-specific configuration.
|
|
307
|
+
*
|
|
308
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* await client.conversationalAi.mcpServers.delete("mcp_server_id")
|
|
312
|
+
*/
|
|
313
|
+
delete(mcpServerId, requestOptions) {
|
|
314
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(mcpServerId, requestOptions));
|
|
315
|
+
}
|
|
316
|
+
__delete(mcpServerId, requestOptions) {
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
var _a, _b, _c, _d, _e;
|
|
319
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
320
|
+
const _response = yield core.fetcher({
|
|
321
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}`),
|
|
322
|
+
method: "DELETE",
|
|
323
|
+
headers: _headers,
|
|
324
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
325
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
326
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
327
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
328
|
+
});
|
|
329
|
+
if (_response.ok) {
|
|
330
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
331
|
+
}
|
|
332
|
+
if (_response.error.reason === "status-code") {
|
|
333
|
+
switch (_response.error.statusCode) {
|
|
334
|
+
case 422:
|
|
335
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
336
|
+
unrecognizedObjectKeys: "passthrough",
|
|
337
|
+
allowUnrecognizedUnionMembers: true,
|
|
338
|
+
allowUnrecognizedEnumValues: true,
|
|
339
|
+
breadcrumbsPrefix: ["response"],
|
|
340
|
+
}), _response.rawResponse);
|
|
341
|
+
default:
|
|
342
|
+
throw new errors.ElevenLabsError({
|
|
343
|
+
statusCode: _response.error.statusCode,
|
|
344
|
+
body: _response.error.body,
|
|
345
|
+
rawResponse: _response.rawResponse,
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
switch (_response.error.reason) {
|
|
350
|
+
case "non-json":
|
|
351
|
+
throw new errors.ElevenLabsError({
|
|
352
|
+
statusCode: _response.error.statusCode,
|
|
353
|
+
body: _response.error.rawBody,
|
|
354
|
+
rawResponse: _response.rawResponse,
|
|
355
|
+
});
|
|
356
|
+
case "timeout":
|
|
357
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/convai/mcp-servers/{mcp_server_id}.");
|
|
358
|
+
case "unknown":
|
|
359
|
+
throw new errors.ElevenLabsError({
|
|
360
|
+
message: _response.error.errorMessage,
|
|
361
|
+
rawResponse: _response.rawResponse,
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
}
|
|
302
366
|
/**
|
|
303
367
|
* Update the configuration settings for an MCP server.
|
|
304
368
|
*
|
|
@@ -13,4 +13,6 @@ export interface ResubmitTestsRequestModel {
|
|
|
13
13
|
agentConfigOverride?: ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel;
|
|
14
14
|
/** Agent ID to resubmit tests for */
|
|
15
15
|
agentId: string;
|
|
16
|
+
/** ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration. */
|
|
17
|
+
branchId?: string;
|
|
16
18
|
}
|
|
@@ -56,7 +56,31 @@ export declare class Tools {
|
|
|
56
56
|
* name: "name",
|
|
57
57
|
* description: "description",
|
|
58
58
|
* apiIntegrationId: "api_integration_id",
|
|
59
|
-
* apiIntegrationConnectionId: "api_integration_connection_id"
|
|
59
|
+
* apiIntegrationConnectionId: "api_integration_connection_id",
|
|
60
|
+
* baseApiSchema: {
|
|
61
|
+
* url: "https://example.com/agents/{agent_id}",
|
|
62
|
+
* method: "GET",
|
|
63
|
+
* pathParamsSchema: {
|
|
64
|
+
* "agent_id": {
|
|
65
|
+
* type: "string"
|
|
66
|
+
* }
|
|
67
|
+
* },
|
|
68
|
+
* queryParamsSchema: {
|
|
69
|
+
* properties: {
|
|
70
|
+
* "key": {
|
|
71
|
+
* type: "string",
|
|
72
|
+
* description: "My property",
|
|
73
|
+
* isSystemProvided: false,
|
|
74
|
+
* dynamicVariable: "",
|
|
75
|
+
* constantValue: ""
|
|
76
|
+
* }
|
|
77
|
+
* }
|
|
78
|
+
* },
|
|
79
|
+
* requestBodySchema: {},
|
|
80
|
+
* requestHeaders: {
|
|
81
|
+
* "Authorization": "Bearer {api_key}"
|
|
82
|
+
* }
|
|
83
|
+
* }
|
|
60
84
|
* }
|
|
61
85
|
* })
|
|
62
86
|
*/
|
|
@@ -104,7 +128,31 @@ export declare class Tools {
|
|
|
104
128
|
* name: "name",
|
|
105
129
|
* description: "description",
|
|
106
130
|
* apiIntegrationId: "api_integration_id",
|
|
107
|
-
* apiIntegrationConnectionId: "api_integration_connection_id"
|
|
131
|
+
* apiIntegrationConnectionId: "api_integration_connection_id",
|
|
132
|
+
* baseApiSchema: {
|
|
133
|
+
* url: "https://example.com/agents/{agent_id}",
|
|
134
|
+
* method: "GET",
|
|
135
|
+
* pathParamsSchema: {
|
|
136
|
+
* "agent_id": {
|
|
137
|
+
* type: "string"
|
|
138
|
+
* }
|
|
139
|
+
* },
|
|
140
|
+
* queryParamsSchema: {
|
|
141
|
+
* properties: {
|
|
142
|
+
* "key": {
|
|
143
|
+
* type: "string",
|
|
144
|
+
* description: "My property",
|
|
145
|
+
* isSystemProvided: false,
|
|
146
|
+
* dynamicVariable: "",
|
|
147
|
+
* constantValue: ""
|
|
148
|
+
* }
|
|
149
|
+
* }
|
|
150
|
+
* },
|
|
151
|
+
* requestBodySchema: {},
|
|
152
|
+
* requestHeaders: {
|
|
153
|
+
* "Authorization": "Bearer {api_key}"
|
|
154
|
+
* }
|
|
155
|
+
* }
|
|
108
156
|
* }
|
|
109
157
|
* })
|
|
110
158
|
*/
|
|
@@ -140,7 +140,31 @@ class Tools {
|
|
|
140
140
|
* name: "name",
|
|
141
141
|
* description: "description",
|
|
142
142
|
* apiIntegrationId: "api_integration_id",
|
|
143
|
-
* apiIntegrationConnectionId: "api_integration_connection_id"
|
|
143
|
+
* apiIntegrationConnectionId: "api_integration_connection_id",
|
|
144
|
+
* baseApiSchema: {
|
|
145
|
+
* url: "https://example.com/agents/{agent_id}",
|
|
146
|
+
* method: "GET",
|
|
147
|
+
* pathParamsSchema: {
|
|
148
|
+
* "agent_id": {
|
|
149
|
+
* type: "string"
|
|
150
|
+
* }
|
|
151
|
+
* },
|
|
152
|
+
* queryParamsSchema: {
|
|
153
|
+
* properties: {
|
|
154
|
+
* "key": {
|
|
155
|
+
* type: "string",
|
|
156
|
+
* description: "My property",
|
|
157
|
+
* isSystemProvided: false,
|
|
158
|
+
* dynamicVariable: "",
|
|
159
|
+
* constantValue: ""
|
|
160
|
+
* }
|
|
161
|
+
* }
|
|
162
|
+
* },
|
|
163
|
+
* requestBodySchema: {},
|
|
164
|
+
* requestHeaders: {
|
|
165
|
+
* "Authorization": "Bearer {api_key}"
|
|
166
|
+
* }
|
|
167
|
+
* }
|
|
144
168
|
* }
|
|
145
169
|
* })
|
|
146
170
|
*/
|
|
@@ -360,7 +384,31 @@ class Tools {
|
|
|
360
384
|
* name: "name",
|
|
361
385
|
* description: "description",
|
|
362
386
|
* apiIntegrationId: "api_integration_id",
|
|
363
|
-
* apiIntegrationConnectionId: "api_integration_connection_id"
|
|
387
|
+
* apiIntegrationConnectionId: "api_integration_connection_id",
|
|
388
|
+
* baseApiSchema: {
|
|
389
|
+
* url: "https://example.com/agents/{agent_id}",
|
|
390
|
+
* method: "GET",
|
|
391
|
+
* pathParamsSchema: {
|
|
392
|
+
* "agent_id": {
|
|
393
|
+
* type: "string"
|
|
394
|
+
* }
|
|
395
|
+
* },
|
|
396
|
+
* queryParamsSchema: {
|
|
397
|
+
* properties: {
|
|
398
|
+
* "key": {
|
|
399
|
+
* type: "string",
|
|
400
|
+
* description: "My property",
|
|
401
|
+
* isSystemProvided: false,
|
|
402
|
+
* dynamicVariable: "",
|
|
403
|
+
* constantValue: ""
|
|
404
|
+
* }
|
|
405
|
+
* }
|
|
406
|
+
* },
|
|
407
|
+
* requestBodySchema: {},
|
|
408
|
+
* requestHeaders: {
|
|
409
|
+
* "Authorization": "Bearer {api_key}"
|
|
410
|
+
* }
|
|
411
|
+
* }
|
|
364
412
|
* }
|
|
365
413
|
* })
|
|
366
414
|
*/
|
|
@@ -51,7 +51,7 @@ export declare class Music {
|
|
|
51
51
|
stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
52
52
|
private __stream;
|
|
53
53
|
/**
|
|
54
|
-
* Separate
|
|
54
|
+
* Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.
|
|
55
55
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
56
56
|
*/
|
|
57
57
|
separateStems(request: ElevenLabs.BodyStemSeparationV1MusicStemSeparationPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
@@ -277,7 +277,7 @@ class Music {
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
|
-
* Separate
|
|
280
|
+
* Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.
|
|
281
281
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
282
282
|
*/
|
|
283
283
|
separateStems(request, requestOptions) {
|