@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
package/reference.md
CHANGED
|
@@ -3671,7 +3671,7 @@ Transcribe an audio or video file. If webhook is set to true, the request will b
|
|
|
3671
3671
|
```typescript
|
|
3672
3672
|
await client.speechToText.convert({
|
|
3673
3673
|
enableLogging: true,
|
|
3674
|
-
modelId: "
|
|
3674
|
+
modelId: "scribe_v2"
|
|
3675
3675
|
});
|
|
3676
3676
|
|
|
3677
3677
|
```
|
|
@@ -4216,6 +4216,71 @@ await client.music.stream();
|
|
|
4216
4216
|
</dl>
|
|
4217
4217
|
|
|
4218
4218
|
|
|
4219
|
+
</dd>
|
|
4220
|
+
</dl>
|
|
4221
|
+
</details>
|
|
4222
|
+
|
|
4223
|
+
<details><summary><code>client.music.<a href="/src/api/resources/music/client/Client.ts">upload</a>({ ...params }) -> ElevenLabs.MusicUploadResponse</code></summary>
|
|
4224
|
+
<dl>
|
|
4225
|
+
<dd>
|
|
4226
|
+
|
|
4227
|
+
#### 📝 Description
|
|
4228
|
+
|
|
4229
|
+
<dl>
|
|
4230
|
+
<dd>
|
|
4231
|
+
|
|
4232
|
+
<dl>
|
|
4233
|
+
<dd>
|
|
4234
|
+
|
|
4235
|
+
Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
|
|
4236
|
+
</dd>
|
|
4237
|
+
</dl>
|
|
4238
|
+
</dd>
|
|
4239
|
+
</dl>
|
|
4240
|
+
|
|
4241
|
+
#### 🔌 Usage
|
|
4242
|
+
|
|
4243
|
+
<dl>
|
|
4244
|
+
<dd>
|
|
4245
|
+
|
|
4246
|
+
<dl>
|
|
4247
|
+
<dd>
|
|
4248
|
+
|
|
4249
|
+
```typescript
|
|
4250
|
+
await client.music.upload({
|
|
4251
|
+
file: fs.createReadStream("/path/to/your/file")
|
|
4252
|
+
});
|
|
4253
|
+
|
|
4254
|
+
```
|
|
4255
|
+
</dd>
|
|
4256
|
+
</dl>
|
|
4257
|
+
</dd>
|
|
4258
|
+
</dl>
|
|
4259
|
+
|
|
4260
|
+
#### ⚙️ Parameters
|
|
4261
|
+
|
|
4262
|
+
<dl>
|
|
4263
|
+
<dd>
|
|
4264
|
+
|
|
4265
|
+
<dl>
|
|
4266
|
+
<dd>
|
|
4267
|
+
|
|
4268
|
+
**request:** `ElevenLabs.BodyUploadMusicV1MusicUploadPost`
|
|
4269
|
+
|
|
4270
|
+
</dd>
|
|
4271
|
+
</dl>
|
|
4272
|
+
|
|
4273
|
+
<dl>
|
|
4274
|
+
<dd>
|
|
4275
|
+
|
|
4276
|
+
**requestOptions:** `MusicClient.RequestOptions`
|
|
4277
|
+
|
|
4278
|
+
</dd>
|
|
4279
|
+
</dl>
|
|
4280
|
+
</dd>
|
|
4281
|
+
</dl>
|
|
4282
|
+
|
|
4283
|
+
|
|
4219
4284
|
</dd>
|
|
4220
4285
|
</dl>
|
|
4221
4286
|
</details>
|
|
@@ -4870,6 +4935,7 @@ Create an agent from a config object
|
|
|
4870
4935
|
|
|
4871
4936
|
```typescript
|
|
4872
4937
|
await client.conversationalAi.agents.create({
|
|
4938
|
+
enableVersioning: true,
|
|
4873
4939
|
conversationConfig: {}
|
|
4874
4940
|
});
|
|
4875
4941
|
|
|
@@ -5072,6 +5138,7 @@ Patches an Agent settings
|
|
|
5072
5138
|
|
|
5073
5139
|
```typescript
|
|
5074
5140
|
await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
5141
|
+
enableVersioningIfNotEnabled: true,
|
|
5075
5142
|
branchId: "branch_id"
|
|
5076
5143
|
});
|
|
5077
5144
|
|
|
@@ -13253,6 +13320,85 @@ await client.music.compositionPlan.create({
|
|
|
13253
13320
|
</details>
|
|
13254
13321
|
|
|
13255
13322
|
## PronunciationDictionaries Rules
|
|
13323
|
+
<details><summary><code>client.pronunciationDictionaries.rules.<a href="/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts">set</a>(pronunciation_dictionary_id, { ...params }) -> ElevenLabs.PronunciationDictionaryRulesResponseModel</code></summary>
|
|
13324
|
+
<dl>
|
|
13325
|
+
<dd>
|
|
13326
|
+
|
|
13327
|
+
#### 📝 Description
|
|
13328
|
+
|
|
13329
|
+
<dl>
|
|
13330
|
+
<dd>
|
|
13331
|
+
|
|
13332
|
+
<dl>
|
|
13333
|
+
<dd>
|
|
13334
|
+
|
|
13335
|
+
Replaces all existing rules on the pronunciation dictionary with the provided ones.
|
|
13336
|
+
</dd>
|
|
13337
|
+
</dl>
|
|
13338
|
+
</dd>
|
|
13339
|
+
</dl>
|
|
13340
|
+
|
|
13341
|
+
#### 🔌 Usage
|
|
13342
|
+
|
|
13343
|
+
<dl>
|
|
13344
|
+
<dd>
|
|
13345
|
+
|
|
13346
|
+
<dl>
|
|
13347
|
+
<dd>
|
|
13348
|
+
|
|
13349
|
+
```typescript
|
|
13350
|
+
await client.pronunciationDictionaries.rules.set("21m00Tcm4TlvDq8ikWAM", {
|
|
13351
|
+
rules: [{
|
|
13352
|
+
type: "alias",
|
|
13353
|
+
stringToReplace: "Thailand",
|
|
13354
|
+
caseSensitive: true,
|
|
13355
|
+
wordBoundaries: true,
|
|
13356
|
+
alias: "tie-land"
|
|
13357
|
+
}]
|
|
13358
|
+
});
|
|
13359
|
+
|
|
13360
|
+
```
|
|
13361
|
+
</dd>
|
|
13362
|
+
</dl>
|
|
13363
|
+
</dd>
|
|
13364
|
+
</dl>
|
|
13365
|
+
|
|
13366
|
+
#### ⚙️ Parameters
|
|
13367
|
+
|
|
13368
|
+
<dl>
|
|
13369
|
+
<dd>
|
|
13370
|
+
|
|
13371
|
+
<dl>
|
|
13372
|
+
<dd>
|
|
13373
|
+
|
|
13374
|
+
**pronunciation_dictionary_id:** `string` — The id of the pronunciation dictionary
|
|
13375
|
+
|
|
13376
|
+
</dd>
|
|
13377
|
+
</dl>
|
|
13378
|
+
|
|
13379
|
+
<dl>
|
|
13380
|
+
<dd>
|
|
13381
|
+
|
|
13382
|
+
**request:** `ElevenLabs.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost`
|
|
13383
|
+
|
|
13384
|
+
</dd>
|
|
13385
|
+
</dl>
|
|
13386
|
+
|
|
13387
|
+
<dl>
|
|
13388
|
+
<dd>
|
|
13389
|
+
|
|
13390
|
+
**requestOptions:** `RulesClient.RequestOptions`
|
|
13391
|
+
|
|
13392
|
+
</dd>
|
|
13393
|
+
</dl>
|
|
13394
|
+
</dd>
|
|
13395
|
+
</dl>
|
|
13396
|
+
|
|
13397
|
+
|
|
13398
|
+
</dd>
|
|
13399
|
+
</dl>
|
|
13400
|
+
</details>
|
|
13401
|
+
|
|
13256
13402
|
<details><summary><code>client.pronunciationDictionaries.rules.<a href="/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts">add</a>(pronunciation_dictionary_id, { ...params }) -> ElevenLabs.PronunciationDictionaryRulesResponseModel</code></summary>
|
|
13257
13403
|
<dl>
|
|
13258
13404
|
<dd>
|
|
@@ -5,7 +5,7 @@ import { AgentPlatformSettingsRequestModel } from "../../../../../../types/Agent
|
|
|
5
5
|
import { AgentWorkflowRequestModel } from "../../../../../../types/AgentWorkflowRequestModel";
|
|
6
6
|
import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
|
|
7
7
|
import { BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings } from "../../types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings";
|
|
8
|
-
export declare const BodyCreateAgentV1ConvaiAgentsCreatePost: core.serialization.Schema<serializers.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost.Raw, ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost
|
|
8
|
+
export declare const BodyCreateAgentV1ConvaiAgentsCreatePost: core.serialization.Schema<serializers.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost.Raw, Omit<ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost, "enableVersioning">>;
|
|
9
9
|
export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePost {
|
|
10
10
|
interface Raw {
|
|
11
11
|
conversation_config: ConversationalConfig.Raw;
|
|
@@ -5,7 +5,7 @@ import { AgentPlatformSettingsRequestModel } from "../../../../../../types/Agent
|
|
|
5
5
|
import { AgentWorkflowRequestModel } from "../../../../../../types/AgentWorkflowRequestModel";
|
|
6
6
|
import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
|
|
7
7
|
import { BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings } from "../../types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings";
|
|
8
|
-
export declare const UpdateAgentRequest: core.serialization.Schema<serializers.conversationalAi.UpdateAgentRequest.Raw, Omit<ElevenLabs.conversationalAi.UpdateAgentRequest, "branchId">>;
|
|
8
|
+
export declare const UpdateAgentRequest: core.serialization.Schema<serializers.conversationalAi.UpdateAgentRequest.Raw, Omit<ElevenLabs.conversationalAi.UpdateAgentRequest, "enableVersioningIfNotEnabled" | "branchId">>;
|
|
9
9
|
export declare namespace UpdateAgentRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
conversation_config?: ConversationalConfig.Raw | null;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../../../index";
|
|
4
4
|
import { BatchCallWhatsAppParams } from "../../../../../../types/BatchCallWhatsAppParams";
|
|
5
5
|
import { OutboundCallRecipient } from "../../../../../../types/OutboundCallRecipient";
|
|
6
|
+
import { TelephonyCallConfig } from "../../../../../../types/TelephonyCallConfig";
|
|
6
7
|
export declare const BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost: core.serialization.Schema<serializers.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.Raw, ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost>;
|
|
7
8
|
export declare namespace BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
8
9
|
interface Raw {
|
|
@@ -13,5 +14,6 @@ export declare namespace BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPo
|
|
|
13
14
|
agent_phone_number_id?: string | null;
|
|
14
15
|
whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
|
|
15
16
|
timezone?: string | null;
|
|
17
|
+
telephony_call_config?: TelephonyCallConfig.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -38,6 +38,7 @@ exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
39
|
const BatchCallWhatsAppParams_1 = require("../../../../../../types/BatchCallWhatsAppParams");
|
|
40
40
|
const OutboundCallRecipient_1 = require("../../../../../../types/OutboundCallRecipient");
|
|
41
|
+
const TelephonyCallConfig_1 = require("../../../../../../types/TelephonyCallConfig");
|
|
41
42
|
exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.serialization.object({
|
|
42
43
|
callName: core.serialization.property("call_name", core.serialization.string()),
|
|
43
44
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
@@ -46,4 +47,5 @@ exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.seriali
|
|
|
46
47
|
agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string().optional()),
|
|
47
48
|
whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
|
|
48
49
|
timezone: core.serialization.string().optional(),
|
|
50
|
+
telephonyCallConfig: core.serialization.property("telephony_call_config", TelephonyCallConfig_1.TelephonyCallConfig.optional()),
|
|
49
51
|
});
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../../index";
|
|
4
4
|
import { ConversationInitiationClientDataRequestInput } from "../../../../../../types/ConversationInitiationClientDataRequestInput";
|
|
5
|
+
import { TelephonyCallConfig } from "../../../../../../types/TelephonyCallConfig";
|
|
5
6
|
export declare const BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost: core.serialization.Schema<serializers.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.Raw, ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost>;
|
|
6
7
|
export declare namespace BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost {
|
|
7
8
|
interface Raw {
|
|
@@ -9,5 +10,6 @@ export declare namespace BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutb
|
|
|
9
10
|
agent_phone_number_id: string;
|
|
10
11
|
to_number: string;
|
|
11
12
|
conversation_initiation_client_data?: ConversationInitiationClientDataRequestInput.Raw | null;
|
|
13
|
+
telephony_call_config?: TelephonyCallConfig.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -37,9 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
39
|
const ConversationInitiationClientDataRequestInput_1 = require("../../../../../../types/ConversationInitiationClientDataRequestInput");
|
|
40
|
+
const TelephonyCallConfig_1 = require("../../../../../../types/TelephonyCallConfig");
|
|
40
41
|
exports.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost = core.serialization.object({
|
|
41
42
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
42
43
|
agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string()),
|
|
43
44
|
toNumber: core.serialization.property("to_number", core.serialization.string()),
|
|
44
45
|
conversationInitiationClientData: core.serialization.property("conversation_initiation_client_data", ConversationInitiationClientDataRequestInput_1.ConversationInitiationClientDataRequestInput.optional()),
|
|
46
|
+
telephonyCallConfig: core.serialization.property("telephony_call_config", TelephonyCallConfig_1.TelephonyCallConfig.optional()),
|
|
45
47
|
});
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../../index";
|
|
4
4
|
import { ConversationInitiationClientDataRequestInput } from "../../../../../../types/ConversationInitiationClientDataRequestInput";
|
|
5
|
+
import { TelephonyCallConfig } from "../../../../../../types/TelephonyCallConfig";
|
|
5
6
|
export declare const BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost: core.serialization.Schema<serializers.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.Raw, ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost>;
|
|
6
7
|
export declare namespace BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost {
|
|
7
8
|
interface Raw {
|
|
@@ -10,5 +11,6 @@ export declare namespace BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutbound
|
|
|
10
11
|
to_number: string;
|
|
11
12
|
conversation_initiation_client_data?: ConversationInitiationClientDataRequestInput.Raw | null;
|
|
12
13
|
call_recording_enabled?: boolean | null;
|
|
14
|
+
telephony_call_config?: TelephonyCallConfig.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
39
|
const ConversationInitiationClientDataRequestInput_1 = require("../../../../../../types/ConversationInitiationClientDataRequestInput");
|
|
40
|
+
const TelephonyCallConfig_1 = require("../../../../../../types/TelephonyCallConfig");
|
|
40
41
|
exports.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost = core.serialization.object({
|
|
41
42
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
42
43
|
agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string()),
|
|
43
44
|
toNumber: core.serialization.property("to_number", core.serialization.string()),
|
|
44
45
|
conversationInitiationClientData: core.serialization.property("conversation_initiation_client_data", ConversationInitiationClientDataRequestInput_1.ConversationInitiationClientDataRequestInput.optional()),
|
|
45
46
|
callRecordingEnabled: core.serialization.property("call_recording_enabled", core.serialization.boolean().optional()),
|
|
47
|
+
telephonyCallConfig: core.serialization.property("telephony_call_config", TelephonyCallConfig_1.TelephonyCallConfig.optional()),
|
|
46
48
|
});
|
|
@@ -38,4 +38,5 @@ exports.UpdateWhatsAppAccountRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
39
|
exports.UpdateWhatsAppAccountRequest = core.serialization.object({
|
|
40
40
|
assignedAgentId: core.serialization.property("assigned_agent_id", core.serialization.string().optional()),
|
|
41
|
+
enableMessaging: core.serialization.property("enable_messaging", core.serialization.boolean().optional()),
|
|
41
42
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
import { BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem } from "../../types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem";
|
|
5
|
+
export declare const BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost: core.serialization.Schema<serializers.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.Raw, ElevenLabs.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost>;
|
|
6
|
+
export declare namespace BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost {
|
|
7
|
+
interface Raw {
|
|
8
|
+
rules: BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
const BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem_1 = require("../../types/BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem");
|
|
40
|
+
exports.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost = core.serialization.object({
|
|
41
|
+
rules: core.serialization.list(BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem_1.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem),
|
|
42
|
+
});
|
package/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export { BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost } from "./BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost";
|
|
1
2
|
export { PronunciationDictionary } from "./PronunciationDictionary";
|
|
2
3
|
export { RemovePronunciationDictionaryRulesRequest } from "./RemovePronunciationDictionaryRulesRequest";
|
package/serialization/resources/pronunciationDictionaries/resources/rules/client/requests/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RemovePronunciationDictionaryRulesRequest = exports.PronunciationDictionary = void 0;
|
|
3
|
+
exports.RemovePronunciationDictionaryRulesRequest = exports.PronunciationDictionary = exports.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost = void 0;
|
|
4
|
+
var BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost_1 = require("./BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost");
|
|
5
|
+
Object.defineProperty(exports, "BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost", { enumerable: true, get: function () { return BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost_1.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost; } });
|
|
4
6
|
var PronunciationDictionary_1 = require("./PronunciationDictionary");
|
|
5
7
|
Object.defineProperty(exports, "PronunciationDictionary", { enumerable: true, get: function () { return PronunciationDictionary_1.PronunciationDictionary; } });
|
|
6
8
|
var RemovePronunciationDictionaryRulesRequest_1 = require("./RemovePronunciationDictionaryRulesRequest");
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { PronunciationDictionaryAliasRuleRequestModel } from "../../../../../types/PronunciationDictionaryAliasRuleRequestModel";
|
|
5
|
+
import { PronunciationDictionaryPhonemeRuleRequestModel } from "../../../../../types/PronunciationDictionaryPhonemeRuleRequestModel";
|
|
6
|
+
export declare const BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem: core.serialization.Schema<serializers.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.Raw, ElevenLabs.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem>;
|
|
7
|
+
export declare namespace BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem {
|
|
8
|
+
type Raw = BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.Alias | BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem.Phoneme;
|
|
9
|
+
interface Alias extends PronunciationDictionaryAliasRuleRequestModel.Raw {
|
|
10
|
+
type: "alias";
|
|
11
|
+
}
|
|
12
|
+
interface Phoneme extends PronunciationDictionaryPhonemeRuleRequestModel.Raw {
|
|
13
|
+
type: "phoneme";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const PronunciationDictionaryAliasRuleRequestModel_1 = require("../../../../../types/PronunciationDictionaryAliasRuleRequestModel");
|
|
40
|
+
const PronunciationDictionaryPhonemeRuleRequestModel_1 = require("../../../../../types/PronunciationDictionaryPhonemeRuleRequestModel");
|
|
41
|
+
exports.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
alias: PronunciationDictionaryAliasRuleRequestModel_1.PronunciationDictionaryAliasRuleRequestModel,
|
|
44
|
+
phoneme: PronunciationDictionaryPhonemeRuleRequestModel_1.PronunciationDictionaryPhonemeRuleRequestModel,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem"), exports);
|
|
17
18
|
__exportStar(require("./PronunciationDictionaryRule"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const SpeechToTextConvertRequestModelId: core.serialization.Schema<serializers.SpeechToTextConvertRequestModelId.Raw, ElevenLabs.SpeechToTextConvertRequestModelId>;
|
|
5
5
|
export declare namespace SpeechToTextConvertRequestModelId {
|
|
6
|
-
type Raw = "
|
|
6
|
+
type Raw = "scribe_v2" | "scribe_v1";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SpeechToTextConvertRequestModelId = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.SpeechToTextConvertRequestModelId = core.serialization.enum_(["
|
|
39
|
+
exports.SpeechToTextConvertRequestModelId = core.serialization.enum_(["scribe_v2", "scribe_v1"]);
|
|
@@ -40,4 +40,5 @@ exports.AgentMetadata = core.serialization.object({
|
|
|
40
40
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
41
41
|
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
42
42
|
workflowNodeId: core.serialization.property("workflow_node_id", core.serialization.string().optional()),
|
|
43
|
+
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
|
|
43
44
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const AsrProvider: core.serialization.Schema<serializers.AsrProvider.Raw, ElevenLabs.AsrProvider>;
|
|
5
5
|
export declare namespace AsrProvider {
|
|
6
|
-
type Raw = "elevenlabs" | "scribe_realtime";
|
|
6
|
+
type Raw = "elevenlabs" | "scribe_realtime" | "scribe_v2_turbo";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AsrProvider = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.AsrProvider = core.serialization.enum_(["elevenlabs", "scribe_realtime"]);
|
|
39
|
+
exports.AsrProvider = core.serialization.enum_(["elevenlabs", "scribe_realtime", "scribe_v2_turbo"]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BatchCallStatus } from "./BatchCallStatus";
|
|
5
5
|
import { BatchCallWhatsAppParams } from "./BatchCallWhatsAppParams";
|
|
6
6
|
import { OutboundCallRecipientResponseModel } from "./OutboundCallRecipientResponseModel";
|
|
7
|
+
import { TelephonyCallConfig } from "./TelephonyCallConfig";
|
|
7
8
|
import { TelephonyProvider } from "./TelephonyProvider";
|
|
8
9
|
export declare const BatchCallDetailedResponse: core.serialization.ObjectSchema<serializers.BatchCallDetailedResponse.Raw, ElevenLabs.BatchCallDetailedResponse>;
|
|
9
10
|
export declare namespace BatchCallDetailedResponse {
|
|
@@ -23,6 +24,7 @@ export declare namespace BatchCallDetailedResponse {
|
|
|
23
24
|
last_updated_at_unix: number;
|
|
24
25
|
status: BatchCallStatus.Raw;
|
|
25
26
|
retry_count: number;
|
|
27
|
+
telephony_call_config: TelephonyCallConfig.Raw;
|
|
26
28
|
agent_name: string;
|
|
27
29
|
recipients: OutboundCallRecipientResponseModel.Raw[];
|
|
28
30
|
}
|
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const BatchCallStatus_1 = require("./BatchCallStatus");
|
|
40
40
|
const BatchCallWhatsAppParams_1 = require("./BatchCallWhatsAppParams");
|
|
41
41
|
const OutboundCallRecipientResponseModel_1 = require("./OutboundCallRecipientResponseModel");
|
|
42
|
+
const TelephonyCallConfig_1 = require("./TelephonyCallConfig");
|
|
42
43
|
const TelephonyProvider_1 = require("./TelephonyProvider");
|
|
43
44
|
exports.BatchCallDetailedResponse = core.serialization.object({
|
|
44
45
|
id: core.serialization.string(),
|
|
@@ -56,6 +57,7 @@ exports.BatchCallDetailedResponse = core.serialization.object({
|
|
|
56
57
|
lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number()),
|
|
57
58
|
status: BatchCallStatus_1.BatchCallStatus,
|
|
58
59
|
retryCount: core.serialization.property("retry_count", core.serialization.number()),
|
|
60
|
+
telephonyCallConfig: core.serialization.property("telephony_call_config", TelephonyCallConfig_1.TelephonyCallConfig),
|
|
59
61
|
agentName: core.serialization.property("agent_name", core.serialization.string()),
|
|
60
62
|
recipients: core.serialization.list(OutboundCallRecipientResponseModel_1.OutboundCallRecipientResponseModel),
|
|
61
63
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BatchCallStatus } from "./BatchCallStatus";
|
|
5
5
|
import { BatchCallWhatsAppParams } from "./BatchCallWhatsAppParams";
|
|
6
|
+
import { TelephonyCallConfig } from "./TelephonyCallConfig";
|
|
6
7
|
import { TelephonyProvider } from "./TelephonyProvider";
|
|
7
8
|
export declare const BatchCallResponse: core.serialization.ObjectSchema<serializers.BatchCallResponse.Raw, ElevenLabs.BatchCallResponse>;
|
|
8
9
|
export declare namespace BatchCallResponse {
|
|
@@ -22,6 +23,7 @@ export declare namespace BatchCallResponse {
|
|
|
22
23
|
last_updated_at_unix: number;
|
|
23
24
|
status: BatchCallStatus.Raw;
|
|
24
25
|
retry_count: number;
|
|
26
|
+
telephony_call_config: TelephonyCallConfig.Raw;
|
|
25
27
|
agent_name: string;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
@@ -38,6 +38,7 @@ exports.BatchCallResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const BatchCallStatus_1 = require("./BatchCallStatus");
|
|
40
40
|
const BatchCallWhatsAppParams_1 = require("./BatchCallWhatsAppParams");
|
|
41
|
+
const TelephonyCallConfig_1 = require("./TelephonyCallConfig");
|
|
41
42
|
const TelephonyProvider_1 = require("./TelephonyProvider");
|
|
42
43
|
exports.BatchCallResponse = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
@@ -55,5 +56,6 @@ exports.BatchCallResponse = core.serialization.object({
|
|
|
55
56
|
lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number()),
|
|
56
57
|
status: BatchCallStatus_1.BatchCallStatus,
|
|
57
58
|
retryCount: core.serialization.property("retry_count", core.serialization.number()),
|
|
59
|
+
telephonyCallConfig: core.serialization.property("telephony_call_config", TelephonyCallConfig_1.TelephonyCallConfig),
|
|
58
60
|
agentName: core.serialization.property("agent_name", core.serialization.string()),
|
|
59
61
|
});
|
|
@@ -45,4 +45,8 @@ exports.CanvasPlacement = core.serialization.object({
|
|
|
45
45
|
pivotY: core.serialization.property("pivot_y", core.serialization.number().optional()),
|
|
46
46
|
skewX: core.serialization.property("skew_x", core.serialization.number().optional()),
|
|
47
47
|
skewY: core.serialization.property("skew_y", core.serialization.number().optional()),
|
|
48
|
+
cropTop: core.serialization.property("crop_top", core.serialization.number().optional()),
|
|
49
|
+
cropRight: core.serialization.property("crop_right", core.serialization.number().optional()),
|
|
50
|
+
cropBottom: core.serialization.property("crop_bottom", core.serialization.number().optional()),
|
|
51
|
+
cropLeft: core.serialization.property("crop_left", core.serialization.number().optional()),
|
|
48
52
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { VoiceStatisticsResponseModel } from "./VoiceStatisticsResponseModel";
|
|
4
5
|
export declare const ChapterStatisticsResponse: core.serialization.ObjectSchema<serializers.ChapterStatisticsResponse.Raw, ElevenLabs.ChapterStatisticsResponse>;
|
|
5
6
|
export declare namespace ChapterStatisticsResponse {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace ChapterStatisticsResponse {
|
|
|
8
9
|
characters_converted: number;
|
|
9
10
|
paragraphs_converted: number;
|
|
10
11
|
paragraphs_unconverted: number;
|
|
12
|
+
voice_statistics?: VoiceStatisticsResponseModel.Raw[] | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -36,9 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ChapterStatisticsResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const VoiceStatisticsResponseModel_1 = require("./VoiceStatisticsResponseModel");
|
|
39
40
|
exports.ChapterStatisticsResponse = core.serialization.object({
|
|
40
41
|
charactersUnconverted: core.serialization.property("characters_unconverted", core.serialization.number()),
|
|
41
42
|
charactersConverted: core.serialization.property("characters_converted", core.serialization.number()),
|
|
42
43
|
paragraphsConverted: core.serialization.property("paragraphs_converted", core.serialization.number()),
|
|
43
44
|
paragraphsUnconverted: core.serialization.property("paragraphs_unconverted", core.serialization.number()),
|
|
45
|
+
voiceStatistics: core.serialization.property("voice_statistics", core.serialization.list(VoiceStatisticsResponseModel_1.VoiceStatisticsResponseModel).optional()),
|
|
44
46
|
});
|