@elevenlabs/elevenlabs-js 2.28.0 → 2.29.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/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/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/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/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/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/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/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 +1 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -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/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/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 +6 -0
- package/api/types/index.js +6 -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/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/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/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/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/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/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 +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -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/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/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 +6 -0
- package/dist/api/types/index.js +6 -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/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/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/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/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/{resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → types/ImportWhatsAppAccountResponse.js} +5 -6
- package/dist/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
- package/{serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → dist/serialization/types/KnowledgeBaseDependentType.js} +3 -6
- 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/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 +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +399 -7
- 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/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/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/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/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/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/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 +6 -0
- package/serialization/types/index.js +6 -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
|
@@ -30,9 +30,9 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
|
|
|
30
30
|
/**
|
|
31
31
|
* Output quality of the generated audio. Must be one of:
|
|
32
32
|
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
33
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
34
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
35
|
-
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
33
|
+
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
34
|
+
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
35
|
+
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
36
36
|
*/
|
|
37
37
|
qualityPreset?: string;
|
|
38
38
|
/** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
|
package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Output quality of the generated audio. Must be one of:
|
|
3
3
|
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
4
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
5
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
6
|
-
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
4
|
+
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
5
|
+
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
6
|
+
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
7
7
|
*/
|
|
8
8
|
export declare const BodyCreatePodcastV1StudioPodcastsPostQualityPreset: {
|
|
9
9
|
readonly Standard: "standard";
|
package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js
CHANGED
|
@@ -5,9 +5,9 @@ exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = void 0;
|
|
|
5
5
|
/**
|
|
6
6
|
* Output quality of the generated audio. Must be one of:
|
|
7
7
|
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
8
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
9
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
10
|
-
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
8
|
+
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
9
|
+
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
10
|
+
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
11
11
|
*/
|
|
12
12
|
exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = {
|
|
13
13
|
Standard: "standard",
|
|
@@ -23,4 +23,6 @@ export interface VoiceDesignRequest {
|
|
|
23
23
|
seed?: number;
|
|
24
24
|
/** Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower Guidance Scale. */
|
|
25
25
|
guidanceScale?: number;
|
|
26
|
+
/** Whether to enhance the voice description using AI to add more detail and improve voice generation quality. When enabled, the system will automatically expand simple prompts into more detailed voice descriptions. Defaults to False */
|
|
27
|
+
shouldEnhance?: boolean;
|
|
26
28
|
}
|
|
@@ -25,6 +25,8 @@ export interface VoiceDesignRequestModel {
|
|
|
25
25
|
guidanceScale?: number;
|
|
26
26
|
/** Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint. */
|
|
27
27
|
streamPreviews?: boolean;
|
|
28
|
+
/** Whether to enhance the voice description using AI to add more detail and improve voice generation quality. When enabled, the system will automatically expand simple prompts into more detailed voice descriptions. Defaults to False */
|
|
29
|
+
shouldEnhance?: boolean;
|
|
28
30
|
/** The remixing session id. */
|
|
29
31
|
remixingSessionId?: string;
|
|
30
32
|
/** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
|
|
@@ -24,7 +24,7 @@ export interface VoicesSearchRequest {
|
|
|
24
24
|
sort?: string;
|
|
25
25
|
/** Which direction to sort the voices in. 'asc' or 'desc'. */
|
|
26
26
|
sortDirection?: string;
|
|
27
|
-
/** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default'. 'non-default' is equal to all but 'default'. */
|
|
27
|
+
/** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'saved'. 'non-default' is equal to all but 'default'. 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
|
|
28
28
|
voiceType?: string;
|
|
29
29
|
/** Category of the voice to filter by. One of 'premade', 'cloned', 'generated', 'professional' */
|
|
30
30
|
category?: string;
|
|
@@ -7,5 +7,6 @@ export declare const AuthorizationMethod: {
|
|
|
7
7
|
readonly LivekitToken: "livekit_token";
|
|
8
8
|
readonly LivekitTokenWebsite: "livekit_token_website";
|
|
9
9
|
readonly GenesysApiKey: "genesys_api_key";
|
|
10
|
+
readonly Whatsapp: "whatsapp";
|
|
10
11
|
};
|
|
11
12
|
export type AuthorizationMethod = (typeof AuthorizationMethod)[keyof typeof AuthorizationMethod];
|
|
@@ -6,15 +6,17 @@ export interface BatchCallDetailedResponse {
|
|
|
6
6
|
id: string;
|
|
7
7
|
phoneNumberId?: string;
|
|
8
8
|
phoneProvider?: ElevenLabs.TelephonyProvider;
|
|
9
|
+
whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
|
|
9
10
|
name: string;
|
|
10
11
|
agentId: string;
|
|
11
12
|
createdAtUnix: number;
|
|
12
13
|
scheduledTimeUnix: number;
|
|
13
14
|
totalCallsDispatched: number;
|
|
14
15
|
totalCallsScheduled: number;
|
|
16
|
+
totalCallsFinished: number;
|
|
15
17
|
lastUpdatedAtUnix: number;
|
|
16
18
|
status: ElevenLabs.BatchCallStatus;
|
|
17
|
-
retryCount
|
|
19
|
+
retryCount: number;
|
|
18
20
|
agentName: string;
|
|
19
21
|
recipients: ElevenLabs.OutboundCallRecipientResponseModel[];
|
|
20
22
|
}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.BatchCallRecipientStatus = void 0;
|
|
5
5
|
exports.BatchCallRecipientStatus = {
|
|
6
6
|
Pending: "pending",
|
|
7
|
+
Dispatched: "dispatched",
|
|
7
8
|
Initiated: "initiated",
|
|
8
9
|
InProgress: "in_progress",
|
|
9
10
|
Completed: "completed",
|
|
@@ -3,14 +3,16 @@ export interface BatchCallResponse {
|
|
|
3
3
|
id: string;
|
|
4
4
|
phoneNumberId?: string;
|
|
5
5
|
phoneProvider?: ElevenLabs.TelephonyProvider;
|
|
6
|
+
whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
|
|
6
7
|
name: string;
|
|
7
8
|
agentId: string;
|
|
8
9
|
createdAtUnix: number;
|
|
9
10
|
scheduledTimeUnix: number;
|
|
10
11
|
totalCallsDispatched: number;
|
|
11
12
|
totalCallsScheduled: number;
|
|
13
|
+
totalCallsFinished: number;
|
|
12
14
|
lastUpdatedAtUnix: number;
|
|
13
15
|
status: ElevenLabs.BatchCallStatus;
|
|
14
|
-
retryCount
|
|
16
|
+
retryCount: number;
|
|
15
17
|
agentName: string;
|
|
16
18
|
}
|
|
@@ -6,4 +6,8 @@ export interface ConversationConfig {
|
|
|
6
6
|
maxDurationSeconds?: number;
|
|
7
7
|
/** The events that will be sent to the client */
|
|
8
8
|
clientEvents?: ElevenLabs.ClientEvent[];
|
|
9
|
+
/** Enable real-time monitoring of conversations via WebSocket */
|
|
10
|
+
monitoringEnabled?: boolean;
|
|
11
|
+
/** The events that will be sent to monitoring connections. */
|
|
12
|
+
monitoringEvents?: ElevenLabs.ClientEvent[];
|
|
9
13
|
}
|
|
@@ -6,4 +6,8 @@ export interface ConversationConfigWorkflowOverride {
|
|
|
6
6
|
maxDurationSeconds?: number;
|
|
7
7
|
/** The events that will be sent to the client */
|
|
8
8
|
clientEvents?: ElevenLabs.ClientEvent[];
|
|
9
|
+
/** Enable real-time monitoring of conversations via WebSocket */
|
|
10
|
+
monitoringEnabled?: boolean;
|
|
11
|
+
/** The events that will be sent to monitoring connections. */
|
|
12
|
+
monitoringEvents?: ElevenLabs.ClientEvent[];
|
|
9
13
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface DependentAvailableAgentIdentifier {
|
|
3
|
+
/** If the agent is a transitive dependent, contains IDs of the resources that the agent depends on directly. */
|
|
4
|
+
referencedResourceIds?: string[];
|
|
3
5
|
id: string;
|
|
4
6
|
name: string;
|
|
5
7
|
createdAtUnixSecs: number;
|
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
* A model that represents an agent dependent on a knowledge base/tools
|
|
3
3
|
* to which the user has no direct access.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export interface DependentUnknownAgentIdentifier {
|
|
6
|
+
/** If the agent is a transitive dependent, contains IDs of the resources that the agent depends on directly. */
|
|
7
|
+
referencedResourceIds?: string[];
|
|
8
|
+
}
|
|
@@ -13,4 +13,5 @@ export interface FeaturesUsageCommonModel {
|
|
|
13
13
|
voicemailDetection?: ElevenLabs.FeatureStatusCommonModel;
|
|
14
14
|
workflow?: ElevenLabs.WorkflowFeaturesUsageCommonModel;
|
|
15
15
|
agentTesting?: ElevenLabs.TestsFeatureUsageCommonModel;
|
|
16
|
+
versioning?: ElevenLabs.FeatureStatusCommonModel;
|
|
16
17
|
}
|
|
@@ -18,4 +18,10 @@ export interface GetAgentResponseModel {
|
|
|
18
18
|
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
19
19
|
/** Agent tags used to categorize the agent */
|
|
20
20
|
tags?: string[];
|
|
21
|
+
/** The ID of the version the agent is on */
|
|
22
|
+
versionId?: string;
|
|
23
|
+
/** The ID of the branch the agent is on */
|
|
24
|
+
branchId?: string;
|
|
25
|
+
/** The ID of the main branch for this agent */
|
|
26
|
+
mainBranchId?: string;
|
|
21
27
|
}
|
|
@@ -5,6 +5,8 @@ export interface GetConversationResponseModel {
|
|
|
5
5
|
status: ElevenLabs.GetConversationResponseModelStatus;
|
|
6
6
|
userId?: string;
|
|
7
7
|
branchId?: string;
|
|
8
|
+
/** The ID of the agent version used for this conversation */
|
|
9
|
+
versionId?: string;
|
|
8
10
|
transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
9
11
|
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
|
|
10
12
|
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
|
|
@@ -7,5 +7,6 @@ export interface GetKnowledgeBaseSummaryFileResponseModel {
|
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
8
|
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
9
|
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
11
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem[];
|
|
11
12
|
}
|
|
@@ -7,6 +7,7 @@ export interface GetKnowledgeBaseSummaryFolderResponseModel {
|
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
8
|
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
9
|
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
11
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem[];
|
|
11
12
|
childrenCount: number;
|
|
12
13
|
}
|
|
@@ -7,5 +7,6 @@ export interface GetKnowledgeBaseSummaryTextResponseModel {
|
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
8
|
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
9
|
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
11
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem[];
|
|
11
12
|
}
|
|
@@ -7,6 +7,7 @@ export interface GetKnowledgeBaseSummaryUrlResponseModel {
|
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
8
|
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
9
|
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
11
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem[];
|
|
11
12
|
url: string;
|
|
12
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.KnowledgeBaseDependentType = void 0;
|
|
5
|
+
exports.KnowledgeBaseDependentType = {
|
|
6
|
+
Direct: "direct",
|
|
7
|
+
Transitive: "transitive",
|
|
8
|
+
All: "all",
|
|
9
|
+
};
|
package/dist/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/dist/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
|
}
|
|
@@ -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
|
};
|
|
@@ -413,6 +413,7 @@ export * from "./GetUnitTestResponseModel";
|
|
|
413
413
|
export * from "./GetUnitTestResponseModelDynamicVariablesValue";
|
|
414
414
|
export * from "./GetVoicesResponse";
|
|
415
415
|
export * from "./GetVoicesV2Response";
|
|
416
|
+
export * from "./GetWhatsAppAccountResponse";
|
|
416
417
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
417
418
|
export * from "./GuardrailsV1Input";
|
|
418
419
|
export * from "./GuardrailsV1Output";
|
|
@@ -422,10 +423,12 @@ export * from "./HistoryItemResponse";
|
|
|
422
423
|
export * from "./HtmlExportOptions";
|
|
423
424
|
export * from "./HttpValidationError";
|
|
424
425
|
export * from "./ImageAvatar";
|
|
426
|
+
export * from "./ImportWhatsAppAccountResponse";
|
|
425
427
|
export * from "./InboundSipTrunkConfigRequestModel";
|
|
426
428
|
export * from "./IntegrationType";
|
|
427
429
|
export * from "./InvoiceResponse";
|
|
428
430
|
export * from "./InvoiceResponseModelPaymentIntentStatus";
|
|
431
|
+
export * from "./KnowledgeBaseDependentType";
|
|
429
432
|
export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
430
433
|
export * from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
431
434
|
export * from "./KnowledgeBaseDocumentType";
|
|
@@ -445,6 +448,7 @@ export * from "./LibraryVoiceResponse";
|
|
|
445
448
|
export * from "./LibraryVoiceResponseModelCategory";
|
|
446
449
|
export * from "./ListMcpToolsResponseModel";
|
|
447
450
|
export * from "./ListResponseMeta";
|
|
451
|
+
export * from "./ListWhatsAppAccountsResponse";
|
|
448
452
|
export * from "./LiteralJsonSchemaProperty";
|
|
449
453
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
450
454
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
@@ -806,6 +810,7 @@ export * from "./WebhookToolConfigOutput";
|
|
|
806
810
|
export * from "./WebhookUsageType";
|
|
807
811
|
export * from "./WhatsAppConversationInfo";
|
|
808
812
|
export * from "./WhatsAppConversationInfoDirection";
|
|
813
|
+
export * from "./WhatsAppOutboundCallResponse";
|
|
809
814
|
export * from "./WidgetConfig";
|
|
810
815
|
export * from "./WidgetConfigInputAvatar";
|
|
811
816
|
export * from "./WidgetConfigOutputAvatar";
|
|
@@ -819,6 +824,7 @@ export * from "./WidgetLanguagePreset";
|
|
|
819
824
|
export * from "./WidgetLanguagePresetResponse";
|
|
820
825
|
export * from "./WidgetPlacement";
|
|
821
826
|
export * from "./WidgetStyles";
|
|
827
|
+
export * from "./WidgetTermsTranslation";
|
|
822
828
|
export * from "./WidgetTextContents";
|
|
823
829
|
export * from "./WordTimestamp";
|
|
824
830
|
export * from "./WorkflowEdgeModelInput";
|