@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
|
@@ -43,5 +43,6 @@ exports.GetWhatsAppAccountResponse = core.serialization.object({
|
|
|
43
43
|
phoneNumberName: core.serialization.property("phone_number_name", core.serialization.string()),
|
|
44
44
|
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
|
45
45
|
assignedAgentId: core.serialization.property("assigned_agent_id", core.serialization.string().optional()),
|
|
46
|
+
enableMessaging: core.serialization.property("enable_messaging", core.serialization.boolean().optional()),
|
|
46
47
|
assignedAgentName: core.serialization.property("assigned_agent_name", core.serialization.string().optional()),
|
|
47
48
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const GuardrailExecutionMode: core.serialization.Schema<serializers.GuardrailExecutionMode.Raw, ElevenLabs.GuardrailExecutionMode>;
|
|
5
|
+
export declare namespace GuardrailExecutionMode {
|
|
6
|
+
type Raw = "streaming" | "blocking";
|
|
7
|
+
}
|
package/dist/serialization/types/{CustomGuardrailConfigModel.js → GuardrailExecutionMode.js}
RENAMED
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.GuardrailExecutionMode = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.GuardrailExecutionMode = core.serialization.enum_(["streaming", "blocking"]);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const ListAssetsParams: core.serialization.ObjectSchema<serializers.ListAssetsParams.Raw, ElevenLabs.ListAssetsParams>;
|
|
5
5
|
export declare namespace ListAssetsParams {
|
|
6
6
|
interface Raw {
|
|
7
|
+
list_kwargs?: Record<string, unknown> | null;
|
|
7
8
|
smb_tool_type?: "list_assets" | null;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -37,5 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListAssetsParams = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.ListAssetsParams = core.serialization.object({
|
|
40
|
+
listKwargs: core.serialization.property("list_kwargs", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
40
41
|
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_assets").optional()),
|
|
41
42
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ListCalendarEventsParams: core.serialization.ObjectSchema<serializers.ListCalendarEventsParams.Raw, ElevenLabs.ListCalendarEventsParams>;
|
|
5
|
+
export declare namespace ListCalendarEventsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "list_calendar_events" | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.ListCalendarEventsParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ListCalendarEventsParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_calendar_events").optional()),
|
|
41
|
+
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const ListProductsParams: core.serialization.ObjectSchema<serializers.ListProductsParams.Raw, ElevenLabs.ListProductsParams>;
|
|
5
5
|
export declare namespace ListProductsParams {
|
|
6
6
|
interface Raw {
|
|
7
|
+
list_kwargs?: Record<string, unknown> | null;
|
|
7
8
|
smb_tool_type?: "list_products" | null;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -37,5 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListProductsParams = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.ListProductsParams = core.serialization.object({
|
|
40
|
+
listKwargs: core.serialization.property("list_kwargs", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
40
41
|
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_products").optional()),
|
|
41
42
|
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const ListServicesParams: core.serialization.ObjectSchema<serializers.ListServicesParams.Raw, ElevenLabs.ListServicesParams>;
|
|
5
5
|
export declare namespace ListServicesParams {
|
|
6
6
|
interface Raw {
|
|
7
|
+
list_kwargs?: Record<string, unknown> | null;
|
|
7
8
|
smb_tool_type?: "list_services" | null;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -37,5 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListServicesParams = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.ListServicesParams = core.serialization.object({
|
|
40
|
+
listKwargs: core.serialization.property("list_kwargs", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
40
41
|
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_services").optional()),
|
|
41
42
|
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const ListStaffParams: core.serialization.ObjectSchema<serializers.ListStaffParams.Raw, ElevenLabs.ListStaffParams>;
|
|
5
5
|
export declare namespace ListStaffParams {
|
|
6
6
|
interface Raw {
|
|
7
|
+
list_kwargs?: Record<string, unknown> | null;
|
|
7
8
|
smb_tool_type?: "list_staff" | null;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -37,5 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListStaffParams = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.ListStaffParams = core.serialization.object({
|
|
40
|
+
listKwargs: core.serialization.property("list_kwargs", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
40
41
|
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_staff").optional()),
|
|
41
42
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const Llm: core.serialization.Schema<serializers.Llm.Raw, ElevenLabs.Llm>;
|
|
5
5
|
export declare namespace Llm {
|
|
6
|
-
type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5.2-chat-latest" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-3-pro-preview" | "gemini-3-flash-preview" | "claude-sonnet-4-5" | "claude-sonnet-4" | "claude-haiku-4-5" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-haiku-4-5@20251001" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5.1-2025-11-13" | "gpt-5.2-2025-12-11" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
|
|
6
|
+
type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5.2-chat-latest" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-3-pro-preview" | "gemini-3-flash-preview" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-4" | "claude-haiku-4-5" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-haiku-4-5@20251001" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5.1-2025-11-13" | "gpt-5.2-2025-12-11" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
|
|
7
7
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { GuardrailExecutionMode } from "./GuardrailExecutionMode";
|
|
4
5
|
import { ModerationConfig } from "./ModerationConfig";
|
|
5
6
|
export declare const ModerationGuardrailInput: core.serialization.ObjectSchema<serializers.ModerationGuardrailInput.Raw, ElevenLabs.ModerationGuardrailInput>;
|
|
6
7
|
export declare namespace ModerationGuardrailInput {
|
|
7
8
|
interface Raw {
|
|
9
|
+
execution_mode?: GuardrailExecutionMode.Raw | null;
|
|
8
10
|
config?: ModerationConfig.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ModerationGuardrailInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const GuardrailExecutionMode_1 = require("./GuardrailExecutionMode");
|
|
39
40
|
const ModerationConfig_1 = require("./ModerationConfig");
|
|
40
41
|
exports.ModerationGuardrailInput = core.serialization.object({
|
|
42
|
+
executionMode: core.serialization.property("execution_mode", GuardrailExecutionMode_1.GuardrailExecutionMode.optional()),
|
|
41
43
|
config: ModerationConfig_1.ModerationConfig.optional(),
|
|
42
44
|
});
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { GuardrailExecutionMode } from "./GuardrailExecutionMode";
|
|
4
5
|
import { ModerationConfig } from "./ModerationConfig";
|
|
5
6
|
export declare const ModerationGuardrailOutput: core.serialization.ObjectSchema<serializers.ModerationGuardrailOutput.Raw, ElevenLabs.ModerationGuardrailOutput>;
|
|
6
7
|
export declare namespace ModerationGuardrailOutput {
|
|
7
8
|
interface Raw {
|
|
9
|
+
execution_mode?: GuardrailExecutionMode.Raw | null;
|
|
8
10
|
config?: ModerationConfig.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ModerationGuardrailOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const GuardrailExecutionMode_1 = require("./GuardrailExecutionMode");
|
|
39
40
|
const ModerationConfig_1 = require("./ModerationConfig");
|
|
40
41
|
exports.ModerationGuardrailOutput = core.serialization.object({
|
|
42
|
+
executionMode: core.serialization.property("execution_mode", GuardrailExecutionMode_1.GuardrailExecutionMode.optional()),
|
|
41
43
|
config: ModerationConfig_1.ModerationConfig.optional(),
|
|
42
44
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { MusicPrompt } from "./MusicPrompt";
|
|
5
|
+
export declare const MusicUploadResponse: core.serialization.ObjectSchema<serializers.MusicUploadResponse.Raw, ElevenLabs.MusicUploadResponse>;
|
|
6
|
+
export declare namespace MusicUploadResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
song_id: string;
|
|
9
|
+
composition_plan?: MusicPrompt.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.MusicUploadResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const MusicPrompt_1 = require("./MusicPrompt");
|
|
40
|
+
exports.MusicUploadResponse = core.serialization.object({
|
|
41
|
+
songId: core.serialization.property("song_id", core.serialization.string()),
|
|
42
|
+
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
43
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import * as serializers from "../index";
|
|
4
|
+
import { RequiredConstraints } from "./RequiredConstraints";
|
|
4
5
|
export declare const ObjectJsonSchemaPropertyInput: core.serialization.ObjectSchema<serializers.ObjectJsonSchemaPropertyInput.Raw, ElevenLabs.ObjectJsonSchemaPropertyInput>;
|
|
5
6
|
export declare namespace ObjectJsonSchemaPropertyInput {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace ObjectJsonSchemaPropertyInput {
|
|
|
8
9
|
required?: string[] | null;
|
|
9
10
|
description?: string | null;
|
|
10
11
|
properties?: Record<string, serializers.ObjectJsonSchemaPropertyInputPropertiesValue.Raw> | null;
|
|
12
|
+
required_constraints?: RequiredConstraints.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ObjectJsonSchemaPropertyInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const serializers = __importStar(require("../index"));
|
|
40
|
+
const RequiredConstraints_1 = require("./RequiredConstraints");
|
|
40
41
|
exports.ObjectJsonSchemaPropertyInput = core.serialization.object({
|
|
41
42
|
type: core.serialization.stringLiteral("object").optional(),
|
|
42
43
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
@@ -44,4 +45,5 @@ exports.ObjectJsonSchemaPropertyInput = core.serialization.object({
|
|
|
44
45
|
properties: core.serialization
|
|
45
46
|
.record(core.serialization.string(), core.serialization.lazy(() => serializers.ObjectJsonSchemaPropertyInputPropertiesValue))
|
|
46
47
|
.optional(),
|
|
48
|
+
requiredConstraints: core.serialization.property("required_constraints", RequiredConstraints_1.RequiredConstraints.optional()),
|
|
47
49
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import * as serializers from "../index";
|
|
4
|
+
import { RequiredConstraints } from "./RequiredConstraints";
|
|
4
5
|
export declare const ObjectJsonSchemaPropertyOutput: core.serialization.ObjectSchema<serializers.ObjectJsonSchemaPropertyOutput.Raw, ElevenLabs.ObjectJsonSchemaPropertyOutput>;
|
|
5
6
|
export declare namespace ObjectJsonSchemaPropertyOutput {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace ObjectJsonSchemaPropertyOutput {
|
|
|
8
9
|
required?: string[] | null;
|
|
9
10
|
description?: string | null;
|
|
10
11
|
properties?: Record<string, serializers.ObjectJsonSchemaPropertyOutputPropertiesValue.Raw> | null;
|
|
12
|
+
required_constraints?: RequiredConstraints.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ObjectJsonSchemaPropertyOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const serializers = __importStar(require("../index"));
|
|
40
|
+
const RequiredConstraints_1 = require("./RequiredConstraints");
|
|
40
41
|
exports.ObjectJsonSchemaPropertyOutput = core.serialization.object({
|
|
41
42
|
type: core.serialization.stringLiteral("object").optional(),
|
|
42
43
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
@@ -44,4 +45,5 @@ exports.ObjectJsonSchemaPropertyOutput = core.serialization.object({
|
|
|
44
45
|
properties: core.serialization
|
|
45
46
|
.record(core.serialization.string(), core.serialization.lazy(() => serializers.ObjectJsonSchemaPropertyOutputPropertiesValue))
|
|
46
47
|
.optional(),
|
|
48
|
+
requiredConstraints: core.serialization.property("required_constraints", RequiredConstraints_1.RequiredConstraints.optional()),
|
|
47
49
|
});
|
|
@@ -17,6 +17,7 @@ import { ProjectState } from "./ProjectState";
|
|
|
17
17
|
import { ProjectVoiceResponseModel } from "./ProjectVoiceResponseModel";
|
|
18
18
|
import { PronunciationDictionaryLocatorResponseModel } from "./PronunciationDictionaryLocatorResponseModel";
|
|
19
19
|
import { PronunciationDictionaryVersionResponseModel } from "./PronunciationDictionaryVersionResponseModel";
|
|
20
|
+
import { StudioAgentSettingsModel } from "./StudioAgentSettingsModel";
|
|
20
21
|
import { Voice } from "./Voice";
|
|
21
22
|
export declare const ProjectExtendedResponse: core.serialization.ObjectSchema<serializers.ProjectExtendedResponse.Raw, ElevenLabs.ProjectExtendedResponse>;
|
|
22
23
|
export declare namespace ProjectExtendedResponse {
|
|
@@ -55,6 +56,7 @@ export declare namespace ProjectExtendedResponse {
|
|
|
55
56
|
caption_style_template_overrides?: Record<string, CaptionStyleModel.Raw | null | undefined> | null;
|
|
56
57
|
public_share_id?: string | null;
|
|
57
58
|
aspect_ratio?: ProjectExtendedResponseModelAspectRatio.Raw | null;
|
|
59
|
+
agent_settings?: StudioAgentSettingsModel.Raw | null;
|
|
58
60
|
quality_preset: ProjectExtendedResponseModelQualityPreset.Raw;
|
|
59
61
|
chapters: ChapterResponse.Raw[];
|
|
60
62
|
pronunciation_dictionary_versions: PronunciationDictionaryVersionResponseModel.Raw[];
|
|
@@ -52,6 +52,7 @@ const ProjectState_1 = require("./ProjectState");
|
|
|
52
52
|
const ProjectVoiceResponseModel_1 = require("./ProjectVoiceResponseModel");
|
|
53
53
|
const PronunciationDictionaryLocatorResponseModel_1 = require("./PronunciationDictionaryLocatorResponseModel");
|
|
54
54
|
const PronunciationDictionaryVersionResponseModel_1 = require("./PronunciationDictionaryVersionResponseModel");
|
|
55
|
+
const StudioAgentSettingsModel_1 = require("./StudioAgentSettingsModel");
|
|
55
56
|
const Voice_1 = require("./Voice");
|
|
56
57
|
exports.ProjectExtendedResponse = core.serialization.object({
|
|
57
58
|
projectId: core.serialization.property("project_id", core.serialization.string()),
|
|
@@ -88,6 +89,7 @@ exports.ProjectExtendedResponse = core.serialization.object({
|
|
|
88
89
|
captionStyleTemplateOverrides: core.serialization.property("caption_style_template_overrides", core.serialization.record(core.serialization.string(), CaptionStyleModel_1.CaptionStyleModel.optional()).optional()),
|
|
89
90
|
publicShareId: core.serialization.property("public_share_id", core.serialization.string().optional()),
|
|
90
91
|
aspectRatio: core.serialization.property("aspect_ratio", ProjectExtendedResponseModelAspectRatio_1.ProjectExtendedResponseModelAspectRatio.optional()),
|
|
92
|
+
agentSettings: core.serialization.property("agent_settings", StudioAgentSettingsModel_1.StudioAgentSettingsModel.optional()),
|
|
91
93
|
qualityPreset: core.serialization.property("quality_preset", ProjectExtendedResponseModelQualityPreset_1.ProjectExtendedResponseModelQualityPreset),
|
|
92
94
|
chapters: core.serialization.list(ChapterResponse_1.ChapterResponse),
|
|
93
95
|
pronunciationDictionaryVersions: core.serialization.property("pronunciation_dictionary_versions", core.serialization.list(PronunciationDictionaryVersionResponseModel_1.PronunciationDictionaryVersionResponseModel)),
|
|
@@ -9,6 +9,7 @@ import { ProjectResponseModelFiction } from "./ProjectResponseModelFiction";
|
|
|
9
9
|
import { ProjectResponseModelSourceType } from "./ProjectResponseModelSourceType";
|
|
10
10
|
import { ProjectResponseModelTargetAudience } from "./ProjectResponseModelTargetAudience";
|
|
11
11
|
import { ProjectState } from "./ProjectState";
|
|
12
|
+
import { StudioAgentSettingsModel } from "./StudioAgentSettingsModel";
|
|
12
13
|
export declare const ProjectResponse: core.serialization.ObjectSchema<serializers.ProjectResponse.Raw, ElevenLabs.ProjectResponse>;
|
|
13
14
|
export declare namespace ProjectResponse {
|
|
14
15
|
interface Raw {
|
|
@@ -46,5 +47,6 @@ export declare namespace ProjectResponse {
|
|
|
46
47
|
caption_style_template_overrides?: Record<string, CaptionStyleModel.Raw | null | undefined> | null;
|
|
47
48
|
public_share_id?: string | null;
|
|
48
49
|
aspect_ratio?: ProjectResponseModelAspectRatio.Raw | null;
|
|
50
|
+
agent_settings?: StudioAgentSettingsModel.Raw | null;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -44,6 +44,7 @@ const ProjectResponseModelFiction_1 = require("./ProjectResponseModelFiction");
|
|
|
44
44
|
const ProjectResponseModelSourceType_1 = require("./ProjectResponseModelSourceType");
|
|
45
45
|
const ProjectResponseModelTargetAudience_1 = require("./ProjectResponseModelTargetAudience");
|
|
46
46
|
const ProjectState_1 = require("./ProjectState");
|
|
47
|
+
const StudioAgentSettingsModel_1 = require("./StudioAgentSettingsModel");
|
|
47
48
|
exports.ProjectResponse = core.serialization.object({
|
|
48
49
|
projectId: core.serialization.property("project_id", core.serialization.string()),
|
|
49
50
|
name: core.serialization.string(),
|
|
@@ -79,4 +80,5 @@ exports.ProjectResponse = core.serialization.object({
|
|
|
79
80
|
captionStyleTemplateOverrides: core.serialization.property("caption_style_template_overrides", core.serialization.record(core.serialization.string(), CaptionStyleModel_1.CaptionStyleModel.optional()).optional()),
|
|
80
81
|
publicShareId: core.serialization.property("public_share_id", core.serialization.string().optional()),
|
|
81
82
|
aspectRatio: core.serialization.property("aspect_ratio", ProjectResponseModelAspectRatio_1.ProjectResponseModelAspectRatio.optional()),
|
|
83
|
+
agentSettings: core.serialization.property("agent_settings", StudioAgentSettingsModel_1.StudioAgentSettingsModel.optional()),
|
|
82
84
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const RequiredConstraint: core.serialization.ObjectSchema<serializers.RequiredConstraint.Raw, ElevenLabs.RequiredConstraint>;
|
|
5
|
+
export declare namespace RequiredConstraint {
|
|
6
|
+
interface Raw {
|
|
7
|
+
required: string[];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.RequiredConstraint = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.RequiredConstraint = core.serialization.object({
|
|
40
|
+
required: core.serialization.list(core.serialization.string()),
|
|
41
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { RequiredConstraint } from "./RequiredConstraint";
|
|
5
|
+
export declare const RequiredConstraints: core.serialization.ObjectSchema<serializers.RequiredConstraints.Raw, ElevenLabs.RequiredConstraints>;
|
|
6
|
+
export declare namespace RequiredConstraints {
|
|
7
|
+
interface Raw {
|
|
8
|
+
any_of?: RequiredConstraint.Raw[] | null;
|
|
9
|
+
all_of?: RequiredConstraint.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.RequiredConstraints = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const RequiredConstraint_1 = require("./RequiredConstraint");
|
|
40
|
+
exports.RequiredConstraints = core.serialization.object({
|
|
41
|
+
anyOf: core.serialization.property("any_of", core.serialization.list(RequiredConstraint_1.RequiredConstraint).optional()),
|
|
42
|
+
allOf: core.serialization.property("all_of", core.serialization.list(RequiredConstraint_1.RequiredConstraint).optional()),
|
|
43
|
+
});
|
|
@@ -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 { StudioAgentToolSettingsModel } from "./StudioAgentToolSettingsModel";
|
|
5
|
+
export declare const StudioAgentSettingsModel: core.serialization.ObjectSchema<serializers.StudioAgentSettingsModel.Raw, ElevenLabs.StudioAgentSettingsModel>;
|
|
6
|
+
export declare namespace StudioAgentSettingsModel {
|
|
7
|
+
interface Raw {
|
|
8
|
+
tool_settings?: Record<string, StudioAgentToolSettingsModel.Raw> | null;
|
|
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.StudioAgentSettingsModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const StudioAgentToolSettingsModel_1 = require("./StudioAgentToolSettingsModel");
|
|
40
|
+
exports.StudioAgentSettingsModel = core.serialization.object({
|
|
41
|
+
toolSettings: core.serialization.property("tool_settings", core.serialization.record(core.serialization.string(), StudioAgentToolSettingsModel_1.StudioAgentToolSettingsModel).optional()),
|
|
42
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const StudioAgentToolSettingsModel: core.serialization.ObjectSchema<serializers.StudioAgentToolSettingsModel.Raw, ElevenLabs.StudioAgentToolSettingsModel>;
|
|
5
|
+
export declare namespace StudioAgentToolSettingsModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
skip_confirmation?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|