@elevenlabs/elevenlabs-js 2.38.0 → 2.39.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/BaseClient.js +2 -2
- package/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +4 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/index.js +0 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.d.ts +0 -1
- package/api/resources/conversationalAi/resources/index.js +0 -1
- package/api/resources/conversationalAi/resources/users/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/users/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +7 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/api/resources/speechToText/client/Client.js +3 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/workspace/resources/groups/client/Client.d.ts +12 -0
- package/api/resources/workspace/resources/groups/client/Client.js +59 -0
- package/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +3 -0
- package/api/types/AgentPromptChangeToolConfig.d.ts +1 -0
- package/api/types/AsrProvider.d.ts +0 -1
- package/api/types/AsrProvider.js +0 -1
- package/api/types/BatchCallDetailedResponse.d.ts +2 -0
- package/api/types/BatchCallResponse.d.ts +2 -0
- package/api/types/BuiltInToolsInput.d.ts +0 -2
- package/api/types/BuiltInToolsOutput.d.ts +0 -2
- package/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -2
- package/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/CaptionStyleModel.d.ts +2 -0
- package/api/types/ChapterResponse.d.ts +2 -0
- package/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/api/types/CheckRentalAvailabilityParams.d.ts +3 -0
- package/api/types/CoachedAgentSettings.d.ts +1 -0
- package/api/types/CoachingAgentSettings.d.ts +1 -0
- package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationUserResponseModel.d.ts +1 -1
- package/api/types/CreateRentalBookingParams.d.ts +3 -0
- package/api/types/GetAgentResponseModel.d.ts +0 -2
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/api/types/ListRentalServicesParams.d.ts +4 -0
- package/api/types/Llm.d.ts +1 -0
- package/api/types/Llm.js +1 -0
- package/api/types/MemoryEntryCreateToolConfig.d.ts +1 -0
- package/api/types/MemoryEntryDeleteToolConfig.d.ts +1 -0
- package/api/types/MemoryEntrySearchToolConfig.d.ts +1 -0
- package/api/types/MemoryEntryUpdateToolConfig.d.ts +1 -0
- package/api/types/NoCoachingSettings.d.ts +1 -0
- package/api/types/PendingClipTaskType.d.ts +1 -0
- package/api/types/PendingClipTaskType.js +1 -0
- package/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/api/types/StudioTextStyleOutlineModel.d.ts +6 -0
- package/api/types/StudioTextStyleShadowModel.d.ts +8 -0
- package/api/types/SystemToolConfigInputParams.d.ts +16 -4
- package/api/types/SystemToolConfigOutputParams.d.ts +16 -4
- package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/api/types/TextToSpeechApplyTextNormalizationEnum.js +1 -1
- package/api/types/TtsConversationalModel.d.ts +4 -0
- package/api/types/TtsConversationalModel.js +4 -0
- package/api/types/TtsModelFamily.d.ts +2 -0
- package/api/types/TtsModelFamily.js +2 -0
- package/api/types/UsersSortBy.d.ts +5 -0
- package/api/types/UsersSortBy.js +8 -0
- package/api/types/VideoAnalysis.d.ts +6 -0
- package/api/types/VideoAnalysis.js +3 -0
- package/api/types/VideoAnalysisResult.d.ts +11 -0
- package/api/types/VideoAnalysisResult.js +3 -0
- package/api/types/VideoAnalysisStatus.d.ts +6 -0
- package/api/types/VideoAnalysisStatus.js +9 -0
- package/api/types/VideoKeyMoment.d.ts +5 -0
- package/api/types/VideoKeyMoment.js +3 -0
- package/api/types/VideoSegment.d.ts +12 -0
- package/api/types/VideoSegment.js +3 -0
- package/api/types/VideoSubject.d.ts +4 -0
- package/api/types/VideoSubject.js +3 -0
- package/api/types/VideoTranscription.d.ts +6 -0
- package/api/types/VideoTranscription.js +3 -0
- package/api/types/VideoTranscriptionWord.d.ts +6 -0
- package/api/types/VideoTranscriptionWord.js +3 -0
- package/api/types/index.d.ts +19 -3
- package/api/types/index.js +19 -3
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/index.js +0 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/index.js +0 -1
- package/dist/api/resources/conversationalAi/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +7 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/api/resources/speechToText/client/Client.js +3 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +12 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.js +59 -0
- package/dist/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +3 -0
- package/dist/api/types/AgentPromptChangeToolConfig.d.ts +1 -0
- package/dist/api/types/AgentPromptChangeToolConfig.js +3 -0
- package/dist/api/types/AsrProvider.d.ts +0 -1
- package/dist/api/types/AsrProvider.js +0 -1
- package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -0
- package/dist/api/types/BatchCallResponse.d.ts +2 -0
- package/dist/api/types/BuiltInToolsInput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsOutput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/CaptionStyleModel.d.ts +2 -0
- package/dist/api/types/ChapterResponse.d.ts +2 -0
- package/dist/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/dist/api/types/CheckRentalAvailabilityParams.d.ts +3 -0
- package/dist/api/types/CheckRentalAvailabilityParams.js +3 -0
- package/dist/api/types/CoachedAgentSettings.d.ts +1 -0
- package/dist/api/types/CoachingAgentSettings.d.ts +1 -0
- package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +1 -1
- package/dist/api/types/CreateRentalBookingParams.d.ts +3 -0
- package/dist/api/types/CreateRentalBookingParams.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +0 -2
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/api/types/ListRentalServicesParams.d.ts +4 -0
- package/dist/api/types/ListRentalServicesParams.js +3 -0
- package/dist/api/types/Llm.d.ts +1 -0
- package/dist/api/types/Llm.js +1 -0
- package/dist/api/types/MemoryEntryCreateToolConfig.d.ts +1 -0
- package/dist/api/types/MemoryEntryCreateToolConfig.js +3 -0
- package/dist/api/types/MemoryEntryDeleteToolConfig.d.ts +1 -0
- package/dist/api/types/MemoryEntryDeleteToolConfig.js +3 -0
- package/dist/api/types/MemoryEntrySearchToolConfig.d.ts +1 -0
- package/dist/api/types/MemoryEntrySearchToolConfig.js +3 -0
- package/dist/api/types/MemoryEntryUpdateToolConfig.d.ts +1 -0
- package/dist/api/types/MemoryEntryUpdateToolConfig.js +3 -0
- package/dist/api/types/NoCoachingSettings.d.ts +1 -0
- package/dist/api/types/PendingClipTaskType.d.ts +1 -0
- package/dist/api/types/PendingClipTaskType.js +1 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/dist/api/types/StudioTextStyleOutlineModel.d.ts +6 -0
- package/dist/api/types/StudioTextStyleOutlineModel.js +3 -0
- package/dist/api/types/StudioTextStyleShadowModel.d.ts +8 -0
- package/dist/api/types/StudioTextStyleShadowModel.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +16 -4
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +16 -4
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.js +1 -1
- package/dist/api/types/TtsConversationalModel.d.ts +4 -0
- package/dist/api/types/TtsConversationalModel.js +4 -0
- package/dist/api/types/TtsModelFamily.d.ts +2 -0
- package/dist/api/types/TtsModelFamily.js +2 -0
- package/dist/api/types/UsersSortBy.d.ts +5 -0
- package/dist/api/types/UsersSortBy.js +8 -0
- package/dist/api/types/VideoAnalysis.d.ts +6 -0
- package/dist/api/types/VideoAnalysis.js +3 -0
- package/dist/api/types/VideoAnalysisResult.d.ts +11 -0
- package/dist/api/types/VideoAnalysisResult.js +3 -0
- package/dist/api/types/VideoAnalysisStatus.d.ts +6 -0
- package/dist/api/types/VideoAnalysisStatus.js +9 -0
- package/dist/api/types/VideoKeyMoment.d.ts +5 -0
- package/dist/api/types/VideoKeyMoment.js +3 -0
- package/dist/api/types/VideoSegment.d.ts +12 -0
- package/dist/api/types/VideoSegment.js +3 -0
- package/dist/api/types/VideoSubject.d.ts +4 -0
- package/dist/api/types/VideoSubject.js +3 -0
- package/dist/api/types/VideoTranscription.d.ts +6 -0
- package/dist/api/types/VideoTranscription.js +3 -0
- package/dist/api/types/VideoTranscriptionWord.d.ts +6 -0
- package/dist/api/types/VideoTranscriptionWord.js +3 -0
- package/dist/api/types/index.d.ts +19 -3
- package/dist/api/types/index.js +19 -3
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +2 -0
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/index.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/groups/client/index.js +2 -1
- package/dist/serialization/resources/workspace/resources/groups/client/list.d.ts +8 -0
- package/dist/serialization/resources/{conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → workspace/resources/groups/client/list.js} +3 -12
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +2 -0
- package/dist/serialization/types/AgentPromptChangeToolConfig.d.ts +7 -0
- package/dist/serialization/types/AgentPromptChangeToolConfig.js +39 -0
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallResponse.js +1 -0
- package/dist/serialization/types/BuiltInToolsInput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsInput.js +0 -1
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsOutput.js +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.js +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +0 -1
- package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/dist/serialization/types/CaptionStyleModel.js +4 -0
- package/dist/serialization/types/ChapterResponse.d.ts +1 -0
- package/dist/serialization/types/ChapterResponse.js +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/dist/serialization/types/CheckRentalAvailabilityParams.d.ts +9 -0
- package/dist/serialization/types/{GetAgentResponseModelCoachingSettings.js → CheckRentalAvailabilityParams.js} +3 -13
- package/dist/serialization/types/CoachedAgentSettings.d.ts +1 -0
- package/dist/serialization/types/CoachedAgentSettings.js +1 -0
- package/dist/serialization/types/CoachingAgentSettings.d.ts +1 -0
- package/dist/serialization/types/CoachingAgentSettings.js +1 -0
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +1 -1
- package/dist/serialization/types/ConversationUserResponseModel.js +1 -1
- package/dist/serialization/types/CreateRentalBookingParams.d.ts +9 -0
- package/{serialization/types/GetAgentResponseModelCoachingSettings.js → dist/serialization/types/CreateRentalBookingParams.js} +3 -13
- package/dist/serialization/types/GetAgentResponseModel.d.ts +0 -2
- package/dist/serialization/types/GetAgentResponseModel.js +0 -2
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/dist/serialization/types/ListRentalServicesParams.d.ts +10 -0
- package/dist/serialization/types/ListRentalServicesParams.js +42 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +1 -0
- package/dist/serialization/types/MemoryEntryCreateToolConfig.d.ts +7 -0
- package/dist/serialization/types/MemoryEntryCreateToolConfig.js +39 -0
- package/dist/serialization/types/MemoryEntryDeleteToolConfig.d.ts +7 -0
- package/dist/serialization/types/MemoryEntryDeleteToolConfig.js +39 -0
- package/dist/serialization/types/MemoryEntrySearchToolConfig.d.ts +7 -0
- package/dist/serialization/types/MemoryEntrySearchToolConfig.js +39 -0
- package/dist/serialization/types/MemoryEntryUpdateToolConfig.d.ts +7 -0
- package/dist/serialization/types/MemoryEntryUpdateToolConfig.js +39 -0
- package/dist/serialization/types/NoCoachingSettings.d.ts +1 -0
- package/dist/serialization/types/NoCoachingSettings.js +1 -0
- package/dist/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/dist/serialization/types/PendingClipTaskType.js +1 -1
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/dist/serialization/types/StudioTextStyleOutlineModel.d.ts +12 -0
- package/dist/serialization/types/StudioTextStyleOutlineModel.js +44 -0
- package/dist/serialization/types/StudioTextStyleShadowModel.d.ts +14 -0
- package/dist/serialization/types/StudioTextStyleShadowModel.js +46 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +21 -5
- package/dist/serialization/types/SystemToolConfigInputParams.js +10 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +21 -5
- package/dist/serialization/types/SystemToolConfigOutputParams.js +10 -2
- package/dist/serialization/types/UsersSortBy.d.ts +7 -0
- package/dist/serialization/types/UsersSortBy.js +39 -0
- package/dist/serialization/types/VideoAnalysis.d.ts +13 -0
- package/dist/serialization/types/VideoAnalysis.js +45 -0
- package/dist/serialization/types/VideoAnalysisResult.d.ts +20 -0
- package/dist/serialization/types/VideoAnalysisResult.js +52 -0
- package/dist/serialization/types/VideoAnalysisStatus.d.ts +7 -0
- package/dist/serialization/types/VideoAnalysisStatus.js +39 -0
- package/dist/serialization/types/VideoKeyMoment.d.ts +11 -0
- package/dist/serialization/types/VideoKeyMoment.js +43 -0
- package/dist/serialization/types/VideoSegment.d.ts +18 -0
- package/dist/serialization/{resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → types/VideoSegment.js} +13 -12
- package/dist/serialization/types/VideoSubject.d.ts +10 -0
- package/dist/serialization/types/VideoSubject.js +42 -0
- package/dist/serialization/types/VideoTranscription.d.ts +12 -0
- package/dist/serialization/types/VideoTranscription.js +44 -0
- package/dist/serialization/types/VideoTranscriptionWord.d.ts +12 -0
- package/dist/serialization/types/VideoTranscriptionWord.js +44 -0
- package/dist/serialization/types/index.d.ts +19 -3
- package/dist/serialization/types/index.js +19 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/music.d.ts +3 -1
- package/dist/wrapper/music.js +29 -27
- package/package.json +1 -1
- package/reference.md +57 -0
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +2 -0
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -2
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/agents/index.js +0 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/index.js +0 -1
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/groups/client/index.js +2 -1
- package/serialization/resources/workspace/resources/groups/client/list.d.ts +8 -0
- package/serialization/resources/{conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → workspace/resources/groups/client/list.js} +3 -12
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +2 -0
- package/serialization/types/AgentPromptChangeToolConfig.d.ts +7 -0
- package/serialization/types/AgentPromptChangeToolConfig.js +39 -0
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/serialization/types/BatchCallResponse.d.ts +1 -0
- package/serialization/types/BatchCallResponse.js +1 -0
- package/serialization/types/BuiltInToolsInput.d.ts +0 -1
- package/serialization/types/BuiltInToolsInput.js +0 -1
- package/serialization/types/BuiltInToolsOutput.d.ts +0 -1
- package/serialization/types/BuiltInToolsOutput.js +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.js +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +0 -1
- package/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/serialization/types/CaptionStyleModel.js +4 -0
- package/serialization/types/ChapterResponse.d.ts +1 -0
- package/serialization/types/ChapterResponse.js +1 -0
- package/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/serialization/types/CheckRentalAvailabilityParams.d.ts +9 -0
- package/serialization/types/CheckRentalAvailabilityParams.js +41 -0
- package/serialization/types/CoachedAgentSettings.d.ts +1 -0
- package/serialization/types/CoachedAgentSettings.js +1 -0
- package/serialization/types/CoachingAgentSettings.d.ts +1 -0
- package/serialization/types/CoachingAgentSettings.js +1 -0
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +1 -1
- package/serialization/types/ConversationUserResponseModel.js +1 -1
- package/serialization/types/CreateRentalBookingParams.d.ts +9 -0
- package/serialization/types/CreateRentalBookingParams.js +41 -0
- package/serialization/types/GetAgentResponseModel.d.ts +0 -2
- package/serialization/types/GetAgentResponseModel.js +0 -2
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/serialization/types/ListRentalServicesParams.d.ts +10 -0
- package/serialization/types/ListRentalServicesParams.js +42 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +1 -0
- package/serialization/types/MemoryEntryCreateToolConfig.d.ts +7 -0
- package/serialization/types/MemoryEntryCreateToolConfig.js +39 -0
- package/serialization/types/MemoryEntryDeleteToolConfig.d.ts +7 -0
- package/serialization/types/MemoryEntryDeleteToolConfig.js +39 -0
- package/serialization/types/MemoryEntrySearchToolConfig.d.ts +7 -0
- package/serialization/types/MemoryEntrySearchToolConfig.js +39 -0
- package/serialization/types/MemoryEntryUpdateToolConfig.d.ts +7 -0
- package/serialization/types/MemoryEntryUpdateToolConfig.js +39 -0
- package/serialization/types/NoCoachingSettings.d.ts +1 -0
- package/serialization/types/NoCoachingSettings.js +1 -0
- package/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/serialization/types/PendingClipTaskType.js +1 -1
- package/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/serialization/types/StudioTextStyleOutlineModel.d.ts +12 -0
- package/serialization/types/StudioTextStyleOutlineModel.js +44 -0
- package/serialization/types/StudioTextStyleShadowModel.d.ts +14 -0
- package/serialization/types/StudioTextStyleShadowModel.js +46 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +21 -5
- package/serialization/types/SystemToolConfigInputParams.js +10 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +21 -5
- package/serialization/types/SystemToolConfigOutputParams.js +10 -2
- package/serialization/types/UsersSortBy.d.ts +7 -0
- package/serialization/types/UsersSortBy.js +39 -0
- package/serialization/types/VideoAnalysis.d.ts +13 -0
- package/serialization/types/VideoAnalysis.js +45 -0
- package/serialization/types/VideoAnalysisResult.d.ts +20 -0
- package/serialization/types/VideoAnalysisResult.js +52 -0
- package/serialization/types/VideoAnalysisStatus.d.ts +7 -0
- package/serialization/types/VideoAnalysisStatus.js +39 -0
- package/serialization/types/VideoKeyMoment.d.ts +11 -0
- package/serialization/types/VideoKeyMoment.js +43 -0
- package/serialization/types/VideoSegment.d.ts +18 -0
- package/serialization/types/VideoSegment.js +50 -0
- package/serialization/types/VideoSubject.d.ts +10 -0
- package/serialization/types/VideoSubject.js +42 -0
- package/serialization/types/VideoTranscription.d.ts +12 -0
- package/serialization/types/VideoTranscription.js +44 -0
- package/serialization/types/VideoTranscriptionWord.d.ts +12 -0
- package/serialization/types/VideoTranscriptionWord.js +44 -0
- package/serialization/types/index.d.ts +19 -3
- package/serialization/types/index.js +19 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/music.d.ts +3 -1
- package/wrapper/music.js +29 -27
- package/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -10
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -10
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/api/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/api/types/GetAgentResponseModelCoachingSettings.d.ts +0 -13
- package/api/types/SearchDocumentationToolConfigInput.d.ts +0 -39
- package/api/types/SearchDocumentationToolConfigOutput.d.ts +0 -37
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -10
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -10
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/dist/api/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/dist/api/types/GetAgentResponseModelCoachingSettings.d.ts +0 -13
- package/dist/api/types/SearchDocumentationToolConfigInput.d.ts +0 -39
- package/dist/api/types/SearchDocumentationToolConfigOutput.d.ts +0 -37
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -15
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -15
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/dist/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +0 -19
- package/dist/serialization/types/SearchDocumentationToolConfigInput.d.ts +0 -22
- package/dist/serialization/types/SearchDocumentationToolConfigInput.js +0 -54
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.d.ts +0 -20
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.js +0 -52
- package/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -15
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -15
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +0 -49
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +0 -19
- package/serialization/types/SearchDocumentationToolConfigInput.d.ts +0 -22
- package/serialization/types/SearchDocumentationToolConfigInput.js +0 -54
- package/serialization/types/SearchDocumentationToolConfigOutput.d.ts +0 -20
- package/serialization/types/SearchDocumentationToolConfigOutput.js +0 -52
- /package/api/{resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → types/AgentPromptChangeToolConfig.js} +0 -0
- /package/api/{resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → types/CheckRentalAvailabilityParams.js} +0 -0
- /package/api/types/{GetAgentResponseModelCoachingSettings.js → CreateRentalBookingParams.js} +0 -0
- /package/api/types/{SearchDocumentationToolConfigInput.js → ListRentalServicesParams.js} +0 -0
- /package/api/types/{SearchDocumentationToolConfigOutput.js → MemoryEntryCreateToolConfig.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → api/types/MemoryEntryDeleteToolConfig.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → api/types/MemoryEntrySearchToolConfig.js} +0 -0
- /package/{dist/api/types/GetAgentResponseModelCoachingSettings.js → api/types/MemoryEntryUpdateToolConfig.js} +0 -0
- /package/{dist/api/types/SearchDocumentationToolConfigInput.js → api/types/StudioTextStyleOutlineModel.js} +0 -0
- /package/{dist/api/types/SearchDocumentationToolConfigOutput.js → api/types/StudioTextStyleShadowModel.js} +0 -0
package/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.39.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.39.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
|
@@ -7,4 +7,8 @@
|
|
|
7
7
|
export interface BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost {
|
|
8
8
|
/** URL of the page to extract content from. */
|
|
9
9
|
url: string;
|
|
10
|
+
/** Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. */
|
|
11
|
+
author?: string;
|
|
12
|
+
/** Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. */
|
|
13
|
+
title?: string;
|
|
10
14
|
}
|
package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ export interface UpdateAgentRequest {
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/** Tags to help classify and filter the agent */
|
|
23
23
|
tags?: string[];
|
|
24
|
-
coachingSettings?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings;
|
|
25
24
|
/** Description for this version when publishing changes (only applicable for versioned agents) */
|
|
26
25
|
versionDescription?: string;
|
|
27
26
|
}
|
|
@@ -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);
|
|
@@ -16,4 +16,6 @@ export interface BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
|
16
16
|
whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
|
|
17
17
|
timezone?: string;
|
|
18
18
|
telephonyCallConfig?: ElevenLabs.TelephonyCallConfig;
|
|
19
|
+
/** Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages. */
|
|
20
|
+
targetConcurrencyLimit?: number;
|
|
19
21
|
}
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.whatsappAccounts = exports.whatsapp = exports.users = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.llm = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
|
-
__exportStar(require("./agents/types"), exports);
|
|
43
42
|
exports.analytics = __importStar(require("./analytics"));
|
|
44
43
|
exports.batchCalls = __importStar(require("./batchCalls"));
|
|
45
44
|
__exportStar(require("./batchCalls/client/requests"), exports);
|
|
@@ -21,10 +21,12 @@ export declare class UsersClient {
|
|
|
21
21
|
* @example
|
|
22
22
|
* await client.conversationalAi.users.list({
|
|
23
23
|
* agentId: "agent_id",
|
|
24
|
+
* branchId: "branch_id",
|
|
24
25
|
* callStartBeforeUnix: 1,
|
|
25
26
|
* callStartAfterUnix: 1,
|
|
26
27
|
* search: "search",
|
|
27
28
|
* pageSize: 1,
|
|
29
|
+
* sortBy: "last_contact_unix_secs",
|
|
28
30
|
* cursor: "cursor"
|
|
29
31
|
* })
|
|
30
32
|
*/
|
|
@@ -67,10 +67,12 @@ class UsersClient {
|
|
|
67
67
|
* @example
|
|
68
68
|
* await client.conversationalAi.users.list({
|
|
69
69
|
* agentId: "agent_id",
|
|
70
|
+
* branchId: "branch_id",
|
|
70
71
|
* callStartBeforeUnix: 1,
|
|
71
72
|
* callStartAfterUnix: 1,
|
|
72
73
|
* search: "search",
|
|
73
74
|
* pageSize: 1,
|
|
75
|
+
* sortBy: "last_contact_unix_secs",
|
|
74
76
|
* cursor: "cursor"
|
|
75
77
|
* })
|
|
76
78
|
*/
|
|
@@ -80,11 +82,14 @@ class UsersClient {
|
|
|
80
82
|
__list() {
|
|
81
83
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
82
84
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
83
|
-
const { agentId, callStartBeforeUnix, callStartAfterUnix, search, pageSize, cursor } = request;
|
|
85
|
+
const { agentId, branchId, callStartBeforeUnix, callStartAfterUnix, search, pageSize, sortBy, cursor } = request;
|
|
84
86
|
const _queryParams = {};
|
|
85
87
|
if (agentId != null) {
|
|
86
88
|
_queryParams.agent_id = agentId;
|
|
87
89
|
}
|
|
90
|
+
if (branchId != null) {
|
|
91
|
+
_queryParams.branch_id = branchId;
|
|
92
|
+
}
|
|
88
93
|
if (callStartBeforeUnix != null) {
|
|
89
94
|
_queryParams.call_start_before_unix = callStartBeforeUnix.toString();
|
|
90
95
|
}
|
|
@@ -97,6 +102,9 @@ class UsersClient {
|
|
|
97
102
|
if (pageSize != null) {
|
|
98
103
|
_queryParams.page_size = pageSize.toString();
|
|
99
104
|
}
|
|
105
|
+
if (sortBy != null) {
|
|
106
|
+
_queryParams.sort_by = serializers.UsersSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" });
|
|
107
|
+
}
|
|
100
108
|
if (cursor != null) {
|
|
101
109
|
_queryParams.cursor = cursor;
|
|
102
110
|
}
|
package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
4
5
|
* agentId: "agent_id",
|
|
6
|
+
* branchId: "branch_id",
|
|
5
7
|
* callStartBeforeUnix: 1,
|
|
6
8
|
* callStartAfterUnix: 1,
|
|
7
9
|
* search: "search",
|
|
8
10
|
* pageSize: 1,
|
|
11
|
+
* sortBy: "last_contact_unix_secs",
|
|
9
12
|
* cursor: "cursor"
|
|
10
13
|
* }
|
|
11
14
|
*/
|
|
12
15
|
export interface UsersListRequest {
|
|
13
16
|
/** The id of the agent you're taking the action on. */
|
|
14
17
|
agentId?: string;
|
|
18
|
+
/** Filter conversations by branch ID. */
|
|
19
|
+
branchId?: string;
|
|
15
20
|
/** Unix timestamp (in seconds) to filter conversations up to this start date. */
|
|
16
21
|
callStartBeforeUnix?: number;
|
|
17
22
|
/** Unix timestamp (in seconds) to filter conversations after to this start date. */
|
|
@@ -20,6 +25,8 @@ export interface UsersListRequest {
|
|
|
20
25
|
search?: string;
|
|
21
26
|
/** How many users to return at maximum. Defaults to 30. */
|
|
22
27
|
pageSize?: number;
|
|
28
|
+
/** The field to sort the results by. Defaults to last_contact_unix_secs. */
|
|
29
|
+
sortBy?: ElevenLabs.UsersSortBy;
|
|
23
30
|
/** Used for fetching next page. Cursor is returned in the response. */
|
|
24
31
|
cursor?: string;
|
|
25
32
|
}
|
|
@@ -18,6 +18,8 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
|
18
18
|
seed?: number;
|
|
19
19
|
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
20
20
|
forceInstrumental?: boolean;
|
|
21
|
+
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
|
|
22
|
+
respectSectionsDurations?: boolean;
|
|
21
23
|
/** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. */
|
|
22
24
|
storeForInpainting?: boolean;
|
|
23
25
|
/** Whether to return the timestamps of the words in the generated song. */
|
|
@@ -152,6 +152,9 @@ class SpeechToTextClient {
|
|
|
152
152
|
_request.append("entity_detection", typeof _item === "string" ? _item : (0, json_1.toJson)(_item));
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
+
if (request.noVerbatim != null) {
|
|
156
|
+
_request.append("no_verbatim", request.noVerbatim.toString());
|
|
157
|
+
}
|
|
155
158
|
if (request.keyterms != null) {
|
|
156
159
|
for (const _item of request.keyterms) {
|
|
157
160
|
_request.append("keyterms", _item);
|
|
@@ -52,6 +52,8 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
52
52
|
webhookMetadata?: ElevenLabs.SpeechToTextConvertRequestWebhookMetadata;
|
|
53
53
|
/** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional costs. */
|
|
54
54
|
entityDetection?: ElevenLabs.SpeechToTextConvertRequestEntityDetection;
|
|
55
|
+
/** If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model. */
|
|
56
|
+
noVerbatim?: boolean;
|
|
55
57
|
/** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 100. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur additional costs. */
|
|
56
58
|
keyterms?: string[];
|
|
57
59
|
}
|
|
@@ -13,6 +13,18 @@ export declare class GroupsClient {
|
|
|
13
13
|
protected _members: MembersClient | undefined;
|
|
14
14
|
constructor(options?: GroupsClient.Options);
|
|
15
15
|
get members(): MembersClient;
|
|
16
|
+
/**
|
|
17
|
+
* Get all groups in the workspace
|
|
18
|
+
*
|
|
19
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
|
+
*
|
|
21
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* await client.workspace.groups.list()
|
|
25
|
+
*/
|
|
26
|
+
list(requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Record<string, ElevenLabs.WorkspaceGroupResponseModel>>;
|
|
27
|
+
private __list;
|
|
16
28
|
/**
|
|
17
29
|
* Searches for user groups in the workspace. Multiple or no groups may be returned.
|
|
18
30
|
*
|
|
@@ -61,6 +61,65 @@ class GroupsClient {
|
|
|
61
61
|
var _a;
|
|
62
62
|
return ((_a = this._members) !== null && _a !== void 0 ? _a : (this._members = new Client_1.MembersClient(this._options)));
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Get all groups in the workspace
|
|
66
|
+
*
|
|
67
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.workspace.groups.list()
|
|
73
|
+
*/
|
|
74
|
+
list(requestOptions) {
|
|
75
|
+
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
76
|
+
}
|
|
77
|
+
__list(requestOptions) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
80
|
+
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);
|
|
81
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
82
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/workspace/groups"),
|
|
83
|
+
method: "GET",
|
|
84
|
+
headers: _headers,
|
|
85
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
86
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
87
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
88
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
89
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
90
|
+
logging: this._options.logging,
|
|
91
|
+
});
|
|
92
|
+
if (_response.ok) {
|
|
93
|
+
return {
|
|
94
|
+
data: serializers.workspace.groups.list.Response.parseOrThrow(_response.body, {
|
|
95
|
+
unrecognizedObjectKeys: "passthrough",
|
|
96
|
+
allowUnrecognizedUnionMembers: true,
|
|
97
|
+
allowUnrecognizedEnumValues: true,
|
|
98
|
+
breadcrumbsPrefix: ["response"],
|
|
99
|
+
}),
|
|
100
|
+
rawResponse: _response.rawResponse,
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
if (_response.error.reason === "status-code") {
|
|
104
|
+
switch (_response.error.statusCode) {
|
|
105
|
+
case 422:
|
|
106
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
107
|
+
unrecognizedObjectKeys: "passthrough",
|
|
108
|
+
allowUnrecognizedUnionMembers: true,
|
|
109
|
+
allowUnrecognizedEnumValues: true,
|
|
110
|
+
breadcrumbsPrefix: ["response"],
|
|
111
|
+
}), _response.rawResponse);
|
|
112
|
+
default:
|
|
113
|
+
throw new errors.ElevenLabsError({
|
|
114
|
+
statusCode: _response.error.statusCode,
|
|
115
|
+
body: _response.error.body,
|
|
116
|
+
rawResponse: _response.rawResponse,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/workspace/groups");
|
|
121
|
+
});
|
|
122
|
+
}
|
|
64
123
|
/**
|
|
65
124
|
* Searches for user groups in the workspace. Multiple or no groups may be returned.
|
|
66
125
|
*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -7,6 +8,8 @@
|
|
|
7
8
|
export interface BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost {
|
|
8
9
|
/** The email of the customer */
|
|
9
10
|
emails: string[];
|
|
11
|
+
/** The seat type of the user */
|
|
12
|
+
seatType?: ElevenLabs.SeatType;
|
|
10
13
|
/** The group ids of the user */
|
|
11
14
|
groupIds?: string[];
|
|
12
15
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AgentPromptChangeToolConfig = {};
|
package/api/types/AsrProvider.js
CHANGED
|
@@ -19,6 +19,8 @@ export interface BatchCallDetailedResponse {
|
|
|
19
19
|
status: ElevenLabs.BatchCallStatus;
|
|
20
20
|
retryCount: number;
|
|
21
21
|
telephonyCallConfig: ElevenLabs.TelephonyCallConfig;
|
|
22
|
+
/** Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages. */
|
|
23
|
+
targetConcurrencyLimit?: number;
|
|
22
24
|
agentName: string;
|
|
23
25
|
recipients: ElevenLabs.OutboundCallRecipientResponseModel[];
|
|
24
26
|
}
|
|
@@ -16,5 +16,7 @@ export interface BatchCallResponse {
|
|
|
16
16
|
status: ElevenLabs.BatchCallStatus;
|
|
17
17
|
retryCount: number;
|
|
18
18
|
telephonyCallConfig: ElevenLabs.TelephonyCallConfig;
|
|
19
|
+
/** Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages. */
|
|
20
|
+
targetConcurrencyLimit?: number;
|
|
19
21
|
agentName: string;
|
|
20
22
|
}
|
|
@@ -14,6 +14,4 @@ export interface BuiltInToolsInput {
|
|
|
14
14
|
playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
|
|
15
15
|
/** The voicemail detection tool */
|
|
16
16
|
voicemailDetection?: ElevenLabs.SystemToolConfigInput;
|
|
17
|
-
/** The search documentation tool for RAG */
|
|
18
|
-
searchDocumentation?: ElevenLabs.SystemToolConfigInput;
|
|
19
17
|
}
|
|
@@ -14,6 +14,4 @@ export interface BuiltInToolsOutput {
|
|
|
14
14
|
playKeypadTouchTone?: ElevenLabs.SystemToolConfigOutput;
|
|
15
15
|
/** The voicemail detection tool */
|
|
16
16
|
voicemailDetection?: ElevenLabs.SystemToolConfigOutput;
|
|
17
|
-
/** The search documentation tool for RAG */
|
|
18
|
-
searchDocumentation?: ElevenLabs.SystemToolConfigOutput;
|
|
19
17
|
}
|
|
@@ -14,6 +14,4 @@ export interface BuiltInToolsWorkflowOverrideInput {
|
|
|
14
14
|
playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
|
|
15
15
|
/** The voicemail detection tool */
|
|
16
16
|
voicemailDetection?: ElevenLabs.SystemToolConfigInput;
|
|
17
|
-
/** The search documentation tool for RAG */
|
|
18
|
-
searchDocumentation?: ElevenLabs.SystemToolConfigInput;
|
|
19
17
|
}
|
|
@@ -14,6 +14,4 @@ export interface BuiltInToolsWorkflowOverrideOutput {
|
|
|
14
14
|
playKeypadTouchTone?: ElevenLabs.SystemToolConfigOutput;
|
|
15
15
|
/** The voicemail detection tool */
|
|
16
16
|
voicemailDetection?: ElevenLabs.SystemToolConfigOutput;
|
|
17
|
-
/** The search documentation tool for RAG */
|
|
18
|
-
searchDocumentation?: ElevenLabs.SystemToolConfigOutput;
|
|
19
17
|
}
|
|
@@ -7,6 +7,8 @@ export interface CaptionStyleModel {
|
|
|
7
7
|
textAlign?: ElevenLabs.CaptionStyleModelTextAlign;
|
|
8
8
|
textStyle?: ElevenLabs.CaptionStyleModelTextStyle;
|
|
9
9
|
textWeight?: ElevenLabs.CaptionStyleModelTextWeight;
|
|
10
|
+
textShadow?: ElevenLabs.StudioTextStyleShadowModel;
|
|
11
|
+
textOutline?: ElevenLabs.StudioTextStyleOutlineModel;
|
|
10
12
|
backgroundEnabled?: boolean;
|
|
11
13
|
backgroundColor?: string;
|
|
12
14
|
backgroundOpacity?: number;
|
|
@@ -14,6 +14,8 @@ export interface ChapterResponse {
|
|
|
14
14
|
state: ElevenLabs.ChapterState;
|
|
15
15
|
/** Whether the chapter has a video. */
|
|
16
16
|
hasVideo?: boolean;
|
|
17
|
+
/** Whether the chapter has any visual content (video, image, or text clips). */
|
|
18
|
+
hasVisualContent?: boolean;
|
|
17
19
|
/** List of voice ids used by the chapter */
|
|
18
20
|
voiceIds?: string[];
|
|
19
21
|
/** The statistics of the chapter. */
|
|
@@ -14,6 +14,8 @@ export interface ChapterWithContentResponseModel {
|
|
|
14
14
|
state: ElevenLabs.ChapterWithContentResponseModelState;
|
|
15
15
|
/** Whether the chapter has a video. */
|
|
16
16
|
hasVideo?: boolean;
|
|
17
|
+
/** Whether the chapter has any visual content (video, image, or text clips). */
|
|
18
|
+
hasVisualContent?: boolean;
|
|
17
19
|
/** List of voice ids used by the chapter */
|
|
18
20
|
voiceIds?: string[];
|
|
19
21
|
/** The statistics of the chapter. */
|
|
@@ -16,5 +16,6 @@ export declare const ConversationInitiationSource: {
|
|
|
16
16
|
readonly FlutterSdk: "flutter_sdk";
|
|
17
17
|
readonly ZendeskIntegration: "zendesk_integration";
|
|
18
18
|
readonly SlackIntegration: "slack_integration";
|
|
19
|
+
readonly TemplatePreview: "template_preview";
|
|
19
20
|
};
|
|
20
21
|
export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
|
|
@@ -3,7 +3,7 @@ export interface ConversationUserResponseModel {
|
|
|
3
3
|
lastContactUnixSecs: number;
|
|
4
4
|
firstContactUnixSecs: number;
|
|
5
5
|
conversationCount: number;
|
|
6
|
-
lastContactAgentId
|
|
6
|
+
lastContactAgentId?: string;
|
|
7
7
|
lastContactConversationId: string;
|
|
8
8
|
lastContactAgentName?: string;
|
|
9
9
|
}
|
|
@@ -26,6 +26,4 @@ export interface GetAgentResponseModel {
|
|
|
26
26
|
branchId?: string;
|
|
27
27
|
/** The ID of the main branch for this agent */
|
|
28
28
|
mainBranchId?: string;
|
|
29
|
-
/** Coaching settings for the agent if configured */
|
|
30
|
-
coachingSettings?: ElevenLabs.GetAgentResponseModelCoachingSettings;
|
|
31
29
|
}
|
|
@@ -10,6 +10,7 @@ export interface GetConversationResponseModel {
|
|
|
10
10
|
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
|
|
11
11
|
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
|
|
12
12
|
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestOutput;
|
|
13
|
+
environment?: string;
|
|
13
14
|
conversationId: string;
|
|
14
15
|
hasAudio: boolean;
|
|
15
16
|
hasUserAudio: boolean;
|
package/api/types/Llm.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare const Llm: {
|
|
|
21
21
|
readonly Gemini25Flash: "gemini-2.5-flash";
|
|
22
22
|
readonly Gemini3ProPreview: "gemini-3-pro-preview";
|
|
23
23
|
readonly Gemini3FlashPreview: "gemini-3-flash-preview";
|
|
24
|
+
readonly Gemini31FlashLitePreview: "gemini-3.1-flash-lite-preview";
|
|
24
25
|
readonly ClaudeSonnet45: "claude-sonnet-4-5";
|
|
25
26
|
readonly ClaudeSonnet46: "claude-sonnet-4-6";
|
|
26
27
|
readonly ClaudeSonnet4: "claude-sonnet-4";
|
package/api/types/Llm.js
CHANGED
|
@@ -25,6 +25,7 @@ exports.Llm = {
|
|
|
25
25
|
Gemini25Flash: "gemini-2.5-flash",
|
|
26
26
|
Gemini3ProPreview: "gemini-3-pro-preview",
|
|
27
27
|
Gemini3FlashPreview: "gemini-3-flash-preview",
|
|
28
|
+
Gemini31FlashLitePreview: "gemini-3.1-flash-lite-preview",
|
|
28
29
|
ClaudeSonnet45: "claude-sonnet-4-5",
|
|
29
30
|
ClaudeSonnet46: "claude-sonnet-4-6",
|
|
30
31
|
ClaudeSonnet4: "claude-sonnet-4",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MemoryEntryCreateToolConfig = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MemoryEntryDeleteToolConfig = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MemoryEntrySearchToolConfig = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MemoryEntryUpdateToolConfig = {};
|
|
@@ -3,5 +3,6 @@ export declare const PendingClipTaskType: {
|
|
|
3
3
|
readonly SpeechImport: "speech_import";
|
|
4
4
|
readonly Dubbing: "dubbing";
|
|
5
5
|
readonly VideoToMusic: "video_to_music";
|
|
6
|
+
readonly MediaGeneration: "media_generation";
|
|
6
7
|
};
|
|
7
8
|
export type PendingClipTaskType = (typeof PendingClipTaskType)[keyof typeof PendingClipTaskType];
|
|
@@ -33,8 +33,10 @@ export interface ProjectVideoResponseModel {
|
|
|
33
33
|
exportFormatReady?: boolean;
|
|
34
34
|
currentSnapshotId?: string;
|
|
35
35
|
sourceContext?: ElevenLabs.GenerationSourceContext;
|
|
36
|
+
analysis?: ElevenLabs.VideoAnalysis;
|
|
36
37
|
canvasPlacement?: ElevenLabs.CanvasPlacement;
|
|
37
38
|
animation?: ElevenLabs.ClipAnimation;
|
|
39
|
+
playbackSpeed?: number;
|
|
38
40
|
trackId?: string;
|
|
39
41
|
previewJobProgress?: number;
|
|
40
42
|
importSpeechProgress?: number;
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.
|
|
2
|
+
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.AgentPromptChange | ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.MemoryEntryCreate | ElevenLabs.SystemToolConfigInputParams.MemoryEntryDelete | ElevenLabs.SystemToolConfigInputParams.MemoryEntrySearch | ElevenLabs.SystemToolConfigInputParams.MemoryEntryUpdate | ElevenLabs.SystemToolConfigInputParams.PlayKeypadTouchTone | ElevenLabs.SystemToolConfigInputParams.SkipTurn | ElevenLabs.SystemToolConfigInputParams.TransferToAgent | ElevenLabs.SystemToolConfigInputParams.TransferToNumber | ElevenLabs.SystemToolConfigInputParams.VoicemailDetection;
|
|
3
3
|
export declare namespace SystemToolConfigInputParams {
|
|
4
|
+
interface AgentPromptChange extends ElevenLabs.AgentPromptChangeToolConfig {
|
|
5
|
+
systemToolType: "agent_prompt_change";
|
|
6
|
+
}
|
|
4
7
|
interface EndCall extends ElevenLabs.EndCallToolConfig {
|
|
5
8
|
systemToolType: "end_call";
|
|
6
9
|
}
|
|
7
10
|
interface LanguageDetection extends ElevenLabs.LanguageDetectionToolConfig {
|
|
8
11
|
systemToolType: "language_detection";
|
|
9
12
|
}
|
|
13
|
+
interface MemoryEntryCreate extends ElevenLabs.MemoryEntryCreateToolConfig {
|
|
14
|
+
systemToolType: "memory_entry_create";
|
|
15
|
+
}
|
|
16
|
+
interface MemoryEntryDelete extends ElevenLabs.MemoryEntryDeleteToolConfig {
|
|
17
|
+
systemToolType: "memory_entry_delete";
|
|
18
|
+
}
|
|
19
|
+
interface MemoryEntrySearch extends ElevenLabs.MemoryEntrySearchToolConfig {
|
|
20
|
+
systemToolType: "memory_entry_search";
|
|
21
|
+
}
|
|
22
|
+
interface MemoryEntryUpdate extends ElevenLabs.MemoryEntryUpdateToolConfig {
|
|
23
|
+
systemToolType: "memory_entry_update";
|
|
24
|
+
}
|
|
10
25
|
interface PlayKeypadTouchTone extends ElevenLabs.PlayDtmfToolConfig {
|
|
11
26
|
systemToolType: "play_keypad_touch_tone";
|
|
12
27
|
}
|
|
13
|
-
interface SearchDocumentation extends ElevenLabs.SearchDocumentationToolConfigInput {
|
|
14
|
-
systemToolType: "search_documentation";
|
|
15
|
-
}
|
|
16
28
|
interface SkipTurn extends ElevenLabs.SkipTurnToolConfig {
|
|
17
29
|
systemToolType: "skip_turn";
|
|
18
30
|
}
|