@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A Native MCP tool is a tool that is used to call a Native MCP server
|
|
7
|
+
*/
|
|
8
|
+
export interface NativeMcpToolConfigOutput {
|
|
9
|
+
id?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
13
|
+
responseTimeoutSecs?: number;
|
|
14
|
+
/** Schema for any parameters the LLM needs to provide to the MCP tool. */
|
|
15
|
+
parameters?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
|
|
16
|
+
/** The name of the MCP tool to call */
|
|
17
|
+
mcpToolName: string;
|
|
18
|
+
/** The id of the MCP server to call */
|
|
19
|
+
mcpServerId: string;
|
|
20
|
+
/** If set to always accept, the tool will be pre-approved and not require user approval before executing */
|
|
21
|
+
approvalMode?: ElevenLabs.McpApprovalRequiredModel;
|
|
22
|
+
}
|
|
@@ -17,6 +17,8 @@ export interface PromptAgent {
|
|
|
17
17
|
toolIds?: string[];
|
|
18
18
|
/** A list of MCP server ids to be used by the agent */
|
|
19
19
|
mcpServerIds?: string[];
|
|
20
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
+
nativeMcpServerIds?: string[];
|
|
20
22
|
/** A list of knowledge bases to be used by the agent */
|
|
21
23
|
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
22
24
|
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
@@ -17,6 +17,8 @@ export interface PromptAgentDbModel {
|
|
|
17
17
|
toolIds?: string[];
|
|
18
18
|
/** A list of MCP server ids to be used by the agent */
|
|
19
19
|
mcpServerIds?: string[];
|
|
20
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
+
nativeMcpServerIds?: string[];
|
|
20
22
|
/** A list of knowledge bases to be used by the agent */
|
|
21
23
|
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
22
24
|
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of tool
|
|
7
7
|
*/
|
|
8
|
-
export type PromptAgentDbModelToolsItem = ElevenLabs.PromptAgentDbModelToolsItem.Client | ElevenLabs.PromptAgentDbModelToolsItem.Mcp | ElevenLabs.PromptAgentDbModelToolsItem.System | ElevenLabs.PromptAgentDbModelToolsItem.Webhook;
|
|
8
|
+
export type PromptAgentDbModelToolsItem = ElevenLabs.PromptAgentDbModelToolsItem.Client | ElevenLabs.PromptAgentDbModelToolsItem.Mcp | ElevenLabs.PromptAgentDbModelToolsItem.NativeMcp | ElevenLabs.PromptAgentDbModelToolsItem.System | ElevenLabs.PromptAgentDbModelToolsItem.Webhook;
|
|
9
9
|
export declare namespace PromptAgentDbModelToolsItem {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
@@ -13,6 +13,9 @@ export declare namespace PromptAgentDbModelToolsItem {
|
|
|
13
13
|
interface Mcp extends ElevenLabs.McpToolConfigInput {
|
|
14
14
|
type: "mcp";
|
|
15
15
|
}
|
|
16
|
+
interface NativeMcp extends ElevenLabs.NativeMcpToolConfigInput {
|
|
17
|
+
type: "native_mcp";
|
|
18
|
+
}
|
|
16
19
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
20
|
type: "system";
|
|
18
21
|
}
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of tool
|
|
7
7
|
*/
|
|
8
|
-
export type PromptAgentInputToolsItem = ElevenLabs.PromptAgentInputToolsItem.Client | ElevenLabs.PromptAgentInputToolsItem.Mcp | ElevenLabs.PromptAgentInputToolsItem.System | ElevenLabs.PromptAgentInputToolsItem.Webhook;
|
|
8
|
+
export type PromptAgentInputToolsItem = ElevenLabs.PromptAgentInputToolsItem.Client | ElevenLabs.PromptAgentInputToolsItem.Mcp | ElevenLabs.PromptAgentInputToolsItem.NativeMcp | ElevenLabs.PromptAgentInputToolsItem.System | ElevenLabs.PromptAgentInputToolsItem.Webhook;
|
|
9
9
|
export declare namespace PromptAgentInputToolsItem {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
@@ -13,6 +13,9 @@ export declare namespace PromptAgentInputToolsItem {
|
|
|
13
13
|
interface Mcp extends ElevenLabs.McpToolConfigInput {
|
|
14
14
|
type: "mcp";
|
|
15
15
|
}
|
|
16
|
+
interface NativeMcp extends ElevenLabs.NativeMcpToolConfigInput {
|
|
17
|
+
type: "native_mcp";
|
|
18
|
+
}
|
|
16
19
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
20
|
type: "system";
|
|
18
21
|
}
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of tool
|
|
7
7
|
*/
|
|
8
|
-
export type PromptAgentOutputToolsItem = ElevenLabs.PromptAgentOutputToolsItem.Client | ElevenLabs.PromptAgentOutputToolsItem.Mcp | ElevenLabs.PromptAgentOutputToolsItem.System | ElevenLabs.PromptAgentOutputToolsItem.Webhook;
|
|
8
|
+
export type PromptAgentOutputToolsItem = ElevenLabs.PromptAgentOutputToolsItem.Client | ElevenLabs.PromptAgentOutputToolsItem.Mcp | ElevenLabs.PromptAgentOutputToolsItem.NativeMcp | ElevenLabs.PromptAgentOutputToolsItem.System | ElevenLabs.PromptAgentOutputToolsItem.Webhook;
|
|
9
9
|
export declare namespace PromptAgentOutputToolsItem {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
@@ -13,6 +13,9 @@ export declare namespace PromptAgentOutputToolsItem {
|
|
|
13
13
|
interface Mcp extends ElevenLabs.McpToolConfigOutput {
|
|
14
14
|
type: "mcp";
|
|
15
15
|
}
|
|
16
|
+
interface NativeMcp extends ElevenLabs.NativeMcpToolConfigOutput {
|
|
17
|
+
type: "native_mcp";
|
|
18
|
+
}
|
|
16
19
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
20
|
type: "system";
|
|
18
21
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface PromptAgentOverride {
|
|
5
|
-
/** The
|
|
5
|
+
/** The prompt for the agent */
|
|
6
6
|
prompt?: string;
|
|
7
7
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export interface PronunciationDictionaryLocator {
|
|
8
8
|
/** The unique identifier of the pronunciation dictionary */
|
|
9
|
-
|
|
9
|
+
pronunciationDictionaryId: string;
|
|
10
10
|
/** The version identifier of the pronunciation dictionary */
|
|
11
11
|
versionId: string;
|
|
12
12
|
}
|
|
@@ -9,4 +9,6 @@ export interface RagConfig {
|
|
|
9
9
|
maxVectorDistance?: number;
|
|
10
10
|
/** Maximum total length of document chunks retrieved from RAG. */
|
|
11
11
|
maxDocumentsLength?: number;
|
|
12
|
+
/** Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length. */
|
|
13
|
+
maxRetrievedRagChunksCount?: number;
|
|
12
14
|
}
|
package/{api/types/RagIndexResponseModel.d.ts → dist/api/types/RagDocumentIndexResponseModel.d.ts}
RENAMED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface RagDocumentIndexResponseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
model: ElevenLabs.EmbeddingModelEnum;
|
|
6
8
|
status: ElevenLabs.RagIndexStatus;
|
|
7
9
|
progressPercentage: number;
|
|
10
|
+
documentModelIndexUsage: ElevenLabs.RagDocumentIndexUsage;
|
|
8
11
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface RagIndexOverviewResponseModel {
|
|
6
|
+
totalUsedBytes: number;
|
|
7
|
+
totalMaxBytes: number;
|
|
8
|
+
models: ElevenLabs.RagIndexOverviewEmbeddingModelResponseModel[];
|
|
9
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type RagIndexStatus = "created" | "processing" | "failed" | "succeeded";
|
|
4
|
+
export type RagIndexStatus = "created" | "processing" | "failed" | "succeeded" | "rag_limit_exceeded" | "document_too_small";
|
|
5
5
|
export declare const RagIndexStatus: {
|
|
6
6
|
readonly Created: "created";
|
|
7
7
|
readonly Processing: "processing";
|
|
8
8
|
readonly Failed: "failed";
|
|
9
9
|
readonly Succeeded: "succeeded";
|
|
10
|
+
readonly RagLimitExceeded: "rag_limit_exceeded";
|
|
11
|
+
readonly DocumentTooSmall: "document_too_small";
|
|
10
12
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SharedSoundGenerationResponseModel {
|
|
5
|
+
publicUserId: string;
|
|
6
|
+
historyItemId: string;
|
|
7
|
+
generationId: string;
|
|
8
|
+
text: string;
|
|
9
|
+
category: string;
|
|
10
|
+
labels: Record<string, string>;
|
|
11
|
+
purchasedCount: number;
|
|
12
|
+
likeCount: number;
|
|
13
|
+
featured: boolean;
|
|
14
|
+
previewUrl: string;
|
|
15
|
+
purchased: boolean;
|
|
16
|
+
iconUrl: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Allows the agent to explicitly skip its turn.
|
|
6
|
+
*
|
|
7
|
+
* This tool should be invoked by the LLM when the user indicates they would like
|
|
8
|
+
* to think or take a short pause before continuing the conversation—e.g. when
|
|
9
|
+
* they say: "Give me a second", "Let me think", or "One moment please". After
|
|
10
|
+
* calling this tool, the assistant should not speak until the user speaks
|
|
11
|
+
* again, or another normal turn-taking condition is met. The tool itself has
|
|
12
|
+
* no parameters and performs no side-effects other than informing the backend
|
|
13
|
+
* that the current turn generation is complete.
|
|
14
|
+
*/
|
|
15
|
+
export interface SkipTurnToolConfig {
|
|
16
|
+
}
|
|
@@ -8,15 +8,15 @@ export interface SpeechHistoryItemResponse {
|
|
|
8
8
|
/** The ID of the request. */
|
|
9
9
|
requestId?: string;
|
|
10
10
|
/** The ID of the voice used. */
|
|
11
|
-
voiceId
|
|
11
|
+
voiceId?: string;
|
|
12
12
|
/** The ID of the model. */
|
|
13
13
|
modelId?: string;
|
|
14
14
|
/** The name of the voice. */
|
|
15
|
-
voiceName
|
|
15
|
+
voiceName?: string;
|
|
16
16
|
/** The category of the voice. Either 'premade', 'cloned', 'generated' or 'professional'. */
|
|
17
17
|
voiceCategory?: ElevenLabs.SpeechHistoryItemResponseModelVoiceCategory;
|
|
18
18
|
/** The text used to generate the audio item. */
|
|
19
|
-
text
|
|
19
|
+
text?: string;
|
|
20
20
|
/** Unix timestamp of when the item was created. */
|
|
21
21
|
dateUnix: number;
|
|
22
22
|
/** The character count change from. */
|
|
@@ -36,4 +36,6 @@ export interface SpeechHistoryItemResponse {
|
|
|
36
36
|
source?: ElevenLabs.SpeechHistoryItemResponseModelSource;
|
|
37
37
|
/** The alignments of the history item. */
|
|
38
38
|
alignments?: ElevenLabs.HistoryAlignmentsResponseModel;
|
|
39
|
+
/** The dialogue (voice and text pairs) used to generate the audio item. If this is set then the top level `text` and `voice_id` fields will be empty. */
|
|
40
|
+
dialogue?: ElevenLabs.DialogueInputResponseModel[];
|
|
39
41
|
}
|
|
@@ -38,7 +38,7 @@ export interface Subscription {
|
|
|
38
38
|
/** The currency of the user's subscription. */
|
|
39
39
|
currency?: ElevenLabs.ExtendedSubscriptionResponseModelCurrency;
|
|
40
40
|
/** The status of the user's subscription. */
|
|
41
|
-
status: ElevenLabs.
|
|
41
|
+
status: ElevenLabs.SubscriptionStatusType;
|
|
42
42
|
/** The billing period of the user's subscription. */
|
|
43
43
|
billingPeriod?: ElevenLabs.ExtendedSubscriptionResponseModelBillingPeriod;
|
|
44
44
|
/** The character refresh period of the user's subscription. */
|
|
@@ -38,7 +38,7 @@ export interface SubscriptionResponse {
|
|
|
38
38
|
/** The currency of the user's subscription. */
|
|
39
39
|
currency?: ElevenLabs.SubscriptionResponseModelCurrency;
|
|
40
40
|
/** The status of the user's subscription. */
|
|
41
|
-
status: ElevenLabs.
|
|
41
|
+
status: ElevenLabs.SubscriptionStatusType;
|
|
42
42
|
/** The billing period of the user's subscription. */
|
|
43
43
|
billingPeriod?: ElevenLabs.SubscriptionResponseModelBillingPeriod;
|
|
44
44
|
/** The character refresh period of the user's subscription. */
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
export type SubscriptionStatus = "trialing" | "active" | "incomplete" | "incomplete_expired" | "past_due" | "canceled" | "unpaid" | "free";
|
|
8
|
-
export declare const SubscriptionStatus: {
|
|
4
|
+
export type SubscriptionStatusType = "trialing" | "active" | "incomplete" | "incomplete_expired" | "past_due" | "canceled" | "unpaid" | "free" | "free_disabled";
|
|
5
|
+
export declare const SubscriptionStatusType: {
|
|
9
6
|
readonly Trialing: "trialing";
|
|
10
7
|
readonly Active: "active";
|
|
11
8
|
readonly Incomplete: "incomplete";
|
|
@@ -14,4 +11,5 @@ export declare const SubscriptionStatus: {
|
|
|
14
11
|
readonly Canceled: "canceled";
|
|
15
12
|
readonly Unpaid: "unpaid";
|
|
16
13
|
readonly Free: "free";
|
|
14
|
+
readonly FreeDisabled: "free_disabled";
|
|
17
15
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.SubscriptionStatusType = void 0;
|
|
7
|
+
exports.SubscriptionStatusType = {
|
|
8
8
|
Trialing: "trialing",
|
|
9
9
|
Active: "active",
|
|
10
10
|
Incomplete: "incomplete",
|
|
@@ -13,4 +13,5 @@ exports.ExtendedSubscriptionResponseModelStatus = {
|
|
|
13
13
|
Canceled: "canceled",
|
|
14
14
|
Unpaid: "unpaid",
|
|
15
15
|
Free: "free",
|
|
16
|
+
FreeDisabled: "free_disabled",
|
|
16
17
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface SupportedVoice {
|
|
6
|
+
label: string;
|
|
7
|
+
voiceId: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
language?: string;
|
|
10
|
+
modelFamily?: ElevenLabs.TtsModelFamily;
|
|
11
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.TransferToAgent | ElevenLabs.SystemToolConfigInputParams.TransferToNumber;
|
|
5
|
+
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.SkipTurn | ElevenLabs.SystemToolConfigInputParams.TransferToAgent | ElevenLabs.SystemToolConfigInputParams.TransferToNumber;
|
|
6
6
|
export declare namespace SystemToolConfigInputParams {
|
|
7
7
|
interface EndCall extends ElevenLabs.EndCallToolConfig {
|
|
8
8
|
systemToolType: "end_call";
|
|
@@ -10,6 +10,9 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
10
10
|
interface LanguageDetection extends ElevenLabs.LanguageDetectionToolConfig {
|
|
11
11
|
systemToolType: "language_detection";
|
|
12
12
|
}
|
|
13
|
+
interface SkipTurn extends ElevenLabs.SkipTurnToolConfig {
|
|
14
|
+
systemToolType: "skip_turn";
|
|
15
|
+
}
|
|
13
16
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
14
17
|
systemToolType: "transfer_to_agent";
|
|
15
18
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export type SystemToolConfigOutputParams = ElevenLabs.SystemToolConfigOutputParams.EndCall | ElevenLabs.SystemToolConfigOutputParams.LanguageDetection | ElevenLabs.SystemToolConfigOutputParams.TransferToAgent | ElevenLabs.SystemToolConfigOutputParams.TransferToNumber;
|
|
5
|
+
export type SystemToolConfigOutputParams = ElevenLabs.SystemToolConfigOutputParams.EndCall | ElevenLabs.SystemToolConfigOutputParams.LanguageDetection | ElevenLabs.SystemToolConfigOutputParams.SkipTurn | ElevenLabs.SystemToolConfigOutputParams.TransferToAgent | ElevenLabs.SystemToolConfigOutputParams.TransferToNumber;
|
|
6
6
|
export declare namespace SystemToolConfigOutputParams {
|
|
7
7
|
interface EndCall extends ElevenLabs.EndCallToolConfig {
|
|
8
8
|
systemToolType: "end_call";
|
|
@@ -10,6 +10,9 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
10
10
|
interface LanguageDetection extends ElevenLabs.LanguageDetectionToolConfig {
|
|
11
11
|
systemToolType: "language_detection";
|
|
12
12
|
}
|
|
13
|
+
interface SkipTurn extends ElevenLabs.SkipTurnToolConfig {
|
|
14
|
+
systemToolType: "skip_turn";
|
|
15
|
+
}
|
|
13
16
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
14
17
|
systemToolType: "transfer_to_agent";
|
|
15
18
|
}
|
package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts}
RENAMED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface TtsConversationalConfigInput {
|
|
6
6
|
/** The model to use for TTS */
|
|
7
7
|
modelId?: ElevenLabs.TtsConversationalModel;
|
|
8
8
|
/** The voice ID to use for TTS */
|
|
9
9
|
voiceId?: string;
|
|
10
|
+
/** Additional supported voices for the agent */
|
|
11
|
+
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
10
12
|
/** The audio format to use for TTS */
|
|
11
13
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
12
14
|
/** The optimization for streaming latency */
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface TtsConversationalConfigOutput {
|
|
6
|
+
/** The model to use for TTS */
|
|
7
|
+
modelId?: ElevenLabs.TtsConversationalModel;
|
|
8
|
+
/** The voice ID to use for TTS */
|
|
9
|
+
voiceId?: string;
|
|
10
|
+
/** Additional supported voices for the agent */
|
|
11
|
+
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
12
|
+
/** The audio format to use for TTS */
|
|
13
|
+
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
14
|
+
/** The optimization for streaming latency */
|
|
15
|
+
optimizeStreamingLatency?: ElevenLabs.TtsOptimizeStreamingLatency;
|
|
16
|
+
/** The stability of generated speech */
|
|
17
|
+
stability?: number;
|
|
18
|
+
/** The speed of generated speech */
|
|
19
|
+
speed?: number;
|
|
20
|
+
/** The similarity boost for generated speech */
|
|
21
|
+
similarityBoost?: number;
|
|
22
|
+
/** The pronunciation dictionary locators */
|
|
23
|
+
pronunciationDictionaryLocators?: ElevenLabs.PydanticPronunciationDictionaryVersionLocator[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TtsModelFamily = "turbo" | "flash" | "multilingual";
|
|
5
|
+
export declare const TtsModelFamily: {
|
|
6
|
+
readonly Turbo: "turbo";
|
|
7
|
+
readonly Flash: "flash";
|
|
8
|
+
readonly Multilingual: "multilingual";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TtsModelFamily = void 0;
|
|
7
|
+
exports.TtsModelFamily = {
|
|
8
|
+
Turbo: "turbo",
|
|
9
|
+
Flash: "flash",
|
|
10
|
+
Multilingual: "multilingual",
|
|
11
|
+
};
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
export interface VoiceSettings {
|
|
5
5
|
/** Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion. */
|
|
6
6
|
stability?: number;
|
|
7
|
+
/** This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency. */
|
|
8
|
+
useSpeakerBoost?: boolean;
|
|
7
9
|
/** Determines how closely the AI should adhere to the original voice when attempting to replicate it. */
|
|
8
10
|
similarityBoost?: number;
|
|
9
11
|
/** Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. It does consume additional computational resources and might increase latency if set to anything other than 0. */
|
|
10
12
|
style?: number;
|
|
11
|
-
/** This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency. */
|
|
12
|
-
useSpeakerBoost?: boolean;
|
|
13
13
|
/** Adjusts the speed of the voice. A value of 1.0 is the default speed, while values less than 1.0 slow down the speech, and values greater than 1.0 speed it up. */
|
|
14
14
|
speed?: number;
|
|
15
15
|
}
|
|
@@ -27,8 +27,8 @@ export interface WebsocketTtsClientMessageMulti {
|
|
|
27
27
|
pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
|
|
28
28
|
/** An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used. */
|
|
29
29
|
contextId?: string;
|
|
30
|
-
/** If true, closes the specified `
|
|
30
|
+
/** If true, closes the specified `contextId`. No further audio will be generated for this context. The `text` field is ignored. */
|
|
31
31
|
closeContext?: boolean;
|
|
32
|
-
/** If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `
|
|
32
|
+
/** If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `contextId` fields are ignored. */
|
|
33
33
|
closeSocket?: boolean;
|
|
34
34
|
}
|
|
@@ -5,10 +5,12 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface WidgetConfig {
|
|
6
6
|
/** The variant of the widget */
|
|
7
7
|
variant?: ElevenLabs.EmbedVariant;
|
|
8
|
+
/** The placement of the widget on the screen */
|
|
9
|
+
placement?: ElevenLabs.WidgetPlacement;
|
|
8
10
|
/** Whether the widget is expandable */
|
|
9
11
|
expandable?: ElevenLabs.WidgetExpandable;
|
|
10
12
|
/** The avatar of the widget */
|
|
11
|
-
avatar?: ElevenLabs.
|
|
13
|
+
avatar?: ElevenLabs.WidgetConfigOutputAvatar;
|
|
12
14
|
/** The feedback mode of the widget */
|
|
13
15
|
feedbackMode?: ElevenLabs.WidgetFeedbackMode;
|
|
14
16
|
/** The background color of the widget */
|
|
@@ -57,8 +59,18 @@ export interface WidgetConfig {
|
|
|
57
59
|
overrideLink?: string;
|
|
58
60
|
/** Whether to enable mic muting */
|
|
59
61
|
micMutingEnabled?: boolean;
|
|
62
|
+
/** Whether the widget should show the conversation transcript as it goes on */
|
|
63
|
+
transcriptEnabled?: boolean;
|
|
64
|
+
/** Whether the user should be able to send text messages */
|
|
65
|
+
textInputEnabled?: boolean;
|
|
66
|
+
/** Text contents of the widget */
|
|
67
|
+
textContents?: ElevenLabs.WidgetTextContents;
|
|
60
68
|
/** Whether to show the language selector */
|
|
61
69
|
languageSelector?: boolean;
|
|
70
|
+
/** Whether the widget can switch to text only mode */
|
|
71
|
+
supportsTextOnly?: boolean;
|
|
62
72
|
/** The custom avatar path */
|
|
63
73
|
customAvatarPath?: string;
|
|
74
|
+
/** Language presets for the widget */
|
|
75
|
+
languagePresets?: Record<string, ElevenLabs.WidgetLanguagePreset>;
|
|
64
76
|
}
|
|
@@ -5,8 +5,8 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The avatar of the widget
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
9
|
-
export declare namespace
|
|
8
|
+
export type WidgetConfigInputAvatar = ElevenLabs.WidgetConfigInputAvatar.Orb | ElevenLabs.WidgetConfigInputAvatar.Url | ElevenLabs.WidgetConfigInputAvatar.Image;
|
|
9
|
+
export declare namespace WidgetConfigInputAvatar {
|
|
10
10
|
interface Orb extends ElevenLabs.OrbAvatar {
|
|
11
11
|
type: "orb";
|
|
12
12
|
}
|