@elevenlabs/elevenlabs-js 2.0.1 → 2.2.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/.mock/asyncapi.yml +11 -11
- package/.mock/definition/__package__.yml +709 -107
- package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +32 -0
- package/.mock/definition/conversationalAi/agents/link.yml +2 -1
- package/.mock/definition/conversationalAi/agents/llmUsage.yml +51 -0
- package/.mock/definition/conversationalAi/agents/widget.yml +30 -0
- package/.mock/definition/conversationalAi/agents.yml +47 -27
- package/.mock/definition/conversationalAi/batchCalls.yml +83 -0
- package/.mock/definition/conversationalAi/knowledgeBase/document.yml +5 -1
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +14 -5
- package/.mock/definition/conversationalAi/knowledgeBase.yml +2 -1
- package/.mock/definition/conversationalAi/llmUsage.yml +52 -0
- package/.mock/definition/conversationalAi.yml +99 -1
- package/.mock/definition/history.yml +8 -0
- package/.mock/definition/pronunciationDictionaries.yml +2 -2
- package/.mock/definition/speechToText.yml +14 -2
- package/.mock/definition/textToDialogue.yml +213 -0
- package/.mock/definition/textToVoice.yml +1 -1
- package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +5 -3
- package/.mock/definition/voices/settings.yml +3 -3
- package/.mock/definition/voices.yml +6 -3
- package/.mock/definition/workspace/groups/members.yml +0 -2
- package/.mock/definition/workspace/groups.yml +0 -1
- package/.mock/fern.config.json +1 -1
- package/.mock/openapi.json +3163 -232
- package/Client.d.ts +3 -0
- package/Client.js +33 -28
- package/README.md +2 -2
- package/api/resources/audioIsolation/client/Client.js +4 -4
- package/api/resources/audioNative/client/Client.js +6 -6
- package/api/resources/conversationalAi/client/Client.d.ts +42 -0
- package/api/resources/conversationalAi/client/Client.js +243 -16
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/dubbing/client/Client.js +6 -6
- package/api/resources/dubbing/resources/audio/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/client/Client.js +10 -10
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/api/resources/forcedAlignment/client/Client.js +2 -2
- package/api/resources/history/client/Client.js +10 -10
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/pronunciationDictionaries/client/Client.js +10 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
- package/api/resources/samples/client/Client.js +2 -2
- package/api/resources/speechToSpeech/client/Client.js +4 -4
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/studio/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/client/Client.js +12 -12
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
- package/api/resources/textToDialogue/client/Client.d.ts +44 -0
- package/api/resources/textToDialogue/client/Client.js +212 -0
- package/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/api/resources/textToDialogue/client/index.js +17 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/api/resources/textToDialogue/index.d.ts +2 -0
- package/api/resources/textToDialogue/index.js +18 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +18 -0
- package/api/resources/textToSoundEffects/client/Client.js +2 -2
- package/api/resources/textToSpeech/client/Client.js +8 -8
- package/api/resources/textToVoice/client/Client.js +4 -4
- package/api/resources/usage/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +2 -2
- package/api/resources/user/resources/subscription/client/Client.js +2 -2
- package/api/resources/voices/client/Client.js +20 -17
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/api/resources/voices/resources/ivc/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/client/Client.js +6 -6
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -7
- package/api/resources/workspace/resources/groups/client/Client.js +2 -2
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
- package/api/resources/workspace/resources/invites/client/Client.js +6 -6
- package/api/resources/workspace/resources/members/client/Client.js +4 -4
- package/api/resources/workspace/resources/resources/client/Client.js +6 -6
- package/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/api/types/AgentConfigOverride.d.ts +4 -4
- package/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/api/types/AudioOutputMulti.d.ts +1 -1
- package/api/types/AuthorizationMethod.d.ts +2 -1
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/ChapterContentBlockInputModel.d.ts +1 -0
- package/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/api/types/ChapterContentBlockInputModelSubType.js +12 -0
- package/api/types/ClientEvent.d.ts +2 -1
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/api/types/ConversationConfigOverride.d.ts +1 -0
- package/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationTokenDbModel.d.ts +2 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/api/types/DialogueInput.d.ts +9 -0
- package/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/api/types/EmbedVariant.d.ts +2 -1
- package/api/types/EmbedVariant.js +1 -0
- package/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/api/types/FeatureStatusCommonModel.js +5 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/api/types/FeaturesUsageCommonModel.js +5 -0
- package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
- package/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
- package/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
- package/api/types/Llm.d.ts +28 -3
- package/api/types/Llm.js +27 -2
- package/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
- package/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
- package/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
- package/api/types/LlmUsageCalculatorResponseModel.js +5 -0
- package/api/types/McpApprovalRequiredModel.d.ts +12 -0
- package/api/types/McpApprovalRequiredModel.js +11 -0
- package/api/types/McpToolConfigInput.d.ts +2 -0
- package/api/types/McpToolConfigOutput.d.ts +2 -0
- package/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/api/types/ModelSettingsResponseModel.js +5 -0
- package/api/types/NativeMcpToolConfigInput.d.ts +22 -0
- package/api/types/NativeMcpToolConfigInput.js +5 -0
- package/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
- package/api/types/NativeMcpToolConfigOutput.js +5 -0
- package/api/types/PromptAgent.d.ts +2 -0
- package/api/types/PromptAgentDbModel.d.ts +2 -0
- package/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
- package/api/types/PromptAgentInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentOverride.d.ts +1 -1
- package/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/api/types/RagConfig.d.ts +2 -0
- package/{dist/api/types/RagIndexResponseModel.d.ts → api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
- package/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/api/types/RagDocumentIndexUsage.js +5 -0
- package/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/api/types/RagIndexStatus.d.ts +3 -1
- package/api/types/RagIndexStatus.js +2 -0
- package/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
- package/api/types/SharedSoundGenerationResponseModel.js +5 -0
- package/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/api/types/SkipTurnToolConfig.js +5 -0
- package/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/api/types/Subscription.d.ts +1 -1
- package/api/types/SubscriptionResponse.d.ts +1 -1
- package/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
- package/{dist/api/types/ExtendedSubscriptionResponseModelStatus.js → api/types/SubscriptionStatusType.js} +3 -2
- package/api/types/SupportedVoice.d.ts +11 -0
- package/api/types/SupportedVoice.js +5 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/{dist/api/types/TtsConversationalConfig.d.ts → api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/api/types/TtsConversationalConfigInput.js +5 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/api/types/TtsConversationalConfigOutput.js +5 -0
- package/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/api/types/TtsModelFamily.d.ts +9 -0
- package/api/types/TtsModelFamily.js +11 -0
- package/api/types/VoiceSettings.d.ts +2 -2
- package/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
- package/api/types/WidgetConfig.d.ts +13 -1
- package/{dist/api/types/WidgetConfigAvatar.d.ts → api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/api/types/WidgetConfigInputAvatar.js +5 -0
- package/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
- package/api/types/WidgetConfigResponse.js +5 -0
- package/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/api/types/WidgetLanguagePreset.js +5 -0
- package/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/api/types/WidgetPlacement.d.ts +12 -0
- package/api/types/WidgetPlacement.js +14 -0
- package/api/types/WidgetTextContents.d.ts +47 -0
- package/api/types/WidgetTextContents.js +5 -0
- package/api/types/index.d.ts +33 -6
- package/api/types/index.js +33 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- package/dist/api/resources/audioIsolation/client/Client.js +4 -4
- package/dist/api/resources/audioNative/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/client/Client.d.ts +42 -0
- package/dist/api/resources/conversationalAi/client/Client.js +243 -16
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/dubbing/client/Client.js +6 -6
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +10 -10
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/dist/api/resources/forcedAlignment/client/Client.js +2 -2
- package/dist/api/resources/history/client/Client.js +10 -10
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +10 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
- package/dist/api/resources/samples/client/Client.js +2 -2
- package/dist/api/resources/speechToSpeech/client/Client.js +4 -4
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/studio/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/client/Client.js +12 -12
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
- package/dist/api/resources/textToDialogue/client/Client.d.ts +44 -0
- package/dist/api/resources/textToDialogue/client/Client.js +212 -0
- package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/api/resources/textToDialogue/client/index.js +17 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/dist/api/resources/textToDialogue/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/index.js +18 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +18 -0
- package/dist/api/resources/textToSoundEffects/client/Client.js +2 -2
- package/dist/api/resources/textToSpeech/client/Client.js +8 -8
- package/dist/api/resources/textToVoice/client/Client.js +4 -4
- package/dist/api/resources/usage/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +2 -2
- package/dist/api/resources/user/resources/subscription/client/Client.js +2 -2
- package/dist/api/resources/voices/client/Client.js +20 -17
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/client/Client.js +6 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -7
- package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/invites/client/Client.js +6 -6
- package/dist/api/resources/workspace/resources/members/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/resources/client/Client.js +6 -6
- package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/dist/api/types/AgentConfigOverride.d.ts +4 -4
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/dist/api/types/AudioOutputMulti.d.ts +1 -1
- package/dist/api/types/AuthorizationMethod.d.ts +2 -1
- package/dist/api/types/AuthorizationMethod.js +1 -0
- package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/dist/api/types/ChapterContentBlockInputModelSubType.js +12 -0
- package/dist/api/types/ClientEvent.d.ts +2 -1
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigOverride.d.ts +1 -0
- package/dist/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationTokenDbModel.d.ts +2 -0
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.js +5 -0
- package/dist/api/types/DialogueInput.d.ts +9 -0
- package/dist/api/types/DialogueInput.js +5 -0
- package/dist/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/dist/api/types/DialogueInputResponseModel.js +5 -0
- package/dist/api/types/EmbedVariant.d.ts +2 -1
- package/dist/api/types/EmbedVariant.js +1 -0
- package/dist/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/dist/api/types/FeatureStatusCommonModel.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/dist/api/types/FeaturesUsageCommonModel.js +5 -0
- package/dist/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
- package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
- package/dist/api/types/Llm.d.ts +28 -3
- package/dist/api/types/Llm.js +27 -2
- package/dist/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
- package/dist/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
- package/dist/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
- package/dist/api/types/LlmUsageCalculatorResponseModel.js +5 -0
- package/dist/api/types/McpApprovalRequiredModel.d.ts +12 -0
- package/dist/api/types/McpApprovalRequiredModel.js +11 -0
- package/dist/api/types/McpToolConfigInput.d.ts +2 -0
- package/dist/api/types/McpToolConfigOutput.d.ts +2 -0
- package/dist/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/dist/api/types/ModelSettingsResponseModel.js +5 -0
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +22 -0
- package/dist/api/types/NativeMcpToolConfigInput.js +5 -0
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
- package/dist/api/types/NativeMcpToolConfigOutput.js +5 -0
- package/dist/api/types/PromptAgent.d.ts +2 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +2 -0
- package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentOverride.d.ts +1 -1
- package/dist/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/dist/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/{api/types/RagIndexResponseModel.d.ts → dist/api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
- package/dist/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/dist/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/dist/api/types/RagDocumentIndexUsage.js +5 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/dist/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/dist/api/types/RagIndexStatus.d.ts +3 -1
- package/dist/api/types/RagIndexStatus.js +2 -0
- package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
- package/dist/api/types/SharedSoundGenerationResponseModel.js +5 -0
- package/dist/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/dist/api/types/SkipTurnToolConfig.js +5 -0
- package/dist/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/api/types/Subscription.d.ts +1 -1
- package/dist/api/types/SubscriptionResponse.d.ts +1 -1
- package/dist/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
- package/{api/types/ExtendedSubscriptionResponseModelStatus.js → dist/api/types/SubscriptionStatusType.js} +3 -2
- package/dist/api/types/SupportedVoice.d.ts +11 -0
- package/dist/api/types/SupportedVoice.js +5 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/dist/api/types/TtsConversationalConfigInput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/dist/api/types/TtsConversationalConfigOutput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/TtsModelFamily.d.ts +9 -0
- package/dist/api/types/TtsModelFamily.js +11 -0
- package/dist/api/types/VoiceSettings.d.ts +2 -2
- package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
- package/dist/api/types/WidgetConfig.d.ts +13 -1
- package/{api/types/WidgetConfigAvatar.d.ts → dist/api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/dist/api/types/WidgetConfigInputAvatar.js +5 -0
- package/dist/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/dist/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/dist/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
- package/dist/api/types/WidgetConfigResponse.js +5 -0
- package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/dist/api/types/WidgetLanguagePreset.js +5 -0
- package/dist/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/dist/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/dist/api/types/WidgetPlacement.d.ts +12 -0
- package/dist/api/types/WidgetPlacement.js +14 -0
- package/dist/api/types/WidgetTextContents.d.ts +47 -0
- package/dist/api/types/WidgetTextContents.js +5 -0
- package/dist/api/types/index.d.ts +33 -6
- package/dist/api/types/index.js +33 -6
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/serialization/resources/textToDialogue/client/index.js +17 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/dist/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +18 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- package/dist/serialization/types/AgentConfigOverride.d.ts +1 -1
- package/dist/serialization/types/AgentConfigOverride.js +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/dist/serialization/types/AudioOutputMulti.d.ts +1 -1
- package/dist/serialization/types/AudioOutputMulti.js +1 -1
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.js +2 -0
- package/dist/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/dist/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationTokenDbModel.d.ts +1 -0
- package/dist/serialization/types/ConversationTokenDbModel.js +1 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfig.js +2 -2
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/dist/serialization/types/DialogueInput.d.ts +13 -0
- package/dist/serialization/types/DialogueInput.js +44 -0
- package/dist/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/dist/serialization/types/DialogueInputResponseModel.js +45 -0
- package/dist/serialization/types/EmbedVariant.d.ts +1 -1
- package/dist/serialization/types/EmbedVariant.js +1 -1
- package/dist/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/dist/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/dist/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/dist/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
- package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +27 -2
- package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
- package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
- package/dist/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
- package/dist/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
- package/dist/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
- package/{serialization/types/ExtendedSubscriptionResponseModelStatus.js → dist/serialization/types/McpApprovalRequiredModel.js} +5 -10
- package/dist/serialization/types/McpToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/McpToolConfigInput.js +2 -0
- package/dist/serialization/types/McpToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/McpToolConfigOutput.js +2 -0
- package/dist/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
- package/dist/serialization/types/NativeMcpToolConfigInput.js +52 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.js +52 -0
- package/dist/serialization/types/PromptAgent.d.ts +1 -0
- package/dist/serialization/types/PromptAgent.js +1 -0
- package/dist/serialization/types/PromptAgentDbModel.d.ts +1 -0
- package/dist/serialization/types/PromptAgentDbModel.js +1 -0
- package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentOutputToolsItem.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/dist/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/dist/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/dist/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{serialization/types/RagIndexResponseModel.js → dist/serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +8 -1
- package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
- package/dist/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
- package/dist/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/dist/serialization/types/SkipTurnToolConfig.js +41 -0
- package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/dist/serialization/types/Subscription.d.ts +2 -2
- package/dist/serialization/types/Subscription.js +2 -2
- package/dist/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/dist/serialization/types/SubscriptionResponse.js +2 -2
- package/dist/serialization/types/SubscriptionStatusType.d.ts +10 -0
- package/dist/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
- package/dist/serialization/types/SupportedVoice.d.ts +17 -0
- package/dist/serialization/types/SupportedVoice.js +48 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
- package/{serialization/types/TtsConversationalConfig.js → dist/serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +10 -0
- package/dist/serialization/types/TtsModelFamily.js +41 -0
- package/dist/serialization/types/VoiceSettings.d.ts +1 -1
- package/dist/serialization/types/VoiceSettings.js +1 -1
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
- package/dist/serialization/types/WidgetConfig.d.ts +11 -2
- package/dist/serialization/types/WidgetConfig.js +11 -2
- package/dist/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
- package/dist/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
- package/dist/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/dist/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
- package/dist/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
- package/dist/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/dist/serialization/types/WidgetLanguagePreset.js +44 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/dist/serialization/types/WidgetPlacement.d.ts +10 -0
- package/dist/serialization/types/WidgetPlacement.js +41 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +32 -0
- package/dist/serialization/types/WidgetTextContents.js +63 -0
- package/dist/serialization/types/index.d.ts +33 -6
- package/dist/serialization/types/index.js +33 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +883 -203
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/serialization/resources/textToDialogue/client/index.js +17 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/index.js +18 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +18 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- package/serialization/types/AgentConfigOverride.d.ts +1 -1
- package/serialization/types/AgentConfigOverride.js +1 -1
- package/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/serialization/types/AudioOutputMulti.d.ts +1 -1
- package/serialization/types/AudioOutputMulti.js +1 -1
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
- package/serialization/types/ChapterContentBlockInputModel.js +2 -0
- package/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationTokenDbModel.d.ts +1 -0
- package/serialization/types/ConversationTokenDbModel.js +1 -0
- package/serialization/types/ConversationalConfig.d.ts +2 -2
- package/serialization/types/ConversationalConfig.js +2 -2
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/serialization/types/DialogueInput.d.ts +13 -0
- package/serialization/types/DialogueInput.js +44 -0
- package/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/serialization/types/DialogueInputResponseModel.js +45 -0
- package/serialization/types/EmbedVariant.d.ts +1 -1
- package/serialization/types/EmbedVariant.js +1 -1
- package/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
- package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
- package/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +27 -2
- package/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
- package/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
- package/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
- package/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
- package/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
- package/{dist/serialization/types/ExtendedSubscriptionResponseModelStatus.js → serialization/types/McpApprovalRequiredModel.js} +5 -10
- package/serialization/types/McpToolConfigInput.d.ts +2 -0
- package/serialization/types/McpToolConfigInput.js +2 -0
- package/serialization/types/McpToolConfigOutput.d.ts +2 -0
- package/serialization/types/McpToolConfigOutput.js +2 -0
- package/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
- package/serialization/types/NativeMcpToolConfigInput.js +52 -0
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
- package/serialization/types/NativeMcpToolConfigOutput.js +52 -0
- package/serialization/types/PromptAgent.d.ts +1 -0
- package/serialization/types/PromptAgent.js +1 -0
- package/serialization/types/PromptAgentDbModel.d.ts +1 -0
- package/serialization/types/PromptAgentDbModel.js +1 -0
- package/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
- package/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentOutputToolsItem.js +2 -0
- package/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{dist/serialization/types/RagIndexResponseModel.js → serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +8 -1
- package/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
- package/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
- package/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/serialization/types/SkipTurnToolConfig.js +41 -0
- package/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/serialization/types/Subscription.d.ts +2 -2
- package/serialization/types/Subscription.js +2 -2
- package/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/serialization/types/SubscriptionResponse.js +2 -2
- package/serialization/types/SubscriptionStatusType.d.ts +10 -0
- package/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
- package/serialization/types/SupportedVoice.d.ts +17 -0
- package/serialization/types/SupportedVoice.js +48 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
- package/{dist/serialization/types/TtsConversationalConfig.js → serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/serialization/types/TtsModelFamily.d.ts +10 -0
- package/serialization/types/TtsModelFamily.js +41 -0
- package/serialization/types/VoiceSettings.d.ts +1 -1
- package/serialization/types/VoiceSettings.js +1 -1
- package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
- package/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
- package/serialization/types/WidgetConfig.d.ts +11 -2
- package/serialization/types/WidgetConfig.js +11 -2
- package/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
- package/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
- package/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
- package/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
- package/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/serialization/types/WidgetLanguagePreset.js +44 -0
- package/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/serialization/types/WidgetPlacement.d.ts +10 -0
- package/serialization/types/WidgetPlacement.js +41 -0
- package/serialization/types/WidgetTextContents.d.ts +32 -0
- package/serialization/types/WidgetTextContents.js +63 -0
- package/serialization/types/index.d.ts +33 -6
- package/serialization/types/index.js +33 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/api/types/SubscriptionStatus.js +0 -16
- package/dist/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/dist/api/types/SubscriptionStatus.js +0 -16
- package/dist/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/dist/serialization/types/RagIndexResponseModel.d.ts +0 -14
- package/dist/serialization/types/SubscriptionStatus.d.ts +0 -10
- package/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/serialization/types/RagIndexResponseModel.d.ts +0 -14
- package/serialization/types/SubscriptionStatus.d.ts +0 -10
- /package/api/{types/RagIndexResponseModel.js → resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js} +0 -0
- /package/api/{types/TtsConversationalConfig.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
- /package/api/{types/WidgetConfigAvatar.js → resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js} +0 -0
- /package/api/{types/WidgetConfigResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
- /package/{dist/api/types/RagIndexResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
- /package/{dist/api/types/TtsConversationalConfig.js → api/types/CustomLlmRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/WidgetConfigAvatar.js → api/types/DialogueInput.js} +0 -0
- /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/DialogueInputResponseModel.js} +0 -0
package/reference.md
CHANGED
|
@@ -636,6 +636,156 @@ for await (const item of response) {
|
|
|
636
636
|
</dl>
|
|
637
637
|
</details>
|
|
638
638
|
|
|
639
|
+
## TextToDialogue
|
|
640
|
+
|
|
641
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) -> stream.Readable</code></summary>
|
|
642
|
+
<dl>
|
|
643
|
+
<dd>
|
|
644
|
+
|
|
645
|
+
#### 📝 Description
|
|
646
|
+
|
|
647
|
+
<dl>
|
|
648
|
+
<dd>
|
|
649
|
+
|
|
650
|
+
<dl>
|
|
651
|
+
<dd>
|
|
652
|
+
|
|
653
|
+
<Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.
|
|
654
|
+
|
|
655
|
+
</dd>
|
|
656
|
+
</dl>
|
|
657
|
+
</dd>
|
|
658
|
+
</dl>
|
|
659
|
+
|
|
660
|
+
#### 🔌 Usage
|
|
661
|
+
|
|
662
|
+
<dl>
|
|
663
|
+
<dd>
|
|
664
|
+
|
|
665
|
+
<dl>
|
|
666
|
+
<dd>
|
|
667
|
+
|
|
668
|
+
```typescript
|
|
669
|
+
await client.textToDialogue.convert({
|
|
670
|
+
inputs: [
|
|
671
|
+
{
|
|
672
|
+
text: "Knock knock",
|
|
673
|
+
voiceId: "JBFqnCBsd6RMkjVDRZzb",
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
text: "Who is there?",
|
|
677
|
+
voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
});
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
</dd>
|
|
684
|
+
</dl>
|
|
685
|
+
</dd>
|
|
686
|
+
</dl>
|
|
687
|
+
|
|
688
|
+
#### ⚙️ Parameters
|
|
689
|
+
|
|
690
|
+
<dl>
|
|
691
|
+
<dd>
|
|
692
|
+
|
|
693
|
+
<dl>
|
|
694
|
+
<dd>
|
|
695
|
+
|
|
696
|
+
**request:** `ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost`
|
|
697
|
+
|
|
698
|
+
</dd>
|
|
699
|
+
</dl>
|
|
700
|
+
|
|
701
|
+
<dl>
|
|
702
|
+
<dd>
|
|
703
|
+
|
|
704
|
+
**requestOptions:** `TextToDialogue.RequestOptions`
|
|
705
|
+
|
|
706
|
+
</dd>
|
|
707
|
+
</dl>
|
|
708
|
+
</dd>
|
|
709
|
+
</dl>
|
|
710
|
+
|
|
711
|
+
</dd>
|
|
712
|
+
</dl>
|
|
713
|
+
</details>
|
|
714
|
+
|
|
715
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) -> stream.Readable</code></summary>
|
|
716
|
+
<dl>
|
|
717
|
+
<dd>
|
|
718
|
+
|
|
719
|
+
#### 📝 Description
|
|
720
|
+
|
|
721
|
+
<dl>
|
|
722
|
+
<dd>
|
|
723
|
+
|
|
724
|
+
<dl>
|
|
725
|
+
<dd>
|
|
726
|
+
|
|
727
|
+
<Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.
|
|
728
|
+
|
|
729
|
+
</dd>
|
|
730
|
+
</dl>
|
|
731
|
+
</dd>
|
|
732
|
+
</dl>
|
|
733
|
+
|
|
734
|
+
#### 🔌 Usage
|
|
735
|
+
|
|
736
|
+
<dl>
|
|
737
|
+
<dd>
|
|
738
|
+
|
|
739
|
+
<dl>
|
|
740
|
+
<dd>
|
|
741
|
+
|
|
742
|
+
```typescript
|
|
743
|
+
await client.textToDialogue.stream({
|
|
744
|
+
inputs: [
|
|
745
|
+
{
|
|
746
|
+
text: "Knock knock",
|
|
747
|
+
voiceId: "JBFqnCBsd6RMkjVDRZzb",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
text: "Who is there?",
|
|
751
|
+
voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
});
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
</dd>
|
|
758
|
+
</dl>
|
|
759
|
+
</dd>
|
|
760
|
+
</dl>
|
|
761
|
+
|
|
762
|
+
#### ⚙️ Parameters
|
|
763
|
+
|
|
764
|
+
<dl>
|
|
765
|
+
<dd>
|
|
766
|
+
|
|
767
|
+
<dl>
|
|
768
|
+
<dd>
|
|
769
|
+
|
|
770
|
+
**request:** `ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost`
|
|
771
|
+
|
|
772
|
+
</dd>
|
|
773
|
+
</dl>
|
|
774
|
+
|
|
775
|
+
<dl>
|
|
776
|
+
<dd>
|
|
777
|
+
|
|
778
|
+
**requestOptions:** `TextToDialogue.RequestOptions`
|
|
779
|
+
|
|
780
|
+
</dd>
|
|
781
|
+
</dl>
|
|
782
|
+
</dd>
|
|
783
|
+
</dl>
|
|
784
|
+
|
|
785
|
+
</dd>
|
|
786
|
+
</dl>
|
|
787
|
+
</details>
|
|
788
|
+
|
|
639
789
|
## SpeechToSpeech
|
|
640
790
|
|
|
641
791
|
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> stream.Readable</code></summary>
|
|
@@ -2399,7 +2549,7 @@ await client.pronunciationDictionaries.list();
|
|
|
2399
2549
|
<dl>
|
|
2400
2550
|
<dd>
|
|
2401
2551
|
|
|
2402
|
-
Transcribe an audio or video file.
|
|
2552
|
+
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
|
|
2403
2553
|
|
|
2404
2554
|
</dd>
|
|
2405
2555
|
</dl>
|
|
@@ -2585,7 +2735,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2585
2735
|
</dl>
|
|
2586
2736
|
</details>
|
|
2587
2737
|
|
|
2588
|
-
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">
|
|
2738
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">getDocumentRagIndexes</a>(documentationId) -> ElevenLabs.RagDocumentIndexesResponseModel</code></summary>
|
|
2589
2739
|
<dl>
|
|
2590
2740
|
<dd>
|
|
2591
2741
|
|
|
@@ -2597,7 +2747,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2597
2747
|
<dl>
|
|
2598
2748
|
<dd>
|
|
2599
2749
|
|
|
2600
|
-
|
|
2750
|
+
Provides information about all RAG indexes of the specified knowledgebase document.
|
|
2601
2751
|
|
|
2602
2752
|
</dd>
|
|
2603
2753
|
</dl>
|
|
@@ -2613,10 +2763,7 @@ Update an existing secret for the workspace
|
|
|
2613
2763
|
<dd>
|
|
2614
2764
|
|
|
2615
2765
|
```typescript
|
|
2616
|
-
await client.conversationalAi.
|
|
2617
|
-
name: "name",
|
|
2618
|
-
value: "value",
|
|
2619
|
-
});
|
|
2766
|
+
await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
2620
2767
|
```
|
|
2621
2768
|
|
|
2622
2769
|
</dd>
|
|
@@ -2632,15 +2779,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2632
2779
|
<dl>
|
|
2633
2780
|
<dd>
|
|
2634
2781
|
|
|
2635
|
-
**
|
|
2636
|
-
|
|
2637
|
-
</dd>
|
|
2638
|
-
</dl>
|
|
2639
|
-
|
|
2640
|
-
<dl>
|
|
2641
|
-
<dd>
|
|
2642
|
-
|
|
2643
|
-
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
2782
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
2644
2783
|
|
|
2645
2784
|
</dd>
|
|
2646
2785
|
</dl>
|
|
@@ -2659,9 +2798,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2659
2798
|
</dl>
|
|
2660
2799
|
</details>
|
|
2661
2800
|
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">getSignedUrl</a>({ ...params }) -> ElevenLabs.ConversationSignedUrlResponseModel</code></summary>
|
|
2801
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">deleteDocumentRagIndex</a>(documentationId, ragIndexId) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
|
|
2665
2802
|
<dl>
|
|
2666
2803
|
<dd>
|
|
2667
2804
|
|
|
@@ -2673,7 +2810,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2673
2810
|
<dl>
|
|
2674
2811
|
<dd>
|
|
2675
2812
|
|
|
2676
|
-
|
|
2813
|
+
Delete RAG index for the knowledgebase document.
|
|
2677
2814
|
|
|
2678
2815
|
</dd>
|
|
2679
2816
|
</dl>
|
|
@@ -2689,9 +2826,7 @@ Get a signed url to start a conversation with an agent with an agent that requir
|
|
|
2689
2826
|
<dd>
|
|
2690
2827
|
|
|
2691
2828
|
```typescript
|
|
2692
|
-
await client.conversationalAi.
|
|
2693
|
-
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
2694
|
-
});
|
|
2829
|
+
await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM");
|
|
2695
2830
|
```
|
|
2696
2831
|
|
|
2697
2832
|
</dd>
|
|
@@ -2707,7 +2842,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2707
2842
|
<dl>
|
|
2708
2843
|
<dd>
|
|
2709
2844
|
|
|
2710
|
-
**
|
|
2845
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
2711
2846
|
|
|
2712
2847
|
</dd>
|
|
2713
2848
|
</dl>
|
|
@@ -2715,7 +2850,15 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2715
2850
|
<dl>
|
|
2716
2851
|
<dd>
|
|
2717
2852
|
|
|
2718
|
-
**
|
|
2853
|
+
**ragIndexId:** `string` — The id of RAG index of document from the knowledge base.
|
|
2854
|
+
|
|
2855
|
+
</dd>
|
|
2856
|
+
</dl>
|
|
2857
|
+
|
|
2858
|
+
<dl>
|
|
2859
|
+
<dd>
|
|
2860
|
+
|
|
2861
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2719
2862
|
|
|
2720
2863
|
</dd>
|
|
2721
2864
|
</dl>
|
|
@@ -2726,7 +2869,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2726
2869
|
</dl>
|
|
2727
2870
|
</details>
|
|
2728
2871
|
|
|
2729
|
-
<details><summary><code>client.conversationalAi
|
|
2872
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">ragIndexOverview</a>() -> ElevenLabs.RagIndexOverviewResponseModel</code></summary>
|
|
2730
2873
|
<dl>
|
|
2731
2874
|
<dd>
|
|
2732
2875
|
|
|
@@ -2738,7 +2881,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2738
2881
|
<dl>
|
|
2739
2882
|
<dd>
|
|
2740
2883
|
|
|
2741
|
-
|
|
2884
|
+
Provides total size and other information of RAG indexes used by knowledgebase documents
|
|
2742
2885
|
|
|
2743
2886
|
</dd>
|
|
2744
2887
|
</dl>
|
|
@@ -2754,7 +2897,7 @@ Get all conversations of agents that user owns. With option to restrict to a spe
|
|
|
2754
2897
|
<dd>
|
|
2755
2898
|
|
|
2756
2899
|
```typescript
|
|
2757
|
-
await client.conversationalAi.
|
|
2900
|
+
await client.conversationalAi.ragIndexOverview();
|
|
2758
2901
|
```
|
|
2759
2902
|
|
|
2760
2903
|
</dd>
|
|
@@ -2770,15 +2913,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2770
2913
|
<dl>
|
|
2771
2914
|
<dd>
|
|
2772
2915
|
|
|
2773
|
-
**
|
|
2774
|
-
|
|
2775
|
-
</dd>
|
|
2776
|
-
</dl>
|
|
2777
|
-
|
|
2778
|
-
<dl>
|
|
2779
|
-
<dd>
|
|
2780
|
-
|
|
2781
|
-
**requestOptions:** `Conversations.RequestOptions`
|
|
2916
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2782
2917
|
|
|
2783
2918
|
</dd>
|
|
2784
2919
|
</dl>
|
|
@@ -2789,7 +2924,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2789
2924
|
</dl>
|
|
2790
2925
|
</details>
|
|
2791
2926
|
|
|
2792
|
-
<details><summary><code>client.conversationalAi
|
|
2927
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">updateSecret</a>(secretId, { ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
2793
2928
|
<dl>
|
|
2794
2929
|
<dd>
|
|
2795
2930
|
|
|
@@ -2801,7 +2936,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2801
2936
|
<dl>
|
|
2802
2937
|
<dd>
|
|
2803
2938
|
|
|
2804
|
-
|
|
2939
|
+
Update an existing secret for the workspace
|
|
2805
2940
|
|
|
2806
2941
|
</dd>
|
|
2807
2942
|
</dl>
|
|
@@ -2817,7 +2952,10 @@ Get the details of a particular conversation
|
|
|
2817
2952
|
<dd>
|
|
2818
2953
|
|
|
2819
2954
|
```typescript
|
|
2820
|
-
await client.conversationalAi.
|
|
2955
|
+
await client.conversationalAi.updateSecret("secret_id", {
|
|
2956
|
+
name: "name",
|
|
2957
|
+
value: "value",
|
|
2958
|
+
});
|
|
2821
2959
|
```
|
|
2822
2960
|
|
|
2823
2961
|
</dd>
|
|
@@ -2833,7 +2971,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2833
2971
|
<dl>
|
|
2834
2972
|
<dd>
|
|
2835
2973
|
|
|
2836
|
-
**
|
|
2974
|
+
**secretId:** `string`
|
|
2837
2975
|
|
|
2838
2976
|
</dd>
|
|
2839
2977
|
</dl>
|
|
@@ -2841,7 +2979,15 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2841
2979
|
<dl>
|
|
2842
2980
|
<dd>
|
|
2843
2981
|
|
|
2844
|
-
**
|
|
2982
|
+
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
2983
|
+
|
|
2984
|
+
</dd>
|
|
2985
|
+
</dl>
|
|
2986
|
+
|
|
2987
|
+
<dl>
|
|
2988
|
+
<dd>
|
|
2989
|
+
|
|
2990
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2845
2991
|
|
|
2846
2992
|
</dd>
|
|
2847
2993
|
</dl>
|
|
@@ -2852,7 +2998,9 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2852
2998
|
</dl>
|
|
2853
2999
|
</details>
|
|
2854
3000
|
|
|
2855
|
-
|
|
3001
|
+
## ConversationalAi Conversations
|
|
3002
|
+
|
|
3003
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">getSignedUrl</a>({ ...params }) -> ElevenLabs.ConversationSignedUrlResponseModel</code></summary>
|
|
2856
3004
|
<dl>
|
|
2857
3005
|
<dd>
|
|
2858
3006
|
|
|
@@ -2864,7 +3012,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2864
3012
|
<dl>
|
|
2865
3013
|
<dd>
|
|
2866
3014
|
|
|
2867
|
-
|
|
3015
|
+
Get a signed url to start a conversation with an agent with an agent that requires authorization
|
|
2868
3016
|
|
|
2869
3017
|
</dd>
|
|
2870
3018
|
</dl>
|
|
@@ -2880,7 +3028,9 @@ Delete a particular conversation
|
|
|
2880
3028
|
<dd>
|
|
2881
3029
|
|
|
2882
3030
|
```typescript
|
|
2883
|
-
await client.conversationalAi.conversations.
|
|
3031
|
+
await client.conversationalAi.conversations.getSignedUrl({
|
|
3032
|
+
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
3033
|
+
});
|
|
2884
3034
|
```
|
|
2885
3035
|
|
|
2886
3036
|
</dd>
|
|
@@ -2896,7 +3046,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2896
3046
|
<dl>
|
|
2897
3047
|
<dd>
|
|
2898
3048
|
|
|
2899
|
-
**
|
|
3049
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest`
|
|
2900
3050
|
|
|
2901
3051
|
</dd>
|
|
2902
3052
|
</dl>
|
|
@@ -2915,9 +3065,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2915
3065
|
</dl>
|
|
2916
3066
|
</details>
|
|
2917
3067
|
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3068
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetConversationsPageResponseModel</code></summary>
|
|
2921
3069
|
<dl>
|
|
2922
3070
|
<dd>
|
|
2923
3071
|
|
|
@@ -2929,7 +3077,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2929
3077
|
<dl>
|
|
2930
3078
|
<dd>
|
|
2931
3079
|
|
|
2932
|
-
|
|
3080
|
+
Get all conversations of agents that user owns. With option to restrict to a specific agent.
|
|
2933
3081
|
|
|
2934
3082
|
</dd>
|
|
2935
3083
|
</dl>
|
|
@@ -2945,11 +3093,7 @@ Handle an outbound call via Twilio
|
|
|
2945
3093
|
<dd>
|
|
2946
3094
|
|
|
2947
3095
|
```typescript
|
|
2948
|
-
await client.conversationalAi.
|
|
2949
|
-
agentId: "agent_id",
|
|
2950
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
2951
|
-
toNumber: "to_number",
|
|
2952
|
-
});
|
|
3096
|
+
await client.conversationalAi.conversations.list();
|
|
2953
3097
|
```
|
|
2954
3098
|
|
|
2955
3099
|
</dd>
|
|
@@ -2965,7 +3109,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2965
3109
|
<dl>
|
|
2966
3110
|
<dd>
|
|
2967
3111
|
|
|
2968
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3112
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsListRequest`
|
|
2969
3113
|
|
|
2970
3114
|
</dd>
|
|
2971
3115
|
</dl>
|
|
@@ -2973,7 +3117,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2973
3117
|
<dl>
|
|
2974
3118
|
<dd>
|
|
2975
3119
|
|
|
2976
|
-
**requestOptions:** `
|
|
3120
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
2977
3121
|
|
|
2978
3122
|
</dd>
|
|
2979
3123
|
</dl>
|
|
@@ -2984,9 +3128,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2984
3128
|
</dl>
|
|
2985
3129
|
</details>
|
|
2986
3130
|
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreateAgentResponseModel</code></summary>
|
|
3131
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">get</a>(conversationId) -> ElevenLabs.GetConversationResponseModel</code></summary>
|
|
2990
3132
|
<dl>
|
|
2991
3133
|
<dd>
|
|
2992
3134
|
|
|
@@ -2998,7 +3140,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2998
3140
|
<dl>
|
|
2999
3141
|
<dd>
|
|
3000
3142
|
|
|
3001
|
-
|
|
3143
|
+
Get the details of a particular conversation
|
|
3002
3144
|
|
|
3003
3145
|
</dd>
|
|
3004
3146
|
</dl>
|
|
@@ -3014,9 +3156,7 @@ Create an agent from a config object
|
|
|
3014
3156
|
<dd>
|
|
3015
3157
|
|
|
3016
3158
|
```typescript
|
|
3017
|
-
await client.conversationalAi.
|
|
3018
|
-
conversationConfig: {},
|
|
3019
|
-
});
|
|
3159
|
+
await client.conversationalAi.conversations.get("123");
|
|
3020
3160
|
```
|
|
3021
3161
|
|
|
3022
3162
|
</dd>
|
|
@@ -3032,7 +3172,7 @@ await client.conversationalAi.agents.create({
|
|
|
3032
3172
|
<dl>
|
|
3033
3173
|
<dd>
|
|
3034
3174
|
|
|
3035
|
-
**
|
|
3175
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3036
3176
|
|
|
3037
3177
|
</dd>
|
|
3038
3178
|
</dl>
|
|
@@ -3040,7 +3180,7 @@ await client.conversationalAi.agents.create({
|
|
|
3040
3180
|
<dl>
|
|
3041
3181
|
<dd>
|
|
3042
3182
|
|
|
3043
|
-
**requestOptions:** `
|
|
3183
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3044
3184
|
|
|
3045
3185
|
</dd>
|
|
3046
3186
|
</dl>
|
|
@@ -3051,7 +3191,7 @@ await client.conversationalAi.agents.create({
|
|
|
3051
3191
|
</dl>
|
|
3052
3192
|
</details>
|
|
3053
3193
|
|
|
3054
|
-
<details><summary><code>client.conversationalAi.
|
|
3194
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">delete</a>(conversationId) -> unknown</code></summary>
|
|
3055
3195
|
<dl>
|
|
3056
3196
|
<dd>
|
|
3057
3197
|
|
|
@@ -3063,7 +3203,7 @@ await client.conversationalAi.agents.create({
|
|
|
3063
3203
|
<dl>
|
|
3064
3204
|
<dd>
|
|
3065
3205
|
|
|
3066
|
-
|
|
3206
|
+
Delete a particular conversation
|
|
3067
3207
|
|
|
3068
3208
|
</dd>
|
|
3069
3209
|
</dl>
|
|
@@ -3079,7 +3219,7 @@ Retrieve config for an agent
|
|
|
3079
3219
|
<dd>
|
|
3080
3220
|
|
|
3081
3221
|
```typescript
|
|
3082
|
-
await client.conversationalAi.
|
|
3222
|
+
await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3083
3223
|
```
|
|
3084
3224
|
|
|
3085
3225
|
</dd>
|
|
@@ -3095,7 +3235,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3095
3235
|
<dl>
|
|
3096
3236
|
<dd>
|
|
3097
3237
|
|
|
3098
|
-
**
|
|
3238
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3099
3239
|
|
|
3100
3240
|
</dd>
|
|
3101
3241
|
</dl>
|
|
@@ -3103,7 +3243,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3103
3243
|
<dl>
|
|
3104
3244
|
<dd>
|
|
3105
3245
|
|
|
3106
|
-
**requestOptions:** `
|
|
3246
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3107
3247
|
|
|
3108
3248
|
</dd>
|
|
3109
3249
|
</dl>
|
|
@@ -3114,7 +3254,9 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3114
3254
|
</dl>
|
|
3115
3255
|
</details>
|
|
3116
3256
|
|
|
3117
|
-
|
|
3257
|
+
## ConversationalAi Twilio
|
|
3258
|
+
|
|
3259
|
+
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3118
3260
|
<dl>
|
|
3119
3261
|
<dd>
|
|
3120
3262
|
|
|
@@ -3126,7 +3268,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3126
3268
|
<dl>
|
|
3127
3269
|
<dd>
|
|
3128
3270
|
|
|
3129
|
-
|
|
3271
|
+
Handle an outbound call via Twilio
|
|
3130
3272
|
|
|
3131
3273
|
</dd>
|
|
3132
3274
|
</dl>
|
|
@@ -3142,7 +3284,204 @@ Delete an agent
|
|
|
3142
3284
|
<dd>
|
|
3143
3285
|
|
|
3144
3286
|
```typescript
|
|
3145
|
-
await client.conversationalAi.
|
|
3287
|
+
await client.conversationalAi.twilio.outboundCall({
|
|
3288
|
+
agentId: "agent_id",
|
|
3289
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
3290
|
+
toNumber: "to_number",
|
|
3291
|
+
});
|
|
3292
|
+
```
|
|
3293
|
+
|
|
3294
|
+
</dd>
|
|
3295
|
+
</dl>
|
|
3296
|
+
</dd>
|
|
3297
|
+
</dl>
|
|
3298
|
+
|
|
3299
|
+
#### ⚙️ Parameters
|
|
3300
|
+
|
|
3301
|
+
<dl>
|
|
3302
|
+
<dd>
|
|
3303
|
+
|
|
3304
|
+
<dl>
|
|
3305
|
+
<dd>
|
|
3306
|
+
|
|
3307
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost`
|
|
3308
|
+
|
|
3309
|
+
</dd>
|
|
3310
|
+
</dl>
|
|
3311
|
+
|
|
3312
|
+
<dl>
|
|
3313
|
+
<dd>
|
|
3314
|
+
|
|
3315
|
+
**requestOptions:** `Twilio.RequestOptions`
|
|
3316
|
+
|
|
3317
|
+
</dd>
|
|
3318
|
+
</dl>
|
|
3319
|
+
</dd>
|
|
3320
|
+
</dl>
|
|
3321
|
+
|
|
3322
|
+
</dd>
|
|
3323
|
+
</dl>
|
|
3324
|
+
</details>
|
|
3325
|
+
|
|
3326
|
+
## ConversationalAi Agents
|
|
3327
|
+
|
|
3328
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreateAgentResponseModel</code></summary>
|
|
3329
|
+
<dl>
|
|
3330
|
+
<dd>
|
|
3331
|
+
|
|
3332
|
+
#### 📝 Description
|
|
3333
|
+
|
|
3334
|
+
<dl>
|
|
3335
|
+
<dd>
|
|
3336
|
+
|
|
3337
|
+
<dl>
|
|
3338
|
+
<dd>
|
|
3339
|
+
|
|
3340
|
+
Create an agent from a config object
|
|
3341
|
+
|
|
3342
|
+
</dd>
|
|
3343
|
+
</dl>
|
|
3344
|
+
</dd>
|
|
3345
|
+
</dl>
|
|
3346
|
+
|
|
3347
|
+
#### 🔌 Usage
|
|
3348
|
+
|
|
3349
|
+
<dl>
|
|
3350
|
+
<dd>
|
|
3351
|
+
|
|
3352
|
+
<dl>
|
|
3353
|
+
<dd>
|
|
3354
|
+
|
|
3355
|
+
```typescript
|
|
3356
|
+
await client.conversationalAi.agents.create({
|
|
3357
|
+
conversationConfig: {},
|
|
3358
|
+
});
|
|
3359
|
+
```
|
|
3360
|
+
|
|
3361
|
+
</dd>
|
|
3362
|
+
</dl>
|
|
3363
|
+
</dd>
|
|
3364
|
+
</dl>
|
|
3365
|
+
|
|
3366
|
+
#### ⚙️ Parameters
|
|
3367
|
+
|
|
3368
|
+
<dl>
|
|
3369
|
+
<dd>
|
|
3370
|
+
|
|
3371
|
+
<dl>
|
|
3372
|
+
<dd>
|
|
3373
|
+
|
|
3374
|
+
**request:** `ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost`
|
|
3375
|
+
|
|
3376
|
+
</dd>
|
|
3377
|
+
</dl>
|
|
3378
|
+
|
|
3379
|
+
<dl>
|
|
3380
|
+
<dd>
|
|
3381
|
+
|
|
3382
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3383
|
+
|
|
3384
|
+
</dd>
|
|
3385
|
+
</dl>
|
|
3386
|
+
</dd>
|
|
3387
|
+
</dl>
|
|
3388
|
+
|
|
3389
|
+
</dd>
|
|
3390
|
+
</dl>
|
|
3391
|
+
</details>
|
|
3392
|
+
|
|
3393
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">get</a>(agentId) -> ElevenLabs.GetAgentResponseModel</code></summary>
|
|
3394
|
+
<dl>
|
|
3395
|
+
<dd>
|
|
3396
|
+
|
|
3397
|
+
#### 📝 Description
|
|
3398
|
+
|
|
3399
|
+
<dl>
|
|
3400
|
+
<dd>
|
|
3401
|
+
|
|
3402
|
+
<dl>
|
|
3403
|
+
<dd>
|
|
3404
|
+
|
|
3405
|
+
Retrieve config for an agent
|
|
3406
|
+
|
|
3407
|
+
</dd>
|
|
3408
|
+
</dl>
|
|
3409
|
+
</dd>
|
|
3410
|
+
</dl>
|
|
3411
|
+
|
|
3412
|
+
#### 🔌 Usage
|
|
3413
|
+
|
|
3414
|
+
<dl>
|
|
3415
|
+
<dd>
|
|
3416
|
+
|
|
3417
|
+
<dl>
|
|
3418
|
+
<dd>
|
|
3419
|
+
|
|
3420
|
+
```typescript
|
|
3421
|
+
await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
3422
|
+
```
|
|
3423
|
+
|
|
3424
|
+
</dd>
|
|
3425
|
+
</dl>
|
|
3426
|
+
</dd>
|
|
3427
|
+
</dl>
|
|
3428
|
+
|
|
3429
|
+
#### ⚙️ Parameters
|
|
3430
|
+
|
|
3431
|
+
<dl>
|
|
3432
|
+
<dd>
|
|
3433
|
+
|
|
3434
|
+
<dl>
|
|
3435
|
+
<dd>
|
|
3436
|
+
|
|
3437
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3438
|
+
|
|
3439
|
+
</dd>
|
|
3440
|
+
</dl>
|
|
3441
|
+
|
|
3442
|
+
<dl>
|
|
3443
|
+
<dd>
|
|
3444
|
+
|
|
3445
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3446
|
+
|
|
3447
|
+
</dd>
|
|
3448
|
+
</dl>
|
|
3449
|
+
</dd>
|
|
3450
|
+
</dl>
|
|
3451
|
+
|
|
3452
|
+
</dd>
|
|
3453
|
+
</dl>
|
|
3454
|
+
</details>
|
|
3455
|
+
|
|
3456
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">delete</a>(agentId) -> void</code></summary>
|
|
3457
|
+
<dl>
|
|
3458
|
+
<dd>
|
|
3459
|
+
|
|
3460
|
+
#### 📝 Description
|
|
3461
|
+
|
|
3462
|
+
<dl>
|
|
3463
|
+
<dd>
|
|
3464
|
+
|
|
3465
|
+
<dl>
|
|
3466
|
+
<dd>
|
|
3467
|
+
|
|
3468
|
+
Delete an agent
|
|
3469
|
+
|
|
3470
|
+
</dd>
|
|
3471
|
+
</dl>
|
|
3472
|
+
</dd>
|
|
3473
|
+
</dl>
|
|
3474
|
+
|
|
3475
|
+
#### 🔌 Usage
|
|
3476
|
+
|
|
3477
|
+
<dl>
|
|
3478
|
+
<dd>
|
|
3479
|
+
|
|
3480
|
+
<dl>
|
|
3481
|
+
<dd>
|
|
3482
|
+
|
|
3483
|
+
```typescript
|
|
3484
|
+
await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3146
3485
|
```
|
|
3147
3486
|
|
|
3148
3487
|
</dd>
|
|
@@ -3538,7 +3877,330 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3538
3877
|
</dl>
|
|
3539
3878
|
</details>
|
|
3540
3879
|
|
|
3541
|
-
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">get</a>(phoneNumberId) -> ElevenLabs.PhoneNumbersGetResponse</code></summary>
|
|
3880
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">get</a>(phoneNumberId) -> ElevenLabs.PhoneNumbersGetResponse</code></summary>
|
|
3881
|
+
<dl>
|
|
3882
|
+
<dd>
|
|
3883
|
+
|
|
3884
|
+
#### 📝 Description
|
|
3885
|
+
|
|
3886
|
+
<dl>
|
|
3887
|
+
<dd>
|
|
3888
|
+
|
|
3889
|
+
<dl>
|
|
3890
|
+
<dd>
|
|
3891
|
+
|
|
3892
|
+
Retrieve Phone Number details by ID
|
|
3893
|
+
|
|
3894
|
+
</dd>
|
|
3895
|
+
</dl>
|
|
3896
|
+
</dd>
|
|
3897
|
+
</dl>
|
|
3898
|
+
|
|
3899
|
+
#### 🔌 Usage
|
|
3900
|
+
|
|
3901
|
+
<dl>
|
|
3902
|
+
<dd>
|
|
3903
|
+
|
|
3904
|
+
<dl>
|
|
3905
|
+
<dd>
|
|
3906
|
+
|
|
3907
|
+
```typescript
|
|
3908
|
+
await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
3909
|
+
```
|
|
3910
|
+
|
|
3911
|
+
</dd>
|
|
3912
|
+
</dl>
|
|
3913
|
+
</dd>
|
|
3914
|
+
</dl>
|
|
3915
|
+
|
|
3916
|
+
#### ⚙️ Parameters
|
|
3917
|
+
|
|
3918
|
+
<dl>
|
|
3919
|
+
<dd>
|
|
3920
|
+
|
|
3921
|
+
<dl>
|
|
3922
|
+
<dd>
|
|
3923
|
+
|
|
3924
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3925
|
+
|
|
3926
|
+
</dd>
|
|
3927
|
+
</dl>
|
|
3928
|
+
|
|
3929
|
+
<dl>
|
|
3930
|
+
<dd>
|
|
3931
|
+
|
|
3932
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
3933
|
+
|
|
3934
|
+
</dd>
|
|
3935
|
+
</dl>
|
|
3936
|
+
</dd>
|
|
3937
|
+
</dl>
|
|
3938
|
+
|
|
3939
|
+
</dd>
|
|
3940
|
+
</dl>
|
|
3941
|
+
</details>
|
|
3942
|
+
|
|
3943
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">delete</a>(phoneNumberId) -> unknown</code></summary>
|
|
3944
|
+
<dl>
|
|
3945
|
+
<dd>
|
|
3946
|
+
|
|
3947
|
+
#### 📝 Description
|
|
3948
|
+
|
|
3949
|
+
<dl>
|
|
3950
|
+
<dd>
|
|
3951
|
+
|
|
3952
|
+
<dl>
|
|
3953
|
+
<dd>
|
|
3954
|
+
|
|
3955
|
+
Delete Phone Number by ID
|
|
3956
|
+
|
|
3957
|
+
</dd>
|
|
3958
|
+
</dl>
|
|
3959
|
+
</dd>
|
|
3960
|
+
</dl>
|
|
3961
|
+
|
|
3962
|
+
#### 🔌 Usage
|
|
3963
|
+
|
|
3964
|
+
<dl>
|
|
3965
|
+
<dd>
|
|
3966
|
+
|
|
3967
|
+
<dl>
|
|
3968
|
+
<dd>
|
|
3969
|
+
|
|
3970
|
+
```typescript
|
|
3971
|
+
await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
3972
|
+
```
|
|
3973
|
+
|
|
3974
|
+
</dd>
|
|
3975
|
+
</dl>
|
|
3976
|
+
</dd>
|
|
3977
|
+
</dl>
|
|
3978
|
+
|
|
3979
|
+
#### ⚙️ Parameters
|
|
3980
|
+
|
|
3981
|
+
<dl>
|
|
3982
|
+
<dd>
|
|
3983
|
+
|
|
3984
|
+
<dl>
|
|
3985
|
+
<dd>
|
|
3986
|
+
|
|
3987
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3988
|
+
|
|
3989
|
+
</dd>
|
|
3990
|
+
</dl>
|
|
3991
|
+
|
|
3992
|
+
<dl>
|
|
3993
|
+
<dd>
|
|
3994
|
+
|
|
3995
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
3996
|
+
|
|
3997
|
+
</dd>
|
|
3998
|
+
</dl>
|
|
3999
|
+
</dd>
|
|
4000
|
+
</dl>
|
|
4001
|
+
|
|
4002
|
+
</dd>
|
|
4003
|
+
</dl>
|
|
4004
|
+
</details>
|
|
4005
|
+
|
|
4006
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">update</a>(phoneNumberId, { ...params }) -> ElevenLabs.PhoneNumbersUpdateResponse</code></summary>
|
|
4007
|
+
<dl>
|
|
4008
|
+
<dd>
|
|
4009
|
+
|
|
4010
|
+
#### 📝 Description
|
|
4011
|
+
|
|
4012
|
+
<dl>
|
|
4013
|
+
<dd>
|
|
4014
|
+
|
|
4015
|
+
<dl>
|
|
4016
|
+
<dd>
|
|
4017
|
+
|
|
4018
|
+
Update Phone Number details by ID
|
|
4019
|
+
|
|
4020
|
+
</dd>
|
|
4021
|
+
</dl>
|
|
4022
|
+
</dd>
|
|
4023
|
+
</dl>
|
|
4024
|
+
|
|
4025
|
+
#### 🔌 Usage
|
|
4026
|
+
|
|
4027
|
+
<dl>
|
|
4028
|
+
<dd>
|
|
4029
|
+
|
|
4030
|
+
<dl>
|
|
4031
|
+
<dd>
|
|
4032
|
+
|
|
4033
|
+
```typescript
|
|
4034
|
+
await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
4035
|
+
```
|
|
4036
|
+
|
|
4037
|
+
</dd>
|
|
4038
|
+
</dl>
|
|
4039
|
+
</dd>
|
|
4040
|
+
</dl>
|
|
4041
|
+
|
|
4042
|
+
#### ⚙️ Parameters
|
|
4043
|
+
|
|
4044
|
+
<dl>
|
|
4045
|
+
<dd>
|
|
4046
|
+
|
|
4047
|
+
<dl>
|
|
4048
|
+
<dd>
|
|
4049
|
+
|
|
4050
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4051
|
+
|
|
4052
|
+
</dd>
|
|
4053
|
+
</dl>
|
|
4054
|
+
|
|
4055
|
+
<dl>
|
|
4056
|
+
<dd>
|
|
4057
|
+
|
|
4058
|
+
**request:** `ElevenLabs.conversationalAi.UpdatePhoneNumberRequest`
|
|
4059
|
+
|
|
4060
|
+
</dd>
|
|
4061
|
+
</dl>
|
|
4062
|
+
|
|
4063
|
+
<dl>
|
|
4064
|
+
<dd>
|
|
4065
|
+
|
|
4066
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4067
|
+
|
|
4068
|
+
</dd>
|
|
4069
|
+
</dl>
|
|
4070
|
+
</dd>
|
|
4071
|
+
</dl>
|
|
4072
|
+
|
|
4073
|
+
</dd>
|
|
4074
|
+
</dl>
|
|
4075
|
+
</details>
|
|
4076
|
+
|
|
4077
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">list</a>() -> ElevenLabs.PhoneNumbersListResponseItem[]</code></summary>
|
|
4078
|
+
<dl>
|
|
4079
|
+
<dd>
|
|
4080
|
+
|
|
4081
|
+
#### 📝 Description
|
|
4082
|
+
|
|
4083
|
+
<dl>
|
|
4084
|
+
<dd>
|
|
4085
|
+
|
|
4086
|
+
<dl>
|
|
4087
|
+
<dd>
|
|
4088
|
+
|
|
4089
|
+
Retrieve all Phone Numbers
|
|
4090
|
+
|
|
4091
|
+
</dd>
|
|
4092
|
+
</dl>
|
|
4093
|
+
</dd>
|
|
4094
|
+
</dl>
|
|
4095
|
+
|
|
4096
|
+
#### 🔌 Usage
|
|
4097
|
+
|
|
4098
|
+
<dl>
|
|
4099
|
+
<dd>
|
|
4100
|
+
|
|
4101
|
+
<dl>
|
|
4102
|
+
<dd>
|
|
4103
|
+
|
|
4104
|
+
```typescript
|
|
4105
|
+
await client.conversationalAi.phoneNumbers.list();
|
|
4106
|
+
```
|
|
4107
|
+
|
|
4108
|
+
</dd>
|
|
4109
|
+
</dl>
|
|
4110
|
+
</dd>
|
|
4111
|
+
</dl>
|
|
4112
|
+
|
|
4113
|
+
#### ⚙️ Parameters
|
|
4114
|
+
|
|
4115
|
+
<dl>
|
|
4116
|
+
<dd>
|
|
4117
|
+
|
|
4118
|
+
<dl>
|
|
4119
|
+
<dd>
|
|
4120
|
+
|
|
4121
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4122
|
+
|
|
4123
|
+
</dd>
|
|
4124
|
+
</dl>
|
|
4125
|
+
</dd>
|
|
4126
|
+
</dl>
|
|
4127
|
+
|
|
4128
|
+
</dd>
|
|
4129
|
+
</dl>
|
|
4130
|
+
</details>
|
|
4131
|
+
|
|
4132
|
+
## ConversationalAi LlmUsage
|
|
4133
|
+
|
|
4134
|
+
<details><summary><code>client.conversationalAi.llmUsage.<a href="/src/api/resources/conversationalAi/resources/llmUsage/client/Client.ts">calculate</a>({ ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4135
|
+
<dl>
|
|
4136
|
+
<dd>
|
|
4137
|
+
|
|
4138
|
+
#### 📝 Description
|
|
4139
|
+
|
|
4140
|
+
<dl>
|
|
4141
|
+
<dd>
|
|
4142
|
+
|
|
4143
|
+
<dl>
|
|
4144
|
+
<dd>
|
|
4145
|
+
|
|
4146
|
+
Returns a list of LLM models and the expected cost for using them based on the provided values.
|
|
4147
|
+
|
|
4148
|
+
</dd>
|
|
4149
|
+
</dl>
|
|
4150
|
+
</dd>
|
|
4151
|
+
</dl>
|
|
4152
|
+
|
|
4153
|
+
#### 🔌 Usage
|
|
4154
|
+
|
|
4155
|
+
<dl>
|
|
4156
|
+
<dd>
|
|
4157
|
+
|
|
4158
|
+
<dl>
|
|
4159
|
+
<dd>
|
|
4160
|
+
|
|
4161
|
+
```typescript
|
|
4162
|
+
await client.conversationalAi.llmUsage.calculate({
|
|
4163
|
+
promptLength: 1,
|
|
4164
|
+
numberOfPages: 1,
|
|
4165
|
+
ragEnabled: true,
|
|
4166
|
+
});
|
|
4167
|
+
```
|
|
4168
|
+
|
|
4169
|
+
</dd>
|
|
4170
|
+
</dl>
|
|
4171
|
+
</dd>
|
|
4172
|
+
</dl>
|
|
4173
|
+
|
|
4174
|
+
#### ⚙️ Parameters
|
|
4175
|
+
|
|
4176
|
+
<dl>
|
|
4177
|
+
<dd>
|
|
4178
|
+
|
|
4179
|
+
<dl>
|
|
4180
|
+
<dd>
|
|
4181
|
+
|
|
4182
|
+
**request:** `ElevenLabs.conversationalAi.LlmUsageCalculatorPublicRequestModel`
|
|
4183
|
+
|
|
4184
|
+
</dd>
|
|
4185
|
+
</dl>
|
|
4186
|
+
|
|
4187
|
+
<dl>
|
|
4188
|
+
<dd>
|
|
4189
|
+
|
|
4190
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4191
|
+
|
|
4192
|
+
</dd>
|
|
4193
|
+
</dl>
|
|
4194
|
+
</dd>
|
|
4195
|
+
</dl>
|
|
4196
|
+
|
|
4197
|
+
</dd>
|
|
4198
|
+
</dl>
|
|
4199
|
+
</details>
|
|
4200
|
+
|
|
4201
|
+
## ConversationalAi KnowledgeBase
|
|
4202
|
+
|
|
4203
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
3542
4204
|
<dl>
|
|
3543
4205
|
<dd>
|
|
3544
4206
|
|
|
@@ -3550,7 +4212,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3550
4212
|
<dl>
|
|
3551
4213
|
<dd>
|
|
3552
4214
|
|
|
3553
|
-
|
|
4215
|
+
Get a list of available knowledge base documents
|
|
3554
4216
|
|
|
3555
4217
|
</dd>
|
|
3556
4218
|
</dl>
|
|
@@ -3566,7 +4228,7 @@ Retrieve Phone Number details by ID
|
|
|
3566
4228
|
<dd>
|
|
3567
4229
|
|
|
3568
4230
|
```typescript
|
|
3569
|
-
await client.conversationalAi.
|
|
4231
|
+
await client.conversationalAi.knowledgeBase.list();
|
|
3570
4232
|
```
|
|
3571
4233
|
|
|
3572
4234
|
</dd>
|
|
@@ -3582,7 +4244,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3582
4244
|
<dl>
|
|
3583
4245
|
<dd>
|
|
3584
4246
|
|
|
3585
|
-
**
|
|
4247
|
+
**request:** `ElevenLabs.conversationalAi.KnowledgeBaseListRequest`
|
|
3586
4248
|
|
|
3587
4249
|
</dd>
|
|
3588
4250
|
</dl>
|
|
@@ -3590,7 +4252,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3590
4252
|
<dl>
|
|
3591
4253
|
<dd>
|
|
3592
4254
|
|
|
3593
|
-
**requestOptions:** `
|
|
4255
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
3594
4256
|
|
|
3595
4257
|
</dd>
|
|
3596
4258
|
</dl>
|
|
@@ -3601,7 +4263,9 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3601
4263
|
</dl>
|
|
3602
4264
|
</details>
|
|
3603
4265
|
|
|
3604
|
-
|
|
4266
|
+
## ConversationalAi Settings
|
|
4267
|
+
|
|
4268
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
3605
4269
|
<dl>
|
|
3606
4270
|
<dd>
|
|
3607
4271
|
|
|
@@ -3613,7 +4277,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3613
4277
|
<dl>
|
|
3614
4278
|
<dd>
|
|
3615
4279
|
|
|
3616
|
-
|
|
4280
|
+
Retrieve Convai settings for the workspace
|
|
3617
4281
|
|
|
3618
4282
|
</dd>
|
|
3619
4283
|
</dl>
|
|
@@ -3629,7 +4293,7 @@ Delete Phone Number by ID
|
|
|
3629
4293
|
<dd>
|
|
3630
4294
|
|
|
3631
4295
|
```typescript
|
|
3632
|
-
await client.conversationalAi.
|
|
4296
|
+
await client.conversationalAi.settings.get();
|
|
3633
4297
|
```
|
|
3634
4298
|
|
|
3635
4299
|
</dd>
|
|
@@ -3645,15 +4309,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3645
4309
|
<dl>
|
|
3646
4310
|
<dd>
|
|
3647
4311
|
|
|
3648
|
-
**
|
|
3649
|
-
|
|
3650
|
-
</dd>
|
|
3651
|
-
</dl>
|
|
3652
|
-
|
|
3653
|
-
<dl>
|
|
3654
|
-
<dd>
|
|
3655
|
-
|
|
3656
|
-
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4312
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
3657
4313
|
|
|
3658
4314
|
</dd>
|
|
3659
4315
|
</dl>
|
|
@@ -3664,7 +4320,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3664
4320
|
</dl>
|
|
3665
4321
|
</details>
|
|
3666
4322
|
|
|
3667
|
-
<details><summary><code>client.conversationalAi.
|
|
4323
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">update</a>({ ...params }) -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
3668
4324
|
<dl>
|
|
3669
4325
|
<dd>
|
|
3670
4326
|
|
|
@@ -3676,7 +4332,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3676
4332
|
<dl>
|
|
3677
4333
|
<dd>
|
|
3678
4334
|
|
|
3679
|
-
Update
|
|
4335
|
+
Update Convai settings for the workspace
|
|
3680
4336
|
|
|
3681
4337
|
</dd>
|
|
3682
4338
|
</dl>
|
|
@@ -3692,7 +4348,7 @@ Update Phone Number details by ID
|
|
|
3692
4348
|
<dd>
|
|
3693
4349
|
|
|
3694
4350
|
```typescript
|
|
3695
|
-
await client.conversationalAi.
|
|
4351
|
+
await client.conversationalAi.settings.update();
|
|
3696
4352
|
```
|
|
3697
4353
|
|
|
3698
4354
|
</dd>
|
|
@@ -3708,15 +4364,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3708
4364
|
<dl>
|
|
3709
4365
|
<dd>
|
|
3710
4366
|
|
|
3711
|
-
**
|
|
3712
|
-
|
|
3713
|
-
</dd>
|
|
3714
|
-
</dl>
|
|
3715
|
-
|
|
3716
|
-
<dl>
|
|
3717
|
-
<dd>
|
|
3718
|
-
|
|
3719
|
-
**request:** `ElevenLabs.conversationalAi.UpdatePhoneNumberRequest`
|
|
4367
|
+
**request:** `ElevenLabs.conversationalAi.PatchConvAiSettingsRequest`
|
|
3720
4368
|
|
|
3721
4369
|
</dd>
|
|
3722
4370
|
</dl>
|
|
@@ -3724,7 +4372,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3724
4372
|
<dl>
|
|
3725
4373
|
<dd>
|
|
3726
4374
|
|
|
3727
|
-
**requestOptions:** `
|
|
4375
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
3728
4376
|
|
|
3729
4377
|
</dd>
|
|
3730
4378
|
</dl>
|
|
@@ -3735,7 +4383,9 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3735
4383
|
</dl>
|
|
3736
4384
|
</details>
|
|
3737
4385
|
|
|
3738
|
-
|
|
4386
|
+
## ConversationalAi Secrets
|
|
4387
|
+
|
|
4388
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">list</a>() -> ElevenLabs.GetWorkspaceSecretsResponseModel</code></summary>
|
|
3739
4389
|
<dl>
|
|
3740
4390
|
<dd>
|
|
3741
4391
|
|
|
@@ -3747,7 +4397,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3747
4397
|
<dl>
|
|
3748
4398
|
<dd>
|
|
3749
4399
|
|
|
3750
|
-
|
|
4400
|
+
Get all workspace secrets for the user
|
|
3751
4401
|
|
|
3752
4402
|
</dd>
|
|
3753
4403
|
</dl>
|
|
@@ -3763,7 +4413,7 @@ Retrieve all Phone Numbers
|
|
|
3763
4413
|
<dd>
|
|
3764
4414
|
|
|
3765
4415
|
```typescript
|
|
3766
|
-
await client.conversationalAi.
|
|
4416
|
+
await client.conversationalAi.secrets.list();
|
|
3767
4417
|
```
|
|
3768
4418
|
|
|
3769
4419
|
</dd>
|
|
@@ -3779,7 +4429,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3779
4429
|
<dl>
|
|
3780
4430
|
<dd>
|
|
3781
4431
|
|
|
3782
|
-
**requestOptions:** `
|
|
4432
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3783
4433
|
|
|
3784
4434
|
</dd>
|
|
3785
4435
|
</dl>
|
|
@@ -3790,9 +4440,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3790
4440
|
</dl>
|
|
3791
4441
|
</details>
|
|
3792
4442
|
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
4443
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
3796
4444
|
<dl>
|
|
3797
4445
|
<dd>
|
|
3798
4446
|
|
|
@@ -3804,7 +4452,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3804
4452
|
<dl>
|
|
3805
4453
|
<dd>
|
|
3806
4454
|
|
|
3807
|
-
|
|
4455
|
+
Create a new secret for the workspace
|
|
3808
4456
|
|
|
3809
4457
|
</dd>
|
|
3810
4458
|
</dl>
|
|
@@ -3820,7 +4468,10 @@ Get a list of available knowledge base documents
|
|
|
3820
4468
|
<dd>
|
|
3821
4469
|
|
|
3822
4470
|
```typescript
|
|
3823
|
-
await client.conversationalAi.
|
|
4471
|
+
await client.conversationalAi.secrets.create({
|
|
4472
|
+
name: "name",
|
|
4473
|
+
value: "value",
|
|
4474
|
+
});
|
|
3824
4475
|
```
|
|
3825
4476
|
|
|
3826
4477
|
</dd>
|
|
@@ -3836,7 +4487,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3836
4487
|
<dl>
|
|
3837
4488
|
<dd>
|
|
3838
4489
|
|
|
3839
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
4490
|
+
**request:** `ElevenLabs.conversationalAi.PostWorkspaceSecretRequest`
|
|
3840
4491
|
|
|
3841
4492
|
</dd>
|
|
3842
4493
|
</dl>
|
|
@@ -3844,7 +4495,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3844
4495
|
<dl>
|
|
3845
4496
|
<dd>
|
|
3846
4497
|
|
|
3847
|
-
**requestOptions:** `
|
|
4498
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3848
4499
|
|
|
3849
4500
|
</dd>
|
|
3850
4501
|
</dl>
|
|
@@ -3855,9 +4506,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3855
4506
|
</dl>
|
|
3856
4507
|
</details>
|
|
3857
4508
|
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
4509
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">delete</a>(secretId) -> void</code></summary>
|
|
3861
4510
|
<dl>
|
|
3862
4511
|
<dd>
|
|
3863
4512
|
|
|
@@ -3869,7 +4518,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3869
4518
|
<dl>
|
|
3870
4519
|
<dd>
|
|
3871
4520
|
|
|
3872
|
-
|
|
4521
|
+
Delete a workspace secret if it's not in use
|
|
3873
4522
|
|
|
3874
4523
|
</dd>
|
|
3875
4524
|
</dl>
|
|
@@ -3885,7 +4534,7 @@ Retrieve Convai settings for the workspace
|
|
|
3885
4534
|
<dd>
|
|
3886
4535
|
|
|
3887
4536
|
```typescript
|
|
3888
|
-
await client.conversationalAi.
|
|
4537
|
+
await client.conversationalAi.secrets.delete("secret_id");
|
|
3889
4538
|
```
|
|
3890
4539
|
|
|
3891
4540
|
</dd>
|
|
@@ -3901,7 +4550,15 @@ await client.conversationalAi.settings.get();
|
|
|
3901
4550
|
<dl>
|
|
3902
4551
|
<dd>
|
|
3903
4552
|
|
|
3904
|
-
**
|
|
4553
|
+
**secretId:** `string`
|
|
4554
|
+
|
|
4555
|
+
</dd>
|
|
4556
|
+
</dl>
|
|
4557
|
+
|
|
4558
|
+
<dl>
|
|
4559
|
+
<dd>
|
|
4560
|
+
|
|
4561
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3905
4562
|
|
|
3906
4563
|
</dd>
|
|
3907
4564
|
</dl>
|
|
@@ -3912,7 +4569,9 @@ await client.conversationalAi.settings.get();
|
|
|
3912
4569
|
</dl>
|
|
3913
4570
|
</details>
|
|
3914
4571
|
|
|
3915
|
-
|
|
4572
|
+
## ConversationalAi BatchCalls
|
|
4573
|
+
|
|
4574
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
3916
4575
|
<dl>
|
|
3917
4576
|
<dd>
|
|
3918
4577
|
|
|
@@ -3924,7 +4583,7 @@ await client.conversationalAi.settings.get();
|
|
|
3924
4583
|
<dl>
|
|
3925
4584
|
<dd>
|
|
3926
4585
|
|
|
3927
|
-
|
|
4586
|
+
Submit a batch call request to schedule calls for multiple recipients.
|
|
3928
4587
|
|
|
3929
4588
|
</dd>
|
|
3930
4589
|
</dl>
|
|
@@ -3940,7 +4599,16 @@ Update Convai settings for the workspace
|
|
|
3940
4599
|
<dd>
|
|
3941
4600
|
|
|
3942
4601
|
```typescript
|
|
3943
|
-
await client.conversationalAi.
|
|
4602
|
+
await client.conversationalAi.batchCalls.create({
|
|
4603
|
+
callName: "call_name",
|
|
4604
|
+
agentId: "agent_id",
|
|
4605
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
4606
|
+
recipients: [
|
|
4607
|
+
{
|
|
4608
|
+
phoneNumber: "phone_number",
|
|
4609
|
+
},
|
|
4610
|
+
],
|
|
4611
|
+
});
|
|
3944
4612
|
```
|
|
3945
4613
|
|
|
3946
4614
|
</dd>
|
|
@@ -3956,7 +4624,7 @@ await client.conversationalAi.settings.update();
|
|
|
3956
4624
|
<dl>
|
|
3957
4625
|
<dd>
|
|
3958
4626
|
|
|
3959
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
4627
|
+
**request:** `ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost`
|
|
3960
4628
|
|
|
3961
4629
|
</dd>
|
|
3962
4630
|
</dl>
|
|
@@ -3964,7 +4632,7 @@ await client.conversationalAi.settings.update();
|
|
|
3964
4632
|
<dl>
|
|
3965
4633
|
<dd>
|
|
3966
4634
|
|
|
3967
|
-
**requestOptions:** `
|
|
4635
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3968
4636
|
|
|
3969
4637
|
</dd>
|
|
3970
4638
|
</dl>
|
|
@@ -3975,9 +4643,7 @@ await client.conversationalAi.settings.update();
|
|
|
3975
4643
|
</dl>
|
|
3976
4644
|
</details>
|
|
3977
4645
|
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">list</a>() -> ElevenLabs.GetWorkspaceSecretsResponseModel</code></summary>
|
|
4646
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceBatchCallsResponse</code></summary>
|
|
3981
4647
|
<dl>
|
|
3982
4648
|
<dd>
|
|
3983
4649
|
|
|
@@ -3989,7 +4655,7 @@ await client.conversationalAi.settings.update();
|
|
|
3989
4655
|
<dl>
|
|
3990
4656
|
<dd>
|
|
3991
4657
|
|
|
3992
|
-
Get all
|
|
4658
|
+
Get all batch calls for the current workspace.
|
|
3993
4659
|
|
|
3994
4660
|
</dd>
|
|
3995
4661
|
</dl>
|
|
@@ -4005,7 +4671,7 @@ Get all workspace secrets for the user
|
|
|
4005
4671
|
<dd>
|
|
4006
4672
|
|
|
4007
4673
|
```typescript
|
|
4008
|
-
await client.conversationalAi.
|
|
4674
|
+
await client.conversationalAi.batchCalls.list();
|
|
4009
4675
|
```
|
|
4010
4676
|
|
|
4011
4677
|
</dd>
|
|
@@ -4021,7 +4687,15 @@ await client.conversationalAi.secrets.list();
|
|
|
4021
4687
|
<dl>
|
|
4022
4688
|
<dd>
|
|
4023
4689
|
|
|
4024
|
-
**
|
|
4690
|
+
**request:** `ElevenLabs.conversationalAi.BatchCallsListRequest`
|
|
4691
|
+
|
|
4692
|
+
</dd>
|
|
4693
|
+
</dl>
|
|
4694
|
+
|
|
4695
|
+
<dl>
|
|
4696
|
+
<dd>
|
|
4697
|
+
|
|
4698
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4025
4699
|
|
|
4026
4700
|
</dd>
|
|
4027
4701
|
</dl>
|
|
@@ -4032,7 +4706,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4032
4706
|
</dl>
|
|
4033
4707
|
</details>
|
|
4034
4708
|
|
|
4035
|
-
<details><summary><code>client.conversationalAi.
|
|
4709
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">get</a>(batchId) -> ElevenLabs.BatchCallDetailedResponse</code></summary>
|
|
4036
4710
|
<dl>
|
|
4037
4711
|
<dd>
|
|
4038
4712
|
|
|
@@ -4044,7 +4718,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4044
4718
|
<dl>
|
|
4045
4719
|
<dd>
|
|
4046
4720
|
|
|
4047
|
-
|
|
4721
|
+
Get detailed information about a batch call including all recipients.
|
|
4048
4722
|
|
|
4049
4723
|
</dd>
|
|
4050
4724
|
</dl>
|
|
@@ -4060,10 +4734,7 @@ Create a new secret for the workspace
|
|
|
4060
4734
|
<dd>
|
|
4061
4735
|
|
|
4062
4736
|
```typescript
|
|
4063
|
-
await client.conversationalAi.
|
|
4064
|
-
name: "name",
|
|
4065
|
-
value: "value",
|
|
4066
|
-
});
|
|
4737
|
+
await client.conversationalAi.batchCalls.get("batch_id");
|
|
4067
4738
|
```
|
|
4068
4739
|
|
|
4069
4740
|
</dd>
|
|
@@ -4079,7 +4750,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4079
4750
|
<dl>
|
|
4080
4751
|
<dd>
|
|
4081
4752
|
|
|
4082
|
-
**
|
|
4753
|
+
**batchId:** `string`
|
|
4083
4754
|
|
|
4084
4755
|
</dd>
|
|
4085
4756
|
</dl>
|
|
@@ -4087,7 +4758,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4087
4758
|
<dl>
|
|
4088
4759
|
<dd>
|
|
4089
4760
|
|
|
4090
|
-
**requestOptions:** `
|
|
4761
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4091
4762
|
|
|
4092
4763
|
</dd>
|
|
4093
4764
|
</dl>
|
|
@@ -4098,7 +4769,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4098
4769
|
</dl>
|
|
4099
4770
|
</details>
|
|
4100
4771
|
|
|
4101
|
-
<details><summary><code>client.conversationalAi.
|
|
4772
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">cancel</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4102
4773
|
<dl>
|
|
4103
4774
|
<dd>
|
|
4104
4775
|
|
|
@@ -4110,7 +4781,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4110
4781
|
<dl>
|
|
4111
4782
|
<dd>
|
|
4112
4783
|
|
|
4113
|
-
|
|
4784
|
+
Cancel a running batch call and set all recipients to cancelled status.
|
|
4114
4785
|
|
|
4115
4786
|
</dd>
|
|
4116
4787
|
</dl>
|
|
@@ -4126,7 +4797,7 @@ Delete a workspace secret if it's not in use
|
|
|
4126
4797
|
<dd>
|
|
4127
4798
|
|
|
4128
4799
|
```typescript
|
|
4129
|
-
await client.conversationalAi.
|
|
4800
|
+
await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
4130
4801
|
```
|
|
4131
4802
|
|
|
4132
4803
|
</dd>
|
|
@@ -4142,7 +4813,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4142
4813
|
<dl>
|
|
4143
4814
|
<dd>
|
|
4144
4815
|
|
|
4145
|
-
**
|
|
4816
|
+
**batchId:** `string`
|
|
4146
4817
|
|
|
4147
4818
|
</dd>
|
|
4148
4819
|
</dl>
|
|
@@ -4150,7 +4821,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4150
4821
|
<dl>
|
|
4151
4822
|
<dd>
|
|
4152
4823
|
|
|
4153
|
-
**requestOptions:** `
|
|
4824
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4154
4825
|
|
|
4155
4826
|
</dd>
|
|
4156
4827
|
</dl>
|
|
@@ -4161,9 +4832,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4161
4832
|
</dl>
|
|
4162
4833
|
</details>
|
|
4163
4834
|
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4835
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">retry</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4167
4836
|
<dl>
|
|
4168
4837
|
<dd>
|
|
4169
4838
|
|
|
@@ -4175,7 +4844,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4175
4844
|
<dl>
|
|
4176
4845
|
<dd>
|
|
4177
4846
|
|
|
4178
|
-
|
|
4847
|
+
Retry a batch call by setting completed recipients back to pending status.
|
|
4179
4848
|
|
|
4180
4849
|
</dd>
|
|
4181
4850
|
</dl>
|
|
@@ -4191,16 +4860,7 @@ Submit a batch call request to schedule calls for multiple recipients.
|
|
|
4191
4860
|
<dd>
|
|
4192
4861
|
|
|
4193
4862
|
```typescript
|
|
4194
|
-
await client.conversationalAi.batchCalls.
|
|
4195
|
-
callName: "call_name",
|
|
4196
|
-
agentId: "agent_id",
|
|
4197
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
4198
|
-
recipients: [
|
|
4199
|
-
{
|
|
4200
|
-
phoneNumber: "phone_number",
|
|
4201
|
-
},
|
|
4202
|
-
],
|
|
4203
|
-
});
|
|
4863
|
+
await client.conversationalAi.batchCalls.retry("batch_id");
|
|
4204
4864
|
```
|
|
4205
4865
|
|
|
4206
4866
|
</dd>
|
|
@@ -4216,7 +4876,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4216
4876
|
<dl>
|
|
4217
4877
|
<dd>
|
|
4218
4878
|
|
|
4219
|
-
**
|
|
4879
|
+
**batchId:** `string`
|
|
4220
4880
|
|
|
4221
4881
|
</dd>
|
|
4222
4882
|
</dl>
|
|
@@ -4235,7 +4895,9 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4235
4895
|
</dl>
|
|
4236
4896
|
</details>
|
|
4237
4897
|
|
|
4238
|
-
|
|
4898
|
+
## ConversationalAi SipTrunk
|
|
4899
|
+
|
|
4900
|
+
<details><summary><code>client.conversationalAi.sipTrunk.<a href="/src/api/resources/conversationalAi/resources/sipTrunk/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.SipTrunkOutboundCallResponse</code></summary>
|
|
4239
4901
|
<dl>
|
|
4240
4902
|
<dd>
|
|
4241
4903
|
|
|
@@ -4247,7 +4909,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4247
4909
|
<dl>
|
|
4248
4910
|
<dd>
|
|
4249
4911
|
|
|
4250
|
-
|
|
4912
|
+
Handle an outbound call via SIP trunk
|
|
4251
4913
|
|
|
4252
4914
|
</dd>
|
|
4253
4915
|
</dl>
|
|
@@ -4263,7 +4925,11 @@ Get all batch calls for the current workspace.
|
|
|
4263
4925
|
<dd>
|
|
4264
4926
|
|
|
4265
4927
|
```typescript
|
|
4266
|
-
await client.conversationalAi.
|
|
4928
|
+
await client.conversationalAi.sipTrunk.outboundCall({
|
|
4929
|
+
agentId: "agent_id",
|
|
4930
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
4931
|
+
toNumber: "to_number",
|
|
4932
|
+
});
|
|
4267
4933
|
```
|
|
4268
4934
|
|
|
4269
4935
|
</dd>
|
|
@@ -4279,7 +4945,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4279
4945
|
<dl>
|
|
4280
4946
|
<dd>
|
|
4281
4947
|
|
|
4282
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
4948
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost`
|
|
4283
4949
|
|
|
4284
4950
|
</dd>
|
|
4285
4951
|
</dl>
|
|
@@ -4287,7 +4953,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4287
4953
|
<dl>
|
|
4288
4954
|
<dd>
|
|
4289
4955
|
|
|
4290
|
-
**requestOptions:** `
|
|
4956
|
+
**requestOptions:** `SipTrunk.RequestOptions`
|
|
4291
4957
|
|
|
4292
4958
|
</dd>
|
|
4293
4959
|
</dl>
|
|
@@ -4298,7 +4964,9 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4298
4964
|
</dl>
|
|
4299
4965
|
</details>
|
|
4300
4966
|
|
|
4301
|
-
|
|
4967
|
+
## ConversationalAi Agents Widget
|
|
4968
|
+
|
|
4969
|
+
<details><summary><code>client.conversationalAi.agents.widget.<a href="/src/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.ts">get</a>(agentId, { ...params }) -> ElevenLabs.GetAgentEmbedResponseModel</code></summary>
|
|
4302
4970
|
<dl>
|
|
4303
4971
|
<dd>
|
|
4304
4972
|
|
|
@@ -4310,7 +4978,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4310
4978
|
<dl>
|
|
4311
4979
|
<dd>
|
|
4312
4980
|
|
|
4313
|
-
|
|
4981
|
+
Retrieve the widget configuration for an agent
|
|
4314
4982
|
|
|
4315
4983
|
</dd>
|
|
4316
4984
|
</dl>
|
|
@@ -4326,7 +4994,7 @@ Get detailed information about a batch call including all recipients.
|
|
|
4326
4994
|
<dd>
|
|
4327
4995
|
|
|
4328
4996
|
```typescript
|
|
4329
|
-
await client.conversationalAi.
|
|
4997
|
+
await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
4330
4998
|
```
|
|
4331
4999
|
|
|
4332
5000
|
</dd>
|
|
@@ -4342,7 +5010,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4342
5010
|
<dl>
|
|
4343
5011
|
<dd>
|
|
4344
5012
|
|
|
4345
|
-
**
|
|
5013
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4346
5014
|
|
|
4347
5015
|
</dd>
|
|
4348
5016
|
</dl>
|
|
@@ -4350,7 +5018,15 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4350
5018
|
<dl>
|
|
4351
5019
|
<dd>
|
|
4352
5020
|
|
|
4353
|
-
**
|
|
5021
|
+
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
5022
|
+
|
|
5023
|
+
</dd>
|
|
5024
|
+
</dl>
|
|
5025
|
+
|
|
5026
|
+
<dl>
|
|
5027
|
+
<dd>
|
|
5028
|
+
|
|
5029
|
+
**requestOptions:** `Widget.RequestOptions`
|
|
4354
5030
|
|
|
4355
5031
|
</dd>
|
|
4356
5032
|
</dl>
|
|
@@ -4361,9 +5037,9 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4361
5037
|
</dl>
|
|
4362
5038
|
</details>
|
|
4363
5039
|
|
|
4364
|
-
## ConversationalAi
|
|
5040
|
+
## ConversationalAi Agents Link
|
|
4365
5041
|
|
|
4366
|
-
<details><summary><code>client.conversationalAi.
|
|
5042
|
+
<details><summary><code>client.conversationalAi.agents.link.<a href="/src/api/resources/conversationalAi/resources/agents/resources/link/client/Client.ts">get</a>(agentId) -> ElevenLabs.GetAgentLinkResponseModel</code></summary>
|
|
4367
5043
|
<dl>
|
|
4368
5044
|
<dd>
|
|
4369
5045
|
|
|
@@ -4375,7 +5051,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4375
5051
|
<dl>
|
|
4376
5052
|
<dd>
|
|
4377
5053
|
|
|
4378
|
-
|
|
5054
|
+
Get the current link used to share the agent with others
|
|
4379
5055
|
|
|
4380
5056
|
</dd>
|
|
4381
5057
|
</dl>
|
|
@@ -4391,11 +5067,7 @@ Handle an outbound call via SIP trunk
|
|
|
4391
5067
|
<dd>
|
|
4392
5068
|
|
|
4393
5069
|
```typescript
|
|
4394
|
-
await client.conversationalAi.
|
|
4395
|
-
agentId: "agent_id",
|
|
4396
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
4397
|
-
toNumber: "to_number",
|
|
4398
|
-
});
|
|
5070
|
+
await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
4399
5071
|
```
|
|
4400
5072
|
|
|
4401
5073
|
</dd>
|
|
@@ -4411,7 +5083,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4411
5083
|
<dl>
|
|
4412
5084
|
<dd>
|
|
4413
5085
|
|
|
4414
|
-
**
|
|
5086
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4415
5087
|
|
|
4416
5088
|
</dd>
|
|
4417
5089
|
</dl>
|
|
@@ -4419,7 +5091,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4419
5091
|
<dl>
|
|
4420
5092
|
<dd>
|
|
4421
5093
|
|
|
4422
|
-
**requestOptions:** `
|
|
5094
|
+
**requestOptions:** `Link.RequestOptions`
|
|
4423
5095
|
|
|
4424
5096
|
</dd>
|
|
4425
5097
|
</dl>
|
|
@@ -4430,9 +5102,9 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4430
5102
|
</dl>
|
|
4431
5103
|
</details>
|
|
4432
5104
|
|
|
4433
|
-
## ConversationalAi Agents
|
|
5105
|
+
## ConversationalAi Agents KnowledgeBase
|
|
4434
5106
|
|
|
4435
|
-
<details><summary><code>client.conversationalAi.agents.
|
|
5107
|
+
<details><summary><code>client.conversationalAi.agents.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.ts">size</a>(agentId) -> ElevenLabs.GetAgentKnowledgebaseSizeResponseModel</code></summary>
|
|
4436
5108
|
<dl>
|
|
4437
5109
|
<dd>
|
|
4438
5110
|
|
|
@@ -4444,7 +5116,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4444
5116
|
<dl>
|
|
4445
5117
|
<dd>
|
|
4446
5118
|
|
|
4447
|
-
|
|
5119
|
+
Returns the number of pages in the agent's knowledge base.
|
|
4448
5120
|
|
|
4449
5121
|
</dd>
|
|
4450
5122
|
</dl>
|
|
@@ -4460,7 +5132,7 @@ Retrieve the widget configuration for an agent
|
|
|
4460
5132
|
<dd>
|
|
4461
5133
|
|
|
4462
5134
|
```typescript
|
|
4463
|
-
await client.conversationalAi.agents.
|
|
5135
|
+
await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
4464
5136
|
```
|
|
4465
5137
|
|
|
4466
5138
|
</dd>
|
|
@@ -4476,15 +5148,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4476
5148
|
<dl>
|
|
4477
5149
|
<dd>
|
|
4478
5150
|
|
|
4479
|
-
**agentId:** `string`
|
|
4480
|
-
|
|
4481
|
-
</dd>
|
|
4482
|
-
</dl>
|
|
4483
|
-
|
|
4484
|
-
<dl>
|
|
4485
|
-
<dd>
|
|
4486
|
-
|
|
4487
|
-
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
5151
|
+
**agentId:** `string`
|
|
4488
5152
|
|
|
4489
5153
|
</dd>
|
|
4490
5154
|
</dl>
|
|
@@ -4492,7 +5156,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4492
5156
|
<dl>
|
|
4493
5157
|
<dd>
|
|
4494
5158
|
|
|
4495
|
-
**requestOptions:** `
|
|
5159
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
4496
5160
|
|
|
4497
5161
|
</dd>
|
|
4498
5162
|
</dl>
|
|
@@ -4503,9 +5167,9 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4503
5167
|
</dl>
|
|
4504
5168
|
</details>
|
|
4505
5169
|
|
|
4506
|
-
## ConversationalAi Agents
|
|
5170
|
+
## ConversationalAi Agents LlmUsage
|
|
4507
5171
|
|
|
4508
|
-
<details><summary><code>client.conversationalAi.agents.
|
|
5172
|
+
<details><summary><code>client.conversationalAi.agents.llmUsage.<a href="/src/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.ts">calculate</a>(agentId, { ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4509
5173
|
<dl>
|
|
4510
5174
|
<dd>
|
|
4511
5175
|
|
|
@@ -4517,7 +5181,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4517
5181
|
<dl>
|
|
4518
5182
|
<dd>
|
|
4519
5183
|
|
|
4520
|
-
|
|
5184
|
+
Calculates expected number of LLM tokens needed for the specified agent.
|
|
4521
5185
|
|
|
4522
5186
|
</dd>
|
|
4523
5187
|
</dl>
|
|
@@ -4533,7 +5197,7 @@ Get the current link used to share the agent with others
|
|
|
4533
5197
|
<dd>
|
|
4534
5198
|
|
|
4535
5199
|
```typescript
|
|
4536
|
-
await client.conversationalAi.agents.
|
|
5200
|
+
await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
4537
5201
|
```
|
|
4538
5202
|
|
|
4539
5203
|
</dd>
|
|
@@ -4549,7 +5213,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4549
5213
|
<dl>
|
|
4550
5214
|
<dd>
|
|
4551
5215
|
|
|
4552
|
-
**agentId:** `string`
|
|
5216
|
+
**agentId:** `string`
|
|
4553
5217
|
|
|
4554
5218
|
</dd>
|
|
4555
5219
|
</dl>
|
|
@@ -4557,7 +5221,15 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4557
5221
|
<dl>
|
|
4558
5222
|
<dd>
|
|
4559
5223
|
|
|
4560
|
-
**
|
|
5224
|
+
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
5225
|
+
|
|
5226
|
+
</dd>
|
|
5227
|
+
</dl>
|
|
5228
|
+
|
|
5229
|
+
<dl>
|
|
5230
|
+
<dd>
|
|
5231
|
+
|
|
5232
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4561
5233
|
|
|
4562
5234
|
</dd>
|
|
4563
5235
|
</dl>
|
|
@@ -5100,7 +5772,7 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
|
5100
5772
|
</dl>
|
|
5101
5773
|
</details>
|
|
5102
5774
|
|
|
5103
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">delete</a>(documentationId) -> unknown</code></summary>
|
|
5775
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">delete</a>(documentationId, { ...params }) -> unknown</code></summary>
|
|
5104
5776
|
<dl>
|
|
5105
5777
|
<dd>
|
|
5106
5778
|
|
|
@@ -5152,6 +5824,14 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5152
5824
|
<dl>
|
|
5153
5825
|
<dd>
|
|
5154
5826
|
|
|
5827
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest`
|
|
5828
|
+
|
|
5829
|
+
</dd>
|
|
5830
|
+
</dl>
|
|
5831
|
+
|
|
5832
|
+
<dl>
|
|
5833
|
+
<dd>
|
|
5834
|
+
|
|
5155
5835
|
**requestOptions:** `Documents.RequestOptions`
|
|
5156
5836
|
|
|
5157
5837
|
</dd>
|
|
@@ -5372,7 +6052,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
5372
6052
|
|
|
5373
6053
|
## ConversationalAi KnowledgeBase Document
|
|
5374
6054
|
|
|
5375
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.document.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.ts">computeRagIndex</a>(documentationId, { ...params }) -> ElevenLabs.
|
|
6055
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.document.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.ts">computeRagIndex</a>(documentationId, { ...params }) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
|
|
5376
6056
|
<dl>
|
|
5377
6057
|
<dd>
|
|
5378
6058
|
|
|
@@ -8059,9 +8739,9 @@ Edit your settings for a specific voice. "similarity_boost" corresponds to "Clar
|
|
|
8059
8739
|
```typescript
|
|
8060
8740
|
await client.voices.settings.update("21m00Tcm4TlvDq8ikWAM", {
|
|
8061
8741
|
stability: 1,
|
|
8742
|
+
useSpeakerBoost: true,
|
|
8062
8743
|
similarityBoost: 1,
|
|
8063
8744
|
style: 0,
|
|
8064
|
-
useSpeakerBoost: true,
|
|
8065
8745
|
speed: 1,
|
|
8066
8746
|
});
|
|
8067
8747
|
```
|