@elevenlabs/elevenlabs-js 2.28.0 → 2.30.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/.fern/metadata.json +1 -1
- package/BaseClient.js +2 -2
- package/LICENSE +1 -1
- package/api/resources/conversationalAi/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/client/Client.js +10 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/index.js +5 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/{dist/api/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/{dist/serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/{serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsappAccounts/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/api/resources/{dubbing/resources/resource/types → conversationalAi/resources/whatsappAccounts}/index.js +1 -1
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/api/resources/dubbing/resources/index.d.ts +0 -1
- package/api/resources/dubbing/resources/index.js +0 -1
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
- package/api/resources/dubbing/resources/resource/client/Client.js +3 -3
- package/api/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/api/resources/dubbing/resources/resource/index.js +0 -1
- package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
- package/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
- package/api/resources/history/client/Client.d.ts +2 -2
- package/api/resources/history/client/Client.js +2 -2
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +11 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
- package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
- package/api/resources/workspace/resources/resources/client/Client.js +59 -0
- package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
- package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
- package/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/api/types/AuthorizationMethod.d.ts +1 -0
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/BatchCallDetailedResponse.d.ts +3 -1
- package/api/types/BatchCallRecipientStatus.d.ts +1 -0
- package/api/types/BatchCallRecipientStatus.js +1 -0
- package/api/types/BatchCallResponse.d.ts +3 -1
- package/api/types/ConversationConfig.d.ts +4 -0
- package/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
- package/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
- package/api/types/DetectedEntity.d.ts +10 -0
- package/api/types/DetectedEntity.js +3 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/api/types/GetAgentResponseModel.d.ts +6 -0
- package/api/types/GetConversationResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
- package/api/types/GetWhatsAppAccountResponse.js +3 -0
- package/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
- package/api/types/ImportWhatsAppAccountResponse.js +3 -0
- package/api/types/KnowledgeBaseDependentType.d.ts +6 -0
- package/api/types/KnowledgeBaseDependentType.js +9 -0
- package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
- package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
- package/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
- package/api/types/ListWhatsAppAccountsResponse.js +3 -0
- package/api/types/Llm.d.ts +4 -0
- package/api/types/Llm.js +4 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/api/types/ProjectVideoResponseModel.d.ts +2 -1
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/SoftTimeoutConfig.d.ts +2 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/TransferTypeEnum.d.ts +1 -0
- package/api/types/TransferTypeEnum.js +1 -0
- package/api/types/Voice.d.ts +2 -0
- package/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
- package/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
- package/api/types/WhatsAppOutboundCallResponse.js +3 -0
- package/api/types/WidgetConfig.d.ts +6 -0
- package/api/types/WidgetConfigResponse.d.ts +6 -0
- package/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
- package/api/types/WidgetTermsTranslation.d.ts +4 -0
- package/api/types/WidgetTermsTranslation.js +3 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/api/types/WorkspaceResourceType.d.ts +3 -0
- package/api/types/WorkspaceResourceType.js +3 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/client/Client.js +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/index.js +5 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/index.js +0 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +3 -3
- package/dist/api/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/resource/index.js +0 -1
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
- package/dist/api/resources/history/client/Client.d.ts +2 -2
- package/dist/api/resources/history/client/Client.js +2 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +11 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.js +59 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/dist/api/types/AuthorizationMethod.d.ts +1 -0
- package/dist/api/types/AuthorizationMethod.js +1 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +3 -1
- package/dist/api/types/BatchCallRecipientStatus.d.ts +1 -0
- package/dist/api/types/BatchCallRecipientStatus.js +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +3 -1
- package/dist/api/types/ConversationConfig.d.ts +4 -0
- package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
- package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
- package/dist/api/types/DetectedEntity.d.ts +10 -0
- package/dist/api/types/DetectedEntity.js +3 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +6 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
- package/dist/api/types/GetWhatsAppAccountResponse.js +3 -0
- package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
- package/dist/api/types/ImportWhatsAppAccountResponse.js +3 -0
- package/dist/api/types/KnowledgeBaseDependentType.d.ts +6 -0
- package/dist/api/types/KnowledgeBaseDependentType.js +9 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
- package/dist/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
- package/dist/api/types/ListWhatsAppAccountsResponse.js +3 -0
- package/dist/api/types/Llm.d.ts +4 -0
- package/dist/api/types/Llm.js +4 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -1
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/TransferTypeEnum.d.ts +1 -0
- package/dist/api/types/TransferTypeEnum.js +1 -0
- package/dist/api/types/Voice.d.ts +2 -0
- package/dist/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
- package/dist/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
- package/dist/api/types/WhatsAppOutboundCallResponse.js +3 -0
- package/dist/api/types/WidgetConfig.d.ts +6 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +6 -0
- package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/dist/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
- package/dist/api/types/WidgetTermsTranslation.d.ts +4 -0
- package/dist/api/types/WidgetTermsTranslation.js +3 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
- package/dist/api/types/WorkspaceResourceType.js +3 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/dist/serialization/resources/dubbing/resources/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/index.js +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/index.js +0 -1
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
- package/dist/serialization/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +4 -4
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
- package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
- package/dist/serialization/types/BatchCallDetailedResponse.js +4 -1
- package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.js +10 -1
- package/dist/serialization/types/BatchCallResponse.d.ts +4 -1
- package/dist/serialization/types/BatchCallResponse.js +4 -1
- package/dist/serialization/types/ConversationConfig.d.ts +2 -0
- package/dist/serialization/types/ConversationConfig.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
- package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
- package/dist/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
- package/dist/serialization/types/DetectedEntity.d.ts +12 -0
- package/dist/serialization/types/DetectedEntity.js +44 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetAgentResponseModel.js +3 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +47 -0
- package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
- package/dist/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
- package/dist/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
- package/dist/serialization/types/KnowledgeBaseDependentType.js +39 -0
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
- package/dist/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
- package/dist/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +4 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigInput.js +1 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigOutput.js +1 -0
- package/dist/serialization/types/ProjectImageResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectImageResponseModel.js +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
- package/dist/serialization/types/ProjectVideoResponseModel.js +2 -1
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
- package/dist/serialization/types/TransferTypeEnum.d.ts +1 -1
- package/dist/serialization/types/TransferTypeEnum.js +1 -1
- package/dist/serialization/types/Voice.d.ts +1 -0
- package/dist/serialization/types/Voice.js +1 -0
- package/dist/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/dist/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/dist/serialization/types/WidgetConfig.d.ts +4 -0
- package/dist/serialization/types/WidgetConfig.js +4 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +4 -0
- package/dist/serialization/types/WidgetConfigResponse.js +4 -0
- package/dist/serialization/types/WidgetLanguagePreset.d.ts +5 -0
- package/dist/serialization/types/WidgetLanguagePreset.js +5 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.js +3 -0
- package/dist/serialization/types/WidgetTermsTranslation.d.ts +10 -0
- package/dist/serialization/types/WidgetTermsTranslation.js +42 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +3 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +473 -8
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/index.js +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/serialization/resources/dubbing/resources/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/index.js +0 -1
- package/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/resource/index.js +0 -1
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
- package/serialization/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +4 -4
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
- package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
- package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
- package/serialization/types/BatchCallDetailedResponse.js +4 -1
- package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/serialization/types/BatchCallRecipientStatus.js +10 -1
- package/serialization/types/BatchCallResponse.d.ts +4 -1
- package/serialization/types/BatchCallResponse.js +4 -1
- package/serialization/types/ConversationConfig.d.ts +2 -0
- package/serialization/types/ConversationConfig.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
- package/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
- package/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
- package/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
- package/serialization/types/DetectedEntity.d.ts +12 -0
- package/serialization/types/DetectedEntity.js +44 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/serialization/types/GetAgentResponseModel.d.ts +3 -0
- package/serialization/types/GetAgentResponseModel.js +3 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +47 -0
- package/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
- package/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
- package/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
- package/serialization/types/KnowledgeBaseDependentType.js +39 -0
- package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
- package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
- package/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
- package/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +4 -0
- package/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/serialization/types/McpServerConfigInput.js +1 -0
- package/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/serialization/types/McpServerConfigOutput.js +1 -0
- package/serialization/types/ProjectImageResponseModel.d.ts +1 -0
- package/serialization/types/ProjectImageResponseModel.js +1 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
- package/serialization/types/ProjectVideoResponseModel.js +2 -1
- package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfig.js +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
- package/serialization/types/TransferTypeEnum.d.ts +1 -1
- package/serialization/types/TransferTypeEnum.js +1 -1
- package/serialization/types/Voice.d.ts +1 -0
- package/serialization/types/Voice.js +1 -0
- package/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/serialization/types/WidgetConfig.d.ts +4 -0
- package/serialization/types/WidgetConfig.js +4 -0
- package/serialization/types/WidgetConfigResponse.d.ts +4 -0
- package/serialization/types/WidgetConfigResponse.js +4 -0
- package/serialization/types/WidgetLanguagePreset.d.ts +5 -0
- package/serialization/types/WidgetLanguagePreset.js +5 -0
- package/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
- package/serialization/types/WidgetLanguagePresetResponse.js +3 -0
- package/serialization/types/WidgetTermsTranslation.d.ts +10 -0
- package/serialization/types/WidgetTermsTranslation.js +42 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +3 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
- package/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
- package/dist/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
- package/dist/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
- package/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- /package/api/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js} +0 -0
- /package/{dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js} +0 -0
package/api/types/Llm.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export declare const Llm: {
|
|
|
8
8
|
readonly Gpt41Nano: "gpt-4.1-nano";
|
|
9
9
|
readonly Gpt5: "gpt-5";
|
|
10
10
|
readonly Gpt51: "gpt-5.1";
|
|
11
|
+
readonly Gpt52: "gpt-5.2";
|
|
12
|
+
readonly Gpt52ChatLatest: "gpt-5.2-chat-latest";
|
|
11
13
|
readonly Gpt5Mini: "gpt-5-mini";
|
|
12
14
|
readonly Gpt5Nano: "gpt-5-nano";
|
|
13
15
|
readonly Gpt35Turbo: "gpt-3.5-turbo";
|
|
@@ -18,6 +20,7 @@ export declare const Llm: {
|
|
|
18
20
|
readonly Gemini25FlashLite: "gemini-2.5-flash-lite";
|
|
19
21
|
readonly Gemini25Flash: "gemini-2.5-flash";
|
|
20
22
|
readonly Gemini3ProPreview: "gemini-3-pro-preview";
|
|
23
|
+
readonly Gemini3FlashPreview: "gemini-3-flash-preview";
|
|
21
24
|
readonly ClaudeSonnet45: "claude-sonnet-4-5";
|
|
22
25
|
readonly ClaudeSonnet4: "claude-sonnet-4";
|
|
23
26
|
readonly ClaudeHaiku45: "claude-haiku-4-5";
|
|
@@ -52,6 +55,7 @@ export declare const Llm: {
|
|
|
52
55
|
readonly Claude3Haiku20240307: "claude-3-haiku@20240307";
|
|
53
56
|
readonly Gpt520250807: "gpt-5-2025-08-07";
|
|
54
57
|
readonly Gpt5120251113: "gpt-5.1-2025-11-13";
|
|
58
|
+
readonly Gpt5220251211: "gpt-5.2-2025-12-11";
|
|
55
59
|
readonly Gpt5Mini20250807: "gpt-5-mini-2025-08-07";
|
|
56
60
|
readonly Gpt5Nano20250807: "gpt-5-nano-2025-08-07";
|
|
57
61
|
readonly Gpt4120250414: "gpt-4.1-2025-04-14";
|
package/api/types/Llm.js
CHANGED
|
@@ -12,6 +12,8 @@ exports.Llm = {
|
|
|
12
12
|
Gpt41Nano: "gpt-4.1-nano",
|
|
13
13
|
Gpt5: "gpt-5",
|
|
14
14
|
Gpt51: "gpt-5.1",
|
|
15
|
+
Gpt52: "gpt-5.2",
|
|
16
|
+
Gpt52ChatLatest: "gpt-5.2-chat-latest",
|
|
15
17
|
Gpt5Mini: "gpt-5-mini",
|
|
16
18
|
Gpt5Nano: "gpt-5-nano",
|
|
17
19
|
Gpt35Turbo: "gpt-3.5-turbo",
|
|
@@ -22,6 +24,7 @@ exports.Llm = {
|
|
|
22
24
|
Gemini25FlashLite: "gemini-2.5-flash-lite",
|
|
23
25
|
Gemini25Flash: "gemini-2.5-flash",
|
|
24
26
|
Gemini3ProPreview: "gemini-3-pro-preview",
|
|
27
|
+
Gemini3FlashPreview: "gemini-3-flash-preview",
|
|
25
28
|
ClaudeSonnet45: "claude-sonnet-4-5",
|
|
26
29
|
ClaudeSonnet4: "claude-sonnet-4",
|
|
27
30
|
ClaudeHaiku45: "claude-haiku-4-5",
|
|
@@ -56,6 +59,7 @@ exports.Llm = {
|
|
|
56
59
|
Claude3Haiku20240307: "claude-3-haiku@20240307",
|
|
57
60
|
Gpt520250807: "gpt-5-2025-08-07",
|
|
58
61
|
Gpt5120251113: "gpt-5.1-2025-11-13",
|
|
62
|
+
Gpt5220251211: "gpt-5.2-2025-12-11",
|
|
59
63
|
Gpt5Mini20250807: "gpt-5-mini-2025-08-07",
|
|
60
64
|
Gpt5Nano20250807: "gpt-5-nano-2025-08-07",
|
|
61
65
|
Gpt4120250414: "gpt-4.1-2025-04-14",
|
|
@@ -25,4 +25,6 @@ export interface McpServerConfigInput {
|
|
|
25
25
|
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
26
|
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
27
|
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
28
|
+
/** Whether to disable HTTP compression for this MCP server. Enable this if the server does not support compressed responses. */
|
|
29
|
+
disableCompression?: boolean;
|
|
28
30
|
}
|
|
@@ -25,4 +25,6 @@ export interface McpServerConfigOutput {
|
|
|
25
25
|
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
26
|
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
27
|
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
28
|
+
/** Whether to disable HTTP compression for this MCP server. Enable this if the server does not support compressed responses. */
|
|
29
|
+
disableCompression?: boolean;
|
|
28
30
|
}
|
|
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface ProjectVideoResponseModel {
|
|
3
3
|
videoId: string;
|
|
4
4
|
filename: string;
|
|
5
|
-
signedUrl
|
|
5
|
+
signedUrl?: string;
|
|
6
6
|
signedPreviewUrl?: string;
|
|
7
7
|
offsetMs: number;
|
|
8
8
|
durationMs: number;
|
|
@@ -29,4 +29,5 @@ export interface ProjectVideoResponseModel {
|
|
|
29
29
|
speechImported?: boolean;
|
|
30
30
|
currentSnapshotId?: string;
|
|
31
31
|
canvasPlacement?: ElevenLabs.CanvasPlacement;
|
|
32
|
+
trackId?: string;
|
|
32
33
|
}
|
|
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelInput {
|
|
|
32
32
|
timezone?: string;
|
|
33
33
|
/** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
|
|
34
34
|
backupLlmConfig?: ElevenLabs.PromptAgentApiModelInputBackupLlmConfig;
|
|
35
|
+
/** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
|
|
36
|
+
cascadeTimeoutSeconds?: number;
|
|
35
37
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
36
38
|
tools?: ElevenLabs.PromptAgentApiModelInputToolsItem[];
|
|
37
39
|
}
|
|
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelOutput {
|
|
|
32
32
|
timezone?: string;
|
|
33
33
|
/** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
|
|
34
34
|
backupLlmConfig?: ElevenLabs.PromptAgentApiModelOutputBackupLlmConfig;
|
|
35
|
+
/** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
|
|
36
|
+
cascadeTimeoutSeconds?: number;
|
|
35
37
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
36
38
|
tools?: ElevenLabs.PromptAgentApiModelOutputToolsItem[];
|
|
37
39
|
}
|
|
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelWorkflowOverrideInput {
|
|
|
32
32
|
timezone?: string;
|
|
33
33
|
/** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
|
|
34
34
|
backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig;
|
|
35
|
+
/** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
|
|
36
|
+
cascadeTimeoutSeconds?: number;
|
|
35
37
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
36
38
|
tools?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem[];
|
|
37
39
|
}
|
|
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelWorkflowOverrideOutput {
|
|
|
32
32
|
timezone?: string;
|
|
33
33
|
/** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
|
|
34
34
|
backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig;
|
|
35
|
+
/** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
|
|
36
|
+
cascadeTimeoutSeconds?: number;
|
|
35
37
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
36
38
|
tools?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem[];
|
|
37
39
|
}
|
|
@@ -6,4 +6,6 @@ export interface SoftTimeoutConfig {
|
|
|
6
6
|
timeoutSeconds?: number;
|
|
7
7
|
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
8
8
|
message?: string;
|
|
9
|
+
/** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
|
|
10
|
+
useLlmGeneratedMessage?: boolean;
|
|
9
11
|
}
|
|
@@ -3,4 +3,6 @@ export interface SoftTimeoutConfigWorkflowOverride {
|
|
|
3
3
|
timeoutSeconds?: number;
|
|
4
4
|
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
5
5
|
message?: string;
|
|
6
|
+
/** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
|
|
7
|
+
useLlmGeneratedMessage?: boolean;
|
|
6
8
|
}
|
|
@@ -17,4 +17,6 @@ export interface SpeechToTextChunkResponseModel {
|
|
|
17
17
|
additionalFormats?: (ElevenLabs.AdditionalFormatResponseModel | undefined)[];
|
|
18
18
|
/** The transcription ID of the response. */
|
|
19
19
|
transcriptionId?: string;
|
|
20
|
+
/** List of detected entities with their text, type, and character positions in the transcript. */
|
|
21
|
+
entities?: ElevenLabs.DetectedEntity[];
|
|
20
22
|
}
|
package/api/types/Voice.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export interface Voice {
|
|
|
26
26
|
highQualityBaseModelIds?: string[];
|
|
27
27
|
/** The verified languages of the voice. */
|
|
28
28
|
verifiedLanguages?: ElevenLabs.VerifiedVoiceLanguageResponseModel[];
|
|
29
|
+
/** The IDs of collections this voice belongs to. */
|
|
30
|
+
collectionIds?: string[];
|
|
29
31
|
/** The safety controls of the voice. */
|
|
30
32
|
safetyControl?: ElevenLabs.VoiceResponseModelSafetyControl;
|
|
31
33
|
/** The voice verification of the voice. */
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* is configured, it will be played; otherwise the call will end immediately.
|
|
7
7
|
*/
|
|
8
8
|
export interface VoicemailDetectionToolConfig {
|
|
9
|
-
/** Optional message to leave on voicemail when detected. If not provided, the call will end immediately when voicemail is detected. */
|
|
9
|
+
/** Optional message to leave on voicemail when detected. If not provided, the call will end immediately when voicemail is detected. Supports dynamic variables (e.g., {{system__time}}, {{system__call_duration_secs}}, {{custom_variable}}). */
|
|
10
10
|
voicemailMessage?: string;
|
|
11
11
|
}
|
|
@@ -56,6 +56,12 @@ export interface WidgetConfig {
|
|
|
56
56
|
disableBanner?: boolean;
|
|
57
57
|
/** The override link for the widget */
|
|
58
58
|
overrideLink?: string;
|
|
59
|
+
/** List of allowed hostnames for clickable markdown links. Use { hostname: '*' } to allow any domain. Empty means no links are allowed. */
|
|
60
|
+
markdownLinkAllowedHosts?: ElevenLabs.AllowlistItem[];
|
|
61
|
+
/** Whether to automatically include www. variants of allowed hosts */
|
|
62
|
+
markdownLinkIncludeWww?: boolean;
|
|
63
|
+
/** Whether to allow http:// in addition to https:// for allowed hosts */
|
|
64
|
+
markdownLinkAllowHttp?: boolean;
|
|
59
65
|
/** Whether to enable mic muting */
|
|
60
66
|
micMutingEnabled?: boolean;
|
|
61
67
|
/** Whether the widget should show the conversation transcript as it goes on */
|
|
@@ -56,6 +56,12 @@ export interface WidgetConfigResponse {
|
|
|
56
56
|
disableBanner?: boolean;
|
|
57
57
|
/** The override link for the widget */
|
|
58
58
|
overrideLink?: string;
|
|
59
|
+
/** List of allowed hostnames for clickable markdown links. Use { hostname: '*' } to allow any domain. Empty means no links are allowed. */
|
|
60
|
+
markdownLinkAllowedHosts?: ElevenLabs.AllowlistItem[];
|
|
61
|
+
/** Whether to automatically include www. variants of allowed hosts */
|
|
62
|
+
markdownLinkIncludeWww?: boolean;
|
|
63
|
+
/** Whether to allow http:// in addition to https:// for allowed hosts */
|
|
64
|
+
markdownLinkAllowHttp?: boolean;
|
|
59
65
|
/** Whether to enable mic muting */
|
|
60
66
|
micMutingEnabled?: boolean;
|
|
61
67
|
/** Whether the widget should show the conversation transcript as it goes on */
|
|
@@ -2,4 +2,12 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface WidgetLanguagePreset {
|
|
3
3
|
/** The text contents for the selected language */
|
|
4
4
|
textContents?: ElevenLabs.WidgetTextContents;
|
|
5
|
+
/** The text to display for terms and conditions in this language */
|
|
6
|
+
termsText?: string;
|
|
7
|
+
/** The HTML to display for terms and conditions in this language */
|
|
8
|
+
termsHtml?: string;
|
|
9
|
+
/** The key to display for terms and conditions in this language */
|
|
10
|
+
termsKey?: string;
|
|
11
|
+
/** The translation cache for the terms */
|
|
12
|
+
termsTranslation?: ElevenLabs.WidgetTermsTranslation;
|
|
5
13
|
}
|
|
@@ -3,4 +3,10 @@ export interface WidgetLanguagePresetResponse {
|
|
|
3
3
|
firstMessage?: string;
|
|
4
4
|
/** The text contents for the selected language */
|
|
5
5
|
textContents?: ElevenLabs.WidgetTextContents;
|
|
6
|
+
/** The text to display for terms and conditions in this language */
|
|
7
|
+
termsText?: string;
|
|
8
|
+
/** The HTML to display for terms and conditions in this language */
|
|
9
|
+
termsHtml?: string;
|
|
10
|
+
/** The key to display for terms and conditions in this language */
|
|
11
|
+
termsKey?: string;
|
|
6
12
|
}
|
|
@@ -27,5 +27,8 @@ export declare const WorkspaceResourceType: {
|
|
|
27
27
|
readonly Dashboard: "dashboard";
|
|
28
28
|
readonly DashboardConfiguration: "dashboard_configuration";
|
|
29
29
|
readonly ConvaiAgentDrafts: "convai_agent_drafts";
|
|
30
|
+
readonly ResourceLocators: "resource_locators";
|
|
31
|
+
readonly Assets: "assets";
|
|
32
|
+
readonly ContentGenerations: "content_generations";
|
|
30
33
|
};
|
|
31
34
|
export type WorkspaceResourceType = (typeof WorkspaceResourceType)[keyof typeof WorkspaceResourceType];
|
|
@@ -31,4 +31,7 @@ exports.WorkspaceResourceType = {
|
|
|
31
31
|
Dashboard: "dashboard",
|
|
32
32
|
DashboardConfiguration: "dashboard_configuration",
|
|
33
33
|
ConvaiAgentDrafts: "convai_agent_drafts",
|
|
34
|
+
ResourceLocators: "resource_locators",
|
|
35
|
+
Assets: "assets",
|
|
36
|
+
ContentGenerations: "content_generations",
|
|
34
37
|
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -303,6 +303,7 @@ export * from "./DependentPhoneNumberIdentifier";
|
|
|
303
303
|
export * from "./DependentUnknownAgentIdentifier";
|
|
304
304
|
export * from "./DependentUnknownToolIdentifier";
|
|
305
305
|
export * from "./DetailedMusicResponse";
|
|
306
|
+
export * from "./DetectedEntity";
|
|
306
307
|
export * from "./DialogueInput";
|
|
307
308
|
export * from "./DialogueInputResponseModel";
|
|
308
309
|
export * from "./DiscountResponseModel";
|
|
@@ -413,6 +414,7 @@ export * from "./GetUnitTestResponseModel";
|
|
|
413
414
|
export * from "./GetUnitTestResponseModelDynamicVariablesValue";
|
|
414
415
|
export * from "./GetVoicesResponse";
|
|
415
416
|
export * from "./GetVoicesV2Response";
|
|
417
|
+
export * from "./GetWhatsAppAccountResponse";
|
|
416
418
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
417
419
|
export * from "./GuardrailsV1Input";
|
|
418
420
|
export * from "./GuardrailsV1Output";
|
|
@@ -422,14 +424,17 @@ export * from "./HistoryItemResponse";
|
|
|
422
424
|
export * from "./HtmlExportOptions";
|
|
423
425
|
export * from "./HttpValidationError";
|
|
424
426
|
export * from "./ImageAvatar";
|
|
427
|
+
export * from "./ImportWhatsAppAccountResponse";
|
|
425
428
|
export * from "./InboundSipTrunkConfigRequestModel";
|
|
426
429
|
export * from "./IntegrationType";
|
|
427
430
|
export * from "./InvoiceResponse";
|
|
428
431
|
export * from "./InvoiceResponseModelPaymentIntentStatus";
|
|
432
|
+
export * from "./KnowledgeBaseDependentType";
|
|
429
433
|
export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
430
434
|
export * from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
431
435
|
export * from "./KnowledgeBaseDocumentType";
|
|
432
436
|
export * from "./KnowledgeBaseFolderPathSegmentResponseModel";
|
|
437
|
+
export * from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
|
|
433
438
|
export * from "./KnowledgeBaseLocator";
|
|
434
439
|
export * from "./KnowledgeBaseSortBy";
|
|
435
440
|
export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModel";
|
|
@@ -445,6 +450,7 @@ export * from "./LibraryVoiceResponse";
|
|
|
445
450
|
export * from "./LibraryVoiceResponseModelCategory";
|
|
446
451
|
export * from "./ListMcpToolsResponseModel";
|
|
447
452
|
export * from "./ListResponseMeta";
|
|
453
|
+
export * from "./ListWhatsAppAccountsResponse";
|
|
448
454
|
export * from "./LiteralJsonSchemaProperty";
|
|
449
455
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
450
456
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
@@ -806,6 +812,7 @@ export * from "./WebhookToolConfigOutput";
|
|
|
806
812
|
export * from "./WebhookUsageType";
|
|
807
813
|
export * from "./WhatsAppConversationInfo";
|
|
808
814
|
export * from "./WhatsAppConversationInfoDirection";
|
|
815
|
+
export * from "./WhatsAppOutboundCallResponse";
|
|
809
816
|
export * from "./WidgetConfig";
|
|
810
817
|
export * from "./WidgetConfigInputAvatar";
|
|
811
818
|
export * from "./WidgetConfigOutputAvatar";
|
|
@@ -819,6 +826,7 @@ export * from "./WidgetLanguagePreset";
|
|
|
819
826
|
export * from "./WidgetLanguagePresetResponse";
|
|
820
827
|
export * from "./WidgetPlacement";
|
|
821
828
|
export * from "./WidgetStyles";
|
|
829
|
+
export * from "./WidgetTermsTranslation";
|
|
822
830
|
export * from "./WidgetTextContents";
|
|
823
831
|
export * from "./WordTimestamp";
|
|
824
832
|
export * from "./WorkflowEdgeModelInput";
|
package/api/types/index.js
CHANGED
|
@@ -319,6 +319,7 @@ __exportStar(require("./DependentPhoneNumberIdentifier"), exports);
|
|
|
319
319
|
__exportStar(require("./DependentUnknownAgentIdentifier"), exports);
|
|
320
320
|
__exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
321
321
|
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
322
|
+
__exportStar(require("./DetectedEntity"), exports);
|
|
322
323
|
__exportStar(require("./DialogueInput"), exports);
|
|
323
324
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
324
325
|
__exportStar(require("./DiscountResponseModel"), exports);
|
|
@@ -429,6 +430,7 @@ __exportStar(require("./GetUnitTestResponseModel"), exports);
|
|
|
429
430
|
__exportStar(require("./GetUnitTestResponseModelDynamicVariablesValue"), exports);
|
|
430
431
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
431
432
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
433
|
+
__exportStar(require("./GetWhatsAppAccountResponse"), exports);
|
|
432
434
|
__exportStar(require("./GetWorkspaceSecretsResponseModel"), exports);
|
|
433
435
|
__exportStar(require("./GuardrailsV1Input"), exports);
|
|
434
436
|
__exportStar(require("./GuardrailsV1Output"), exports);
|
|
@@ -438,14 +440,17 @@ __exportStar(require("./HistoryItemResponse"), exports);
|
|
|
438
440
|
__exportStar(require("./HtmlExportOptions"), exports);
|
|
439
441
|
__exportStar(require("./HttpValidationError"), exports);
|
|
440
442
|
__exportStar(require("./ImageAvatar"), exports);
|
|
443
|
+
__exportStar(require("./ImportWhatsAppAccountResponse"), exports);
|
|
441
444
|
__exportStar(require("./InboundSipTrunkConfigRequestModel"), exports);
|
|
442
445
|
__exportStar(require("./IntegrationType"), exports);
|
|
443
446
|
__exportStar(require("./InvoiceResponse"), exports);
|
|
444
447
|
__exportStar(require("./InvoiceResponseModelPaymentIntentStatus"), exports);
|
|
448
|
+
__exportStar(require("./KnowledgeBaseDependentType"), exports);
|
|
445
449
|
__exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
|
|
446
450
|
__exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
|
|
447
451
|
__exportStar(require("./KnowledgeBaseDocumentType"), exports);
|
|
448
452
|
__exportStar(require("./KnowledgeBaseFolderPathSegmentResponseModel"), exports);
|
|
453
|
+
__exportStar(require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel"), exports);
|
|
449
454
|
__exportStar(require("./KnowledgeBaseLocator"), exports);
|
|
450
455
|
__exportStar(require("./KnowledgeBaseSortBy"), exports);
|
|
451
456
|
__exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModel"), exports);
|
|
@@ -461,6 +466,7 @@ __exportStar(require("./LibraryVoiceResponse"), exports);
|
|
|
461
466
|
__exportStar(require("./LibraryVoiceResponseModelCategory"), exports);
|
|
462
467
|
__exportStar(require("./ListMcpToolsResponseModel"), exports);
|
|
463
468
|
__exportStar(require("./ListResponseMeta"), exports);
|
|
469
|
+
__exportStar(require("./ListWhatsAppAccountsResponse"), exports);
|
|
464
470
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
465
471
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
466
472
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
@@ -822,6 +828,7 @@ __exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
|
822
828
|
__exportStar(require("./WebhookUsageType"), exports);
|
|
823
829
|
__exportStar(require("./WhatsAppConversationInfo"), exports);
|
|
824
830
|
__exportStar(require("./WhatsAppConversationInfoDirection"), exports);
|
|
831
|
+
__exportStar(require("./WhatsAppOutboundCallResponse"), exports);
|
|
825
832
|
__exportStar(require("./WidgetConfig"), exports);
|
|
826
833
|
__exportStar(require("./WidgetConfigInputAvatar"), exports);
|
|
827
834
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
@@ -835,6 +842,7 @@ __exportStar(require("./WidgetLanguagePreset"), exports);
|
|
|
835
842
|
__exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
836
843
|
__exportStar(require("./WidgetPlacement"), exports);
|
|
837
844
|
__exportStar(require("./WidgetStyles"), exports);
|
|
845
|
+
__exportStar(require("./WidgetTermsTranslation"), exports);
|
|
838
846
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
839
847
|
__exportStar(require("./WordTimestamp"), exports);
|
|
840
848
|
__exportStar(require("./WorkflowEdgeModelInput"), exports);
|
package/dist/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.30.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.30.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
|
@@ -17,6 +17,8 @@ import { SipTrunkClient } from "../resources/sipTrunk/client/Client";
|
|
|
17
17
|
import { TestsClient } from "../resources/tests/client/Client";
|
|
18
18
|
import { ToolsClient } from "../resources/tools/client/Client";
|
|
19
19
|
import { TwilioClient } from "../resources/twilio/client/Client";
|
|
20
|
+
import { WhatsappClient } from "../resources/whatsapp/client/Client";
|
|
21
|
+
import { WhatsappAccountsClient } from "../resources/whatsappAccounts/client/Client";
|
|
20
22
|
export declare namespace ConversationalAiClient {
|
|
21
23
|
type Options = BaseClientOptions;
|
|
22
24
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -26,6 +28,7 @@ export declare class ConversationalAiClient {
|
|
|
26
28
|
protected readonly _options: NormalizedClientOptions<ConversationalAiClient.Options>;
|
|
27
29
|
protected _conversations: ConversationsClient | undefined;
|
|
28
30
|
protected _twilio: TwilioClient | undefined;
|
|
31
|
+
protected _whatsapp: WhatsappClient | undefined;
|
|
29
32
|
protected _agents: AgentsClient | undefined;
|
|
30
33
|
protected _tests: TestsClient | undefined;
|
|
31
34
|
protected _phoneNumbers: PhoneNumbersClient | undefined;
|
|
@@ -37,11 +40,13 @@ export declare class ConversationalAiClient {
|
|
|
37
40
|
protected _batchCalls: BatchCallsClient | undefined;
|
|
38
41
|
protected _sipTrunk: SipTrunkClient | undefined;
|
|
39
42
|
protected _mcpServers: McpServersClient | undefined;
|
|
43
|
+
protected _whatsappAccounts: WhatsappAccountsClient | undefined;
|
|
40
44
|
protected _analytics: AnalyticsClient | undefined;
|
|
41
45
|
protected _dashboard: DashboardClient | undefined;
|
|
42
46
|
constructor(options?: ConversationalAiClient.Options);
|
|
43
47
|
get conversations(): ConversationsClient;
|
|
44
48
|
get twilio(): TwilioClient;
|
|
49
|
+
get whatsapp(): WhatsappClient;
|
|
45
50
|
get agents(): AgentsClient;
|
|
46
51
|
get tests(): TestsClient;
|
|
47
52
|
get phoneNumbers(): PhoneNumbersClient;
|
|
@@ -53,6 +58,7 @@ export declare class ConversationalAiClient {
|
|
|
53
58
|
get batchCalls(): BatchCallsClient;
|
|
54
59
|
get sipTrunk(): SipTrunkClient;
|
|
55
60
|
get mcpServers(): McpServersClient;
|
|
61
|
+
get whatsappAccounts(): WhatsappAccountsClient;
|
|
56
62
|
get analytics(): AnalyticsClient;
|
|
57
63
|
get dashboard(): DashboardClient;
|
|
58
64
|
/**
|
|
@@ -67,6 +67,8 @@ const Client_12 = require("../resources/sipTrunk/client/Client");
|
|
|
67
67
|
const Client_13 = require("../resources/tests/client/Client");
|
|
68
68
|
const Client_14 = require("../resources/tools/client/Client");
|
|
69
69
|
const Client_15 = require("../resources/twilio/client/Client");
|
|
70
|
+
const Client_16 = require("../resources/whatsapp/client/Client");
|
|
71
|
+
const Client_17 = require("../resources/whatsappAccounts/client/Client");
|
|
70
72
|
class ConversationalAiClient {
|
|
71
73
|
constructor(options = {}) {
|
|
72
74
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
@@ -79,6 +81,10 @@ class ConversationalAiClient {
|
|
|
79
81
|
var _a;
|
|
80
82
|
return ((_a = this._twilio) !== null && _a !== void 0 ? _a : (this._twilio = new Client_15.TwilioClient(this._options)));
|
|
81
83
|
}
|
|
84
|
+
get whatsapp() {
|
|
85
|
+
var _a;
|
|
86
|
+
return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_16.WhatsappClient(this._options)));
|
|
87
|
+
}
|
|
82
88
|
get agents() {
|
|
83
89
|
var _a;
|
|
84
90
|
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_1.AgentsClient(this._options)));
|
|
@@ -123,6 +129,10 @@ class ConversationalAiClient {
|
|
|
123
129
|
var _a;
|
|
124
130
|
return ((_a = this._mcpServers) !== null && _a !== void 0 ? _a : (this._mcpServers = new Client_8.McpServersClient(this._options)));
|
|
125
131
|
}
|
|
132
|
+
get whatsappAccounts() {
|
|
133
|
+
var _a;
|
|
134
|
+
return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_17.WhatsappAccountsClient(this._options)));
|
|
135
|
+
}
|
|
126
136
|
get analytics() {
|
|
127
137
|
var _a;
|
|
128
138
|
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_2.AnalyticsClient(this._options)));
|
|
@@ -334,6 +334,7 @@ class AgentsClient {
|
|
|
334
334
|
* pageSize: 1,
|
|
335
335
|
* search: "search",
|
|
336
336
|
* archived: true,
|
|
337
|
+
* showOnlyOwnedAgents: true,
|
|
337
338
|
* sortDirection: "asc",
|
|
338
339
|
* sortBy: "name",
|
|
339
340
|
* cursor: "cursor"
|
|
@@ -345,7 +346,7 @@ class AgentsClient {
|
|
|
345
346
|
__list() {
|
|
346
347
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
347
348
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
348
|
-
const { pageSize, search, archived, sortDirection, sortBy, cursor } = request;
|
|
349
|
+
const { pageSize, search, archived, showOnlyOwnedAgents, sortDirection, sortBy, cursor } = request;
|
|
349
350
|
const _queryParams = {};
|
|
350
351
|
if (pageSize != null) {
|
|
351
352
|
_queryParams.page_size = pageSize.toString();
|
|
@@ -356,6 +357,9 @@ class AgentsClient {
|
|
|
356
357
|
if (archived != null) {
|
|
357
358
|
_queryParams.archived = archived.toString();
|
|
358
359
|
}
|
|
360
|
+
if (showOnlyOwnedAgents != null) {
|
|
361
|
+
_queryParams.show_only_owned_agents = showOnlyOwnedAgents.toString();
|
|
362
|
+
}
|
|
359
363
|
if (sortDirection != null) {
|
|
360
364
|
_queryParams.sort_direction = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
361
365
|
unrecognizedObjectKeys: "strip",
|
package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
5
5
|
* pageSize: 1,
|
|
6
6
|
* search: "search",
|
|
7
7
|
* archived: true,
|
|
8
|
+
* showOnlyOwnedAgents: true,
|
|
8
9
|
* sortDirection: "asc",
|
|
9
10
|
* sortBy: "name",
|
|
10
11
|
* cursor: "cursor"
|
|
@@ -17,6 +18,8 @@ export interface AgentsListRequest {
|
|
|
17
18
|
search?: string;
|
|
18
19
|
/** Filter agents by archived status */
|
|
19
20
|
archived?: boolean;
|
|
21
|
+
/** If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own */
|
|
22
|
+
showOnlyOwnedAgents?: boolean;
|
|
20
23
|
/** The direction to sort the results */
|
|
21
24
|
sortDirection?: ElevenLabs.SortDirection;
|
|
22
25
|
/** The field to sort the results by */
|
package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -14,4 +14,6 @@ export interface UpdateAgentRequest {
|
|
|
14
14
|
name?: string;
|
|
15
15
|
/** Tags to help classify and filter the agent */
|
|
16
16
|
tags?: string[];
|
|
17
|
+
/** Description for this version when publishing changes (only applicable for versioned agents) */
|
|
18
|
+
versionDescription?: string;
|
|
17
19
|
}
|
|
@@ -236,7 +236,7 @@ class ConversationsClient {
|
|
|
236
236
|
__list() {
|
|
237
237
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
238
238
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
239
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, pageSize, summaryMode, search, } = request;
|
|
239
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, } = request;
|
|
240
240
|
const _queryParams = {};
|
|
241
241
|
if (cursor != null) {
|
|
242
242
|
_queryParams.cursor = cursor;
|
|
@@ -297,6 +297,14 @@ class ConversationsClient {
|
|
|
297
297
|
_queryParams.tool_names = toolNames;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
+
if (mainLanguages != null) {
|
|
301
|
+
if (Array.isArray(mainLanguages)) {
|
|
302
|
+
_queryParams.main_languages = mainLanguages.map((item) => item);
|
|
303
|
+
}
|
|
304
|
+
else {
|
|
305
|
+
_queryParams.main_languages = mainLanguages;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
300
308
|
if (pageSize != null) {
|
|
301
309
|
_queryParams.page_size = pageSize.toString();
|
|
302
310
|
}
|
|
@@ -47,6 +47,8 @@ export interface ConversationsListRequest {
|
|
|
47
47
|
dataCollectionParams?: string | string[];
|
|
48
48
|
/** Filter conversations by tool names used during the call. */
|
|
49
49
|
toolNames?: string | string[];
|
|
50
|
+
/** Filter conversations by detected main language (language code). */
|
|
51
|
+
mainLanguages?: string | string[];
|
|
50
52
|
/** How many conversations to return at maximum. Can not exceed 100, defaults to 30. */
|
|
51
53
|
pageSize?: number;
|
|
52
54
|
/** Whether to include transcript summaries in the response. */
|
|
@@ -32,3 +32,7 @@ export * from "./tools/client/requests";
|
|
|
32
32
|
export * as twilio from "./twilio";
|
|
33
33
|
export * from "./twilio/client/requests";
|
|
34
34
|
export * from "./twilio/types";
|
|
35
|
+
export * as whatsapp from "./whatsapp";
|
|
36
|
+
export * from "./whatsapp/client/requests";
|
|
37
|
+
export * as whatsappAccounts from "./whatsappAccounts";
|
|
38
|
+
export * from "./whatsappAccounts/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
39
|
+
exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
42
|
exports.analytics = __importStar(require("./analytics"));
|
|
@@ -71,3 +71,7 @@ __exportStar(require("./tools/client/requests"), exports);
|
|
|
71
71
|
exports.twilio = __importStar(require("./twilio"));
|
|
72
72
|
__exportStar(require("./twilio/client/requests"), exports);
|
|
73
73
|
__exportStar(require("./twilio/types"), exports);
|
|
74
|
+
exports.whatsapp = __importStar(require("./whatsapp"));
|
|
75
|
+
__exportStar(require("./whatsapp/client/requests"), exports);
|
|
76
|
+
exports.whatsappAccounts = __importStar(require("./whatsappAccounts"));
|
|
77
|
+
__exportStar(require("./whatsappAccounts/client/requests"), exports);
|