@elevenlabs/elevenlabs-js 2.37.0 → 2.38.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/conversationalAi/resources/agents/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +13 -3
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/api/resources/music/client/Client.d.ts +16 -0
- package/api/resources/music/client/Client.js +72 -0
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +13 -0
- package/api/resources/music/client/requests/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +22 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +72 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.d.ts +21 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/requests/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.d.ts +10 -0
- package/api/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.js +3 -0
- package/api/resources/pronunciationDictionaries/resources/rules/types/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/types/index.js +1 -0
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +1 -1
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +1 -1
- package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +1 -1
- package/api/types/AgentMetadata.d.ts +1 -0
- package/api/types/AsrProvider.d.ts +1 -0
- package/api/types/AsrProvider.js +1 -0
- package/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/api/types/BatchCallResponse.d.ts +1 -0
- package/api/types/CanvasPlacement.d.ts +4 -0
- package/api/types/ChapterStatisticsResponse.d.ts +3 -0
- package/api/types/CheckServiceAvailabilityParams.d.ts +3 -0
- package/api/types/CheckServiceAvailabilityParams.js +3 -0
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ContentGuardrailInput.d.ts +1 -0
- package/api/types/ContentGuardrailOutput.d.ts +1 -0
- package/api/types/ConversationUserResponseModel.d.ts +2 -2
- package/api/types/CreateAssetParams.d.ts +3 -0
- package/api/types/CreateAssetParams.js +3 -0
- package/api/types/CreateClientAppointmentParams.d.ts +3 -0
- package/api/types/CreateClientAppointmentParams.js +3 -0
- package/api/types/CustomGuardrailConfig.d.ts +1 -2
- package/api/types/CustomGuardrailInput.d.ts +1 -1
- package/api/types/CustomGuardrailOutput.d.ts +1 -1
- package/{dist/api/types/CustomGuardrailsConfig.d.ts → api/types/CustomGuardrailsConfigInput.d.ts} +1 -1
- package/api/types/CustomGuardrailsConfigInput.js +3 -0
- package/api/types/CustomGuardrailsConfigOutput.d.ts +7 -0
- package/api/types/CustomGuardrailsConfigOutput.js +3 -0
- package/api/types/CustomLlm.d.ts +1 -1
- package/api/types/DeleteAssetParams.d.ts +3 -0
- package/api/types/DeleteAssetParams.js +3 -0
- package/api/types/DeleteCalendarEventParams.d.ts +3 -0
- package/api/types/DeleteCalendarEventParams.js +3 -0
- package/api/types/GetClientAppointmentsParams.d.ts +3 -0
- package/api/types/GetClientAppointmentsParams.js +3 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/api/types/GuardrailExecutionMode.d.ts +5 -0
- package/api/types/GuardrailExecutionMode.js +8 -0
- package/api/types/ListAssetsParams.d.ts +1 -0
- package/api/types/ListCalendarEventsParams.d.ts +3 -0
- package/api/types/ListCalendarEventsParams.js +3 -0
- package/api/types/ListProductsParams.d.ts +1 -0
- package/api/types/ListServicesParams.d.ts +1 -0
- package/api/types/ListStaffParams.d.ts +1 -0
- package/api/types/Llm.d.ts +1 -0
- package/api/types/Llm.js +1 -0
- package/api/types/ModerationGuardrailInput.d.ts +1 -0
- package/api/types/ModerationGuardrailOutput.d.ts +1 -0
- package/api/types/MusicUploadResponse.d.ts +10 -0
- package/api/types/MusicUploadResponse.js +3 -0
- package/api/types/ObjectJsonSchemaPropertyInput.d.ts +1 -0
- package/api/types/ObjectJsonSchemaPropertyOutput.d.ts +1 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ProjectResponse.d.ts +2 -0
- package/api/types/RequiredConstraint.d.ts +6 -0
- package/api/types/RequiredConstraint.js +3 -0
- package/api/types/RequiredConstraints.d.ts +8 -0
- package/api/types/RequiredConstraints.js +3 -0
- package/api/types/SongSection.d.ts +1 -1
- package/api/types/StudioAgentSettingsModel.d.ts +4 -0
- package/api/types/StudioAgentSettingsModel.js +3 -0
- package/api/types/StudioAgentToolSettingsModel.d.ts +3 -0
- package/api/types/StudioAgentToolSettingsModel.js +3 -0
- package/api/types/TelephonyCallConfig.d.ts +4 -0
- package/api/types/TelephonyCallConfig.js +3 -0
- package/api/types/UpdateAssetParams.d.ts +3 -0
- package/api/types/UpdateAssetParams.js +3 -0
- package/api/types/UpdateCalendarEventParams.d.ts +3 -0
- package/api/types/UpdateCalendarEventParams.js +3 -0
- package/api/types/VoiceStatisticsResponseModel.d.ts +8 -0
- package/api/types/VoiceStatisticsResponseModel.js +3 -0
- package/api/types/index.d.ts +19 -2
- package/api/types/index.js +19 -2
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +13 -3
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/dist/api/resources/music/client/Client.d.ts +16 -0
- package/dist/api/resources/music/client/Client.js +72 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +13 -0
- package/dist/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.js +3 -0
- package/dist/api/resources/music/client/requests/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +22 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +72 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.d.ts +21 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.js +3 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/requests/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.d.ts +10 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.js +3 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/types/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/types/index.js +1 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +1 -1
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +1 -1
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +1 -1
- package/dist/api/types/AgentMetadata.d.ts +1 -0
- package/dist/api/types/AsrProvider.d.ts +1 -0
- package/dist/api/types/AsrProvider.js +1 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +1 -0
- package/dist/api/types/CanvasPlacement.d.ts +4 -0
- package/dist/api/types/ChapterStatisticsResponse.d.ts +3 -0
- package/dist/api/types/CheckServiceAvailabilityParams.d.ts +3 -0
- package/dist/api/types/CheckServiceAvailabilityParams.js +3 -0
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ContentGuardrailInput.d.ts +1 -0
- package/dist/api/types/ContentGuardrailOutput.d.ts +1 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +2 -2
- package/dist/api/types/CreateAssetParams.d.ts +3 -0
- package/dist/api/types/CreateAssetParams.js +3 -0
- package/dist/api/types/CreateClientAppointmentParams.d.ts +3 -0
- package/dist/api/types/CreateClientAppointmentParams.js +3 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +1 -2
- package/dist/api/types/CustomGuardrailInput.d.ts +1 -1
- package/dist/api/types/CustomGuardrailOutput.d.ts +1 -1
- package/{api/types/CustomGuardrailsConfig.d.ts → dist/api/types/CustomGuardrailsConfigInput.d.ts} +1 -1
- package/dist/api/types/CustomGuardrailsConfigInput.js +3 -0
- package/dist/api/types/CustomGuardrailsConfigOutput.d.ts +7 -0
- package/dist/api/types/CustomGuardrailsConfigOutput.js +3 -0
- package/dist/api/types/CustomLlm.d.ts +1 -1
- package/dist/api/types/DeleteAssetParams.d.ts +3 -0
- package/dist/api/types/DeleteAssetParams.js +3 -0
- package/dist/api/types/DeleteCalendarEventParams.d.ts +3 -0
- package/dist/api/types/DeleteCalendarEventParams.js +3 -0
- package/dist/api/types/GetClientAppointmentsParams.d.ts +3 -0
- package/dist/api/types/GetClientAppointmentsParams.js +3 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/api/types/GuardrailExecutionMode.d.ts +5 -0
- package/dist/api/types/GuardrailExecutionMode.js +8 -0
- package/dist/api/types/ListAssetsParams.d.ts +1 -0
- package/dist/api/types/ListCalendarEventsParams.d.ts +3 -0
- package/dist/api/types/ListCalendarEventsParams.js +3 -0
- package/dist/api/types/ListProductsParams.d.ts +1 -0
- package/dist/api/types/ListServicesParams.d.ts +1 -0
- package/dist/api/types/ListStaffParams.d.ts +1 -0
- package/dist/api/types/Llm.d.ts +1 -0
- package/dist/api/types/Llm.js +1 -0
- package/dist/api/types/ModerationGuardrailInput.d.ts +1 -0
- package/dist/api/types/ModerationGuardrailOutput.d.ts +1 -0
- package/dist/api/types/MusicUploadResponse.d.ts +10 -0
- package/dist/api/types/MusicUploadResponse.js +3 -0
- package/dist/api/types/ObjectJsonSchemaPropertyInput.d.ts +1 -0
- package/dist/api/types/ObjectJsonSchemaPropertyOutput.d.ts +1 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/api/types/ProjectResponse.d.ts +2 -0
- package/dist/api/types/RequiredConstraint.d.ts +6 -0
- package/dist/api/types/RequiredConstraint.js +3 -0
- package/dist/api/types/RequiredConstraints.d.ts +8 -0
- package/dist/api/types/RequiredConstraints.js +3 -0
- package/dist/api/types/SongSection.d.ts +1 -1
- package/dist/api/types/StudioAgentSettingsModel.d.ts +4 -0
- package/dist/api/types/StudioAgentSettingsModel.js +3 -0
- package/dist/api/types/StudioAgentToolSettingsModel.d.ts +3 -0
- package/dist/api/types/StudioAgentToolSettingsModel.js +3 -0
- package/dist/api/types/TelephonyCallConfig.d.ts +4 -0
- package/dist/api/types/TelephonyCallConfig.js +3 -0
- package/dist/api/types/UpdateAssetParams.d.ts +3 -0
- package/dist/api/types/UpdateAssetParams.js +3 -0
- package/dist/api/types/UpdateCalendarEventParams.d.ts +3 -0
- package/dist/api/types/UpdateCalendarEventParams.js +3 -0
- package/dist/api/types/VoiceStatisticsResponseModel.d.ts +8 -0
- package/dist/api/types/VoiceStatisticsResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +19 -2
- package/dist/api/types/index.js +19 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +2 -0
- 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/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.d.ts +10 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.js +42 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.js +3 -1
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.d.ts +15 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.js +49 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/types/index.d.ts +1 -0
- package/dist/serialization/resources/pronunciationDictionaries/resources/rules/types/index.js +1 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +1 -1
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +1 -1
- package/dist/serialization/types/AgentMetadata.d.ts +1 -0
- package/dist/serialization/types/AgentMetadata.js +1 -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 +2 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +2 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +2 -0
- package/dist/serialization/types/BatchCallResponse.js +2 -0
- package/dist/serialization/types/CanvasPlacement.d.ts +4 -0
- package/dist/serialization/types/CanvasPlacement.js +4 -0
- package/dist/serialization/types/ChapterStatisticsResponse.d.ts +2 -0
- package/dist/serialization/types/ChapterStatisticsResponse.js +2 -0
- package/dist/serialization/types/CheckServiceAvailabilityParams.d.ts +9 -0
- package/dist/serialization/types/CheckServiceAvailabilityParams.js +41 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ContentGuardrailInput.d.ts +2 -0
- package/dist/serialization/types/ContentGuardrailInput.js +2 -0
- package/dist/serialization/types/ContentGuardrailOutput.d.ts +2 -0
- package/dist/serialization/types/ContentGuardrailOutput.js +2 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +2 -2
- package/dist/serialization/types/ConversationUserResponseModel.js +2 -2
- package/dist/serialization/types/CreateAssetParams.d.ts +9 -0
- package/dist/serialization/types/CreateAssetParams.js +41 -0
- package/dist/serialization/types/CreateClientAppointmentParams.d.ts +9 -0
- package/dist/serialization/types/CreateClientAppointmentParams.js +41 -0
- package/dist/serialization/types/CustomGuardrailConfig.d.ts +2 -2
- package/dist/serialization/types/CustomGuardrailConfig.js +2 -2
- package/dist/serialization/types/CustomGuardrailInput.d.ts +2 -2
- package/dist/serialization/types/CustomGuardrailInput.js +2 -2
- package/dist/serialization/types/CustomGuardrailOutput.d.ts +2 -2
- package/dist/serialization/types/CustomGuardrailOutput.js +2 -2
- package/{serialization/types/CustomGuardrailsConfig.d.ts → dist/serialization/types/CustomGuardrailsConfigInput.d.ts} +2 -2
- package/dist/serialization/types/{CustomGuardrailsConfig.js → CustomGuardrailsConfigInput.js} +2 -2
- package/dist/serialization/types/CustomGuardrailsConfigOutput.d.ts +10 -0
- package/dist/serialization/types/CustomGuardrailsConfigOutput.js +42 -0
- package/dist/serialization/types/DeleteAssetParams.d.ts +9 -0
- package/dist/serialization/types/DeleteAssetParams.js +41 -0
- package/dist/serialization/types/DeleteCalendarEventParams.d.ts +9 -0
- package/dist/serialization/types/DeleteCalendarEventParams.js +41 -0
- package/dist/serialization/types/GetClientAppointmentsParams.d.ts +9 -0
- package/dist/serialization/types/GetClientAppointmentsParams.js +41 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/dist/serialization/types/GuardrailExecutionMode.d.ts +7 -0
- package/dist/serialization/types/{CustomGuardrailConfigModel.js → GuardrailExecutionMode.js} +2 -2
- package/dist/serialization/types/ListAssetsParams.d.ts +1 -0
- package/dist/serialization/types/ListAssetsParams.js +1 -0
- package/dist/serialization/types/ListCalendarEventsParams.d.ts +9 -0
- package/dist/serialization/types/ListCalendarEventsParams.js +41 -0
- package/dist/serialization/types/ListProductsParams.d.ts +1 -0
- package/dist/serialization/types/ListProductsParams.js +1 -0
- package/dist/serialization/types/ListServicesParams.d.ts +1 -0
- package/dist/serialization/types/ListServicesParams.js +1 -0
- package/dist/serialization/types/ListStaffParams.d.ts +1 -0
- package/dist/serialization/types/ListStaffParams.js +1 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +1 -0
- package/dist/serialization/types/ModerationGuardrailInput.d.ts +2 -0
- package/dist/serialization/types/ModerationGuardrailInput.js +2 -0
- package/dist/serialization/types/ModerationGuardrailOutput.d.ts +2 -0
- package/dist/serialization/types/ModerationGuardrailOutput.js +2 -0
- package/dist/serialization/types/MusicUploadResponse.d.ts +11 -0
- package/dist/serialization/types/MusicUploadResponse.js +43 -0
- package/dist/serialization/types/ObjectJsonSchemaPropertyInput.d.ts +2 -0
- package/dist/serialization/types/ObjectJsonSchemaPropertyInput.js +2 -0
- package/dist/serialization/types/ObjectJsonSchemaPropertyOutput.d.ts +2 -0
- package/dist/serialization/types/ObjectJsonSchemaPropertyOutput.js +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
- package/dist/serialization/types/ProjectResponse.d.ts +2 -0
- package/dist/serialization/types/ProjectResponse.js +2 -0
- package/dist/serialization/types/RequiredConstraint.d.ts +9 -0
- package/dist/serialization/types/RequiredConstraint.js +41 -0
- package/dist/serialization/types/RequiredConstraints.d.ts +11 -0
- package/dist/serialization/types/RequiredConstraints.js +43 -0
- package/dist/serialization/types/StudioAgentSettingsModel.d.ts +10 -0
- package/dist/serialization/types/StudioAgentSettingsModel.js +42 -0
- package/dist/serialization/types/StudioAgentToolSettingsModel.d.ts +9 -0
- package/dist/serialization/types/StudioAgentToolSettingsModel.js +41 -0
- package/dist/serialization/types/TelephonyCallConfig.d.ts +9 -0
- package/dist/serialization/types/TelephonyCallConfig.js +41 -0
- package/dist/serialization/types/UpdateAssetParams.d.ts +9 -0
- package/dist/serialization/types/UpdateAssetParams.js +41 -0
- package/dist/serialization/types/UpdateCalendarEventParams.d.ts +9 -0
- package/dist/serialization/types/UpdateCalendarEventParams.js +41 -0
- package/dist/serialization/types/VoiceStatisticsResponseModel.d.ts +11 -0
- package/dist/serialization/types/VoiceStatisticsResponseModel.js +43 -0
- package/dist/serialization/types/index.d.ts +19 -2
- package/dist/serialization/types/index.js +19 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +147 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/sipTrunk/client/requests/BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +2 -0
- 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/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.d.ts +10 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.js +42 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.d.ts +1 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.js +3 -1
- package/serialization/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.d.ts +15 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.js +49 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/types/index.d.ts +1 -0
- package/serialization/resources/pronunciationDictionaries/resources/rules/types/index.js +1 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +1 -1
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +1 -1
- package/serialization/types/AgentMetadata.d.ts +1 -0
- package/serialization/types/AgentMetadata.js +1 -0
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BatchCallDetailedResponse.d.ts +2 -0
- package/serialization/types/BatchCallDetailedResponse.js +2 -0
- package/serialization/types/BatchCallResponse.d.ts +2 -0
- package/serialization/types/BatchCallResponse.js +2 -0
- package/serialization/types/CanvasPlacement.d.ts +4 -0
- package/serialization/types/CanvasPlacement.js +4 -0
- package/serialization/types/ChapterStatisticsResponse.d.ts +2 -0
- package/serialization/types/ChapterStatisticsResponse.js +2 -0
- package/serialization/types/CheckServiceAvailabilityParams.d.ts +9 -0
- package/serialization/types/CheckServiceAvailabilityParams.js +41 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ContentGuardrailInput.d.ts +2 -0
- package/serialization/types/ContentGuardrailInput.js +2 -0
- package/serialization/types/ContentGuardrailOutput.d.ts +2 -0
- package/serialization/types/ContentGuardrailOutput.js +2 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +2 -2
- package/serialization/types/ConversationUserResponseModel.js +2 -2
- package/serialization/types/CreateAssetParams.d.ts +9 -0
- package/serialization/types/CreateAssetParams.js +41 -0
- package/serialization/types/CreateClientAppointmentParams.d.ts +9 -0
- package/serialization/types/CreateClientAppointmentParams.js +41 -0
- package/serialization/types/CustomGuardrailConfig.d.ts +2 -2
- package/serialization/types/CustomGuardrailConfig.js +2 -2
- package/serialization/types/CustomGuardrailInput.d.ts +2 -2
- package/serialization/types/CustomGuardrailInput.js +2 -2
- package/serialization/types/CustomGuardrailOutput.d.ts +2 -2
- package/serialization/types/CustomGuardrailOutput.js +2 -2
- package/{dist/serialization/types/CustomGuardrailsConfig.d.ts → serialization/types/CustomGuardrailsConfigInput.d.ts} +2 -2
- package/serialization/types/{CustomGuardrailsConfig.js → CustomGuardrailsConfigInput.js} +2 -2
- package/serialization/types/CustomGuardrailsConfigOutput.d.ts +10 -0
- package/serialization/types/CustomGuardrailsConfigOutput.js +42 -0
- package/serialization/types/DeleteAssetParams.d.ts +9 -0
- package/serialization/types/DeleteAssetParams.js +41 -0
- package/serialization/types/DeleteCalendarEventParams.d.ts +9 -0
- package/serialization/types/DeleteCalendarEventParams.js +41 -0
- package/serialization/types/GetClientAppointmentsParams.d.ts +9 -0
- package/serialization/types/GetClientAppointmentsParams.js +41 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/serialization/types/GuardrailExecutionMode.d.ts +7 -0
- package/serialization/types/{CustomGuardrailConfigModel.js → GuardrailExecutionMode.js} +2 -2
- package/serialization/types/ListAssetsParams.d.ts +1 -0
- package/serialization/types/ListAssetsParams.js +1 -0
- package/serialization/types/ListCalendarEventsParams.d.ts +9 -0
- package/serialization/types/ListCalendarEventsParams.js +41 -0
- package/serialization/types/ListProductsParams.d.ts +1 -0
- package/serialization/types/ListProductsParams.js +1 -0
- package/serialization/types/ListServicesParams.d.ts +1 -0
- package/serialization/types/ListServicesParams.js +1 -0
- package/serialization/types/ListStaffParams.d.ts +1 -0
- package/serialization/types/ListStaffParams.js +1 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +1 -0
- package/serialization/types/ModerationGuardrailInput.d.ts +2 -0
- package/serialization/types/ModerationGuardrailInput.js +2 -0
- package/serialization/types/ModerationGuardrailOutput.d.ts +2 -0
- package/serialization/types/ModerationGuardrailOutput.js +2 -0
- package/serialization/types/MusicUploadResponse.d.ts +11 -0
- package/serialization/types/MusicUploadResponse.js +43 -0
- package/serialization/types/ObjectJsonSchemaPropertyInput.d.ts +2 -0
- package/serialization/types/ObjectJsonSchemaPropertyInput.js +2 -0
- package/serialization/types/ObjectJsonSchemaPropertyOutput.d.ts +2 -0
- package/serialization/types/ObjectJsonSchemaPropertyOutput.js +2 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/serialization/types/ProjectExtendedResponse.js +2 -0
- package/serialization/types/ProjectResponse.d.ts +2 -0
- package/serialization/types/ProjectResponse.js +2 -0
- package/serialization/types/RequiredConstraint.d.ts +9 -0
- package/serialization/types/RequiredConstraint.js +41 -0
- package/serialization/types/RequiredConstraints.d.ts +11 -0
- package/serialization/types/RequiredConstraints.js +43 -0
- package/serialization/types/StudioAgentSettingsModel.d.ts +10 -0
- package/serialization/types/StudioAgentSettingsModel.js +42 -0
- package/serialization/types/StudioAgentToolSettingsModel.d.ts +9 -0
- package/serialization/types/StudioAgentToolSettingsModel.js +41 -0
- package/serialization/types/TelephonyCallConfig.d.ts +9 -0
- package/serialization/types/TelephonyCallConfig.js +41 -0
- package/serialization/types/UpdateAssetParams.d.ts +9 -0
- package/serialization/types/UpdateAssetParams.js +41 -0
- package/serialization/types/UpdateCalendarEventParams.d.ts +9 -0
- package/serialization/types/UpdateCalendarEventParams.js +41 -0
- package/serialization/types/VoiceStatisticsResponseModel.d.ts +11 -0
- package/serialization/types/VoiceStatisticsResponseModel.js +43 -0
- package/serialization/types/index.d.ts +19 -2
- package/serialization/types/index.js +19 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/CustomGuardrailConfigModel.d.ts +0 -6
- package/api/types/CustomGuardrailConfigModel.js +0 -9
- package/dist/api/types/CustomGuardrailConfigModel.d.ts +0 -6
- package/dist/api/types/CustomGuardrailConfigModel.js +0 -9
- package/dist/serialization/types/CustomGuardrailConfigModel.d.ts +0 -7
- package/serialization/types/CustomGuardrailConfigModel.d.ts +0 -7
- /package/api/{types/CustomGuardrailsConfig.js → resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.js} +0 -0
- /package/{dist/api/types/CustomGuardrailsConfig.js → api/resources/pronunciationDictionaries/resources/rules/client/requests/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.js} +0 -0
|
@@ -25,7 +25,7 @@ export declare class SpeechToTextClient {
|
|
|
25
25
|
* import { createReadStream } from "fs";
|
|
26
26
|
* await client.speechToText.convert({
|
|
27
27
|
* enableLogging: true,
|
|
28
|
-
* modelId: "
|
|
28
|
+
* modelId: "scribe_v2"
|
|
29
29
|
* })
|
|
30
30
|
*/
|
|
31
31
|
convert(request: ElevenLabs.BodySpeechToTextV1SpeechToTextPost, requestOptions?: SpeechToTextClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SpeechToTextConvertResponse>;
|
package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* @example
|
|
5
5
|
* {
|
|
6
6
|
* enableLogging: true,
|
|
7
|
-
* modelId: "
|
|
7
|
+
* modelId: "scribe_v2"
|
|
8
8
|
* }
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {
|
|
12
12
|
* enableLogging: true,
|
|
13
|
-
* modelId: "
|
|
13
|
+
* modelId: "scribe_v2"
|
|
14
14
|
* }
|
|
15
15
|
*/
|
|
16
16
|
export interface BodySpeechToTextV1SpeechToTextPost {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** The ID of the model to use for transcription. */
|
|
2
2
|
export declare const SpeechToTextConvertRequestModelId: {
|
|
3
|
-
readonly ScribeV1: "scribe_v1";
|
|
4
3
|
readonly ScribeV2: "scribe_v2";
|
|
4
|
+
readonly ScribeV1: "scribe_v1";
|
|
5
5
|
};
|
|
6
6
|
export type SpeechToTextConvertRequestModelId = (typeof SpeechToTextConvertRequestModelId)[keyof typeof SpeechToTextConvertRequestModelId];
|
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SpeechToTextConvertRequestModelId = void 0;
|
|
5
5
|
/** The ID of the model to use for transcription. */
|
|
6
6
|
exports.SpeechToTextConvertRequestModelId = {
|
|
7
|
-
ScribeV1: "scribe_v1",
|
|
8
7
|
ScribeV2: "scribe_v2",
|
|
8
|
+
ScribeV1: "scribe_v1",
|
|
9
9
|
};
|
|
@@ -18,6 +18,7 @@ export interface BatchCallDetailedResponse {
|
|
|
18
18
|
lastUpdatedAtUnix: number;
|
|
19
19
|
status: ElevenLabs.BatchCallStatus;
|
|
20
20
|
retryCount: number;
|
|
21
|
+
telephonyCallConfig: ElevenLabs.TelephonyCallConfig;
|
|
21
22
|
agentName: string;
|
|
22
23
|
recipients: ElevenLabs.OutboundCallRecipientResponseModel[];
|
|
23
24
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
1
2
|
export interface ChapterStatisticsResponse {
|
|
2
3
|
/** The number of unconverted characters. */
|
|
3
4
|
charactersUnconverted: number;
|
|
@@ -7,4 +8,6 @@ export interface ChapterStatisticsResponse {
|
|
|
7
8
|
paragraphsConverted: number;
|
|
8
9
|
/** The number of unconverted paragraphs. */
|
|
9
10
|
paragraphsUnconverted: number;
|
|
11
|
+
/** Per-voice breakdown of character counts. */
|
|
12
|
+
voiceStatistics?: ElevenLabs.VoiceStatisticsResponseModel[];
|
|
10
13
|
}
|
|
@@ -17,6 +17,7 @@ export declare const ClientEvent: {
|
|
|
17
17
|
readonly VadScore: "vad_score";
|
|
18
18
|
readonly AgentChatResponsePart: "agent_chat_response_part";
|
|
19
19
|
readonly ClientError: "client_error";
|
|
20
|
+
readonly GuardrailTriggered: "guardrail_triggered";
|
|
20
21
|
readonly InternalTurnProbability: "internal_turn_probability";
|
|
21
22
|
readonly InternalTentativeAgentResponse: "internal_tentative_agent_response";
|
|
22
23
|
};
|
|
@@ -21,6 +21,7 @@ exports.ClientEvent = {
|
|
|
21
21
|
VadScore: "vad_score",
|
|
22
22
|
AgentChatResponsePart: "agent_chat_response_part",
|
|
23
23
|
ClientError: "client_error",
|
|
24
|
+
GuardrailTriggered: "guardrail_triggered",
|
|
24
25
|
InternalTurnProbability: "internal_turn_probability",
|
|
25
26
|
InternalTentativeAgentResponse: "internal_tentative_agent_response",
|
|
26
27
|
};
|
|
@@ -3,7 +3,7 @@ export interface ConversationUserResponseModel {
|
|
|
3
3
|
lastContactUnixSecs: number;
|
|
4
4
|
firstContactUnixSecs: number;
|
|
5
5
|
conversationCount: number;
|
|
6
|
-
lastContactAgentId
|
|
7
|
-
lastContactConversationId
|
|
6
|
+
lastContactAgentId: string;
|
|
7
|
+
lastContactConversationId: string;
|
|
8
8
|
lastContactAgentName?: string;
|
|
9
9
|
}
|
|
@@ -8,6 +8,5 @@ export interface CustomGuardrailConfig {
|
|
|
8
8
|
name: string;
|
|
9
9
|
/** Instruction describing what to block, e.g. 'don't talk about politics' */
|
|
10
10
|
prompt: string;
|
|
11
|
-
|
|
12
|
-
model: ElevenLabs.CustomGuardrailConfigModel;
|
|
11
|
+
executionMode?: ElevenLabs.GuardrailExecutionMode;
|
|
13
12
|
}
|
|
@@ -4,7 +4,7 @@ export interface CustomLlm {
|
|
|
4
4
|
url: string;
|
|
5
5
|
/** The model ID to be used if URL serves multiple models */
|
|
6
6
|
modelId?: string;
|
|
7
|
-
/** The API key for authentication */
|
|
7
|
+
/** The API key for authentication. Either a workspace secret reference {'secret_id': '...'} or an environment variable reference {'env_var_label': '...'}. */
|
|
8
8
|
apiKey?: ElevenLabs.ConvAiSecretLocator;
|
|
9
9
|
/** Headers that should be included in the request */
|
|
10
10
|
requestHeaders?: Record<string, ElevenLabs.CustomLlmRequestHeadersValue>;
|
|
@@ -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.GuardrailExecutionMode = void 0;
|
|
5
|
+
exports.GuardrailExecutionMode = {
|
|
6
|
+
Streaming: "streaming",
|
|
7
|
+
Blocking: "blocking",
|
|
8
|
+
};
|
package/dist/api/types/Llm.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const Llm: {
|
|
|
22
22
|
readonly Gemini3ProPreview: "gemini-3-pro-preview";
|
|
23
23
|
readonly Gemini3FlashPreview: "gemini-3-flash-preview";
|
|
24
24
|
readonly ClaudeSonnet45: "claude-sonnet-4-5";
|
|
25
|
+
readonly ClaudeSonnet46: "claude-sonnet-4-6";
|
|
25
26
|
readonly ClaudeSonnet4: "claude-sonnet-4";
|
|
26
27
|
readonly ClaudeHaiku45: "claude-haiku-4-5";
|
|
27
28
|
readonly Claude37Sonnet: "claude-3-7-sonnet";
|
package/dist/api/types/Llm.js
CHANGED
|
@@ -26,6 +26,7 @@ exports.Llm = {
|
|
|
26
26
|
Gemini3ProPreview: "gemini-3-pro-preview",
|
|
27
27
|
Gemini3FlashPreview: "gemini-3-flash-preview",
|
|
28
28
|
ClaudeSonnet45: "claude-sonnet-4-5",
|
|
29
|
+
ClaudeSonnet46: "claude-sonnet-4-6",
|
|
29
30
|
ClaudeSonnet4: "claude-sonnet-4",
|
|
30
31
|
ClaudeHaiku45: "claude-haiku-4-5",
|
|
31
32
|
Claude37Sonnet: "claude-3-7-sonnet",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Response model for music upload endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export interface MusicUploadResponse {
|
|
6
|
+
/** Unique identifier for the uploaded song */
|
|
7
|
+
songId: string;
|
|
8
|
+
/** The composition plan extracted from the uploaded song. Only present if `extract_composition_plan` was True in the request body */
|
|
9
|
+
compositionPlan?: ElevenLabs.MusicPrompt;
|
|
10
|
+
}
|
|
@@ -68,6 +68,8 @@ export interface ProjectExtendedResponse {
|
|
|
68
68
|
publicShareId?: string;
|
|
69
69
|
/** The aspect ratio of the project. */
|
|
70
70
|
aspectRatio?: ElevenLabs.ProjectExtendedResponseModelAspectRatio;
|
|
71
|
+
/** Agent-related settings for the project */
|
|
72
|
+
agentSettings?: ElevenLabs.StudioAgentSettingsModel;
|
|
71
73
|
/** The quality preset level of the project. */
|
|
72
74
|
qualityPreset: ElevenLabs.ProjectExtendedResponseModelQualityPreset;
|
|
73
75
|
/** List of chapters of the project and their metadata. */
|
|
@@ -68,4 +68,6 @@ export interface ProjectResponse {
|
|
|
68
68
|
publicShareId?: string;
|
|
69
69
|
/** The aspect ratio of the project. */
|
|
70
70
|
aspectRatio?: ElevenLabs.ProjectResponseModelAspectRatio;
|
|
71
|
+
/** Agent-related settings for the project */
|
|
72
|
+
agentSettings?: ElevenLabs.StudioAgentSettingsModel;
|
|
71
73
|
}
|
|
@@ -10,6 +10,6 @@ export interface SongSection {
|
|
|
10
10
|
durationMs: number;
|
|
11
11
|
/** The lyrics of the section. Max 200 characters per line. */
|
|
12
12
|
lines: string[];
|
|
13
|
-
/** Optional source to extract the section from. Used for inpainting. Only available to enterprise clients with access to the inpainting
|
|
13
|
+
/** Optional source to extract the section from. Used for inpainting. Only available to enterprise clients with access to the inpainting feature. */
|
|
14
14
|
sourceFrom?: ElevenLabs.SectionSource;
|
|
15
15
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface VoiceStatisticsResponseModel {
|
|
2
|
+
/** The voice ID. */
|
|
3
|
+
voiceId: string;
|
|
4
|
+
/** The number of unconverted characters for this voice. */
|
|
5
|
+
charactersUnconverted: number;
|
|
6
|
+
/** The number of converted characters for this voice. */
|
|
7
|
+
charactersConverted: number;
|
|
8
|
+
}
|