@elevenlabs/elevenlabs-js 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/asyncapi.yml +11 -11
- package/.mock/definition/__package__.yml +709 -107
- package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +32 -0
- package/.mock/definition/conversationalAi/agents/link.yml +2 -1
- package/.mock/definition/conversationalAi/agents/llmUsage.yml +51 -0
- package/.mock/definition/conversationalAi/agents/widget.yml +30 -0
- package/.mock/definition/conversationalAi/agents.yml +47 -27
- package/.mock/definition/conversationalAi/batchCalls.yml +83 -0
- package/.mock/definition/conversationalAi/knowledgeBase/document.yml +5 -1
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +14 -5
- package/.mock/definition/conversationalAi/knowledgeBase.yml +2 -1
- package/.mock/definition/conversationalAi/llmUsage.yml +52 -0
- package/.mock/definition/conversationalAi.yml +99 -1
- package/.mock/definition/history.yml +8 -0
- package/.mock/definition/pronunciationDictionaries.yml +2 -2
- package/.mock/definition/speechToText.yml +14 -2
- package/.mock/definition/textToDialogue.yml +213 -0
- package/.mock/definition/textToVoice.yml +1 -1
- package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +5 -3
- package/.mock/definition/voices/settings.yml +3 -3
- package/.mock/definition/voices.yml +6 -3
- package/.mock/definition/workspace/groups/members.yml +0 -2
- package/.mock/definition/workspace/groups.yml +0 -1
- package/.mock/fern.config.json +1 -1
- package/.mock/openapi.json +3163 -232
- package/Client.d.ts +3 -0
- package/Client.js +33 -28
- package/README.md +2 -2
- package/api/resources/audioIsolation/client/Client.js +4 -4
- package/api/resources/audioNative/client/Client.js +6 -6
- package/api/resources/conversationalAi/client/Client.d.ts +42 -0
- package/api/resources/conversationalAi/client/Client.js +243 -16
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/dubbing/client/Client.js +6 -6
- package/api/resources/dubbing/resources/audio/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/client/Client.js +10 -10
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/api/resources/forcedAlignment/client/Client.js +2 -2
- package/api/resources/history/client/Client.js +10 -10
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/pronunciationDictionaries/client/Client.js +10 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
- package/api/resources/samples/client/Client.js +2 -2
- package/api/resources/speechToSpeech/client/Client.js +4 -4
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/studio/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/client/Client.js +12 -12
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
- package/api/resources/textToDialogue/client/Client.d.ts +44 -0
- package/api/resources/textToDialogue/client/Client.js +212 -0
- package/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/api/resources/textToDialogue/client/index.js +17 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/api/resources/textToDialogue/index.d.ts +2 -0
- package/api/resources/textToDialogue/index.js +18 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +18 -0
- package/api/resources/textToSoundEffects/client/Client.js +2 -2
- package/api/resources/textToSpeech/client/Client.js +8 -8
- package/api/resources/textToVoice/client/Client.js +4 -4
- package/api/resources/usage/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +2 -2
- package/api/resources/user/resources/subscription/client/Client.js +2 -2
- package/api/resources/voices/client/Client.js +20 -17
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/api/resources/voices/resources/ivc/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/client/Client.js +6 -6
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -7
- package/api/resources/workspace/resources/groups/client/Client.js +2 -2
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
- package/api/resources/workspace/resources/invites/client/Client.js +6 -6
- package/api/resources/workspace/resources/members/client/Client.js +4 -4
- package/api/resources/workspace/resources/resources/client/Client.js +6 -6
- package/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/api/types/AgentConfigOverride.d.ts +4 -4
- package/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/api/types/AudioOutputMulti.d.ts +1 -1
- package/api/types/AuthorizationMethod.d.ts +2 -1
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/ChapterContentBlockInputModel.d.ts +1 -0
- package/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/api/types/ChapterContentBlockInputModelSubType.js +12 -0
- package/api/types/ClientEvent.d.ts +2 -1
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/api/types/ConversationConfigOverride.d.ts +1 -0
- package/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationTokenDbModel.d.ts +2 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/api/types/DialogueInput.d.ts +9 -0
- package/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/api/types/EmbedVariant.d.ts +2 -1
- package/api/types/EmbedVariant.js +1 -0
- package/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/api/types/FeatureStatusCommonModel.js +5 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/api/types/FeaturesUsageCommonModel.js +5 -0
- package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
- package/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
- package/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
- package/api/types/Llm.d.ts +28 -3
- package/api/types/Llm.js +27 -2
- package/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
- package/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
- package/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
- package/api/types/LlmUsageCalculatorResponseModel.js +5 -0
- package/api/types/McpApprovalRequiredModel.d.ts +12 -0
- package/api/types/McpApprovalRequiredModel.js +11 -0
- package/api/types/McpToolConfigInput.d.ts +2 -0
- package/api/types/McpToolConfigOutput.d.ts +2 -0
- package/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/api/types/ModelSettingsResponseModel.js +5 -0
- package/api/types/NativeMcpToolConfigInput.d.ts +22 -0
- package/api/types/NativeMcpToolConfigInput.js +5 -0
- package/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
- package/api/types/NativeMcpToolConfigOutput.js +5 -0
- package/api/types/PromptAgent.d.ts +2 -0
- package/api/types/PromptAgentDbModel.d.ts +2 -0
- package/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
- package/api/types/PromptAgentInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentOverride.d.ts +1 -1
- package/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/api/types/RagConfig.d.ts +2 -0
- package/{dist/api/types/RagIndexResponseModel.d.ts → api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
- package/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/api/types/RagDocumentIndexUsage.js +5 -0
- package/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/api/types/RagIndexStatus.d.ts +3 -1
- package/api/types/RagIndexStatus.js +2 -0
- package/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
- package/api/types/SharedSoundGenerationResponseModel.js +5 -0
- package/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/api/types/SkipTurnToolConfig.js +5 -0
- package/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/api/types/Subscription.d.ts +1 -1
- package/api/types/SubscriptionResponse.d.ts +1 -1
- package/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
- package/{dist/api/types/ExtendedSubscriptionResponseModelStatus.js → api/types/SubscriptionStatusType.js} +3 -2
- package/api/types/SupportedVoice.d.ts +11 -0
- package/api/types/SupportedVoice.js +5 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/{dist/api/types/TtsConversationalConfig.d.ts → api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/api/types/TtsConversationalConfigInput.js +5 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/api/types/TtsConversationalConfigOutput.js +5 -0
- package/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/api/types/TtsModelFamily.d.ts +9 -0
- package/api/types/TtsModelFamily.js +11 -0
- package/api/types/VoiceSettings.d.ts +2 -2
- package/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
- package/api/types/WidgetConfig.d.ts +13 -1
- package/{dist/api/types/WidgetConfigAvatar.d.ts → api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/api/types/WidgetConfigInputAvatar.js +5 -0
- package/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
- package/api/types/WidgetConfigResponse.js +5 -0
- package/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/api/types/WidgetLanguagePreset.js +5 -0
- package/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/api/types/WidgetPlacement.d.ts +12 -0
- package/api/types/WidgetPlacement.js +14 -0
- package/api/types/WidgetTextContents.d.ts +47 -0
- package/api/types/WidgetTextContents.js +5 -0
- package/api/types/index.d.ts +33 -6
- package/api/types/index.js +33 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- package/dist/api/resources/audioIsolation/client/Client.js +4 -4
- package/dist/api/resources/audioNative/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/client/Client.d.ts +42 -0
- package/dist/api/resources/conversationalAi/client/Client.js +243 -16
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/dubbing/client/Client.js +6 -6
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +10 -10
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/dist/api/resources/forcedAlignment/client/Client.js +2 -2
- package/dist/api/resources/history/client/Client.js +10 -10
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +10 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
- package/dist/api/resources/samples/client/Client.js +2 -2
- package/dist/api/resources/speechToSpeech/client/Client.js +4 -4
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/studio/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/client/Client.js +12 -12
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
- package/dist/api/resources/textToDialogue/client/Client.d.ts +44 -0
- package/dist/api/resources/textToDialogue/client/Client.js +212 -0
- package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/api/resources/textToDialogue/client/index.js +17 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/dist/api/resources/textToDialogue/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/index.js +18 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +18 -0
- package/dist/api/resources/textToSoundEffects/client/Client.js +2 -2
- package/dist/api/resources/textToSpeech/client/Client.js +8 -8
- package/dist/api/resources/textToVoice/client/Client.js +4 -4
- package/dist/api/resources/usage/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +2 -2
- package/dist/api/resources/user/resources/subscription/client/Client.js +2 -2
- package/dist/api/resources/voices/client/Client.js +20 -17
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/client/Client.js +6 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -7
- package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/invites/client/Client.js +6 -6
- package/dist/api/resources/workspace/resources/members/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/resources/client/Client.js +6 -6
- package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/dist/api/types/AgentConfigOverride.d.ts +4 -4
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/dist/api/types/AudioOutputMulti.d.ts +1 -1
- package/dist/api/types/AuthorizationMethod.d.ts +2 -1
- package/dist/api/types/AuthorizationMethod.js +1 -0
- package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/dist/api/types/ChapterContentBlockInputModelSubType.js +12 -0
- package/dist/api/types/ClientEvent.d.ts +2 -1
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigOverride.d.ts +1 -0
- package/dist/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationTokenDbModel.d.ts +2 -0
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.js +5 -0
- package/dist/api/types/DialogueInput.d.ts +9 -0
- package/dist/api/types/DialogueInput.js +5 -0
- package/dist/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/dist/api/types/DialogueInputResponseModel.js +5 -0
- package/dist/api/types/EmbedVariant.d.ts +2 -1
- package/dist/api/types/EmbedVariant.js +1 -0
- package/dist/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/dist/api/types/FeatureStatusCommonModel.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/dist/api/types/FeaturesUsageCommonModel.js +5 -0
- package/dist/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
- package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
- package/dist/api/types/Llm.d.ts +28 -3
- package/dist/api/types/Llm.js +27 -2
- package/dist/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
- package/dist/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
- package/dist/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
- package/dist/api/types/LlmUsageCalculatorResponseModel.js +5 -0
- package/dist/api/types/McpApprovalRequiredModel.d.ts +12 -0
- package/dist/api/types/McpApprovalRequiredModel.js +11 -0
- package/dist/api/types/McpToolConfigInput.d.ts +2 -0
- package/dist/api/types/McpToolConfigOutput.d.ts +2 -0
- package/dist/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/dist/api/types/ModelSettingsResponseModel.js +5 -0
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +22 -0
- package/dist/api/types/NativeMcpToolConfigInput.js +5 -0
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
- package/dist/api/types/NativeMcpToolConfigOutput.js +5 -0
- package/dist/api/types/PromptAgent.d.ts +2 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +2 -0
- package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentOverride.d.ts +1 -1
- package/dist/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/dist/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/{api/types/RagIndexResponseModel.d.ts → dist/api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
- package/dist/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/dist/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/dist/api/types/RagDocumentIndexUsage.js +5 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/dist/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/dist/api/types/RagIndexStatus.d.ts +3 -1
- package/dist/api/types/RagIndexStatus.js +2 -0
- package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
- package/dist/api/types/SharedSoundGenerationResponseModel.js +5 -0
- package/dist/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/dist/api/types/SkipTurnToolConfig.js +5 -0
- package/dist/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/api/types/Subscription.d.ts +1 -1
- package/dist/api/types/SubscriptionResponse.d.ts +1 -1
- package/dist/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
- package/{api/types/ExtendedSubscriptionResponseModelStatus.js → dist/api/types/SubscriptionStatusType.js} +3 -2
- package/dist/api/types/SupportedVoice.d.ts +11 -0
- package/dist/api/types/SupportedVoice.js +5 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/dist/api/types/TtsConversationalConfigInput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/dist/api/types/TtsConversationalConfigOutput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/TtsModelFamily.d.ts +9 -0
- package/dist/api/types/TtsModelFamily.js +11 -0
- package/dist/api/types/VoiceSettings.d.ts +2 -2
- package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
- package/dist/api/types/WidgetConfig.d.ts +13 -1
- package/{api/types/WidgetConfigAvatar.d.ts → dist/api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/dist/api/types/WidgetConfigInputAvatar.js +5 -0
- package/dist/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/dist/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/dist/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
- package/dist/api/types/WidgetConfigResponse.js +5 -0
- package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/dist/api/types/WidgetLanguagePreset.js +5 -0
- package/dist/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/dist/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/dist/api/types/WidgetPlacement.d.ts +12 -0
- package/dist/api/types/WidgetPlacement.js +14 -0
- package/dist/api/types/WidgetTextContents.d.ts +47 -0
- package/dist/api/types/WidgetTextContents.js +5 -0
- package/dist/api/types/index.d.ts +33 -6
- package/dist/api/types/index.js +33 -6
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/serialization/resources/textToDialogue/client/index.js +17 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/dist/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +18 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- package/dist/serialization/types/AgentConfigOverride.d.ts +1 -1
- package/dist/serialization/types/AgentConfigOverride.js +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/dist/serialization/types/AudioOutputMulti.d.ts +1 -1
- package/dist/serialization/types/AudioOutputMulti.js +1 -1
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.js +2 -0
- package/dist/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/dist/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationTokenDbModel.d.ts +1 -0
- package/dist/serialization/types/ConversationTokenDbModel.js +1 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfig.js +2 -2
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/dist/serialization/types/DialogueInput.d.ts +13 -0
- package/dist/serialization/types/DialogueInput.js +44 -0
- package/dist/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/dist/serialization/types/DialogueInputResponseModel.js +45 -0
- package/dist/serialization/types/EmbedVariant.d.ts +1 -1
- package/dist/serialization/types/EmbedVariant.js +1 -1
- package/dist/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/dist/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/dist/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/dist/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
- package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +27 -2
- package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
- package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
- package/dist/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
- package/dist/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
- package/dist/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
- package/{serialization/types/ExtendedSubscriptionResponseModelStatus.js → dist/serialization/types/McpApprovalRequiredModel.js} +5 -10
- package/dist/serialization/types/McpToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/McpToolConfigInput.js +2 -0
- package/dist/serialization/types/McpToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/McpToolConfigOutput.js +2 -0
- package/dist/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
- package/dist/serialization/types/NativeMcpToolConfigInput.js +52 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
- package/dist/serialization/types/NativeMcpToolConfigOutput.js +52 -0
- package/dist/serialization/types/PromptAgent.d.ts +1 -0
- package/dist/serialization/types/PromptAgent.js +1 -0
- package/dist/serialization/types/PromptAgentDbModel.d.ts +1 -0
- package/dist/serialization/types/PromptAgentDbModel.js +1 -0
- package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentOutputToolsItem.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/dist/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/dist/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/dist/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{serialization/types/RagIndexResponseModel.js → dist/serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +8 -1
- package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
- package/dist/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
- package/dist/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/dist/serialization/types/SkipTurnToolConfig.js +41 -0
- package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/dist/serialization/types/Subscription.d.ts +2 -2
- package/dist/serialization/types/Subscription.js +2 -2
- package/dist/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/dist/serialization/types/SubscriptionResponse.js +2 -2
- package/dist/serialization/types/SubscriptionStatusType.d.ts +10 -0
- package/dist/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
- package/dist/serialization/types/SupportedVoice.d.ts +17 -0
- package/dist/serialization/types/SupportedVoice.js +48 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
- package/{serialization/types/TtsConversationalConfig.js → dist/serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +10 -0
- package/dist/serialization/types/TtsModelFamily.js +41 -0
- package/dist/serialization/types/VoiceSettings.d.ts +1 -1
- package/dist/serialization/types/VoiceSettings.js +1 -1
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
- package/dist/serialization/types/WidgetConfig.d.ts +11 -2
- package/dist/serialization/types/WidgetConfig.js +11 -2
- package/dist/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
- package/dist/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
- package/dist/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/dist/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
- package/dist/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
- package/dist/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/dist/serialization/types/WidgetLanguagePreset.js +44 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/dist/serialization/types/WidgetPlacement.d.ts +10 -0
- package/dist/serialization/types/WidgetPlacement.js +41 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +32 -0
- package/dist/serialization/types/WidgetTextContents.js +63 -0
- package/dist/serialization/types/index.d.ts +33 -6
- package/dist/serialization/types/index.js +33 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +883 -203
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/serialization/resources/textToDialogue/client/index.js +17 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/index.js +18 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +18 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- package/serialization/types/AgentConfigOverride.d.ts +1 -1
- package/serialization/types/AgentConfigOverride.js +1 -1
- package/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/serialization/types/AudioOutputMulti.d.ts +1 -1
- package/serialization/types/AudioOutputMulti.js +1 -1
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
- package/serialization/types/ChapterContentBlockInputModel.js +2 -0
- package/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
- package/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationTokenDbModel.d.ts +1 -0
- package/serialization/types/ConversationTokenDbModel.js +1 -0
- package/serialization/types/ConversationalConfig.d.ts +2 -2
- package/serialization/types/ConversationalConfig.js +2 -2
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/serialization/types/DialogueInput.d.ts +13 -0
- package/serialization/types/DialogueInput.js +44 -0
- package/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/serialization/types/DialogueInputResponseModel.js +45 -0
- package/serialization/types/EmbedVariant.d.ts +1 -1
- package/serialization/types/EmbedVariant.js +1 -1
- package/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
- package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
- package/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +27 -2
- package/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
- package/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
- package/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
- package/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
- package/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
- package/{dist/serialization/types/ExtendedSubscriptionResponseModelStatus.js → serialization/types/McpApprovalRequiredModel.js} +5 -10
- package/serialization/types/McpToolConfigInput.d.ts +2 -0
- package/serialization/types/McpToolConfigInput.js +2 -0
- package/serialization/types/McpToolConfigOutput.d.ts +2 -0
- package/serialization/types/McpToolConfigOutput.js +2 -0
- package/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
- package/serialization/types/NativeMcpToolConfigInput.js +52 -0
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
- package/serialization/types/NativeMcpToolConfigOutput.js +52 -0
- package/serialization/types/PromptAgent.d.ts +1 -0
- package/serialization/types/PromptAgent.js +1 -0
- package/serialization/types/PromptAgentDbModel.d.ts +1 -0
- package/serialization/types/PromptAgentDbModel.js +1 -0
- package/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
- package/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentOutputToolsItem.js +2 -0
- package/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{dist/serialization/types/RagIndexResponseModel.js → serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +8 -1
- package/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
- package/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
- package/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/serialization/types/SkipTurnToolConfig.js +41 -0
- package/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/serialization/types/Subscription.d.ts +2 -2
- package/serialization/types/Subscription.js +2 -2
- package/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/serialization/types/SubscriptionResponse.js +2 -2
- package/serialization/types/SubscriptionStatusType.d.ts +10 -0
- package/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
- package/serialization/types/SupportedVoice.d.ts +17 -0
- package/serialization/types/SupportedVoice.js +48 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
- package/{dist/serialization/types/TtsConversationalConfig.js → serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/serialization/types/TtsModelFamily.d.ts +10 -0
- package/serialization/types/TtsModelFamily.js +41 -0
- package/serialization/types/VoiceSettings.d.ts +1 -1
- package/serialization/types/VoiceSettings.js +1 -1
- package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
- package/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
- package/serialization/types/WidgetConfig.d.ts +11 -2
- package/serialization/types/WidgetConfig.js +11 -2
- package/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
- package/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
- package/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
- package/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
- package/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/serialization/types/WidgetLanguagePreset.js +44 -0
- package/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/serialization/types/WidgetPlacement.d.ts +10 -0
- package/serialization/types/WidgetPlacement.js +41 -0
- package/serialization/types/WidgetTextContents.d.ts +32 -0
- package/serialization/types/WidgetTextContents.js +63 -0
- package/serialization/types/index.d.ts +33 -6
- package/serialization/types/index.js +33 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/api/types/SubscriptionStatus.js +0 -16
- package/dist/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/dist/api/types/SubscriptionStatus.js +0 -16
- package/dist/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/dist/serialization/types/RagIndexResponseModel.d.ts +0 -14
- package/dist/serialization/types/SubscriptionStatus.d.ts +0 -10
- package/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/serialization/types/RagIndexResponseModel.d.ts +0 -14
- package/serialization/types/SubscriptionStatus.d.ts +0 -10
- /package/api/{types/RagIndexResponseModel.js → resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js} +0 -0
- /package/api/{types/TtsConversationalConfig.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
- /package/api/{types/WidgetConfigAvatar.js → resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js} +0 -0
- /package/api/{types/WidgetConfigResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
- /package/{dist/api/types/RagIndexResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
- /package/{dist/api/types/TtsConversationalConfig.js → api/types/CustomLlmRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/WidgetConfigAvatar.js → api/types/DialogueInput.js} +0 -0
- /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/DialogueInputResponseModel.js} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
size:
|
|
8
|
+
path: /v1/convai/agent/{agent_id}/knowledge-base/size
|
|
9
|
+
method: GET
|
|
10
|
+
auth: false
|
|
11
|
+
docs: Returns the number of pages in the agent's knowledge base.
|
|
12
|
+
source:
|
|
13
|
+
openapi: openapi.json
|
|
14
|
+
path-parameters:
|
|
15
|
+
agent_id: string
|
|
16
|
+
display-name: Returns The Size Of The Agent'S Knowledge Base
|
|
17
|
+
response:
|
|
18
|
+
docs: Successful Response
|
|
19
|
+
type: root.GetAgentKnowledgebaseSizeResponseModel
|
|
20
|
+
status-code: 200
|
|
21
|
+
errors:
|
|
22
|
+
- root.UnprocessableEntityError
|
|
23
|
+
examples:
|
|
24
|
+
- path-parameters:
|
|
25
|
+
agent_id: agent_id
|
|
26
|
+
response:
|
|
27
|
+
body:
|
|
28
|
+
number_of_pages: 1.1
|
|
29
|
+
audiences:
|
|
30
|
+
- convai
|
|
31
|
+
source:
|
|
32
|
+
openapi: openapi.json
|
|
@@ -29,9 +29,10 @@ service:
|
|
|
29
29
|
body:
|
|
30
30
|
agent_id: J3Pbu5gP6NNKBscdCdwB
|
|
31
31
|
token:
|
|
32
|
-
agent_id:
|
|
32
|
+
agent_id: agent_J3Pbu5gP6NNKBscdCdwB
|
|
33
33
|
conversation_token: '1234567890'
|
|
34
34
|
expiration_time_unix_secs: 1716153600
|
|
35
|
+
conversation_id: conv_J3Pbu5gP6NNKBscdCdwB
|
|
35
36
|
purpose: signed_url
|
|
36
37
|
audiences:
|
|
37
38
|
- convai
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
calculate:
|
|
8
|
+
path: /v1/convai/agent/{agent_id}/llm-usage/calculate
|
|
9
|
+
method: POST
|
|
10
|
+
auth: false
|
|
11
|
+
docs: Calculates expected number of LLM tokens needed for the specified agent.
|
|
12
|
+
source:
|
|
13
|
+
openapi: openapi.json
|
|
14
|
+
path-parameters:
|
|
15
|
+
agent_id: string
|
|
16
|
+
display-name: Calculate Expected Llm Usage For An Agent
|
|
17
|
+
request:
|
|
18
|
+
name: LlmUsageCalculatorRequestModel
|
|
19
|
+
body:
|
|
20
|
+
properties:
|
|
21
|
+
prompt_length:
|
|
22
|
+
type: optional<integer>
|
|
23
|
+
docs: Length of the prompt in characters.
|
|
24
|
+
number_of_pages:
|
|
25
|
+
type: optional<integer>
|
|
26
|
+
docs: >-
|
|
27
|
+
Pages of content in pdf documents OR urls in agent's Knowledge
|
|
28
|
+
Base.
|
|
29
|
+
rag_enabled:
|
|
30
|
+
type: optional<boolean>
|
|
31
|
+
docs: Whether RAG is enabled.
|
|
32
|
+
content-type: application/json
|
|
33
|
+
response:
|
|
34
|
+
docs: Successful Response
|
|
35
|
+
type: root.LlmUsageCalculatorResponseModel
|
|
36
|
+
status-code: 200
|
|
37
|
+
errors:
|
|
38
|
+
- root.UnprocessableEntityError
|
|
39
|
+
examples:
|
|
40
|
+
- path-parameters:
|
|
41
|
+
agent_id: agent_id
|
|
42
|
+
request: {}
|
|
43
|
+
response:
|
|
44
|
+
body:
|
|
45
|
+
llm_prices:
|
|
46
|
+
- llm: gpt-4o-mini
|
|
47
|
+
price_per_minute: 1.1
|
|
48
|
+
audiences:
|
|
49
|
+
- convai
|
|
50
|
+
source:
|
|
51
|
+
openapi: openapi.json
|
|
@@ -39,6 +39,7 @@ service:
|
|
|
39
39
|
agent_id: agent_id
|
|
40
40
|
widget_config:
|
|
41
41
|
variant: full
|
|
42
|
+
placement: top-left
|
|
42
43
|
expandable: never
|
|
43
44
|
avatar:
|
|
44
45
|
color_1: '#2792dc'
|
|
@@ -68,9 +69,38 @@ service:
|
|
|
68
69
|
disable_banner: false
|
|
69
70
|
override_link: override_link
|
|
70
71
|
mic_muting_enabled: false
|
|
72
|
+
transcript_enabled: true
|
|
73
|
+
text_input_enabled: true
|
|
74
|
+
text_contents:
|
|
75
|
+
main_label: main_label
|
|
76
|
+
start_call: start_call
|
|
77
|
+
new_call: new_call
|
|
78
|
+
end_call: end_call
|
|
79
|
+
mute_microphone: mute_microphone
|
|
80
|
+
change_language: change_language
|
|
81
|
+
collapse: collapse
|
|
82
|
+
expand: expand
|
|
83
|
+
copied: copied
|
|
84
|
+
accept_terms: accept_terms
|
|
85
|
+
dismiss_terms: dismiss_terms
|
|
86
|
+
listening_status: listening_status
|
|
87
|
+
speaking_status: speaking_status
|
|
88
|
+
connecting_status: connecting_status
|
|
89
|
+
input_label: input_label
|
|
90
|
+
input_placeholder: input_placeholder
|
|
91
|
+
user_ended_conversation: user_ended_conversation
|
|
92
|
+
agent_ended_conversation: agent_ended_conversation
|
|
93
|
+
conversation_id: conversation_id
|
|
94
|
+
error_occurred: error_occurred
|
|
95
|
+
copy_id: copy_id
|
|
71
96
|
language: language
|
|
72
97
|
supported_language_overrides:
|
|
73
98
|
- supported_language_overrides
|
|
99
|
+
language_presets:
|
|
100
|
+
key: {}
|
|
101
|
+
text_only: true
|
|
102
|
+
supports_text_only: true
|
|
103
|
+
first_message: first_message
|
|
74
104
|
audiences:
|
|
75
105
|
- convai
|
|
76
106
|
source:
|
|
@@ -85,6 +85,9 @@ service:
|
|
|
85
85
|
tts:
|
|
86
86
|
model_id: eleven_turbo_v2
|
|
87
87
|
voice_id: cjVigY5qzO86Huf0OWal
|
|
88
|
+
supported_voices:
|
|
89
|
+
- label: label
|
|
90
|
+
voice_id: voice_id
|
|
88
91
|
agent_output_audio_format: pcm_16000
|
|
89
92
|
optimize_streaming_latency: 3
|
|
90
93
|
stability: 0.5
|
|
@@ -100,7 +103,16 @@ service:
|
|
|
100
103
|
- interruption
|
|
101
104
|
language_presets:
|
|
102
105
|
key:
|
|
103
|
-
overrides:
|
|
106
|
+
overrides:
|
|
107
|
+
tts:
|
|
108
|
+
voice_id: cjVigY5qzO86Huf0OWal
|
|
109
|
+
agent:
|
|
110
|
+
first_message: Hello, how can I help you today?
|
|
111
|
+
language: en
|
|
112
|
+
prompt:
|
|
113
|
+
prompt: >-
|
|
114
|
+
You are a helpful assistant that can answer
|
|
115
|
+
questions about the topic of the conversation.
|
|
104
116
|
agent:
|
|
105
117
|
first_message: Hello, how can I help you today?
|
|
106
118
|
language: en
|
|
@@ -146,7 +158,8 @@ service:
|
|
|
146
158
|
about the topic of the conversation.
|
|
147
159
|
use_knowledge_base: false
|
|
148
160
|
widget:
|
|
149
|
-
variant:
|
|
161
|
+
variant: tiny
|
|
162
|
+
placement: top-left
|
|
150
163
|
expandable: never
|
|
151
164
|
avatar:
|
|
152
165
|
color_1: '#2792dc'
|
|
@@ -176,8 +189,13 @@ service:
|
|
|
176
189
|
disable_banner: true
|
|
177
190
|
override_link: override_link
|
|
178
191
|
mic_muting_enabled: true
|
|
192
|
+
transcript_enabled: true
|
|
193
|
+
text_input_enabled: true
|
|
179
194
|
language_selector: false
|
|
195
|
+
supports_text_only: true
|
|
180
196
|
custom_avatar_path: https://example.com/avatar.png
|
|
197
|
+
language_presets:
|
|
198
|
+
key: {}
|
|
181
199
|
data_collection:
|
|
182
200
|
key:
|
|
183
201
|
type: boolean
|
|
@@ -185,16 +203,6 @@ service:
|
|
|
185
203
|
dynamic_variable: Dynamic variable
|
|
186
204
|
constant_value: Constant value
|
|
187
205
|
overrides:
|
|
188
|
-
conversation_config_override:
|
|
189
|
-
agent:
|
|
190
|
-
prompt:
|
|
191
|
-
prompt: false
|
|
192
|
-
first_message: false
|
|
193
|
-
language: false
|
|
194
|
-
tts:
|
|
195
|
-
voice_id: false
|
|
196
|
-
conversation:
|
|
197
|
-
text_only: false
|
|
198
206
|
custom_llm_extra_body: true
|
|
199
207
|
enable_conversation_initiation_client_data_from_webhook: true
|
|
200
208
|
call_limits:
|
|
@@ -274,9 +282,13 @@ service:
|
|
|
274
282
|
body:
|
|
275
283
|
properties:
|
|
276
284
|
conversation_config:
|
|
277
|
-
type: optional<
|
|
285
|
+
type: optional<root.ConversationalConfig>
|
|
286
|
+
docs: Conversation configuration for an agent
|
|
278
287
|
platform_settings:
|
|
279
|
-
type: optional<
|
|
288
|
+
type: optional<root.AgentPlatformSettingsRequestModel>
|
|
289
|
+
docs: >-
|
|
290
|
+
Platform settings for the agent are all settings that aren't
|
|
291
|
+
related to the conversation orchestration and content.
|
|
280
292
|
name:
|
|
281
293
|
type: optional<string>
|
|
282
294
|
docs: A name to make the agent easier to find
|
|
@@ -313,6 +325,9 @@ service:
|
|
|
313
325
|
tts:
|
|
314
326
|
model_id: eleven_turbo_v2
|
|
315
327
|
voice_id: cjVigY5qzO86Huf0OWal
|
|
328
|
+
supported_voices:
|
|
329
|
+
- label: label
|
|
330
|
+
voice_id: voice_id
|
|
316
331
|
agent_output_audio_format: pcm_16000
|
|
317
332
|
optimize_streaming_latency: 3
|
|
318
333
|
stability: 0.5
|
|
@@ -328,7 +343,16 @@ service:
|
|
|
328
343
|
- interruption
|
|
329
344
|
language_presets:
|
|
330
345
|
key:
|
|
331
|
-
overrides:
|
|
346
|
+
overrides:
|
|
347
|
+
tts:
|
|
348
|
+
voice_id: cjVigY5qzO86Huf0OWal
|
|
349
|
+
agent:
|
|
350
|
+
first_message: Hello, how can I help you today?
|
|
351
|
+
language: en
|
|
352
|
+
prompt:
|
|
353
|
+
prompt: >-
|
|
354
|
+
You are a helpful assistant that can answer
|
|
355
|
+
questions about the topic of the conversation.
|
|
332
356
|
agent:
|
|
333
357
|
first_message: Hello, how can I help you today?
|
|
334
358
|
language: en
|
|
@@ -374,7 +398,8 @@ service:
|
|
|
374
398
|
about the topic of the conversation.
|
|
375
399
|
use_knowledge_base: false
|
|
376
400
|
widget:
|
|
377
|
-
variant:
|
|
401
|
+
variant: tiny
|
|
402
|
+
placement: top-left
|
|
378
403
|
expandable: never
|
|
379
404
|
avatar:
|
|
380
405
|
color_1: '#2792dc'
|
|
@@ -404,8 +429,13 @@ service:
|
|
|
404
429
|
disable_banner: true
|
|
405
430
|
override_link: override_link
|
|
406
431
|
mic_muting_enabled: true
|
|
432
|
+
transcript_enabled: true
|
|
433
|
+
text_input_enabled: true
|
|
407
434
|
language_selector: false
|
|
435
|
+
supports_text_only: true
|
|
408
436
|
custom_avatar_path: https://example.com/avatar.png
|
|
437
|
+
language_presets:
|
|
438
|
+
key: {}
|
|
409
439
|
data_collection:
|
|
410
440
|
key:
|
|
411
441
|
type: boolean
|
|
@@ -413,16 +443,6 @@ service:
|
|
|
413
443
|
dynamic_variable: Dynamic variable
|
|
414
444
|
constant_value: Constant value
|
|
415
445
|
overrides:
|
|
416
|
-
conversation_config_override:
|
|
417
|
-
agent:
|
|
418
|
-
prompt:
|
|
419
|
-
prompt: false
|
|
420
|
-
first_message: false
|
|
421
|
-
language: false
|
|
422
|
-
tts:
|
|
423
|
-
voice_id: false
|
|
424
|
-
conversation:
|
|
425
|
-
text_only: false
|
|
426
446
|
custom_llm_extra_body: true
|
|
427
447
|
enable_conversation_initiation_client_data_from_webhook: true
|
|
428
448
|
call_limits:
|
|
@@ -578,7 +598,6 @@ service:
|
|
|
578
598
|
score: like
|
|
579
599
|
time_in_call_secs: 1
|
|
580
600
|
llm_override: llm_override
|
|
581
|
-
source_medium: audio
|
|
582
601
|
time_in_call_secs: 1
|
|
583
602
|
rag_retrieval_info:
|
|
584
603
|
chunks:
|
|
@@ -590,6 +609,7 @@ service:
|
|
|
590
609
|
rag_latency_secs: 1.1
|
|
591
610
|
interrupted: true
|
|
592
611
|
original_message: original_message
|
|
612
|
+
source_medium: audio
|
|
593
613
|
analysis:
|
|
594
614
|
evaluation_criteria_results:
|
|
595
615
|
key:
|
|
@@ -133,6 +133,89 @@ service:
|
|
|
133
133
|
created_at_unix: 1
|
|
134
134
|
updated_at_unix: 1
|
|
135
135
|
conversation_id: conversation_id
|
|
136
|
+
conversation_initiation_client_data:
|
|
137
|
+
conversation_config_override:
|
|
138
|
+
tts:
|
|
139
|
+
voice_id: cjVigY5qzO86Huf0OWal
|
|
140
|
+
agent:
|
|
141
|
+
first_message: Hello, how can I help you today?
|
|
142
|
+
language: en
|
|
143
|
+
prompt:
|
|
144
|
+
prompt: >-
|
|
145
|
+
You are a helpful assistant that can answer
|
|
146
|
+
questions about the topic of the conversation.
|
|
147
|
+
audiences:
|
|
148
|
+
- convai
|
|
149
|
+
cancel:
|
|
150
|
+
path: /v1/convai/batch-calling/{batch_id}/cancel
|
|
151
|
+
method: POST
|
|
152
|
+
auth: false
|
|
153
|
+
docs: Cancel a running batch call and set all recipients to cancelled status.
|
|
154
|
+
source:
|
|
155
|
+
openapi: openapi.json
|
|
156
|
+
path-parameters:
|
|
157
|
+
batch_id: string
|
|
158
|
+
display-name: Cancel A Batch Call.
|
|
159
|
+
response:
|
|
160
|
+
docs: Successful Response
|
|
161
|
+
type: root.BatchCallResponse
|
|
162
|
+
status-code: 200
|
|
163
|
+
errors:
|
|
164
|
+
- root.UnprocessableEntityError
|
|
165
|
+
examples:
|
|
166
|
+
- path-parameters:
|
|
167
|
+
batch_id: batch_id
|
|
168
|
+
response:
|
|
169
|
+
body:
|
|
170
|
+
id: id
|
|
171
|
+
phone_number_id: phone_number_id
|
|
172
|
+
phone_provider: twilio
|
|
173
|
+
name: name
|
|
174
|
+
agent_id: agent_id
|
|
175
|
+
created_at_unix: 1
|
|
176
|
+
scheduled_time_unix: 1
|
|
177
|
+
total_calls_dispatched: 1
|
|
178
|
+
total_calls_scheduled: 1
|
|
179
|
+
last_updated_at_unix: 1
|
|
180
|
+
status: pending
|
|
181
|
+
agent_name: agent_name
|
|
182
|
+
audiences:
|
|
183
|
+
- convai
|
|
184
|
+
retry:
|
|
185
|
+
path: /v1/convai/batch-calling/{batch_id}/retry
|
|
186
|
+
method: POST
|
|
187
|
+
auth: false
|
|
188
|
+
docs: >-
|
|
189
|
+
Retry a batch call by setting completed recipients back to pending
|
|
190
|
+
status.
|
|
191
|
+
source:
|
|
192
|
+
openapi: openapi.json
|
|
193
|
+
path-parameters:
|
|
194
|
+
batch_id: string
|
|
195
|
+
display-name: Retry A Batch Call.
|
|
196
|
+
response:
|
|
197
|
+
docs: Successful Response
|
|
198
|
+
type: root.BatchCallResponse
|
|
199
|
+
status-code: 200
|
|
200
|
+
errors:
|
|
201
|
+
- root.UnprocessableEntityError
|
|
202
|
+
examples:
|
|
203
|
+
- path-parameters:
|
|
204
|
+
batch_id: batch_id
|
|
205
|
+
response:
|
|
206
|
+
body:
|
|
207
|
+
id: id
|
|
208
|
+
phone_number_id: phone_number_id
|
|
209
|
+
phone_provider: twilio
|
|
210
|
+
name: name
|
|
211
|
+
agent_id: agent_id
|
|
212
|
+
created_at_unix: 1
|
|
213
|
+
scheduled_time_unix: 1
|
|
214
|
+
total_calls_dispatched: 1
|
|
215
|
+
total_calls_scheduled: 1
|
|
216
|
+
last_updated_at_unix: 1
|
|
217
|
+
status: pending
|
|
218
|
+
agent_name: agent_name
|
|
136
219
|
audiences:
|
|
137
220
|
- convai
|
|
138
221
|
source:
|
|
@@ -29,7 +29,7 @@ service:
|
|
|
29
29
|
content-type: application/json
|
|
30
30
|
response:
|
|
31
31
|
docs: Successful Response
|
|
32
|
-
type: root.
|
|
32
|
+
type: root.RagDocumentIndexResponseModel
|
|
33
33
|
status-code: 200
|
|
34
34
|
errors:
|
|
35
35
|
- root.UnprocessableEntityError
|
|
@@ -40,8 +40,12 @@ service:
|
|
|
40
40
|
model: e5_mistral_7b_instruct
|
|
41
41
|
response:
|
|
42
42
|
body:
|
|
43
|
+
id: id
|
|
44
|
+
model: e5_mistral_7b_instruct
|
|
43
45
|
status: created
|
|
44
46
|
progress_percentage: 1.1
|
|
47
|
+
document_model_index_usage:
|
|
48
|
+
used_bytes: 1
|
|
45
49
|
audiences:
|
|
46
50
|
- convai
|
|
47
51
|
source:
|
|
@@ -42,7 +42,6 @@ service:
|
|
|
42
42
|
body:
|
|
43
43
|
id: id
|
|
44
44
|
name: name
|
|
45
|
-
prompt_injectable: true
|
|
46
45
|
audiences:
|
|
47
46
|
- convai
|
|
48
47
|
create_from_file:
|
|
@@ -80,7 +79,6 @@ service:
|
|
|
80
79
|
body:
|
|
81
80
|
id: id
|
|
82
81
|
name: name
|
|
83
|
-
prompt_injectable: true
|
|
84
82
|
audiences:
|
|
85
83
|
- convai
|
|
86
84
|
create_from_text:
|
|
@@ -117,7 +115,6 @@ service:
|
|
|
117
115
|
body:
|
|
118
116
|
id: id
|
|
119
117
|
name: name
|
|
120
|
-
prompt_injectable: true
|
|
121
118
|
audiences:
|
|
122
119
|
- convai
|
|
123
120
|
get:
|
|
@@ -153,7 +150,8 @@ service:
|
|
|
153
150
|
created_at_unix_secs: 1
|
|
154
151
|
last_updated_at_unix_secs: 1
|
|
155
152
|
size_bytes: 1
|
|
156
|
-
|
|
153
|
+
supported_usages:
|
|
154
|
+
- prompt
|
|
157
155
|
access_info:
|
|
158
156
|
is_creator: true
|
|
159
157
|
creator_name: John Doe
|
|
@@ -178,6 +176,16 @@ service:
|
|
|
178
176
|
The id of a document from the knowledge base. This is returned on
|
|
179
177
|
document addition.
|
|
180
178
|
display-name: Delete Knowledge Base Document
|
|
179
|
+
request:
|
|
180
|
+
name: DocumentsDeleteRequest
|
|
181
|
+
query-parameters:
|
|
182
|
+
force:
|
|
183
|
+
type: optional<boolean>
|
|
184
|
+
default: false
|
|
185
|
+
docs: >-
|
|
186
|
+
If set to true, the document will be deleted regardless of whether
|
|
187
|
+
it is used by any agents and it will be deleted from the dependent
|
|
188
|
+
agents.
|
|
181
189
|
response:
|
|
182
190
|
docs: Successful Response
|
|
183
191
|
type: unknown
|
|
@@ -235,7 +243,8 @@ service:
|
|
|
235
243
|
created_at_unix_secs: 1
|
|
236
244
|
last_updated_at_unix_secs: 1
|
|
237
245
|
size_bytes: 1
|
|
238
|
-
|
|
246
|
+
supported_usages:
|
|
247
|
+
- prompt
|
|
239
248
|
access_info:
|
|
240
249
|
is_creator: true
|
|
241
250
|
creator_name: John Doe
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
calculate:
|
|
8
|
+
path: /v1/convai/llm-usage/calculate
|
|
9
|
+
method: POST
|
|
10
|
+
auth: false
|
|
11
|
+
docs: >-
|
|
12
|
+
Returns a list of LLM models and the expected cost for using them based
|
|
13
|
+
on the provided values.
|
|
14
|
+
source:
|
|
15
|
+
openapi: openapi.json
|
|
16
|
+
display-name: Calculate Expected Llm Usage
|
|
17
|
+
request:
|
|
18
|
+
name: LlmUsageCalculatorPublicRequestModel
|
|
19
|
+
body:
|
|
20
|
+
properties:
|
|
21
|
+
prompt_length:
|
|
22
|
+
type: integer
|
|
23
|
+
docs: Length of the prompt in characters.
|
|
24
|
+
number_of_pages:
|
|
25
|
+
type: integer
|
|
26
|
+
docs: >-
|
|
27
|
+
Pages of content in PDF documents or URLs in the agent's
|
|
28
|
+
knowledge base.
|
|
29
|
+
rag_enabled:
|
|
30
|
+
type: boolean
|
|
31
|
+
docs: Whether RAG is enabled.
|
|
32
|
+
content-type: application/json
|
|
33
|
+
response:
|
|
34
|
+
docs: Successful Response
|
|
35
|
+
type: root.LlmUsageCalculatorResponseModel
|
|
36
|
+
status-code: 200
|
|
37
|
+
errors:
|
|
38
|
+
- root.UnprocessableEntityError
|
|
39
|
+
examples:
|
|
40
|
+
- request:
|
|
41
|
+
prompt_length: 1
|
|
42
|
+
number_of_pages: 1
|
|
43
|
+
rag_enabled: true
|
|
44
|
+
response:
|
|
45
|
+
body:
|
|
46
|
+
llm_prices:
|
|
47
|
+
- llm: gpt-4o-mini
|
|
48
|
+
price_per_minute: 1.1
|
|
49
|
+
audiences:
|
|
50
|
+
- convai
|
|
51
|
+
source:
|
|
52
|
+
openapi: openapi.json
|
|
@@ -50,7 +50,105 @@ service:
|
|
|
50
50
|
body:
|
|
51
51
|
id: id
|
|
52
52
|
name: name
|
|
53
|
-
|
|
53
|
+
get_document_rag_indexes:
|
|
54
|
+
path: /v1/convai/knowledge-base/{documentation_id}/rag-index
|
|
55
|
+
method: GET
|
|
56
|
+
auth: false
|
|
57
|
+
docs: >-
|
|
58
|
+
Provides information about all RAG indexes of the specified
|
|
59
|
+
knowledgebase document.
|
|
60
|
+
source:
|
|
61
|
+
openapi: openapi.json
|
|
62
|
+
path-parameters:
|
|
63
|
+
documentation_id:
|
|
64
|
+
type: string
|
|
65
|
+
docs: >-
|
|
66
|
+
The id of a document from the knowledge base. This is returned on
|
|
67
|
+
document addition.
|
|
68
|
+
display-name: Get Rag Indexes Of The Specified Knowledgebase Document.
|
|
69
|
+
response:
|
|
70
|
+
docs: Successful Response
|
|
71
|
+
type: root.RagDocumentIndexesResponseModel
|
|
72
|
+
status-code: 200
|
|
73
|
+
errors:
|
|
74
|
+
- root.UnprocessableEntityError
|
|
75
|
+
examples:
|
|
76
|
+
- path-parameters:
|
|
77
|
+
documentation_id: 21m00Tcm4TlvDq8ikWAM
|
|
78
|
+
response:
|
|
79
|
+
body:
|
|
80
|
+
indexes:
|
|
81
|
+
- id: id
|
|
82
|
+
model: e5_mistral_7b_instruct
|
|
83
|
+
status: created
|
|
84
|
+
progress_percentage: 1.1
|
|
85
|
+
document_model_index_usage:
|
|
86
|
+
used_bytes: 1
|
|
87
|
+
audiences:
|
|
88
|
+
- convai
|
|
89
|
+
delete_document_rag_index:
|
|
90
|
+
path: /v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}
|
|
91
|
+
method: DELETE
|
|
92
|
+
auth: false
|
|
93
|
+
docs: Delete RAG index for the knowledgebase document.
|
|
94
|
+
source:
|
|
95
|
+
openapi: openapi.json
|
|
96
|
+
path-parameters:
|
|
97
|
+
documentation_id:
|
|
98
|
+
type: string
|
|
99
|
+
docs: >-
|
|
100
|
+
The id of a document from the knowledge base. This is returned on
|
|
101
|
+
document addition.
|
|
102
|
+
rag_index_id:
|
|
103
|
+
type: string
|
|
104
|
+
docs: The id of RAG index of document from the knowledge base.
|
|
105
|
+
display-name: Delete Rag Index.
|
|
106
|
+
response:
|
|
107
|
+
docs: Successful Response
|
|
108
|
+
type: root.RagDocumentIndexResponseModel
|
|
109
|
+
status-code: 200
|
|
110
|
+
errors:
|
|
111
|
+
- root.UnprocessableEntityError
|
|
112
|
+
examples:
|
|
113
|
+
- path-parameters:
|
|
114
|
+
documentation_id: 21m00Tcm4TlvDq8ikWAM
|
|
115
|
+
rag_index_id: 21m00Tcm4TlvDq8ikWAM
|
|
116
|
+
response:
|
|
117
|
+
body:
|
|
118
|
+
id: id
|
|
119
|
+
model: e5_mistral_7b_instruct
|
|
120
|
+
status: created
|
|
121
|
+
progress_percentage: 1.1
|
|
122
|
+
document_model_index_usage:
|
|
123
|
+
used_bytes: 1
|
|
124
|
+
audiences:
|
|
125
|
+
- convai
|
|
126
|
+
rag_index_overview:
|
|
127
|
+
path: /v1/convai/knowledge-base/rag-index
|
|
128
|
+
method: GET
|
|
129
|
+
auth: false
|
|
130
|
+
docs: >-
|
|
131
|
+
Provides total size and other information of RAG indexes used by
|
|
132
|
+
knowledgebase documents
|
|
133
|
+
source:
|
|
134
|
+
openapi: openapi.json
|
|
135
|
+
display-name: Get Rag Index Overview.
|
|
136
|
+
response:
|
|
137
|
+
docs: Successful Response
|
|
138
|
+
type: root.RagIndexOverviewResponseModel
|
|
139
|
+
status-code: 200
|
|
140
|
+
errors:
|
|
141
|
+
- root.UnprocessableEntityError
|
|
142
|
+
examples:
|
|
143
|
+
- response:
|
|
144
|
+
body:
|
|
145
|
+
total_used_bytes: 1
|
|
146
|
+
total_max_bytes: 1
|
|
147
|
+
models:
|
|
148
|
+
- model: e5_mistral_7b_instruct
|
|
149
|
+
used_bytes: 1
|
|
150
|
+
audiences:
|
|
151
|
+
- convai
|
|
54
152
|
update_secret:
|
|
55
153
|
path: /v1/convai/secrets/{secret_id}
|
|
56
154
|
method: PATCH
|
|
@@ -103,6 +103,10 @@ service:
|
|
|
103
103
|
- 1.1
|
|
104
104
|
character_end_times_seconds:
|
|
105
105
|
- 1.1
|
|
106
|
+
dialogue:
|
|
107
|
+
- text: text
|
|
108
|
+
voice_id: voice_id
|
|
109
|
+
voice_name: voice_name
|
|
106
110
|
last_history_item_id: ja9xsmfGhxYcymxGcOGB
|
|
107
111
|
has_more: true
|
|
108
112
|
get:
|
|
@@ -174,6 +178,10 @@ service:
|
|
|
174
178
|
- 1.1
|
|
175
179
|
character_end_times_seconds:
|
|
176
180
|
- 1.1
|
|
181
|
+
dialogue:
|
|
182
|
+
- text: text
|
|
183
|
+
voice_id: voice_id
|
|
184
|
+
voice_name: voice_name
|
|
177
185
|
delete:
|
|
178
186
|
path: /v1/history/{history_item_id}
|
|
179
187
|
method: DELETE
|
|
@@ -44,7 +44,7 @@ service:
|
|
|
44
44
|
docs: Creates a new pronunciation dictionary from a lexicon .PLS file
|
|
45
45
|
source:
|
|
46
46
|
openapi: openapi.json
|
|
47
|
-
display-name: Create a pronunciation dictionary
|
|
47
|
+
display-name: Create a pronunciation dictionary from a file
|
|
48
48
|
request:
|
|
49
49
|
name: >-
|
|
50
50
|
Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post
|
|
@@ -98,7 +98,7 @@ service:
|
|
|
98
98
|
docs: Creates a new pronunciation dictionary from provided rules.
|
|
99
99
|
source:
|
|
100
100
|
openapi: openapi.json
|
|
101
|
-
display-name:
|
|
101
|
+
display-name: Create a pronunciation dictionary from rules
|
|
102
102
|
request:
|
|
103
103
|
name: >-
|
|
104
104
|
BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost
|