@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
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.SubscriptionResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const SubscriptionResponseModelCurrency_1 = require("./SubscriptionResponseModelCurrency");
|
|
42
|
-
const
|
|
42
|
+
const SubscriptionStatusType_1 = require("./SubscriptionStatusType");
|
|
43
43
|
const SubscriptionResponseModelBillingPeriod_1 = require("./SubscriptionResponseModelBillingPeriod");
|
|
44
44
|
const SubscriptionResponseModelCharacterRefreshPeriod_1 = require("./SubscriptionResponseModelCharacterRefreshPeriod");
|
|
45
45
|
exports.SubscriptionResponse = core.serialization.object({
|
|
@@ -60,7 +60,7 @@ exports.SubscriptionResponse = core.serialization.object({
|
|
|
60
60
|
canUseInstantVoiceCloning: core.serialization.property("can_use_instant_voice_cloning", core.serialization.boolean()),
|
|
61
61
|
canUseProfessionalVoiceCloning: core.serialization.property("can_use_professional_voice_cloning", core.serialization.boolean()),
|
|
62
62
|
currency: SubscriptionResponseModelCurrency_1.SubscriptionResponseModelCurrency.optional(),
|
|
63
|
-
status:
|
|
63
|
+
status: SubscriptionStatusType_1.SubscriptionStatusType,
|
|
64
64
|
billingPeriod: core.serialization.property("billing_period", SubscriptionResponseModelBillingPeriod_1.SubscriptionResponseModelBillingPeriod.optional()),
|
|
65
65
|
characterRefreshPeriod: core.serialization.property("character_refresh_period", SubscriptionResponseModelCharacterRefreshPeriod_1.SubscriptionResponseModelCharacterRefreshPeriod.optional()),
|
|
66
66
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SubscriptionStatusType: core.serialization.Schema<serializers.SubscriptionStatusType.Raw, ElevenLabs.SubscriptionStatusType>;
|
|
8
|
+
export declare namespace SubscriptionStatusType {
|
|
9
|
+
type Raw = "trialing" | "active" | "incomplete" | "incomplete_expired" | "past_due" | "canceled" | "unpaid" | "free" | "free_disabled";
|
|
10
|
+
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SubscriptionStatusType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.SubscriptionStatusType = core.serialization.enum_([
|
|
42
42
|
"trialing",
|
|
43
43
|
"active",
|
|
44
44
|
"incomplete",
|
|
@@ -47,4 +47,5 @@ exports.SubscriptionStatus = core.serialization.enum_([
|
|
|
47
47
|
"canceled",
|
|
48
48
|
"unpaid",
|
|
49
49
|
"free",
|
|
50
|
+
"free_disabled",
|
|
50
51
|
]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TtsModelFamily } from "./TtsModelFamily";
|
|
8
|
+
export declare const SupportedVoice: core.serialization.ObjectSchema<serializers.SupportedVoice.Raw, ElevenLabs.SupportedVoice>;
|
|
9
|
+
export declare namespace SupportedVoice {
|
|
10
|
+
interface Raw {
|
|
11
|
+
label: string;
|
|
12
|
+
voice_id: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
language?: string | null;
|
|
15
|
+
model_family?: TtsModelFamily.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SupportedVoice = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const TtsModelFamily_1 = require("./TtsModelFamily");
|
|
42
|
+
exports.SupportedVoice = core.serialization.object({
|
|
43
|
+
label: core.serialization.string(),
|
|
44
|
+
voiceId: core.serialization.property("voice_id", core.serialization.string()),
|
|
45
|
+
description: core.serialization.string().optional(),
|
|
46
|
+
language: core.serialization.string().optional(),
|
|
47
|
+
modelFamily: core.serialization.property("model_family", TtsModelFamily_1.TtsModelFamily.optional()),
|
|
48
|
+
});
|
|
@@ -6,17 +6,21 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
8
8
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
9
|
+
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
9
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
10
11
|
import { TransferToNumberToolConfig } from "./TransferToNumberToolConfig";
|
|
11
12
|
export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
|
|
12
13
|
export declare namespace SystemToolConfigInputParams {
|
|
13
|
-
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber;
|
|
14
|
+
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber;
|
|
14
15
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
15
16
|
system_tool_type: "end_call";
|
|
16
17
|
}
|
|
17
18
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
18
19
|
system_tool_type: "language_detection";
|
|
19
20
|
}
|
|
21
|
+
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
22
|
+
system_tool_type: "skip_turn";
|
|
23
|
+
}
|
|
20
24
|
interface TransferToAgent extends TransferToAgentToolConfig.Raw {
|
|
21
25
|
system_tool_type: "transfer_to_agent";
|
|
22
26
|
}
|
|
@@ -40,12 +40,14 @@ exports.SystemToolConfigInputParams = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
42
42
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
43
|
+
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
43
44
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
44
45
|
const TransferToNumberToolConfig_1 = require("./TransferToNumberToolConfig");
|
|
45
46
|
exports.SystemToolConfigInputParams = core.serialization
|
|
46
47
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
47
48
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
48
49
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
50
|
+
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
49
51
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
50
52
|
transfer_to_number: TransferToNumberToolConfig_1.TransferToNumberToolConfig,
|
|
51
53
|
})
|
|
@@ -6,17 +6,21 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
8
8
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
9
|
+
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
9
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
10
11
|
import { TransferToNumberToolConfig } from "./TransferToNumberToolConfig";
|
|
11
12
|
export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
|
|
12
13
|
export declare namespace SystemToolConfigOutputParams {
|
|
13
|
-
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber;
|
|
14
|
+
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber;
|
|
14
15
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
15
16
|
system_tool_type: "end_call";
|
|
16
17
|
}
|
|
17
18
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
18
19
|
system_tool_type: "language_detection";
|
|
19
20
|
}
|
|
21
|
+
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
22
|
+
system_tool_type: "skip_turn";
|
|
23
|
+
}
|
|
20
24
|
interface TransferToAgent extends TransferToAgentToolConfig.Raw {
|
|
21
25
|
system_tool_type: "transfer_to_agent";
|
|
22
26
|
}
|
|
@@ -40,12 +40,14 @@ exports.SystemToolConfigOutputParams = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
42
42
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
43
|
+
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
43
44
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
44
45
|
const TransferToNumberToolConfig_1 = require("./TransferToNumberToolConfig");
|
|
45
46
|
exports.SystemToolConfigOutputParams = core.serialization
|
|
46
47
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
47
48
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
48
49
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
50
|
+
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
49
51
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
50
52
|
transfer_to_number: TransferToNumberToolConfig_1.TransferToNumberToolConfig,
|
|
51
53
|
})
|
package/dist/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts}
RENAMED
|
@@ -5,14 +5,16 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
8
|
+
import { SupportedVoice } from "./SupportedVoice";
|
|
8
9
|
import { TtsOutputFormat } from "./TtsOutputFormat";
|
|
9
10
|
import { TtsOptimizeStreamingLatency } from "./TtsOptimizeStreamingLatency";
|
|
10
11
|
import { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
11
|
-
export declare const
|
|
12
|
-
export declare namespace
|
|
12
|
+
export declare const TtsConversationalConfigInput: core.serialization.ObjectSchema<serializers.TtsConversationalConfigInput.Raw, ElevenLabs.TtsConversationalConfigInput>;
|
|
13
|
+
export declare namespace TtsConversationalConfigInput {
|
|
13
14
|
interface Raw {
|
|
14
15
|
model_id?: TtsConversationalModel.Raw | null;
|
|
15
16
|
voice_id?: string | null;
|
|
17
|
+
supported_voices?: SupportedVoice.Raw[] | null;
|
|
16
18
|
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
17
19
|
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
18
20
|
stability?: number | null;
|
|
@@ -36,15 +36,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.TtsConversationalConfigInput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
42
|
+
const SupportedVoice_1 = require("./SupportedVoice");
|
|
42
43
|
const TtsOutputFormat_1 = require("./TtsOutputFormat");
|
|
43
44
|
const TtsOptimizeStreamingLatency_1 = require("./TtsOptimizeStreamingLatency");
|
|
44
45
|
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
45
|
-
exports.
|
|
46
|
+
exports.TtsConversationalConfigInput = core.serialization.object({
|
|
46
47
|
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
47
48
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
|
+
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
48
50
|
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
49
51
|
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
50
52
|
stability: core.serialization.number().optional(),
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
8
|
+
import { SupportedVoice } from "./SupportedVoice";
|
|
9
|
+
import { TtsOutputFormat } from "./TtsOutputFormat";
|
|
10
|
+
import { TtsOptimizeStreamingLatency } from "./TtsOptimizeStreamingLatency";
|
|
11
|
+
import { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
12
|
+
export declare const TtsConversationalConfigOutput: core.serialization.ObjectSchema<serializers.TtsConversationalConfigOutput.Raw, ElevenLabs.TtsConversationalConfigOutput>;
|
|
13
|
+
export declare namespace TtsConversationalConfigOutput {
|
|
14
|
+
interface Raw {
|
|
15
|
+
model_id?: TtsConversationalModel.Raw | null;
|
|
16
|
+
voice_id?: string | null;
|
|
17
|
+
supported_voices?: SupportedVoice.Raw[] | null;
|
|
18
|
+
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
19
|
+
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
20
|
+
stability?: number | null;
|
|
21
|
+
speed?: number | null;
|
|
22
|
+
similarity_boost?: number | null;
|
|
23
|
+
pronunciation_dictionary_locators?: PydanticPronunciationDictionaryVersionLocator.Raw[] | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TtsConversationalConfigOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
42
|
+
const SupportedVoice_1 = require("./SupportedVoice");
|
|
43
|
+
const TtsOutputFormat_1 = require("./TtsOutputFormat");
|
|
44
|
+
const TtsOptimizeStreamingLatency_1 = require("./TtsOptimizeStreamingLatency");
|
|
45
|
+
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
46
|
+
exports.TtsConversationalConfigOutput = core.serialization.object({
|
|
47
|
+
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
48
|
+
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
|
+
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
50
|
+
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
51
|
+
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
52
|
+
stability: core.serialization.number().optional(),
|
|
53
|
+
speed: core.serialization.number().optional(),
|
|
54
|
+
similarityBoost: core.serialization.property("similarity_boost", core.serialization.number().optional()),
|
|
55
|
+
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PydanticPronunciationDictionaryVersionLocator_1.PydanticPronunciationDictionaryVersionLocator).optional()),
|
|
56
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TtsModelFamily: core.serialization.Schema<serializers.TtsModelFamily.Raw, ElevenLabs.TtsModelFamily>;
|
|
8
|
+
export declare namespace TtsModelFamily {
|
|
9
|
+
type Raw = "turbo" | "flash" | "multilingual";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TtsModelFamily = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TtsModelFamily = core.serialization.enum_(["turbo", "flash", "multilingual"]);
|
|
@@ -8,9 +8,9 @@ export declare const VoiceSettings: core.serialization.ObjectSchema<serializers.
|
|
|
8
8
|
export declare namespace VoiceSettings {
|
|
9
9
|
interface Raw {
|
|
10
10
|
stability?: number | null;
|
|
11
|
+
use_speaker_boost?: boolean | null;
|
|
11
12
|
similarity_boost?: number | null;
|
|
12
13
|
style?: number | null;
|
|
13
|
-
use_speaker_boost?: boolean | null;
|
|
14
14
|
speed?: number | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -40,8 +40,8 @@ exports.VoiceSettings = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.VoiceSettings = core.serialization.object({
|
|
42
42
|
stability: core.serialization.number().optional(),
|
|
43
|
+
useSpeakerBoost: core.serialization.property("use_speaker_boost", core.serialization.boolean().optional()),
|
|
43
44
|
similarityBoost: core.serialization.property("similarity_boost", core.serialization.number().optional()),
|
|
44
45
|
style: core.serialization.number().optional(),
|
|
45
|
-
useSpeakerBoost: core.serialization.property("use_speaker_boost", core.serialization.boolean().optional()),
|
|
46
46
|
speed: core.serialization.number().optional(),
|
|
47
47
|
});
|
|
@@ -17,7 +17,7 @@ export declare namespace WebsocketTtsClientMessageMulti {
|
|
|
17
17
|
authorization?: string | null;
|
|
18
18
|
flush?: boolean | null;
|
|
19
19
|
pronunciation_dictionary_locators?: PronunciationDictionaryLocator.Raw[] | null;
|
|
20
|
-
|
|
20
|
+
contextId?: string | null;
|
|
21
21
|
close_context?: boolean | null;
|
|
22
22
|
close_socket?: boolean | null;
|
|
23
23
|
}
|
|
@@ -49,7 +49,7 @@ exports.WebsocketTtsClientMessageMulti = core.serialization.object({
|
|
|
49
49
|
authorization: core.serialization.string().optional(),
|
|
50
50
|
flush: core.serialization.boolean().optional(),
|
|
51
51
|
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryLocator_1.PronunciationDictionaryLocator).optional()),
|
|
52
|
-
contextId: core.serialization.
|
|
52
|
+
contextId: core.serialization.string().optional(),
|
|
53
53
|
closeContext: core.serialization.property("close_context", core.serialization.boolean().optional()),
|
|
54
54
|
closeSocket: core.serialization.property("close_socket", core.serialization.boolean().optional()),
|
|
55
55
|
});
|
|
@@ -5,15 +5,19 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EmbedVariant } from "./EmbedVariant";
|
|
8
|
+
import { WidgetPlacement } from "./WidgetPlacement";
|
|
8
9
|
import { WidgetExpandable } from "./WidgetExpandable";
|
|
9
|
-
import {
|
|
10
|
+
import { WidgetConfigOutputAvatar } from "./WidgetConfigOutputAvatar";
|
|
10
11
|
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
|
|
12
|
+
import { WidgetTextContents } from "./WidgetTextContents";
|
|
13
|
+
import { WidgetLanguagePreset } from "./WidgetLanguagePreset";
|
|
11
14
|
export declare const WidgetConfig: core.serialization.ObjectSchema<serializers.WidgetConfig.Raw, ElevenLabs.WidgetConfig>;
|
|
12
15
|
export declare namespace WidgetConfig {
|
|
13
16
|
interface Raw {
|
|
14
17
|
variant?: EmbedVariant.Raw | null;
|
|
18
|
+
placement?: WidgetPlacement.Raw | null;
|
|
15
19
|
expandable?: WidgetExpandable.Raw | null;
|
|
16
|
-
avatar?:
|
|
20
|
+
avatar?: WidgetConfigOutputAvatar.Raw | null;
|
|
17
21
|
feedback_mode?: WidgetFeedbackMode.Raw | null;
|
|
18
22
|
bg_color?: string | null;
|
|
19
23
|
text_color?: string | null;
|
|
@@ -38,7 +42,12 @@ export declare namespace WidgetConfig {
|
|
|
38
42
|
disable_banner?: boolean | null;
|
|
39
43
|
override_link?: string | null;
|
|
40
44
|
mic_muting_enabled?: boolean | null;
|
|
45
|
+
transcript_enabled?: boolean | null;
|
|
46
|
+
text_input_enabled?: boolean | null;
|
|
47
|
+
text_contents?: WidgetTextContents.Raw | null;
|
|
41
48
|
language_selector?: boolean | null;
|
|
49
|
+
supports_text_only?: boolean | null;
|
|
42
50
|
custom_avatar_path?: string | null;
|
|
51
|
+
language_presets?: Record<string, WidgetLanguagePreset.Raw> | null;
|
|
43
52
|
}
|
|
44
53
|
}
|
|
@@ -39,13 +39,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.WidgetConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EmbedVariant_1 = require("./EmbedVariant");
|
|
42
|
+
const WidgetPlacement_1 = require("./WidgetPlacement");
|
|
42
43
|
const WidgetExpandable_1 = require("./WidgetExpandable");
|
|
43
|
-
const
|
|
44
|
+
const WidgetConfigOutputAvatar_1 = require("./WidgetConfigOutputAvatar");
|
|
44
45
|
const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
|
|
46
|
+
const WidgetTextContents_1 = require("./WidgetTextContents");
|
|
47
|
+
const WidgetLanguagePreset_1 = require("./WidgetLanguagePreset");
|
|
45
48
|
exports.WidgetConfig = core.serialization.object({
|
|
46
49
|
variant: EmbedVariant_1.EmbedVariant.optional(),
|
|
50
|
+
placement: WidgetPlacement_1.WidgetPlacement.optional(),
|
|
47
51
|
expandable: WidgetExpandable_1.WidgetExpandable.optional(),
|
|
48
|
-
avatar:
|
|
52
|
+
avatar: WidgetConfigOutputAvatar_1.WidgetConfigOutputAvatar.optional(),
|
|
49
53
|
feedbackMode: core.serialization.property("feedback_mode", WidgetFeedbackMode_1.WidgetFeedbackMode.optional()),
|
|
50
54
|
bgColor: core.serialization.property("bg_color", core.serialization.string().optional()),
|
|
51
55
|
textColor: core.serialization.property("text_color", core.serialization.string().optional()),
|
|
@@ -70,6 +74,11 @@ exports.WidgetConfig = core.serialization.object({
|
|
|
70
74
|
disableBanner: core.serialization.property("disable_banner", core.serialization.boolean().optional()),
|
|
71
75
|
overrideLink: core.serialization.property("override_link", core.serialization.string().optional()),
|
|
72
76
|
micMutingEnabled: core.serialization.property("mic_muting_enabled", core.serialization.boolean().optional()),
|
|
77
|
+
transcriptEnabled: core.serialization.property("transcript_enabled", core.serialization.boolean().optional()),
|
|
78
|
+
textInputEnabled: core.serialization.property("text_input_enabled", core.serialization.boolean().optional()),
|
|
79
|
+
textContents: core.serialization.property("text_contents", WidgetTextContents_1.WidgetTextContents.optional()),
|
|
73
80
|
languageSelector: core.serialization.property("language_selector", core.serialization.boolean().optional()),
|
|
81
|
+
supportsTextOnly: core.serialization.property("supports_text_only", core.serialization.boolean().optional()),
|
|
74
82
|
customAvatarPath: core.serialization.property("custom_avatar_path", core.serialization.string().optional()),
|
|
83
|
+
languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), WidgetLanguagePreset_1.WidgetLanguagePreset).optional()),
|
|
75
84
|
});
|
|
@@ -7,9 +7,9 @@ import * as core from "../../core";
|
|
|
7
7
|
import { OrbAvatar } from "./OrbAvatar";
|
|
8
8
|
import { UrlAvatar } from "./UrlAvatar";
|
|
9
9
|
import { ImageAvatar } from "./ImageAvatar";
|
|
10
|
-
export declare const
|
|
11
|
-
export declare namespace
|
|
12
|
-
type Raw =
|
|
10
|
+
export declare const WidgetConfigInputAvatar: core.serialization.Schema<serializers.WidgetConfigInputAvatar.Raw, ElevenLabs.WidgetConfigInputAvatar>;
|
|
11
|
+
export declare namespace WidgetConfigInputAvatar {
|
|
12
|
+
type Raw = WidgetConfigInputAvatar.Orb | WidgetConfigInputAvatar.Url | WidgetConfigInputAvatar.Image;
|
|
13
13
|
interface Orb extends OrbAvatar.Raw {
|
|
14
14
|
type: "orb";
|
|
15
15
|
}
|
|
@@ -36,12 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.WidgetConfigInputAvatar = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const OrbAvatar_1 = require("./OrbAvatar");
|
|
42
42
|
const UrlAvatar_1 = require("./UrlAvatar");
|
|
43
43
|
const ImageAvatar_1 = require("./ImageAvatar");
|
|
44
|
-
exports.
|
|
44
|
+
exports.WidgetConfigInputAvatar = core.serialization
|
|
45
45
|
.union("type", {
|
|
46
46
|
orb: OrbAvatar_1.OrbAvatar,
|
|
47
47
|
url: UrlAvatar_1.UrlAvatar,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { OrbAvatar } from "./OrbAvatar";
|
|
8
|
+
import { UrlAvatar } from "./UrlAvatar";
|
|
9
|
+
import { ImageAvatar } from "./ImageAvatar";
|
|
10
|
+
export declare const WidgetConfigOutputAvatar: core.serialization.Schema<serializers.WidgetConfigOutputAvatar.Raw, ElevenLabs.WidgetConfigOutputAvatar>;
|
|
11
|
+
export declare namespace WidgetConfigOutputAvatar {
|
|
12
|
+
type Raw = WidgetConfigOutputAvatar.Orb | WidgetConfigOutputAvatar.Url | WidgetConfigOutputAvatar.Image;
|
|
13
|
+
interface Orb extends OrbAvatar.Raw {
|
|
14
|
+
type: "orb";
|
|
15
|
+
}
|
|
16
|
+
interface Url extends UrlAvatar.Raw {
|
|
17
|
+
type: "url";
|
|
18
|
+
}
|
|
19
|
+
interface Image extends ImageAvatar.Raw {
|
|
20
|
+
type: "image";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WidgetConfigOutputAvatar = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const OrbAvatar_1 = require("./OrbAvatar");
|
|
42
|
+
const UrlAvatar_1 = require("./UrlAvatar");
|
|
43
|
+
const ImageAvatar_1 = require("./ImageAvatar");
|
|
44
|
+
exports.WidgetConfigOutputAvatar = core.serialization
|
|
45
|
+
.union("type", {
|
|
46
|
+
orb: OrbAvatar_1.OrbAvatar,
|
|
47
|
+
url: UrlAvatar_1.UrlAvatar,
|
|
48
|
+
image: ImageAvatar_1.ImageAvatar,
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => value,
|
|
52
|
+
untransform: (value) => value,
|
|
53
|
+
});
|
package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts}
RENAMED
|
@@ -5,13 +5,17 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EmbedVariant } from "./EmbedVariant";
|
|
8
|
+
import { WidgetPlacement } from "./WidgetPlacement";
|
|
8
9
|
import { WidgetExpandable } from "./WidgetExpandable";
|
|
9
10
|
import { WidgetConfigResponseModelAvatar } from "./WidgetConfigResponseModelAvatar";
|
|
10
11
|
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
import { WidgetTextContents } from "./WidgetTextContents";
|
|
13
|
+
import { WidgetLanguagePresetResponse } from "./WidgetLanguagePresetResponse";
|
|
14
|
+
export declare const WidgetConfigResponse: core.serialization.ObjectSchema<serializers.WidgetConfigResponse.Raw, ElevenLabs.WidgetConfigResponse>;
|
|
15
|
+
export declare namespace WidgetConfigResponse {
|
|
13
16
|
interface Raw {
|
|
14
17
|
variant?: EmbedVariant.Raw | null;
|
|
18
|
+
placement?: WidgetPlacement.Raw | null;
|
|
15
19
|
expandable?: WidgetExpandable.Raw | null;
|
|
16
20
|
avatar?: WidgetConfigResponseModelAvatar.Raw | null;
|
|
17
21
|
feedback_mode?: WidgetFeedbackMode.Raw | null;
|
|
@@ -38,7 +42,14 @@ export declare namespace WidgetConfigResponseModel {
|
|
|
38
42
|
disable_banner?: boolean | null;
|
|
39
43
|
override_link?: string | null;
|
|
40
44
|
mic_muting_enabled?: boolean | null;
|
|
45
|
+
transcript_enabled?: boolean | null;
|
|
46
|
+
text_input_enabled?: boolean | null;
|
|
47
|
+
text_contents?: WidgetTextContents.Raw | null;
|
|
41
48
|
language: string;
|
|
42
49
|
supported_language_overrides?: string[] | null;
|
|
50
|
+
language_presets?: Record<string, WidgetLanguagePresetResponse.Raw> | null;
|
|
51
|
+
text_only?: boolean | null;
|
|
52
|
+
supports_text_only?: boolean | null;
|
|
53
|
+
first_message?: string | null;
|
|
43
54
|
}
|
|
44
55
|
}
|