@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
|
@@ -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
|
});
|
|
@@ -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 CheckServiceAvailabilityParams: core.serialization.ObjectSchema<serializers.CheckServiceAvailabilityParams.Raw, ElevenLabs.CheckServiceAvailabilityParams>;
|
|
5
|
+
export declare namespace CheckServiceAvailabilityParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "check_service_availability" | 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.CheckServiceAvailabilityParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.CheckServiceAvailabilityParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("check_service_availability").optional()),
|
|
41
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ClientEvent: core.serialization.Schema<serializers.ClientEvent.Raw, ElevenLabs.ClientEvent>;
|
|
5
5
|
export declare namespace ClientEvent {
|
|
6
|
-
type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_request" | "agent_tool_response" | "agent_response_metadata" | "vad_score" | "agent_chat_response_part" | "client_error" | "internal_turn_probability" | "internal_tentative_agent_response";
|
|
6
|
+
type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_request" | "agent_tool_response" | "agent_response_metadata" | "vad_score" | "agent_chat_response_part" | "client_error" | "guardrail_triggered" | "internal_turn_probability" | "internal_tentative_agent_response";
|
|
7
7
|
}
|
|
@@ -2,9 +2,11 @@ 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 { ContentConfig } from "./ContentConfig";
|
|
5
|
+
import { GuardrailExecutionMode } from "./GuardrailExecutionMode";
|
|
5
6
|
export declare const ContentGuardrailInput: core.serialization.ObjectSchema<serializers.ContentGuardrailInput.Raw, ElevenLabs.ContentGuardrailInput>;
|
|
6
7
|
export declare namespace ContentGuardrailInput {
|
|
7
8
|
interface Raw {
|
|
9
|
+
execution_mode?: GuardrailExecutionMode.Raw | null;
|
|
8
10
|
config?: ContentConfig.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -37,6 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ContentGuardrailInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ContentConfig_1 = require("./ContentConfig");
|
|
40
|
+
const GuardrailExecutionMode_1 = require("./GuardrailExecutionMode");
|
|
40
41
|
exports.ContentGuardrailInput = core.serialization.object({
|
|
42
|
+
executionMode: core.serialization.property("execution_mode", GuardrailExecutionMode_1.GuardrailExecutionMode.optional()),
|
|
41
43
|
config: ContentConfig_1.ContentConfig.optional(),
|
|
42
44
|
});
|
|
@@ -2,9 +2,11 @@ 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 { ContentConfig } from "./ContentConfig";
|
|
5
|
+
import { GuardrailExecutionMode } from "./GuardrailExecutionMode";
|
|
5
6
|
export declare const ContentGuardrailOutput: core.serialization.ObjectSchema<serializers.ContentGuardrailOutput.Raw, ElevenLabs.ContentGuardrailOutput>;
|
|
6
7
|
export declare namespace ContentGuardrailOutput {
|
|
7
8
|
interface Raw {
|
|
9
|
+
execution_mode?: GuardrailExecutionMode.Raw | null;
|
|
8
10
|
config?: ContentConfig.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -37,6 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ContentGuardrailOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ContentConfig_1 = require("./ContentConfig");
|
|
40
|
+
const GuardrailExecutionMode_1 = require("./GuardrailExecutionMode");
|
|
40
41
|
exports.ContentGuardrailOutput = core.serialization.object({
|
|
42
|
+
executionMode: core.serialization.property("execution_mode", GuardrailExecutionMode_1.GuardrailExecutionMode.optional()),
|
|
41
43
|
config: ContentConfig_1.ContentConfig.optional(),
|
|
42
44
|
});
|
|
@@ -8,8 +8,8 @@ export declare namespace ConversationUserResponseModel {
|
|
|
8
8
|
last_contact_unix_secs: number;
|
|
9
9
|
first_contact_unix_secs: number;
|
|
10
10
|
conversation_count: number;
|
|
11
|
-
last_contact_agent_id
|
|
12
|
-
last_contact_conversation_id
|
|
11
|
+
last_contact_agent_id: string;
|
|
12
|
+
last_contact_conversation_id: string;
|
|
13
13
|
last_contact_agent_name?: string | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ exports.ConversationUserResponseModel = core.serialization.object({
|
|
|
41
41
|
lastContactUnixSecs: core.serialization.property("last_contact_unix_secs", core.serialization.number()),
|
|
42
42
|
firstContactUnixSecs: core.serialization.property("first_contact_unix_secs", core.serialization.number()),
|
|
43
43
|
conversationCount: core.serialization.property("conversation_count", core.serialization.number()),
|
|
44
|
-
lastContactAgentId: core.serialization.property("last_contact_agent_id", core.serialization.string()
|
|
45
|
-
lastContactConversationId: core.serialization.property("last_contact_conversation_id", core.serialization.string()
|
|
44
|
+
lastContactAgentId: core.serialization.property("last_contact_agent_id", core.serialization.string()),
|
|
45
|
+
lastContactConversationId: core.serialization.property("last_contact_conversation_id", core.serialization.string()),
|
|
46
46
|
lastContactAgentName: core.serialization.property("last_contact_agent_name", core.serialization.string().optional()),
|
|
47
47
|
});
|
|
@@ -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 CreateAssetParams: core.serialization.ObjectSchema<serializers.CreateAssetParams.Raw, ElevenLabs.CreateAssetParams>;
|
|
5
|
+
export declare namespace CreateAssetParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "create_asset" | 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.CreateAssetParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.CreateAssetParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("create_asset").optional()),
|
|
41
|
+
});
|
|
@@ -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 CreateClientAppointmentParams: core.serialization.ObjectSchema<serializers.CreateClientAppointmentParams.Raw, ElevenLabs.CreateClientAppointmentParams>;
|
|
5
|
+
export declare namespace CreateClientAppointmentParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "create_client_appointment" | 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.CreateClientAppointmentParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.CreateClientAppointmentParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("create_client_appointment").optional()),
|
|
41
|
+
});
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
4
|
+
import { GuardrailExecutionMode } from "./GuardrailExecutionMode";
|
|
5
5
|
export declare const CustomGuardrailConfig: core.serialization.ObjectSchema<serializers.CustomGuardrailConfig.Raw, ElevenLabs.CustomGuardrailConfig>;
|
|
6
6
|
export declare namespace CustomGuardrailConfig {
|
|
7
7
|
interface Raw {
|
|
8
8
|
is_enabled?: boolean | null;
|
|
9
9
|
name: string;
|
|
10
10
|
prompt: string;
|
|
11
|
-
|
|
11
|
+
execution_mode?: GuardrailExecutionMode.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CustomGuardrailConfig = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const GuardrailExecutionMode_1 = require("./GuardrailExecutionMode");
|
|
40
40
|
exports.CustomGuardrailConfig = core.serialization.object({
|
|
41
41
|
isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()),
|
|
42
42
|
name: core.serialization.string(),
|
|
43
43
|
prompt: core.serialization.string(),
|
|
44
|
-
|
|
44
|
+
executionMode: core.serialization.property("execution_mode", GuardrailExecutionMode_1.GuardrailExecutionMode.optional()),
|
|
45
45
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
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 {
|
|
4
|
+
import { CustomGuardrailsConfigInput } from "./CustomGuardrailsConfigInput";
|
|
5
5
|
export declare const CustomGuardrailInput: core.serialization.ObjectSchema<serializers.CustomGuardrailInput.Raw, ElevenLabs.CustomGuardrailInput>;
|
|
6
6
|
export declare namespace CustomGuardrailInput {
|
|
7
7
|
interface Raw {
|
|
8
|
-
config?:
|
|
8
|
+
config?: CustomGuardrailsConfigInput.Raw | null;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CustomGuardrailInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const CustomGuardrailsConfigInput_1 = require("./CustomGuardrailsConfigInput");
|
|
40
40
|
exports.CustomGuardrailInput = core.serialization.object({
|
|
41
|
-
config:
|
|
41
|
+
config: CustomGuardrailsConfigInput_1.CustomGuardrailsConfigInput.optional(),
|
|
42
42
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
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 {
|
|
4
|
+
import { CustomGuardrailsConfigOutput } from "./CustomGuardrailsConfigOutput";
|
|
5
5
|
export declare const CustomGuardrailOutput: core.serialization.ObjectSchema<serializers.CustomGuardrailOutput.Raw, ElevenLabs.CustomGuardrailOutput>;
|
|
6
6
|
export declare namespace CustomGuardrailOutput {
|
|
7
7
|
interface Raw {
|
|
8
|
-
config?:
|
|
8
|
+
config?: CustomGuardrailsConfigOutput.Raw | null;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CustomGuardrailOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const CustomGuardrailsConfigOutput_1 = require("./CustomGuardrailsConfigOutput");
|
|
40
40
|
exports.CustomGuardrailOutput = core.serialization.object({
|
|
41
|
-
config:
|
|
41
|
+
config: CustomGuardrailsConfigOutput_1.CustomGuardrailsConfigOutput.optional(),
|
|
42
42
|
});
|
|
@@ -2,8 +2,8 @@ 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 { CustomGuardrailConfig } from "./CustomGuardrailConfig";
|
|
5
|
-
export declare const
|
|
6
|
-
export declare namespace
|
|
5
|
+
export declare const CustomGuardrailsConfigInput: core.serialization.ObjectSchema<serializers.CustomGuardrailsConfigInput.Raw, ElevenLabs.CustomGuardrailsConfigInput>;
|
|
6
|
+
export declare namespace CustomGuardrailsConfigInput {
|
|
7
7
|
interface Raw {
|
|
8
8
|
configs?: CustomGuardrailConfig.Raw[] | null;
|
|
9
9
|
}
|
package/dist/serialization/types/{CustomGuardrailsConfig.js → CustomGuardrailsConfigInput.js}
RENAMED
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.CustomGuardrailsConfigInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const CustomGuardrailConfig_1 = require("./CustomGuardrailConfig");
|
|
40
|
-
exports.
|
|
40
|
+
exports.CustomGuardrailsConfigInput = core.serialization.object({
|
|
41
41
|
configs: core.serialization.list(CustomGuardrailConfig_1.CustomGuardrailConfig).optional(),
|
|
42
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 { CustomGuardrailConfig } from "./CustomGuardrailConfig";
|
|
5
|
+
export declare const CustomGuardrailsConfigOutput: core.serialization.ObjectSchema<serializers.CustomGuardrailsConfigOutput.Raw, ElevenLabs.CustomGuardrailsConfigOutput>;
|
|
6
|
+
export declare namespace CustomGuardrailsConfigOutput {
|
|
7
|
+
interface Raw {
|
|
8
|
+
configs?: CustomGuardrailConfig.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.CustomGuardrailsConfigOutput = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const CustomGuardrailConfig_1 = require("./CustomGuardrailConfig");
|
|
40
|
+
exports.CustomGuardrailsConfigOutput = core.serialization.object({
|
|
41
|
+
configs: core.serialization.list(CustomGuardrailConfig_1.CustomGuardrailConfig).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 DeleteAssetParams: core.serialization.ObjectSchema<serializers.DeleteAssetParams.Raw, ElevenLabs.DeleteAssetParams>;
|
|
5
|
+
export declare namespace DeleteAssetParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "delete_asset" | 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.DeleteAssetParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DeleteAssetParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("delete_asset").optional()),
|
|
41
|
+
});
|
|
@@ -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 DeleteCalendarEventParams: core.serialization.ObjectSchema<serializers.DeleteCalendarEventParams.Raw, ElevenLabs.DeleteCalendarEventParams>;
|
|
5
|
+
export declare namespace DeleteCalendarEventParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "delete_calendar_event" | 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.DeleteCalendarEventParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DeleteCalendarEventParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("delete_calendar_event").optional()),
|
|
41
|
+
});
|
|
@@ -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 GetClientAppointmentsParams: core.serialization.ObjectSchema<serializers.GetClientAppointmentsParams.Raw, ElevenLabs.GetClientAppointmentsParams>;
|
|
5
|
+
export declare namespace GetClientAppointmentsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "get_client_appointments" | 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.GetClientAppointmentsParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.GetClientAppointmentsParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("get_client_appointments").optional()),
|
|
41
|
+
});
|