@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
|
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
8
8
|
export interface BodyGenerateCompositionPlanV1MusicPlanPost {
|
|
9
9
|
/** A simple text prompt to compose a plan from. */
|
|
10
10
|
prompt: string;
|
|
11
|
-
/** The length of the composition plan to generate in milliseconds. Must be between 3000ms and
|
|
11
|
+
/** The length of the composition plan to generate in milliseconds. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. */
|
|
12
12
|
musicLengthMs?: number;
|
|
13
13
|
/** An optional composition plan to use as a source for the new composition plan. */
|
|
14
14
|
sourceCompositionPlan?: ElevenLabs.MusicPrompt;
|
|
@@ -144,6 +144,17 @@ class SpeechToTextClient {
|
|
|
144
144
|
return typeof mapped === "string" ? mapped : (0, json_1.toJson)(mapped);
|
|
145
145
|
})());
|
|
146
146
|
}
|
|
147
|
+
if (request.entityDetection != null) {
|
|
148
|
+
if (Array.isArray(request.entityDetection))
|
|
149
|
+
for (const _item of request.entityDetection) {
|
|
150
|
+
_request.append("entity_detection", typeof _item === "string" ? _item : (0, json_1.toJson)(_item));
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (request.keyterms != null) {
|
|
154
|
+
for (const _item of request.keyterms) {
|
|
155
|
+
_request.append("keyterms", _item);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
147
158
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
148
159
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
149
160
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts
CHANGED
|
@@ -50,4 +50,8 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
50
50
|
useMultiChannel?: boolean;
|
|
51
51
|
/** Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. */
|
|
52
52
|
webhookMetadata?: ElevenLabs.SpeechToTextConvertRequestWebhookMetadata;
|
|
53
|
+
/** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. */
|
|
54
|
+
entityDetection?: ElevenLabs.SpeechToTextConvertRequestEntityDetection;
|
|
55
|
+
/** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 100. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"] */
|
|
56
|
+
keyterms?: string[];
|
|
53
57
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions.
|
|
3
|
+
*/
|
|
4
|
+
export type SpeechToTextConvertRequestEntityDetection = string | string[];
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
|
|
17
18
|
__exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
|
|
18
19
|
__exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
|
|
19
20
|
__exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
|
package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts
CHANGED
|
@@ -29,9 +29,9 @@ export interface BodyCreatePodcastV1StudioPodcastsPost {
|
|
|
29
29
|
/**
|
|
30
30
|
* Output quality of the generated audio. Must be one of:
|
|
31
31
|
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
32
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
33
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
34
|
-
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
32
|
+
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
33
|
+
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
34
|
+
* ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
35
35
|
*/
|
|
36
36
|
qualityPreset?: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset;
|
|
37
37
|
/**
|
|
@@ -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;
|
|
@@ -59,4 +59,21 @@ export declare class ResourcesClient {
|
|
|
59
59
|
*/
|
|
60
60
|
unshare(resource_id: string, request: ElevenLabs.workspace.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
61
61
|
private __unshare;
|
|
62
|
+
/**
|
|
63
|
+
* Copies a workspace resource to another workspace.
|
|
64
|
+
*
|
|
65
|
+
* @param {string} resource_id - The ID of the target resource.
|
|
66
|
+
* @param {ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost} request
|
|
67
|
+
* @param {ResourcesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.workspace.resources.copyToWorkspace("resource_id", {
|
|
73
|
+
* resourceType: "voice",
|
|
74
|
+
* targetUserId: "target_user_id"
|
|
75
|
+
* })
|
|
76
|
+
*/
|
|
77
|
+
copyToWorkspace(resource_id: string, request: ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
78
|
+
private __copyToWorkspace;
|
|
62
79
|
}
|
|
@@ -241,5 +241,64 @@ class ResourcesClient {
|
|
|
241
241
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/unshare");
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Copies a workspace resource to another workspace.
|
|
246
|
+
*
|
|
247
|
+
* @param {string} resource_id - The ID of the target resource.
|
|
248
|
+
* @param {ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost} request
|
|
249
|
+
* @param {ResourcesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* await client.workspace.resources.copyToWorkspace("resource_id", {
|
|
255
|
+
* resourceType: "voice",
|
|
256
|
+
* targetUserId: "target_user_id"
|
|
257
|
+
* })
|
|
258
|
+
*/
|
|
259
|
+
copyToWorkspace(resource_id, request, requestOptions) {
|
|
260
|
+
return core.HttpResponsePromise.fromPromise(this.__copyToWorkspace(resource_id, request, requestOptions));
|
|
261
|
+
}
|
|
262
|
+
__copyToWorkspace(resource_id, request, requestOptions) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
265
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
266
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
267
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/workspace/resources/${core.url.encodePathParam(resource_id)}/copy-to-workspace`),
|
|
268
|
+
method: "POST",
|
|
269
|
+
headers: _headers,
|
|
270
|
+
contentType: "application/json",
|
|
271
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
272
|
+
requestType: "json",
|
|
273
|
+
body: serializers.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
274
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
275
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
276
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
277
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
278
|
+
logging: this._options.logging,
|
|
279
|
+
});
|
|
280
|
+
if (_response.ok) {
|
|
281
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
282
|
+
}
|
|
283
|
+
if (_response.error.reason === "status-code") {
|
|
284
|
+
switch (_response.error.statusCode) {
|
|
285
|
+
case 422:
|
|
286
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
287
|
+
unrecognizedObjectKeys: "passthrough",
|
|
288
|
+
allowUnrecognizedUnionMembers: true,
|
|
289
|
+
allowUnrecognizedEnumValues: true,
|
|
290
|
+
breadcrumbsPrefix: ["response"],
|
|
291
|
+
}), _response.rawResponse);
|
|
292
|
+
default:
|
|
293
|
+
throw new errors.ElevenLabsError({
|
|
294
|
+
statusCode: _response.error.statusCode,
|
|
295
|
+
body: _response.error.body,
|
|
296
|
+
rawResponse: _response.rawResponse,
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/copy-to-workspace");
|
|
301
|
+
});
|
|
302
|
+
}
|
|
244
303
|
}
|
|
245
304
|
exports.ResourcesClient = ResourcesClient;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* resourceType: "voice",
|
|
6
|
+
* targetUserId: "target_user_id"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost {
|
|
10
|
+
/** Resource type of the target resource. */
|
|
11
|
+
resourceType: ElevenLabs.WorkspaceResourceType;
|
|
12
|
+
/** The ID of the target user. */
|
|
13
|
+
targetUserId: string;
|
|
14
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost } from "./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost";
|
|
1
2
|
export type { BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost } from "./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost";
|
|
2
3
|
export type { BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost } from "./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost";
|
|
3
4
|
export type { ResourcesGetRequest } from "./ResourcesGetRequest";
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface DetectedEntity {
|
|
2
|
+
/** The text that was identified as an entity. */
|
|
3
|
+
text: string;
|
|
4
|
+
/** The type of entity detected (e.g., 'credit_card', 'email_address', 'person_name'). */
|
|
5
|
+
entityType: string;
|
|
6
|
+
/** Start character position in the transcript text. */
|
|
7
|
+
startChar: number;
|
|
8
|
+
/** End character position in the transcript text. */
|
|
9
|
+
endChar: number;
|
|
10
|
+
}
|
|
@@ -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,8 @@ 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
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
|
|
12
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
13
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem[];
|
|
11
14
|
}
|
|
@@ -7,6 +7,9 @@ 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
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
|
|
12
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
13
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem[];
|
|
11
14
|
childrenCount: number;
|
|
12
15
|
}
|
|
@@ -7,5 +7,8 @@ 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
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
|
|
12
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
13
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem[];
|
|
11
14
|
}
|
|
@@ -7,6 +7,9 @@ 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
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
|
|
12
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
10
13
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem[];
|
|
11
14
|
url: string;
|
|
12
15
|
}
|
|
@@ -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
|
}
|