@elevenlabs/elevenlabs-js 2.27.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 +18 -12
- package/api/resources/conversationalAi/client/Client.js +38 -28
- 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 +5 -0
- package/api/resources/conversationalAi/resources/index.js +6 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +22 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +82 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +15 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/index.js +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +19 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +7 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +130 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/{dist/api/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/{dist/serialization/resources/dubbing/resources/resource → api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries}/types/index.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +10 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/{serialization/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/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +3 -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/api/resources/{dubbing/resources/resource/types → 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/api/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +3 -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/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- 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/AgentConfig.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/AuthorizationMethod.d.ts +1 -0
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/BatchCallDetailedResponse.d.ts +3 -0
- package/api/types/BatchCallRecipientStatus.d.ts +1 -0
- package/api/types/BatchCallRecipientStatus.js +1 -0
- package/api/types/BatchCallResponse.d.ts +3 -0
- package/api/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/api/types/BatchFailureResponseModel.d.ts +5 -0
- package/api/types/BatchFailureResponseModel.js +3 -0
- 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/ConversationTokenDbModel.d.ts +2 -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/GetKnowledgeBaseFileResponseModel.d.ts +4 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +13 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +4 -1
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +13 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +10 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +3 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
- package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +4 -0
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +5 -1
- package/api/types/GetOrCreateRagIndexRequestModel.d.ts +9 -0
- package/api/types/GetOrCreateRagIndexRequestModel.js +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/KnowledgeBaseDocumentType.d.ts +1 -0
- package/api/types/KnowledgeBaseDocumentType.js +1 -0
- package/api/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +4 -0
- package/api/types/KnowledgeBaseFolderPathSegmentResponseModel.js +3 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +3 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +16 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.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/RagIndexBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/RagIndexBatchSuccessfulResponseModel.js +3 -0
- package/api/types/RagIndexStatus.d.ts +1 -0
- package/api/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.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 +8 -0
- package/api/types/WidgetConfigResponse.d.ts +8 -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 +4 -0
- package/api/types/WorkspaceResourceType.js +4 -0
- package/api/types/index.d.ts +15 -0
- package/api/types/index.js +15 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +18 -12
- package/dist/api/resources/conversationalAi/client/Client.js +38 -28
- 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 +5 -0
- package/dist/api/resources/conversationalAi/resources/index.js +6 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +22 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +82 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +15 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +19 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +7 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +130 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/AgentConfig.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -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 -0
- 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 -0
- package/dist/api/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/dist/api/types/BatchFailureResponseModel.d.ts +5 -0
- package/dist/api/types/BatchFailureResponseModel.js +3 -0
- 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/ConversationTokenDbModel.d.ts +2 -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/GetKnowledgeBaseFileResponseModel.d.ts +4 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +13 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/dist/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +4 -1
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +13 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +10 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
- package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +4 -0
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +5 -1
- package/dist/api/types/GetOrCreateRagIndexRequestModel.d.ts +9 -0
- package/dist/api/types/GetOrCreateRagIndexRequestModel.js +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/KnowledgeBaseDocumentType.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseDocumentType.js +1 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +4 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +16 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.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/RagIndexBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/RagIndexBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/RagIndexStatus.d.ts +1 -0
- package/dist/api/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.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 +8 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +8 -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 +4 -0
- package/dist/api/types/WorkspaceResourceType.js +4 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/api/types/index.js +15 -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 +6 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +7 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.js +40 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/index.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.js +40 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +37 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/AgentConfig.d.ts +1 -0
- package/dist/serialization/types/AgentConfig.js +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.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 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +4 -0
- 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 -0
- package/dist/serialization/types/BatchCallResponse.js +4 -0
- package/dist/serialization/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/dist/serialization/types/BatchCallWhatsAppParams.js +1 -1
- package/dist/serialization/types/BatchFailureResponseModel.d.ts +11 -0
- package/dist/serialization/types/BatchFailureResponseModel.js +43 -0
- 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/ConversationTokenDbModel.d.ts +1 -0
- package/dist/serialization/types/ConversationTokenDbModel.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/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +20 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +52 -0
- package/dist/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +5 -1
- package/dist/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +20 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +52 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +15 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +49 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +4 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +4 -1
- package/dist/serialization/types/GetOrCreateRagIndexRequestModel.d.ts +12 -0
- package/dist/serialization/types/GetOrCreateRagIndexRequestModel.js +44 -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/KnowledgeBaseDocumentType.d.ts +1 -1
- package/dist/serialization/types/KnowledgeBaseDocumentType.js +1 -1
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +10 -0
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.js +42 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +42 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +23 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +53 -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/RagIndexBatchSuccessfulResponseModel.d.ts +10 -0
- package/dist/serialization/types/RagIndexBatchSuccessfulResponseModel.js +42 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.d.ts +1 -1
- package/dist/serialization/types/WhatsAppConversationInfo.js +1 -1
- package/dist/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/dist/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/dist/serialization/types/WidgetConfig.d.ts +5 -0
- package/dist/serialization/types/WidgetConfig.js +5 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +5 -0
- package/dist/serialization/types/WidgetConfigResponse.js +5 -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 +4 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/serialization/types/index.js +15 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/realtime/scribe.js +3 -0
- package/package.json +1 -1
- package/reference.md +627 -99
- 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 +6 -0
- package/serialization/resources/conversationalAi/resources/index.js +7 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.js +40 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +42 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/index.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.js +40 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +37 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +49 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/AgentConfig.d.ts +1 -0
- package/serialization/types/AgentConfig.js +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.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 -0
- package/serialization/types/BatchCallDetailedResponse.js +4 -0
- package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/serialization/types/BatchCallRecipientStatus.js +10 -1
- package/serialization/types/BatchCallResponse.d.ts +4 -0
- package/serialization/types/BatchCallResponse.js +4 -0
- package/serialization/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/serialization/types/BatchCallWhatsAppParams.js +1 -1
- package/serialization/types/BatchFailureResponseModel.d.ts +11 -0
- package/serialization/types/BatchFailureResponseModel.js +43 -0
- 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/ConversationTokenDbModel.d.ts +1 -0
- package/serialization/types/ConversationTokenDbModel.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/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +20 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +52 -0
- package/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +5 -1
- package/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +20 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +52 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +15 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +49 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseTextResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +4 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +4 -1
- package/serialization/types/GetOrCreateRagIndexRequestModel.d.ts +12 -0
- package/serialization/types/GetOrCreateRagIndexRequestModel.js +44 -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/KnowledgeBaseDocumentType.d.ts +1 -1
- package/serialization/types/KnowledgeBaseDocumentType.js +1 -1
- package/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +10 -0
- package/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.js +42 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +23 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +53 -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/RagIndexBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/RagIndexBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.d.ts +1 -1
- package/serialization/types/WhatsAppConversationInfo.js +1 -1
- package/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/serialization/types/WidgetConfig.d.ts +5 -0
- package/serialization/types/WidgetConfig.js +5 -0
- package/serialization/types/WidgetConfigResponse.d.ts +5 -0
- package/serialization/types/WidgetConfigResponse.js +5 -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 +4 -0
- package/serialization/types/index.d.ts +15 -0
- package/serialization/types/index.js +15 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/realtime/scribe.js +3 -0
- 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/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js} +0 -0
- /package/{dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* businessAccountId: "business_account_id",
|
|
5
|
+
* phoneNumberId: "phone_number_id",
|
|
6
|
+
* tokenCode: "token_code"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ImportWhatsAppAccountRequest {
|
|
10
|
+
businessAccountId: string;
|
|
11
|
+
phoneNumberId: string;
|
|
12
|
+
tokenCode: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * as audio from "./audio";
|
|
2
2
|
export * as resource from "./resource";
|
|
3
3
|
export * from "./resource/client/requests";
|
|
4
|
-
export * from "./resource/types";
|
|
5
4
|
export * as transcript from "./transcript";
|
|
6
5
|
export * from "./transcript/client/requests";
|
|
7
6
|
export * from "./transcript/types";
|
|
@@ -40,7 +40,6 @@ exports.transcript = exports.resource = exports.audio = void 0;
|
|
|
40
40
|
exports.audio = __importStar(require("./audio"));
|
|
41
41
|
exports.resource = __importStar(require("./resource"));
|
|
42
42
|
__exportStar(require("./resource/client/requests"), exports);
|
|
43
|
-
__exportStar(require("./resource/types"), exports);
|
|
44
43
|
exports.transcript = __importStar(require("./transcript"));
|
|
45
44
|
__exportStar(require("./transcript/client/requests"), exports);
|
|
46
45
|
__exportStar(require("./transcript/types"), exports);
|
|
@@ -101,17 +101,17 @@ export declare class ResourceClient {
|
|
|
101
101
|
* Regenerate the output media for a language using the latest Studio state. Please ensure all segments have been dubbed before rendering, otherwise they will be omitted. Renders are generated asynchronously, and to check the status of all renders please use the 'Get Dubbing Resource' endpoint.
|
|
102
102
|
*
|
|
103
103
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
104
|
-
* @param {
|
|
104
|
+
* @param {string} language - The target language code to render, eg. 'es'. To render the source track use 'original'.
|
|
105
105
|
* @param {ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost} request
|
|
106
106
|
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
|
-
* await client.dubbing.resource.render("dubbing_id", "
|
|
111
|
+
* await client.dubbing.resource.render("dubbing_id", "language", {
|
|
112
112
|
* renderType: "mp4"
|
|
113
113
|
* })
|
|
114
114
|
*/
|
|
115
|
-
render(dubbing_id: string, language:
|
|
115
|
+
render(dubbing_id: string, language: string, request: ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DubbingRenderResponseModel>;
|
|
116
116
|
private __render;
|
|
117
117
|
}
|
|
@@ -400,14 +400,14 @@ class ResourceClient {
|
|
|
400
400
|
* Regenerate the output media for a language using the latest Studio state. Please ensure all segments have been dubbed before rendering, otherwise they will be omitted. Renders are generated asynchronously, and to check the status of all renders please use the 'Get Dubbing Resource' endpoint.
|
|
401
401
|
*
|
|
402
402
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
403
|
-
* @param {
|
|
403
|
+
* @param {string} language - The target language code to render, eg. 'es'. To render the source track use 'original'.
|
|
404
404
|
* @param {ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost} request
|
|
405
405
|
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
406
406
|
*
|
|
407
407
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
408
408
|
*
|
|
409
409
|
* @example
|
|
410
|
-
* await client.dubbing.resource.render("dubbing_id", "
|
|
410
|
+
* await client.dubbing.resource.render("dubbing_id", "language", {
|
|
411
411
|
* renderType: "mp4"
|
|
412
412
|
* })
|
|
413
413
|
*/
|
|
@@ -419,7 +419,7 @@ class ResourceClient {
|
|
|
419
419
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
420
420
|
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);
|
|
421
421
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
422
|
-
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/dubbing/resource/${core.url.encodePathParam(dubbing_id)}/render/${core.url.encodePathParam(
|
|
422
|
+
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/dubbing/resource/${core.url.encodePathParam(dubbing_id)}/render/${core.url.encodePathParam(language)}`),
|
|
423
423
|
method: "POST",
|
|
424
424
|
headers: _headers,
|
|
425
425
|
contentType: "application/json",
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
@@ -36,7 +36,7 @@ export declare class HistoryClient {
|
|
|
36
36
|
/**
|
|
37
37
|
* Retrieves a history item.
|
|
38
38
|
*
|
|
39
|
-
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/
|
|
39
|
+
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/list) endpoint to retrieve a list of history items.
|
|
40
40
|
* @param {HistoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
41
|
*
|
|
42
42
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -49,7 +49,7 @@ export declare class HistoryClient {
|
|
|
49
49
|
/**
|
|
50
50
|
* Delete a history item by its ID
|
|
51
51
|
*
|
|
52
|
-
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/
|
|
52
|
+
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/list) endpoint to retrieve a list of history items.
|
|
53
53
|
* @param {HistoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -162,7 +162,7 @@ class HistoryClient {
|
|
|
162
162
|
/**
|
|
163
163
|
* Retrieves a history item.
|
|
164
164
|
*
|
|
165
|
-
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/
|
|
165
|
+
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/list) endpoint to retrieve a list of history items.
|
|
166
166
|
* @param {HistoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
167
167
|
*
|
|
168
168
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -222,7 +222,7 @@ class HistoryClient {
|
|
|
222
222
|
/**
|
|
223
223
|
* Delete a history item by its ID
|
|
224
224
|
*
|
|
225
|
-
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/
|
|
225
|
+
* @param {string} history_item_id - ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/list) endpoint to retrieve a list of history items.
|
|
226
226
|
* @param {HistoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
227
|
*
|
|
228
228
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -10,7 +10,7 @@ export interface BodyComposeMusicV1MusicPost {
|
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
12
12
|
compositionPlan?: ElevenLabs.MusicPrompt;
|
|
13
|
-
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and
|
|
13
|
+
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. */
|
|
14
14
|
musicLengthMs?: number;
|
|
15
15
|
/** The model to use for the generation. */
|
|
16
16
|
modelId?: "music_v1";
|
|
@@ -10,7 +10,7 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
12
12
|
compositionPlan?: ElevenLabs.MusicPrompt;
|
|
13
|
-
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and
|
|
13
|
+
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. */
|
|
14
14
|
musicLengthMs?: number;
|
|
15
15
|
/** The model to use for the generation. */
|
|
16
16
|
modelId?: "music_v1";
|
|
@@ -10,7 +10,7 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
12
12
|
compositionPlan?: ElevenLabs.MusicPrompt;
|
|
13
|
-
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and
|
|
13
|
+
/** The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. */
|
|
14
14
|
musicLengthMs?: number;
|
|
15
15
|
/** The model to use for the generation. */
|
|
16
16
|
modelId?: "music_v1";
|
|
@@ -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;
|
|
@@ -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. */
|
|
@@ -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";
|
|
@@ -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;
|
|
@@ -4,6 +4,8 @@ export interface AgentConfig {
|
|
|
4
4
|
firstMessage?: string;
|
|
5
5
|
/** Language of the agent - used for ASR and TTS */
|
|
6
6
|
language?: string;
|
|
7
|
+
/** When enabled and language is Hindi, the agent will respond in Hinglish */
|
|
8
|
+
hinglishMode?: boolean;
|
|
7
9
|
/** Configuration for dynamic variables */
|
|
8
10
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
9
11
|
/** If true, the user will not be able to interrupt the agent while the first message is being delivered. */
|
|
@@ -4,6 +4,8 @@ export interface AgentConfigApiModelWorkflowOverrideInput {
|
|
|
4
4
|
firstMessage?: string;
|
|
5
5
|
/** Language of the agent - used for ASR and TTS */
|
|
6
6
|
language?: string;
|
|
7
|
+
/** When enabled and language is Hindi, the agent will respond in Hinglish */
|
|
8
|
+
hinglishMode?: boolean;
|
|
7
9
|
/** Configuration for dynamic variables */
|
|
8
10
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfigWorkflowOverride;
|
|
9
11
|
/** If true, the user will not be able to interrupt the agent while the first message is being delivered. */
|
|
@@ -4,6 +4,8 @@ export interface AgentConfigApiModelWorkflowOverrideOutput {
|
|
|
4
4
|
firstMessage?: string;
|
|
5
5
|
/** Language of the agent - used for ASR and TTS */
|
|
6
6
|
language?: string;
|
|
7
|
+
/** When enabled and language is Hindi, the agent will respond in Hinglish */
|
|
8
|
+
hinglishMode?: boolean;
|
|
7
9
|
/** Configuration for dynamic variables */
|
|
8
10
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfigWorkflowOverride;
|
|
9
11
|
/** If true, the user will not be able to interrupt the agent while the first message is being delivered. */
|
|
@@ -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,14 +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;
|
|
19
|
+
retryCount: number;
|
|
17
20
|
agentName: string;
|
|
18
21
|
recipients: ElevenLabs.OutboundCallRecipientResponseModel[];
|
|
19
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,13 +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;
|
|
16
|
+
retryCount: number;
|
|
14
17
|
agentName: string;
|
|
15
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;
|
|
@@ -5,5 +5,9 @@ export interface GetKnowledgeBaseFileResponseModel {
|
|
|
5
5
|
metadata: ElevenLabs.KnowledgeBaseDocumentMetadataResponseModel;
|
|
6
6
|
supportedUsages: ElevenLabs.DocumentUsageModeEnum[];
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
|
+
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
|
+
folderParentId?: string;
|
|
10
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentResponseModel[];
|
|
8
12
|
extractedInnerHtml: string;
|
|
9
13
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface GetKnowledgeBaseFolderResponseModel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
metadata: ElevenLabs.KnowledgeBaseDocumentMetadataResponseModel;
|
|
6
|
+
supportedUsages: ElevenLabs.DocumentUsageModeEnum[];
|
|
7
|
+
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
|
+
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
|
+
folderParentId?: string;
|
|
10
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
11
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentResponseModel[];
|
|
12
|
+
childrenCount: number;
|
|
13
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type GetKnowledgeBaseListResponseModelDocumentsItem = ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.File_ | ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.Text | ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.Url;
|
|
2
|
+
export type GetKnowledgeBaseListResponseModelDocumentsItem = ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.File_ | ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.Folder | ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.Text | ElevenLabs.GetKnowledgeBaseListResponseModelDocumentsItem.Url;
|
|
3
3
|
export declare namespace GetKnowledgeBaseListResponseModelDocumentsItem {
|
|
4
4
|
interface File_ extends ElevenLabs.GetKnowledgeBaseSummaryFileResponseModel {
|
|
5
5
|
type: "file";
|
|
6
6
|
}
|
|
7
|
+
interface Folder extends ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModel {
|
|
8
|
+
type: "folder";
|
|
9
|
+
}
|
|
7
10
|
interface Text extends ElevenLabs.GetKnowledgeBaseSummaryTextResponseModel {
|
|
8
11
|
type: "text";
|
|
9
12
|
}
|
|
@@ -5,5 +5,8 @@ export interface GetKnowledgeBaseSummaryFileResponseModel {
|
|
|
5
5
|
metadata: ElevenLabs.KnowledgeBaseDocumentMetadataResponseModel;
|
|
6
6
|
supportedUsages: ElevenLabs.DocumentUsageModeEnum[];
|
|
7
7
|
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
|
+
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
|
+
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
8
11
|
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem[];
|
|
9
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface GetKnowledgeBaseSummaryFolderResponseModel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
metadata: ElevenLabs.KnowledgeBaseDocumentMetadataResponseModel;
|
|
6
|
+
supportedUsages: ElevenLabs.DocumentUsageModeEnum[];
|
|
7
|
+
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
8
|
+
/** The ID of the parent folder, or null if the document is at the root level. */
|
|
9
|
+
folderParentId?: string;
|
|
10
|
+
/** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
|
|
11
|
+
dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem[];
|
|
12
|
+
childrenCount: number;
|
|
13
|
+
}
|