@elevenlabs/elevenlabs-js 2.25.0 → 2.26.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/Client.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +31 -26
- package/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +2 -1
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +81 -0
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/Client.js +5 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/api/resources/webhooks/client/Client.d.ts +49 -0
- package/api/resources/webhooks/client/Client.js +242 -0
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/api/types/AgentDefinitionSource.d.ts +1 -0
- package/api/types/AgentDefinitionSource.js +1 -0
- package/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmapiType.d.ts +5 -0
- package/api/types/CustomLlmapiType.js +8 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/api/types/GetLiveCountResponse.d.ts +4 -0
- package/api/types/GetLiveCountResponse.js +3 -0
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
- package/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectResponseModelSourceType.js +1 -0
- package/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/api/types/SegmentMigrationResponse.js +3 -0
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/api/types/SpeakerCreatedResponse.js +3 -0
- package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/WebhookHmacSettings.d.ts +11 -0
- package/api/types/WebhookHmacSettings.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/api/types/WidgetTextContents.d.ts +14 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +31 -26
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +2 -1
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +81 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/Client.js +5 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +49 -0
- package/dist/api/resources/webhooks/client/Client.js +242 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/api/types/AgentDefinitionSource.d.ts +1 -0
- package/dist/api/types/AgentDefinitionSource.js +1 -0
- package/dist/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/dist/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmapiType.d.ts +5 -0
- package/dist/api/types/CustomLlmapiType.js +8 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/dist/api/types/GetLiveCountResponse.d.ts +4 -0
- package/dist/api/types/GetLiveCountResponse.js +3 -0
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
- package/dist/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/dist/api/types/SegmentMigrationResponse.js +3 -0
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/dist/api/types/SpeakerCreatedResponse.js +3 -0
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/api/types/WebhookHmacSettings.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/dist/api/types/WidgetTextContents.d.ts +14 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +17 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/dist/serialization/resources/webhooks/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/index.js +17 -0
- package/dist/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/dist/serialization/types/AgentDefinitionSource.js +1 -1
- package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/dist/serialization/types/CustomLlmapiType.js +39 -0
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/dist/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/serialization/types/DubbingTranscriptWord.js +2 -2
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/dist/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/dist/serialization/types/GetLiveCountResponse.js +41 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/dist/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/dist/serialization/types/SegmentMigrationResponse.js +41 -0
- package/dist/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/dist/serialization/types/SpeakerCreatedResponse.js +42 -0
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/dist/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/serialization/types/WebhookHmacSettings.js +43 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/dist/serialization/types/WidgetTextContents.d.ts +7 -0
- package/dist/serialization/types/WidgetTextContents.js +7 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/music.js +34 -3
- package/dist/wrapper/realtime/connection.d.ts +110 -6
- package/dist/wrapper/realtime/connection.js +74 -2
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/package.json +1 -1
- package/reference.md +406 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/serialization/resources/webhooks/client/index.js +17 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/serialization/resources/webhooks/index.d.ts +1 -0
- package/serialization/resources/webhooks/index.js +17 -0
- package/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/serialization/types/AgentDefinitionSource.js +1 -1
- package/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/serialization/types/CustomLlmapiType.js +39 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/serialization/types/DubbingTranscriptWord.js +2 -2
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/serialization/types/GetLiveCountResponse.js +41 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/serialization/types/SegmentMigrationResponse.js +41 -0
- package/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/serialization/types/SpeakerCreatedResponse.js +42 -0
- package/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/serialization/types/WebhookHmacSettings.js +43 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/serialization/types/WidgetTextContents.d.ts +7 -0
- package/serialization/types/WidgetTextContents.js +7 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/music.js +34 -3
- package/wrapper/realtime/connection.d.ts +110 -6
- package/wrapper/realtime/connection.js +74 -2
- package/wrapper/realtime/index.d.ts +1 -1
|
@@ -2,4 +2,6 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface AgentWorkflowRequestModel {
|
|
3
3
|
edges?: Record<string, ElevenLabs.WorkflowEdgeModelInput>;
|
|
4
4
|
nodes?: Record<string, ElevenLabs.AgentWorkflowRequestModelNodesValue>;
|
|
5
|
+
/** Whether to prevent loops in the workflow execution. */
|
|
6
|
+
preventSubagentLoops?: boolean;
|
|
5
7
|
}
|
|
@@ -2,4 +2,6 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface AgentWorkflowResponseModel {
|
|
3
3
|
edges: Record<string, ElevenLabs.WorkflowEdgeModelOutput>;
|
|
4
4
|
nodes: Record<string, ElevenLabs.AgentWorkflowResponseModelNodesValue>;
|
|
5
|
+
/** Whether to prevent loops in the workflow execution. */
|
|
6
|
+
preventSubagentLoops: boolean;
|
|
5
7
|
}
|
|
@@ -13,6 +13,7 @@ export declare const ClientEvent: {
|
|
|
13
13
|
readonly McpConnectionStatus: "mcp_connection_status";
|
|
14
14
|
readonly AgentToolRequest: "agent_tool_request";
|
|
15
15
|
readonly AgentToolResponse: "agent_tool_response";
|
|
16
|
+
readonly AgentResponseMetadata: "agent_response_metadata";
|
|
16
17
|
readonly VadScore: "vad_score";
|
|
17
18
|
readonly AgentChatResponsePart: "agent_chat_response_part";
|
|
18
19
|
readonly InternalTurnProbability: "internal_turn_probability";
|
package/api/types/ClientEvent.js
CHANGED
|
@@ -17,6 +17,7 @@ exports.ClientEvent = {
|
|
|
17
17
|
McpConnectionStatus: "mcp_connection_status",
|
|
18
18
|
AgentToolRequest: "agent_tool_request",
|
|
19
19
|
AgentToolResponse: "agent_tool_response",
|
|
20
|
+
AgentResponseMetadata: "agent_response_metadata",
|
|
20
21
|
VadScore: "vad_score",
|
|
21
22
|
AgentChatResponsePart: "agent_chat_response_part",
|
|
22
23
|
InternalTurnProbability: "internal_turn_probability",
|
|
@@ -12,6 +12,7 @@ export interface ConversationHistoryMetadataCommonModel {
|
|
|
12
12
|
batchCall?: ElevenLabs.ConversationHistoryBatchCallModel;
|
|
13
13
|
terminationReason?: string;
|
|
14
14
|
error?: ElevenLabs.ConversationHistoryErrorCommonModel;
|
|
15
|
+
warnings?: string[];
|
|
15
16
|
mainLanguage?: string;
|
|
16
17
|
ragUsage?: ElevenLabs.ConversationHistoryRagUsageCommonModel;
|
|
17
18
|
textOnly?: boolean;
|
package/api/types/CustomLlm.d.ts
CHANGED
|
@@ -10,4 +10,6 @@ export interface CustomLlm {
|
|
|
10
10
|
requestHeaders?: Record<string, ElevenLabs.CustomLlmRequestHeadersValue>;
|
|
11
11
|
/** The API version to use for the request */
|
|
12
12
|
apiVersion?: string;
|
|
13
|
+
/** The API type to use (chat_completions or responses) */
|
|
14
|
+
apiType?: ElevenLabs.CustomLlmapiType;
|
|
13
15
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CustomLlmapiType = void 0;
|
|
5
|
+
exports.CustomLlmapiType = {
|
|
6
|
+
ChatCompletions: "chat_completions",
|
|
7
|
+
Responses: "responses",
|
|
8
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const ExtendedSubscriptionResponseModelBillingPeriod: {
|
|
2
2
|
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
+
readonly ThreeMonthPeriod: "3_month_period";
|
|
4
|
+
readonly SixMonthPeriod: "6_month_period";
|
|
3
5
|
readonly AnnualPeriod: "annual_period";
|
|
4
6
|
};
|
|
5
7
|
export type ExtendedSubscriptionResponseModelBillingPeriod = (typeof ExtendedSubscriptionResponseModelBillingPeriod)[keyof typeof ExtendedSubscriptionResponseModelBillingPeriod];
|
|
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ExtendedSubscriptionResponseModelBillingPeriod = void 0;
|
|
5
5
|
exports.ExtendedSubscriptionResponseModelBillingPeriod = {
|
|
6
6
|
MonthlyPeriod: "monthly_period",
|
|
7
|
+
ThreeMonthPeriod: "3_month_period",
|
|
8
|
+
SixMonthPeriod: "6_month_period",
|
|
7
9
|
AnnualPeriod: "annual_period",
|
|
8
10
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const ExtendedSubscriptionResponseModelCharacterRefreshPeriod: {
|
|
2
2
|
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
+
readonly ThreeMonthPeriod: "3_month_period";
|
|
4
|
+
readonly SixMonthPeriod: "6_month_period";
|
|
3
5
|
readonly AnnualPeriod: "annual_period";
|
|
4
6
|
};
|
|
5
7
|
export type ExtendedSubscriptionResponseModelCharacterRefreshPeriod = (typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod];
|
|
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = void 0;
|
|
5
5
|
exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = {
|
|
6
6
|
MonthlyPeriod: "monthly_period",
|
|
7
|
+
ThreeMonthPeriod: "3_month_period",
|
|
8
|
+
SixMonthPeriod: "6_month_period",
|
|
7
9
|
AnnualPeriod: "annual_period",
|
|
8
10
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface MusicPrompt {
|
|
3
|
-
/** The styles that should be present in the entire song. Use English language for best result. */
|
|
3
|
+
/** The styles and musical directions that should be present in the entire song. Use English language for best result. */
|
|
4
4
|
positiveGlobalStyles: string[];
|
|
5
|
-
/** The styles that should not be present in the entire song. Use English language for best result. */
|
|
5
|
+
/** The styles and musical directions that should not be present in the entire song. Use English language for best result. */
|
|
6
6
|
negativeGlobalStyles: string[];
|
|
7
7
|
/** The sections of the song. */
|
|
8
8
|
sections: ElevenLabs.SongSection[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** The billing period to change to. */
|
|
2
2
|
export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: {
|
|
3
3
|
readonly MonthlyPeriod: "monthly_period";
|
|
4
|
+
readonly ThreeMonthPeriod: "3_month_period";
|
|
5
|
+
readonly SixMonthPeriod: "6_month_period";
|
|
4
6
|
readonly AnnualPeriod: "annual_period";
|
|
5
7
|
};
|
|
6
8
|
export type PendingSubscriptionSwitchResponseModelNextBillingPeriod = (typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod)[keyof typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod];
|
|
@@ -5,5 +5,7 @@ exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
|
|
|
5
5
|
/** The billing period to change to. */
|
|
6
6
|
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = {
|
|
7
7
|
MonthlyPeriod: "monthly_period",
|
|
8
|
+
ThreeMonthPeriod: "3_month_period",
|
|
9
|
+
SixMonthPeriod: "6_month_period",
|
|
8
10
|
AnnualPeriod: "annual_period",
|
|
9
11
|
};
|
|
@@ -4,5 +4,6 @@ export declare const ProjectExtendedResponseModelSourceType: {
|
|
|
4
4
|
readonly Article: "article";
|
|
5
5
|
readonly Genfm: "genfm";
|
|
6
6
|
readonly Video: "video";
|
|
7
|
+
readonly Screenplay: "screenplay";
|
|
7
8
|
};
|
|
8
9
|
export type ProjectExtendedResponseModelSourceType = (typeof ProjectExtendedResponseModelSourceType)[keyof typeof ProjectExtendedResponseModelSourceType];
|
|
@@ -4,5 +4,6 @@ export declare const ProjectResponseModelSourceType: {
|
|
|
4
4
|
readonly Article: "article";
|
|
5
5
|
readonly Genfm: "genfm";
|
|
6
6
|
readonly Video: "video";
|
|
7
|
+
readonly Screenplay: "screenplay";
|
|
7
8
|
};
|
|
8
9
|
export type ProjectResponseModelSourceType = (typeof ProjectResponseModelSourceType)[keyof typeof ProjectResponseModelSourceType];
|
|
@@ -2,9 +2,9 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface SongSection {
|
|
3
3
|
/** The name of the section. Must be between 1 and 100 characters. */
|
|
4
4
|
sectionName: string;
|
|
5
|
-
/** The styles that should be present in this section. Use English language for best result. */
|
|
5
|
+
/** The styles and musical directions that should be present in this section. Use English language for best result. */
|
|
6
6
|
positiveLocalStyles: string[];
|
|
7
|
-
/** The styles that should not be present in this section. Use English language for best result. */
|
|
7
|
+
/** The styles and musical directions that should not be present in this section. Use English language for best result. */
|
|
8
8
|
negativeLocalStyles: string[];
|
|
9
9
|
/** The duration of the section in milliseconds. Must be between 3000ms and 120000ms. */
|
|
10
10
|
durationMs: number;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const SubscriptionResponseModelBillingPeriod: {
|
|
2
2
|
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
+
readonly ThreeMonthPeriod: "3_month_period";
|
|
4
|
+
readonly SixMonthPeriod: "6_month_period";
|
|
3
5
|
readonly AnnualPeriod: "annual_period";
|
|
4
6
|
};
|
|
5
7
|
export type SubscriptionResponseModelBillingPeriod = (typeof SubscriptionResponseModelBillingPeriod)[keyof typeof SubscriptionResponseModelBillingPeriod];
|
|
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SubscriptionResponseModelBillingPeriod = void 0;
|
|
5
5
|
exports.SubscriptionResponseModelBillingPeriod = {
|
|
6
6
|
MonthlyPeriod: "monthly_period",
|
|
7
|
+
ThreeMonthPeriod: "3_month_period",
|
|
8
|
+
SixMonthPeriod: "6_month_period",
|
|
7
9
|
AnnualPeriod: "annual_period",
|
|
8
10
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const SubscriptionResponseModelCharacterRefreshPeriod: {
|
|
2
2
|
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
+
readonly ThreeMonthPeriod: "3_month_period";
|
|
4
|
+
readonly SixMonthPeriod: "6_month_period";
|
|
3
5
|
readonly AnnualPeriod: "annual_period";
|
|
4
6
|
};
|
|
5
7
|
export type SubscriptionResponseModelCharacterRefreshPeriod = (typeof SubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof SubscriptionResponseModelCharacterRefreshPeriod];
|
|
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SubscriptionResponseModelCharacterRefreshPeriod = void 0;
|
|
5
5
|
exports.SubscriptionResponseModelCharacterRefreshPeriod = {
|
|
6
6
|
MonthlyPeriod: "monthly_period",
|
|
7
|
+
ThreeMonthPeriod: "3_month_period",
|
|
8
|
+
SixMonthPeriod: "6_month_period",
|
|
7
9
|
AnnualPeriod: "annual_period",
|
|
8
10
|
};
|
|
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigInput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
-
/** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
|
|
10
|
-
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
11
9
|
/** The audio format to use for TTS */
|
|
12
10
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
13
11
|
/** The optimization for streaming latency */
|
|
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigOutput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
-
/** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
|
|
10
|
-
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
11
9
|
/** The audio format to use for TTS */
|
|
12
10
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
13
11
|
/** The optimization for streaming latency */
|
|
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigWorkflowOverrideInput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
-
/** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
|
|
10
|
-
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
11
9
|
/** The audio format to use for TTS */
|
|
12
10
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
13
11
|
/** The optimization for streaming latency */
|
|
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigWorkflowOverrideOutput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
-
/** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
|
|
10
|
-
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
11
9
|
/** The audio format to use for TTS */
|
|
12
10
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
13
11
|
/** The optimization for streaming latency */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Settings for creating an HMAC-authenticated webhook
|
|
3
|
+
*/
|
|
4
|
+
export interface WebhookHmacSettings {
|
|
5
|
+
/** The authentication type for this webhook */
|
|
6
|
+
authType: "hmac";
|
|
7
|
+
/** The display name for this webhook */
|
|
8
|
+
name: string;
|
|
9
|
+
/** The HTTPS callback URL that will be called when this webhook is triggered */
|
|
10
|
+
webhookUrl: string;
|
|
11
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
/**
|
|
3
|
-
* Configuration for a webhook that will be called by an LLM tool.
|
|
4
|
-
*/
|
|
5
2
|
export interface WebhookToolApiSchemaConfigInput {
|
|
3
|
+
/** Headers that should be included in the request */
|
|
4
|
+
requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigInputRequestHeadersValue>;
|
|
6
5
|
/** The URL that the webhook will be sent to. May include path parameters, e.g. https://example.com/agents/{agent_id} */
|
|
7
6
|
url: string;
|
|
8
7
|
/** The HTTP method to use for the webhook */
|
|
@@ -13,8 +12,6 @@ export interface WebhookToolApiSchemaConfigInput {
|
|
|
13
12
|
queryParamsSchema?: ElevenLabs.QueryParamsJsonSchema;
|
|
14
13
|
/** Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body */
|
|
15
14
|
requestBodySchema?: ElevenLabs.ObjectJsonSchemaPropertyInput;
|
|
16
|
-
/** Headers that should be included in the request */
|
|
17
|
-
requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigInputRequestHeadersValue>;
|
|
18
15
|
/** Content type for the request body. Only applies to POST/PUT/PATCH requests. */
|
|
19
16
|
contentType?: ElevenLabs.WebhookToolApiSchemaConfigInputContentType;
|
|
20
17
|
/** Optional auth connection to use for authentication with this webhook */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
/**
|
|
3
|
-
* Configuration for a webhook that will be called by an LLM tool.
|
|
4
|
-
*/
|
|
5
2
|
export interface WebhookToolApiSchemaConfigOutput {
|
|
3
|
+
/** Headers that should be included in the request */
|
|
4
|
+
requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigOutputRequestHeadersValue>;
|
|
6
5
|
/** The URL that the webhook will be sent to. May include path parameters, e.g. https://example.com/agents/{agent_id} */
|
|
7
6
|
url: string;
|
|
8
7
|
/** The HTTP method to use for the webhook */
|
|
@@ -13,8 +12,6 @@ export interface WebhookToolApiSchemaConfigOutput {
|
|
|
13
12
|
queryParamsSchema?: ElevenLabs.QueryParamsJsonSchema;
|
|
14
13
|
/** Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body */
|
|
15
14
|
requestBodySchema?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
|
|
16
|
-
/** Headers that should be included in the request */
|
|
17
|
-
requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigOutputRequestHeadersValue>;
|
|
18
15
|
/** Content type for the request body. Only applies to POST/PUT/PATCH requests. */
|
|
19
16
|
contentType?: ElevenLabs.WebhookToolApiSchemaConfigOutputContentType;
|
|
20
17
|
/** Optional auth connection to use for authentication with this webhook */
|
|
@@ -49,4 +49,18 @@ export interface WidgetTextContents {
|
|
|
49
49
|
errorOccurred?: string;
|
|
50
50
|
/** Text and ARIA label used for the copy ID button. */
|
|
51
51
|
copyId?: string;
|
|
52
|
+
/** Text displayed to prompt the user for feedback. */
|
|
53
|
+
initiateFeedback?: string;
|
|
54
|
+
/** Text displayed to request additional feedback details. */
|
|
55
|
+
requestFollowUpFeedback?: string;
|
|
56
|
+
/** Text displayed to thank the user for providing feedback. */
|
|
57
|
+
thanksForFeedback?: string;
|
|
58
|
+
/** Additional text displayed explaining the value of user feedback. */
|
|
59
|
+
thanksForFeedbackDetails?: string;
|
|
60
|
+
/** Placeholder text for the follow-up feedback input field. */
|
|
61
|
+
followUpFeedbackPlaceholder?: string;
|
|
62
|
+
/** Text and ARIA label for the submit button. */
|
|
63
|
+
submit?: string;
|
|
64
|
+
/** Text and ARIA label for the go back button. */
|
|
65
|
+
goBack?: string;
|
|
52
66
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -269,6 +269,7 @@ export * from "./CreateTranscriptRequest";
|
|
|
269
269
|
export * from "./CreateTwilioPhoneNumberRequest";
|
|
270
270
|
export * from "./CreateUnitTestResponseModel";
|
|
271
271
|
export * from "./CustomLlm";
|
|
272
|
+
export * from "./CustomLlmapiType";
|
|
272
273
|
export * from "./CustomLlmRequestHeadersValue";
|
|
273
274
|
export * from "./DashboardCallSuccessChartModel";
|
|
274
275
|
export * from "./DashboardCriteriaChartModel";
|
|
@@ -286,6 +287,7 @@ export * from "./DeleteVoiceResponseModel";
|
|
|
286
287
|
export * from "./DeleteVoiceSampleResponseModel";
|
|
287
288
|
export * from "./DeleteWorkspaceGroupMemberResponseModel";
|
|
288
289
|
export * from "./DeleteWorkspaceInviteResponseModel";
|
|
290
|
+
export * from "./DeleteWorkspaceWebhookResponseModel";
|
|
289
291
|
export * from "./DependentAvailableAgentIdentifier";
|
|
290
292
|
export * from "./DependentAvailableAgentIdentifierAccessLevel";
|
|
291
293
|
export * from "./DependentAvailableToolIdentifier";
|
|
@@ -377,6 +379,7 @@ export * from "./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem";
|
|
|
377
379
|
export * from "./GetKnowledgeBaseTextResponseModel";
|
|
378
380
|
export * from "./GetKnowledgeBaseUrlResponseModel";
|
|
379
381
|
export * from "./GetLibraryVoicesResponse";
|
|
382
|
+
export * from "./GetLiveCountResponse";
|
|
380
383
|
export * from "./GetPhoneNumberInboundSipTrunkConfigResponseModel";
|
|
381
384
|
export * from "./GetPhoneNumberOutboundSipTrunkConfigResponseModel";
|
|
382
385
|
export * from "./GetPhoneNumberResponse";
|
|
@@ -490,6 +493,7 @@ export * from "./OutboundCallRecipient";
|
|
|
490
493
|
export * from "./OutboundCallRecipientResponseModel";
|
|
491
494
|
export * from "./OutboundSipTrunkConfigRequestModel";
|
|
492
495
|
export * from "./OutputFormat";
|
|
496
|
+
export * from "./PatchWorkspaceWebhookResponseModel";
|
|
493
497
|
export * from "./PdfExportOptions";
|
|
494
498
|
export * from "./PendingCancellationResponseModel";
|
|
495
499
|
export * from "./PendingSubscriptionSwitchResponseModel";
|
|
@@ -607,6 +611,7 @@ export * from "./SegmentCreateResponse";
|
|
|
607
611
|
export * from "./SegmentDeleteResponse";
|
|
608
612
|
export * from "./SegmentDubResponse";
|
|
609
613
|
export * from "./SegmentedJsonExportOptions";
|
|
614
|
+
export * from "./SegmentMigrationResponse";
|
|
610
615
|
export * from "./SegmentSubtitleFrame";
|
|
611
616
|
export * from "./SegmentTranscriptionResponse";
|
|
612
617
|
export * from "./SegmentTranslationResponse";
|
|
@@ -635,6 +640,7 @@ export * from "./SongMetadata";
|
|
|
635
640
|
export * from "./SongSection";
|
|
636
641
|
export * from "./SortDirection";
|
|
637
642
|
export * from "./SpeakerAudioResponseModel";
|
|
643
|
+
export * from "./SpeakerCreatedResponse";
|
|
638
644
|
export * from "./SpeakerResponseModel";
|
|
639
645
|
export * from "./SpeakerSegment";
|
|
640
646
|
export * from "./SpeakerSeparationResponseModel";
|
|
@@ -776,6 +782,7 @@ export * from "./VoiceSharingState";
|
|
|
776
782
|
export * from "./VoiceVerificationResponse";
|
|
777
783
|
export * from "./WebhookAuthMethodType";
|
|
778
784
|
export * from "./WebhookEventType";
|
|
785
|
+
export * from "./WebhookHmacSettings";
|
|
779
786
|
export * from "./WebhookToolApiSchemaConfigInput";
|
|
780
787
|
export * from "./WebhookToolApiSchemaConfigInputContentType";
|
|
781
788
|
export * from "./WebhookToolApiSchemaConfigInputMethod";
|
|
@@ -849,6 +856,7 @@ export * from "./WorkspaceApiKeyResponseModel";
|
|
|
849
856
|
export * from "./WorkspaceApiKeyResponseModelPermissionsItem";
|
|
850
857
|
export * from "./WorkspaceBatchCallsResponse";
|
|
851
858
|
export * from "./WorkspaceCreateApiKeyResponseModel";
|
|
859
|
+
export * from "./WorkspaceCreateWebhookResponseModel";
|
|
852
860
|
export * from "./WorkspaceGroupByNameResponseModel";
|
|
853
861
|
export * from "./WorkspaceResourceType";
|
|
854
862
|
export * from "./WorkspaceServiceAccountListResponseModel";
|
package/api/types/index.js
CHANGED
|
@@ -285,6 +285,7 @@ __exportStar(require("./CreateTranscriptRequest"), exports);
|
|
|
285
285
|
__exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
|
|
286
286
|
__exportStar(require("./CreateUnitTestResponseModel"), exports);
|
|
287
287
|
__exportStar(require("./CustomLlm"), exports);
|
|
288
|
+
__exportStar(require("./CustomLlmapiType"), exports);
|
|
288
289
|
__exportStar(require("./CustomLlmRequestHeadersValue"), exports);
|
|
289
290
|
__exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
290
291
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
@@ -302,6 +303,7 @@ __exportStar(require("./DeleteVoiceResponseModel"), exports);
|
|
|
302
303
|
__exportStar(require("./DeleteVoiceSampleResponseModel"), exports);
|
|
303
304
|
__exportStar(require("./DeleteWorkspaceGroupMemberResponseModel"), exports);
|
|
304
305
|
__exportStar(require("./DeleteWorkspaceInviteResponseModel"), exports);
|
|
306
|
+
__exportStar(require("./DeleteWorkspaceWebhookResponseModel"), exports);
|
|
305
307
|
__exportStar(require("./DependentAvailableAgentIdentifier"), exports);
|
|
306
308
|
__exportStar(require("./DependentAvailableAgentIdentifierAccessLevel"), exports);
|
|
307
309
|
__exportStar(require("./DependentAvailableToolIdentifier"), exports);
|
|
@@ -393,6 +395,7 @@ __exportStar(require("./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsIt
|
|
|
393
395
|
__exportStar(require("./GetKnowledgeBaseTextResponseModel"), exports);
|
|
394
396
|
__exportStar(require("./GetKnowledgeBaseUrlResponseModel"), exports);
|
|
395
397
|
__exportStar(require("./GetLibraryVoicesResponse"), exports);
|
|
398
|
+
__exportStar(require("./GetLiveCountResponse"), exports);
|
|
396
399
|
__exportStar(require("./GetPhoneNumberInboundSipTrunkConfigResponseModel"), exports);
|
|
397
400
|
__exportStar(require("./GetPhoneNumberOutboundSipTrunkConfigResponseModel"), exports);
|
|
398
401
|
__exportStar(require("./GetPhoneNumberResponse"), exports);
|
|
@@ -506,6 +509,7 @@ __exportStar(require("./OutboundCallRecipient"), exports);
|
|
|
506
509
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
507
510
|
__exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
508
511
|
__exportStar(require("./OutputFormat"), exports);
|
|
512
|
+
__exportStar(require("./PatchWorkspaceWebhookResponseModel"), exports);
|
|
509
513
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
510
514
|
__exportStar(require("./PendingCancellationResponseModel"), exports);
|
|
511
515
|
__exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
|
|
@@ -623,6 +627,7 @@ __exportStar(require("./SegmentCreateResponse"), exports);
|
|
|
623
627
|
__exportStar(require("./SegmentDeleteResponse"), exports);
|
|
624
628
|
__exportStar(require("./SegmentDubResponse"), exports);
|
|
625
629
|
__exportStar(require("./SegmentedJsonExportOptions"), exports);
|
|
630
|
+
__exportStar(require("./SegmentMigrationResponse"), exports);
|
|
626
631
|
__exportStar(require("./SegmentSubtitleFrame"), exports);
|
|
627
632
|
__exportStar(require("./SegmentTranscriptionResponse"), exports);
|
|
628
633
|
__exportStar(require("./SegmentTranslationResponse"), exports);
|
|
@@ -651,6 +656,7 @@ __exportStar(require("./SongMetadata"), exports);
|
|
|
651
656
|
__exportStar(require("./SongSection"), exports);
|
|
652
657
|
__exportStar(require("./SortDirection"), exports);
|
|
653
658
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
659
|
+
__exportStar(require("./SpeakerCreatedResponse"), exports);
|
|
654
660
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
655
661
|
__exportStar(require("./SpeakerSegment"), exports);
|
|
656
662
|
__exportStar(require("./SpeakerSeparationResponseModel"), exports);
|
|
@@ -792,6 +798,7 @@ __exportStar(require("./VoiceSharingState"), exports);
|
|
|
792
798
|
__exportStar(require("./VoiceVerificationResponse"), exports);
|
|
793
799
|
__exportStar(require("./WebhookAuthMethodType"), exports);
|
|
794
800
|
__exportStar(require("./WebhookEventType"), exports);
|
|
801
|
+
__exportStar(require("./WebhookHmacSettings"), exports);
|
|
795
802
|
__exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
|
|
796
803
|
__exportStar(require("./WebhookToolApiSchemaConfigInputContentType"), exports);
|
|
797
804
|
__exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
|
|
@@ -865,6 +872,7 @@ __exportStar(require("./WorkspaceApiKeyResponseModel"), exports);
|
|
|
865
872
|
__exportStar(require("./WorkspaceApiKeyResponseModelPermissionsItem"), exports);
|
|
866
873
|
__exportStar(require("./WorkspaceBatchCallsResponse"), exports);
|
|
867
874
|
__exportStar(require("./WorkspaceCreateApiKeyResponseModel"), exports);
|
|
875
|
+
__exportStar(require("./WorkspaceCreateWebhookResponseModel"), exports);
|
|
868
876
|
__exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
|
|
869
877
|
__exportStar(require("./WorkspaceResourceType"), exports);
|
|
870
878
|
__exportStar(require("./WorkspaceServiceAccountListResponseModel"), exports);
|
package/dist/Client.js
CHANGED
|
@@ -78,8 +78,8 @@ class ElevenLabsClient {
|
|
|
78
78
|
"xi-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
81
|
-
"X-Fern-SDK-Version": "v2.
|
|
82
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
81
|
+
"X-Fern-SDK-Version": "v2.26.0",
|
|
82
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.26.0",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as ElevenLabs from "../../../index";
|
|
4
4
|
import { Agents } from "../resources/agents/client/Client";
|
|
5
|
+
import { Analytics } from "../resources/analytics/client/Client";
|
|
5
6
|
import { BatchCalls } from "../resources/batchCalls/client/Client";
|
|
6
7
|
import { Conversations } from "../resources/conversations/client/Client";
|
|
7
8
|
import { Dashboard } from "../resources/dashboard/client/Client";
|
|
@@ -36,6 +37,7 @@ export declare class ConversationalAi {
|
|
|
36
37
|
protected _batchCalls: BatchCalls | undefined;
|
|
37
38
|
protected _sipTrunk: SipTrunk | undefined;
|
|
38
39
|
protected _mcpServers: McpServers | undefined;
|
|
40
|
+
protected _analytics: Analytics | undefined;
|
|
39
41
|
protected _dashboard: Dashboard | undefined;
|
|
40
42
|
constructor(_options?: ConversationalAi.Options);
|
|
41
43
|
get conversations(): Conversations;
|
|
@@ -51,6 +53,7 @@ export declare class ConversationalAi {
|
|
|
51
53
|
get batchCalls(): BatchCalls;
|
|
52
54
|
get sipTrunk(): SipTrunk;
|
|
53
55
|
get mcpServers(): McpServers;
|
|
56
|
+
get analytics(): Analytics;
|
|
54
57
|
get dashboard(): Dashboard;
|
|
55
58
|
/**
|
|
56
59
|
* Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/api-reference/agents/update). </Note>
|