@elevenlabs/elevenlabs-js 2.1.0 → 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 +5 -5
- package/.mock/definition/__package__.yml +600 -102
- 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.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/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 +2724 -293
- package/Client.d.ts +3 -0
- package/Client.js +33 -28
- package/api/resources/audioIsolation/client/Client.js +2 -2
- package/api/resources/audioNative/client/Client.js +3 -3
- package/api/resources/conversationalAi/client/Client.d.ts +39 -0
- package/api/resources/conversationalAi/client/Client.js +224 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -7
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +151 -3
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- 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 +2 -2
- 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 +19 -12
- 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 +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/api/resources/dubbing/client/Client.js +3 -3
- package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/api/resources/forcedAlignment/client/Client.js +1 -1
- package/api/resources/history/client/Client.js +5 -5
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/speechToSpeech/client/Client.js +2 -2
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/studio/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- 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 +1 -1
- package/api/resources/textToSpeech/client/Client.js +4 -4
- package/api/resources/textToVoice/client/Client.js +2 -2
- package/api/resources/usage/client/Client.js +1 -1
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/voices/client/Client.js +12 -9
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +4 -4
- package/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/resources/client/Client.js +3 -3
- 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/AuthorizationMethod.d.ts +2 -1
- package/api/types/AuthorizationMethod.js +1 -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/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/FeaturesUsageCommonModel.d.ts +12 -0
- package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- 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/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 +2 -0
- package/api/types/NativeMcpToolConfigOutput.d.ts +2 -0
- 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/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 +27 -6
- package/api/types/index.js +27 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- package/dist/api/resources/audioIsolation/client/Client.js +2 -2
- package/dist/api/resources/audioNative/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/client/Client.d.ts +39 -0
- package/dist/api/resources/conversationalAi/client/Client.js +224 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -7
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +151 -3
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- 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 +2 -2
- 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 +19 -12
- 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 +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/client/Client.js +3 -3
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
- package/dist/api/resources/history/client/Client.js +5 -5
- 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 +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/speechToSpeech/client/Client.js +2 -2
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/studio/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- 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 +1 -1
- package/dist/api/resources/textToSpeech/client/Client.js +4 -4
- package/dist/api/resources/textToVoice/client/Client.js +2 -2
- package/dist/api/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/voices/client/Client.js +12 -9
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -3
- 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/AuthorizationMethod.d.ts +2 -1
- package/dist/api/types/AuthorizationMethod.js +1 -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/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/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/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 +2 -0
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +2 -0
- 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/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 +27 -6
- package/dist/api/types/index.js +27 -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/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/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -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/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/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/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 +2 -0
- package/dist/serialization/types/NativeMcpToolConfigInput.js +2 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.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/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 +27 -6
- package/dist/serialization/types/index.js +27 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +477 -4
- 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/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/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -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/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/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/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 +2 -0
- package/serialization/types/NativeMcpToolConfigInput.js +2 -0
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +2 -0
- package/serialization/types/NativeMcpToolConfigOutput.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/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 +27 -6
- package/serialization/types/index.js +27 -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/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
- /package/api/{types/TtsConversationalConfig.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
- /package/api/{types/WidgetConfigAvatar.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
- /package/api/types/{WidgetConfigResponseModel.js → CustomLlmRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/RagIndexResponseModel.js → api/types/DialogueInput.js} +0 -0
- /package/{dist/api/types/TtsConversationalConfig.js → api/types/DialogueInputResponseModel.js} +0 -0
- /package/{dist/api/types/WidgetConfigAvatar.js → api/types/FeatureStatusCommonModel.js} +0 -0
- /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/FeaturesUsageCommonModel.js} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface WidgetTextContents {
|
|
5
|
+
/** Call to action displayed inside the compact and full variants. */
|
|
6
|
+
mainLabel?: string;
|
|
7
|
+
/** Text and ARIA label for the start call button. */
|
|
8
|
+
startCall?: string;
|
|
9
|
+
/** Text and ARIA label for the new call button. Displayed when the caller already finished at least one call in order ot start the next one. */
|
|
10
|
+
newCall?: string;
|
|
11
|
+
/** Text and ARIA label for the end call button. */
|
|
12
|
+
endCall?: string;
|
|
13
|
+
/** ARIA label for the mute microphone button. */
|
|
14
|
+
muteMicrophone?: string;
|
|
15
|
+
/** ARIA label for the change language dropdown. */
|
|
16
|
+
changeLanguage?: string;
|
|
17
|
+
/** ARIA label for the collapse button. */
|
|
18
|
+
collapse?: string;
|
|
19
|
+
/** ARIA label for the expand button. */
|
|
20
|
+
expand?: string;
|
|
21
|
+
/** Text displayed when the user copies a value using the copy button. */
|
|
22
|
+
copied?: string;
|
|
23
|
+
/** Text and ARIA label for the accept terms button. */
|
|
24
|
+
acceptTerms?: string;
|
|
25
|
+
/** Text and ARIA label for the cancel terms button. */
|
|
26
|
+
dismissTerms?: string;
|
|
27
|
+
/** Status displayed when the agent is listening. */
|
|
28
|
+
listeningStatus?: string;
|
|
29
|
+
/** Status displayed when the agent is speaking. */
|
|
30
|
+
speakingStatus?: string;
|
|
31
|
+
/** Status displayed when the agent is connecting. */
|
|
32
|
+
connectingStatus?: string;
|
|
33
|
+
/** ARIA label for the text message input. */
|
|
34
|
+
inputLabel?: string;
|
|
35
|
+
/** Placeholder text for the text message input. */
|
|
36
|
+
inputPlaceholder?: string;
|
|
37
|
+
/** Information message displayed when the user ends the conversation. */
|
|
38
|
+
userEndedConversation?: string;
|
|
39
|
+
/** Information message displayed when the agent ends the conversation. */
|
|
40
|
+
agentEndedConversation?: string;
|
|
41
|
+
/** Text label used next to the conversation ID. */
|
|
42
|
+
conversationId?: string;
|
|
43
|
+
/** Text label used when an error occurs. */
|
|
44
|
+
errorOccurred?: string;
|
|
45
|
+
/** Text and ARIA label used for the copy ID button. */
|
|
46
|
+
copyId?: string;
|
|
47
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export * from "./CreatePhoneNumberResponseModel";
|
|
|
155
155
|
export * from "./CreatePronunciationDictionaryResponseModel";
|
|
156
156
|
export * from "./CreateSipTrunkPhoneNumberRequest";
|
|
157
157
|
export * from "./CreateTwilioPhoneNumberRequest";
|
|
158
|
+
export * from "./CustomLlmRequestHeadersValue";
|
|
158
159
|
export * from "./CustomLlm";
|
|
159
160
|
export * from "./DashboardCallSuccessChartModel";
|
|
160
161
|
export * from "./DashboardCriteriaChartModel";
|
|
@@ -180,6 +181,8 @@ export * from "./DependentPhoneNumberIdentifier";
|
|
|
180
181
|
export * from "./DependentUnknownAgentIdentifier";
|
|
181
182
|
export * from "./DependentUnknownAgentToolIdentifier";
|
|
182
183
|
export * from "./DependentUnknownToolIdentifier";
|
|
184
|
+
export * from "./DialogueInput";
|
|
185
|
+
export * from "./DialogueInputResponseModel";
|
|
183
186
|
export * from "./DoDubbingResponse";
|
|
184
187
|
export * from "./DocumentUsageModeEnum";
|
|
185
188
|
export * from "./DocxExportOptions";
|
|
@@ -202,10 +205,11 @@ export * from "./EvaluationSettings";
|
|
|
202
205
|
export * from "./EvaluationSuccessResult";
|
|
203
206
|
export * from "./ExportOptions";
|
|
204
207
|
export * from "./ExtendedSubscriptionResponseModelCurrency";
|
|
205
|
-
export * from "./ExtendedSubscriptionResponseModelStatus";
|
|
206
208
|
export * from "./ExtendedSubscriptionResponseModelBillingPeriod";
|
|
207
209
|
export * from "./ExtendedSubscriptionResponseModelCharacterRefreshPeriod";
|
|
208
210
|
export * from "./Subscription";
|
|
211
|
+
export * from "./FeatureStatusCommonModel";
|
|
212
|
+
export * from "./FeaturesUsageCommonModel";
|
|
209
213
|
export * from "./FeedbackItem";
|
|
210
214
|
export * from "./FineTuningResponseModelStateValue";
|
|
211
215
|
export * from "./FineTuningResponse";
|
|
@@ -246,6 +250,7 @@ export * from "./GetProjectsResponse";
|
|
|
246
250
|
export * from "./GetPronunciationDictionariesMetadataResponseModel";
|
|
247
251
|
export * from "./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource";
|
|
248
252
|
export * from "./GetPronunciationDictionaryMetadataResponse";
|
|
253
|
+
export * from "./GetSharedSoundGenerationsResponseModel";
|
|
249
254
|
export * from "./GetSpeechHistoryResponse";
|
|
250
255
|
export * from "./GetVoicesResponse";
|
|
251
256
|
export * from "./GetVoicesV2Response";
|
|
@@ -279,6 +284,7 @@ export * from "./LibraryVoiceResponse";
|
|
|
279
284
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
280
285
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
281
286
|
export * from "./LiteralJsonSchemaProperty";
|
|
287
|
+
export * from "./McpApprovalRequiredModel";
|
|
282
288
|
export * from "./McpToolConfigInput";
|
|
283
289
|
export * from "./McpToolConfigOutput";
|
|
284
290
|
export * from "./ManualVerificationFileResponse";
|
|
@@ -288,6 +294,7 @@ export * from "./MetricType";
|
|
|
288
294
|
export * from "./ModelRatesResponseModel";
|
|
289
295
|
export * from "./ModelResponseModelConcurrencyGroup";
|
|
290
296
|
export * from "./Model";
|
|
297
|
+
export * from "./ModelSettingsResponseModel";
|
|
291
298
|
export * from "./ModerationStatusResponseModelSafetyStatus";
|
|
292
299
|
export * from "./ModerationStatusResponseModelWarningStatus";
|
|
293
300
|
export * from "./ModerationStatusResponseModel";
|
|
@@ -349,7 +356,11 @@ export * from "./PronunciationDictionaryVersionResponseModelPermissionOnResource
|
|
|
349
356
|
export * from "./PronunciationDictionaryVersionResponseModel";
|
|
350
357
|
export * from "./PydanticPronunciationDictionaryVersionLocator";
|
|
351
358
|
export * from "./QueryParamsJsonSchema";
|
|
352
|
-
export * from "./
|
|
359
|
+
export * from "./RagDocumentIndexResponseModel";
|
|
360
|
+
export * from "./RagDocumentIndexUsage";
|
|
361
|
+
export * from "./RagDocumentIndexesResponseModel";
|
|
362
|
+
export * from "./RagIndexOverviewEmbeddingModelResponseModel";
|
|
363
|
+
export * from "./RagIndexOverviewResponseModel";
|
|
353
364
|
export * from "./RagIndexStatus";
|
|
354
365
|
export * from "./RagChunkMetadata";
|
|
355
366
|
export * from "./RagConfig";
|
|
@@ -384,9 +395,11 @@ export * from "./SegmentUpdateResponse";
|
|
|
384
395
|
export * from "./SegmentedJsonExportOptions";
|
|
385
396
|
export * from "./ShareOptionResponseModelType";
|
|
386
397
|
export * from "./ShareOptionResponseModel";
|
|
398
|
+
export * from "./SharedSoundGenerationResponseModel";
|
|
387
399
|
export * from "./SimilarVoiceCategory";
|
|
388
400
|
export * from "./SimilarVoice";
|
|
389
401
|
export * from "./SimilarVoicesForSpeakerResponse";
|
|
402
|
+
export * from "./SkipTurnToolConfig";
|
|
390
403
|
export * from "./SpeakerAudioResponseModel";
|
|
391
404
|
export * from "./SpeakerResponseModel";
|
|
392
405
|
export * from "./SpeakerSegment";
|
|
@@ -407,19 +420,22 @@ export * from "./StartSpeakerSeparationResponseModel";
|
|
|
407
420
|
export * from "./StreamingAudioChunkWithTimestampsResponse";
|
|
408
421
|
export * from "./SubscriptionExtrasResponseModel";
|
|
409
422
|
export * from "./SubscriptionResponseModelCurrency";
|
|
410
|
-
export * from "./SubscriptionStatus";
|
|
411
423
|
export * from "./SubscriptionResponseModelBillingPeriod";
|
|
412
424
|
export * from "./SubscriptionResponseModelCharacterRefreshPeriod";
|
|
413
425
|
export * from "./SubscriptionResponse";
|
|
426
|
+
export * from "./SubscriptionStatusType";
|
|
414
427
|
export * from "./SubscriptionUsageResponseModel";
|
|
428
|
+
export * from "./SupportedVoice";
|
|
415
429
|
export * from "./SystemToolConfigInputParams";
|
|
416
430
|
export * from "./SystemToolConfigInput";
|
|
417
431
|
export * from "./SystemToolConfigOutputParams";
|
|
418
432
|
export * from "./SystemToolConfigOutput";
|
|
419
|
-
export * from "./
|
|
433
|
+
export * from "./TtsConversationalConfigInput";
|
|
434
|
+
export * from "./TtsConversationalConfigOutput";
|
|
420
435
|
export * from "./TtsConversationalConfigOverride";
|
|
421
436
|
export * from "./TtsConversationalConfigOverrideConfig";
|
|
422
437
|
export * from "./TtsConversationalModel";
|
|
438
|
+
export * from "./TtsModelFamily";
|
|
423
439
|
export * from "./TtsOptimizeStreamingLatency";
|
|
424
440
|
export * from "./TtsOutputFormat";
|
|
425
441
|
export * from "./TelephonyProvider";
|
|
@@ -467,12 +483,17 @@ export * from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
|
|
|
467
483
|
export * from "./WebhookToolApiSchemaConfigOutput";
|
|
468
484
|
export * from "./WebhookToolConfigInput";
|
|
469
485
|
export * from "./WebhookToolConfigOutput";
|
|
470
|
-
export * from "./
|
|
486
|
+
export * from "./WidgetConfigInputAvatar";
|
|
471
487
|
export * from "./WidgetConfig";
|
|
488
|
+
export * from "./WidgetConfigOutputAvatar";
|
|
472
489
|
export * from "./WidgetConfigResponseModelAvatar";
|
|
473
|
-
export * from "./
|
|
490
|
+
export * from "./WidgetConfigResponse";
|
|
474
491
|
export * from "./WidgetExpandable";
|
|
475
492
|
export * from "./WidgetFeedbackMode";
|
|
493
|
+
export * from "./WidgetLanguagePreset";
|
|
494
|
+
export * from "./WidgetLanguagePresetResponse";
|
|
495
|
+
export * from "./WidgetPlacement";
|
|
496
|
+
export * from "./WidgetTextContents";
|
|
476
497
|
export * from "./WorkspaceBatchCallsResponse";
|
|
477
498
|
export * from "./WorkspaceGroupByNameResponseModel";
|
|
478
499
|
export * from "./WorkspaceResourceType";
|
package/api/types/index.js
CHANGED
|
@@ -171,6 +171,7 @@ __exportStar(require("./CreatePhoneNumberResponseModel"), exports);
|
|
|
171
171
|
__exportStar(require("./CreatePronunciationDictionaryResponseModel"), exports);
|
|
172
172
|
__exportStar(require("./CreateSipTrunkPhoneNumberRequest"), exports);
|
|
173
173
|
__exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
|
|
174
|
+
__exportStar(require("./CustomLlmRequestHeadersValue"), exports);
|
|
174
175
|
__exportStar(require("./CustomLlm"), exports);
|
|
175
176
|
__exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
176
177
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
@@ -196,6 +197,8 @@ __exportStar(require("./DependentPhoneNumberIdentifier"), exports);
|
|
|
196
197
|
__exportStar(require("./DependentUnknownAgentIdentifier"), exports);
|
|
197
198
|
__exportStar(require("./DependentUnknownAgentToolIdentifier"), exports);
|
|
198
199
|
__exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
200
|
+
__exportStar(require("./DialogueInput"), exports);
|
|
201
|
+
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
199
202
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
200
203
|
__exportStar(require("./DocumentUsageModeEnum"), exports);
|
|
201
204
|
__exportStar(require("./DocxExportOptions"), exports);
|
|
@@ -218,10 +221,11 @@ __exportStar(require("./EvaluationSettings"), exports);
|
|
|
218
221
|
__exportStar(require("./EvaluationSuccessResult"), exports);
|
|
219
222
|
__exportStar(require("./ExportOptions"), exports);
|
|
220
223
|
__exportStar(require("./ExtendedSubscriptionResponseModelCurrency"), exports);
|
|
221
|
-
__exportStar(require("./ExtendedSubscriptionResponseModelStatus"), exports);
|
|
222
224
|
__exportStar(require("./ExtendedSubscriptionResponseModelBillingPeriod"), exports);
|
|
223
225
|
__exportStar(require("./ExtendedSubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
224
226
|
__exportStar(require("./Subscription"), exports);
|
|
227
|
+
__exportStar(require("./FeatureStatusCommonModel"), exports);
|
|
228
|
+
__exportStar(require("./FeaturesUsageCommonModel"), exports);
|
|
225
229
|
__exportStar(require("./FeedbackItem"), exports);
|
|
226
230
|
__exportStar(require("./FineTuningResponseModelStateValue"), exports);
|
|
227
231
|
__exportStar(require("./FineTuningResponse"), exports);
|
|
@@ -262,6 +266,7 @@ __exportStar(require("./GetProjectsResponse"), exports);
|
|
|
262
266
|
__exportStar(require("./GetPronunciationDictionariesMetadataResponseModel"), exports);
|
|
263
267
|
__exportStar(require("./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource"), exports);
|
|
264
268
|
__exportStar(require("./GetPronunciationDictionaryMetadataResponse"), exports);
|
|
269
|
+
__exportStar(require("./GetSharedSoundGenerationsResponseModel"), exports);
|
|
265
270
|
__exportStar(require("./GetSpeechHistoryResponse"), exports);
|
|
266
271
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
267
272
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
@@ -295,6 +300,7 @@ __exportStar(require("./LibraryVoiceResponse"), exports);
|
|
|
295
300
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
296
301
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
297
302
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
303
|
+
__exportStar(require("./McpApprovalRequiredModel"), exports);
|
|
298
304
|
__exportStar(require("./McpToolConfigInput"), exports);
|
|
299
305
|
__exportStar(require("./McpToolConfigOutput"), exports);
|
|
300
306
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
@@ -304,6 +310,7 @@ __exportStar(require("./MetricType"), exports);
|
|
|
304
310
|
__exportStar(require("./ModelRatesResponseModel"), exports);
|
|
305
311
|
__exportStar(require("./ModelResponseModelConcurrencyGroup"), exports);
|
|
306
312
|
__exportStar(require("./Model"), exports);
|
|
313
|
+
__exportStar(require("./ModelSettingsResponseModel"), exports);
|
|
307
314
|
__exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
|
|
308
315
|
__exportStar(require("./ModerationStatusResponseModelWarningStatus"), exports);
|
|
309
316
|
__exportStar(require("./ModerationStatusResponseModel"), exports);
|
|
@@ -365,7 +372,11 @@ __exportStar(require("./PronunciationDictionaryVersionResponseModelPermissionOnR
|
|
|
365
372
|
__exportStar(require("./PronunciationDictionaryVersionResponseModel"), exports);
|
|
366
373
|
__exportStar(require("./PydanticPronunciationDictionaryVersionLocator"), exports);
|
|
367
374
|
__exportStar(require("./QueryParamsJsonSchema"), exports);
|
|
368
|
-
__exportStar(require("./
|
|
375
|
+
__exportStar(require("./RagDocumentIndexResponseModel"), exports);
|
|
376
|
+
__exportStar(require("./RagDocumentIndexUsage"), exports);
|
|
377
|
+
__exportStar(require("./RagDocumentIndexesResponseModel"), exports);
|
|
378
|
+
__exportStar(require("./RagIndexOverviewEmbeddingModelResponseModel"), exports);
|
|
379
|
+
__exportStar(require("./RagIndexOverviewResponseModel"), exports);
|
|
369
380
|
__exportStar(require("./RagIndexStatus"), exports);
|
|
370
381
|
__exportStar(require("./RagChunkMetadata"), exports);
|
|
371
382
|
__exportStar(require("./RagConfig"), exports);
|
|
@@ -400,9 +411,11 @@ __exportStar(require("./SegmentUpdateResponse"), exports);
|
|
|
400
411
|
__exportStar(require("./SegmentedJsonExportOptions"), exports);
|
|
401
412
|
__exportStar(require("./ShareOptionResponseModelType"), exports);
|
|
402
413
|
__exportStar(require("./ShareOptionResponseModel"), exports);
|
|
414
|
+
__exportStar(require("./SharedSoundGenerationResponseModel"), exports);
|
|
403
415
|
__exportStar(require("./SimilarVoiceCategory"), exports);
|
|
404
416
|
__exportStar(require("./SimilarVoice"), exports);
|
|
405
417
|
__exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
|
|
418
|
+
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
406
419
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
407
420
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
408
421
|
__exportStar(require("./SpeakerSegment"), exports);
|
|
@@ -423,19 +436,22 @@ __exportStar(require("./StartSpeakerSeparationResponseModel"), exports);
|
|
|
423
436
|
__exportStar(require("./StreamingAudioChunkWithTimestampsResponse"), exports);
|
|
424
437
|
__exportStar(require("./SubscriptionExtrasResponseModel"), exports);
|
|
425
438
|
__exportStar(require("./SubscriptionResponseModelCurrency"), exports);
|
|
426
|
-
__exportStar(require("./SubscriptionStatus"), exports);
|
|
427
439
|
__exportStar(require("./SubscriptionResponseModelBillingPeriod"), exports);
|
|
428
440
|
__exportStar(require("./SubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
429
441
|
__exportStar(require("./SubscriptionResponse"), exports);
|
|
442
|
+
__exportStar(require("./SubscriptionStatusType"), exports);
|
|
430
443
|
__exportStar(require("./SubscriptionUsageResponseModel"), exports);
|
|
444
|
+
__exportStar(require("./SupportedVoice"), exports);
|
|
431
445
|
__exportStar(require("./SystemToolConfigInputParams"), exports);
|
|
432
446
|
__exportStar(require("./SystemToolConfigInput"), exports);
|
|
433
447
|
__exportStar(require("./SystemToolConfigOutputParams"), exports);
|
|
434
448
|
__exportStar(require("./SystemToolConfigOutput"), exports);
|
|
435
|
-
__exportStar(require("./
|
|
449
|
+
__exportStar(require("./TtsConversationalConfigInput"), exports);
|
|
450
|
+
__exportStar(require("./TtsConversationalConfigOutput"), exports);
|
|
436
451
|
__exportStar(require("./TtsConversationalConfigOverride"), exports);
|
|
437
452
|
__exportStar(require("./TtsConversationalConfigOverrideConfig"), exports);
|
|
438
453
|
__exportStar(require("./TtsConversationalModel"), exports);
|
|
454
|
+
__exportStar(require("./TtsModelFamily"), exports);
|
|
439
455
|
__exportStar(require("./TtsOptimizeStreamingLatency"), exports);
|
|
440
456
|
__exportStar(require("./TtsOutputFormat"), exports);
|
|
441
457
|
__exportStar(require("./TelephonyProvider"), exports);
|
|
@@ -483,12 +499,17 @@ __exportStar(require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue"), e
|
|
|
483
499
|
__exportStar(require("./WebhookToolApiSchemaConfigOutput"), exports);
|
|
484
500
|
__exportStar(require("./WebhookToolConfigInput"), exports);
|
|
485
501
|
__exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
486
|
-
__exportStar(require("./
|
|
502
|
+
__exportStar(require("./WidgetConfigInputAvatar"), exports);
|
|
487
503
|
__exportStar(require("./WidgetConfig"), exports);
|
|
504
|
+
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
488
505
|
__exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
|
|
489
|
-
__exportStar(require("./
|
|
506
|
+
__exportStar(require("./WidgetConfigResponse"), exports);
|
|
490
507
|
__exportStar(require("./WidgetExpandable"), exports);
|
|
491
508
|
__exportStar(require("./WidgetFeedbackMode"), exports);
|
|
509
|
+
__exportStar(require("./WidgetLanguagePreset"), exports);
|
|
510
|
+
__exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
511
|
+
__exportStar(require("./WidgetPlacement"), exports);
|
|
512
|
+
__exportStar(require("./WidgetTextContents"), exports);
|
|
492
513
|
__exportStar(require("./WorkspaceBatchCallsResponse"), exports);
|
|
493
514
|
__exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
|
|
494
515
|
__exportStar(require("./WorkspaceResourceType"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { TextToSoundEffects } from "./api/resources/textToSoundEffects/client/Cl
|
|
|
8
8
|
import { AudioIsolation } from "./api/resources/audioIsolation/client/Client";
|
|
9
9
|
import { Samples } from "./api/resources/samples/client/Client";
|
|
10
10
|
import { TextToSpeech } from "./api/resources/textToSpeech/client/Client";
|
|
11
|
+
import { TextToDialogue } from "./api/resources/textToDialogue/client/Client";
|
|
11
12
|
import { SpeechToSpeech } from "./api/resources/speechToSpeech/client/Client";
|
|
12
13
|
import { TextToVoice } from "./api/resources/textToVoice/client/Client";
|
|
13
14
|
import { User } from "./api/resources/user/client/Client";
|
|
@@ -50,6 +51,7 @@ export declare class ElevenLabsClient {
|
|
|
50
51
|
protected _audioIsolation: AudioIsolation | undefined;
|
|
51
52
|
protected _samples: Samples | undefined;
|
|
52
53
|
protected _textToSpeech: TextToSpeech | undefined;
|
|
54
|
+
protected _textToDialogue: TextToDialogue | undefined;
|
|
53
55
|
protected _speechToSpeech: SpeechToSpeech | undefined;
|
|
54
56
|
protected _textToVoice: TextToVoice | undefined;
|
|
55
57
|
protected _user: User | undefined;
|
|
@@ -70,6 +72,7 @@ export declare class ElevenLabsClient {
|
|
|
70
72
|
get audioIsolation(): AudioIsolation;
|
|
71
73
|
get samples(): Samples;
|
|
72
74
|
get textToSpeech(): TextToSpeech;
|
|
75
|
+
get textToDialogue(): TextToDialogue;
|
|
73
76
|
get speechToSpeech(): SpeechToSpeech;
|
|
74
77
|
get textToVoice(): TextToVoice;
|
|
75
78
|
get user(): User;
|
package/dist/Client.js
CHANGED
|
@@ -9,20 +9,21 @@ const Client_2 = require("./api/resources/textToSoundEffects/client/Client");
|
|
|
9
9
|
const Client_3 = require("./api/resources/audioIsolation/client/Client");
|
|
10
10
|
const Client_4 = require("./api/resources/samples/client/Client");
|
|
11
11
|
const Client_5 = require("./api/resources/textToSpeech/client/Client");
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
20
|
-
const Client_14 = require("./api/resources/
|
|
21
|
-
const Client_15 = require("./api/resources/
|
|
22
|
-
const Client_16 = require("./api/resources/
|
|
23
|
-
const Client_17 = require("./api/resources/
|
|
24
|
-
const Client_18 = require("./api/resources/
|
|
25
|
-
const Client_19 = require("./api/resources/
|
|
12
|
+
const Client_6 = require("./api/resources/textToDialogue/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/speechToSpeech/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/textToVoice/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/user/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/voices/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/studio/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/dubbing/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/models/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/audioNative/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/usage/client/Client");
|
|
22
|
+
const Client_16 = require("./api/resources/pronunciationDictionaries/client/Client");
|
|
23
|
+
const Client_17 = require("./api/resources/speechToText/client/Client");
|
|
24
|
+
const Client_18 = require("./api/resources/forcedAlignment/client/Client");
|
|
25
|
+
const Client_19 = require("./api/resources/conversationalAi/client/Client");
|
|
26
|
+
const Client_20 = require("./api/resources/workspace/client/Client");
|
|
26
27
|
class ElevenLabsClient {
|
|
27
28
|
constructor(_options = {}) {
|
|
28
29
|
this._options = _options;
|
|
@@ -47,61 +48,65 @@ class ElevenLabsClient {
|
|
|
47
48
|
var _a;
|
|
48
49
|
return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_5.TextToSpeech(this._options)));
|
|
49
50
|
}
|
|
51
|
+
get textToDialogue() {
|
|
52
|
+
var _a;
|
|
53
|
+
return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new Client_6.TextToDialogue(this._options)));
|
|
54
|
+
}
|
|
50
55
|
get speechToSpeech() {
|
|
51
56
|
var _a;
|
|
52
|
-
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new
|
|
57
|
+
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new Client_7.SpeechToSpeech(this._options)));
|
|
53
58
|
}
|
|
54
59
|
get textToVoice() {
|
|
55
60
|
var _a;
|
|
56
|
-
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new
|
|
61
|
+
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new Client_8.TextToVoice(this._options)));
|
|
57
62
|
}
|
|
58
63
|
get user() {
|
|
59
64
|
var _a;
|
|
60
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
65
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_9.User(this._options)));
|
|
61
66
|
}
|
|
62
67
|
get voices() {
|
|
63
68
|
var _a;
|
|
64
|
-
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new
|
|
69
|
+
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new Client_10.Voices(this._options)));
|
|
65
70
|
}
|
|
66
71
|
get studio() {
|
|
67
72
|
var _a;
|
|
68
|
-
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new
|
|
73
|
+
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new Client_11.Studio(this._options)));
|
|
69
74
|
}
|
|
70
75
|
get dubbing() {
|
|
71
76
|
var _a;
|
|
72
|
-
return ((_a = this._dubbing) !== null && _a !== void 0 ? _a : (this._dubbing = new
|
|
77
|
+
return ((_a = this._dubbing) !== null && _a !== void 0 ? _a : (this._dubbing = new Client_12.Dubbing(this._options)));
|
|
73
78
|
}
|
|
74
79
|
get models() {
|
|
75
80
|
var _a;
|
|
76
|
-
return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new
|
|
81
|
+
return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_13.Models(this._options)));
|
|
77
82
|
}
|
|
78
83
|
get audioNative() {
|
|
79
84
|
var _a;
|
|
80
|
-
return ((_a = this._audioNative) !== null && _a !== void 0 ? _a : (this._audioNative = new
|
|
85
|
+
return ((_a = this._audioNative) !== null && _a !== void 0 ? _a : (this._audioNative = new Client_14.AudioNative(this._options)));
|
|
81
86
|
}
|
|
82
87
|
get usage() {
|
|
83
88
|
var _a;
|
|
84
|
-
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new
|
|
89
|
+
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_15.Usage(this._options)));
|
|
85
90
|
}
|
|
86
91
|
get pronunciationDictionaries() {
|
|
87
92
|
var _a;
|
|
88
|
-
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new
|
|
93
|
+
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_16.PronunciationDictionaries(this._options)));
|
|
89
94
|
}
|
|
90
95
|
get speechToText() {
|
|
91
96
|
var _a;
|
|
92
|
-
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new
|
|
97
|
+
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_17.SpeechToText(this._options)));
|
|
93
98
|
}
|
|
94
99
|
get forcedAlignment() {
|
|
95
100
|
var _a;
|
|
96
|
-
return ((_a = this._forcedAlignment) !== null && _a !== void 0 ? _a : (this._forcedAlignment = new
|
|
101
|
+
return ((_a = this._forcedAlignment) !== null && _a !== void 0 ? _a : (this._forcedAlignment = new Client_18.ForcedAlignment(this._options)));
|
|
97
102
|
}
|
|
98
103
|
get conversationalAi() {
|
|
99
104
|
var _a;
|
|
100
|
-
return ((_a = this._conversationalAi) !== null && _a !== void 0 ? _a : (this._conversationalAi = new
|
|
105
|
+
return ((_a = this._conversationalAi) !== null && _a !== void 0 ? _a : (this._conversationalAi = new Client_19.ConversationalAi(this._options)));
|
|
101
106
|
}
|
|
102
107
|
get workspace() {
|
|
103
108
|
var _a;
|
|
104
|
-
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new
|
|
109
|
+
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_20.Workspace(this._options)));
|
|
105
110
|
}
|
|
106
111
|
}
|
|
107
112
|
exports.ElevenLabsClient = ElevenLabsClient;
|
|
@@ -82,7 +82,7 @@ class AudioIsolation {
|
|
|
82
82
|
method: "POST",
|
|
83
83
|
headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.apiKey)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.2.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
requestType: "file",
|
|
87
87
|
duplex: _maybeEncodedRequest.duplex,
|
|
88
88
|
body: _maybeEncodedRequest.body,
|
|
@@ -151,7 +151,7 @@ class AudioIsolation {
|
|
|
151
151
|
method: "POST",
|
|
152
152
|
headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
153
153
|
? yield core.Supplier.get(this._options.apiKey)
|
|
154
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.
|
|
154
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.2.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
155
155
|
requestType: "file",
|
|
156
156
|
duplex: _maybeEncodedRequest.duplex,
|
|
157
157
|
body: _maybeEncodedRequest.body,
|
|
@@ -119,7 +119,7 @@ class AudioNative {
|
|
|
119
119
|
method: "POST",
|
|
120
120
|
headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
121
121
|
? yield core.Supplier.get(this._options.apiKey)
|
|
122
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.
|
|
122
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.2.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
123
123
|
requestType: "file",
|
|
124
124
|
duplex: _maybeEncodedRequest.duplex,
|
|
125
125
|
body: _maybeEncodedRequest.body,
|
|
@@ -194,7 +194,7 @@ class AudioNative {
|
|
|
194
194
|
method: "GET",
|
|
195
195
|
headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
196
196
|
? yield core.Supplier.get(this._options.apiKey)
|
|
197
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.
|
|
197
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.2.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
198
198
|
contentType: "application/json",
|
|
199
199
|
requestType: "json",
|
|
200
200
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -280,7 +280,7 @@ class AudioNative {
|
|
|
280
280
|
method: "POST",
|
|
281
281
|
headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
282
282
|
? yield core.Supplier.get(this._options.apiKey)
|
|
283
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.
|
|
283
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.2.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
284
|
requestType: "file",
|
|
285
285
|
duplex: _maybeEncodedRequest.duplex,
|
|
286
286
|
body: _maybeEncodedRequest.body,
|
|
@@ -74,6 +74,45 @@ export declare class ConversationalAi {
|
|
|
74
74
|
*/
|
|
75
75
|
addToKnowledgeBase(request: ElevenLabs.BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost, requestOptions?: ConversationalAi.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddKnowledgeBaseResponseModel>;
|
|
76
76
|
private __addToKnowledgeBase;
|
|
77
|
+
/**
|
|
78
|
+
* Provides information about all RAG indexes of the specified knowledgebase document.
|
|
79
|
+
*
|
|
80
|
+
* @param {string} documentationId - The id of a document from the knowledge base. This is returned on document addition.
|
|
81
|
+
* @param {ConversationalAi.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM")
|
|
87
|
+
*/
|
|
88
|
+
getDocumentRagIndexes(documentationId: string, requestOptions?: ConversationalAi.RequestOptions): core.HttpResponsePromise<ElevenLabs.RagDocumentIndexesResponseModel>;
|
|
89
|
+
private __getDocumentRagIndexes;
|
|
90
|
+
/**
|
|
91
|
+
* Delete RAG index for the knowledgebase document.
|
|
92
|
+
*
|
|
93
|
+
* @param {string} documentationId - The id of a document from the knowledge base. This is returned on document addition.
|
|
94
|
+
* @param {string} ragIndexId - The id of RAG index of document from the knowledge base.
|
|
95
|
+
* @param {ConversationalAi.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
101
|
+
*/
|
|
102
|
+
deleteDocumentRagIndex(documentationId: string, ragIndexId: string, requestOptions?: ConversationalAi.RequestOptions): core.HttpResponsePromise<ElevenLabs.RagDocumentIndexResponseModel>;
|
|
103
|
+
private __deleteDocumentRagIndex;
|
|
104
|
+
/**
|
|
105
|
+
* Provides total size and other information of RAG indexes used by knowledgebase documents
|
|
106
|
+
*
|
|
107
|
+
* @param {ConversationalAi.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* await client.conversationalAi.ragIndexOverview()
|
|
113
|
+
*/
|
|
114
|
+
ragIndexOverview(requestOptions?: ConversationalAi.RequestOptions): core.HttpResponsePromise<ElevenLabs.RagIndexOverviewResponseModel>;
|
|
115
|
+
private __ragIndexOverview;
|
|
77
116
|
/**
|
|
78
117
|
* Update an existing secret for the workspace
|
|
79
118
|
*
|