@elevenlabs/elevenlabs-js 2.20.1 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +9 -4
- package/api/errors/ConflictError.d.ts +5 -0
- package/api/errors/ConflictError.js +50 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
- package/api/resources/conversationalAi/conversation/Conversation.js +4 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/api/resources/conversationalAi/resources/index.js +3 -2
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +10 -2
- package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
- package/api/resources/dubbing/client/Client.d.ts +1 -6
- package/api/resources/dubbing/client/Client.js +13 -10
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/music/client/Client.d.ts +6 -0
- package/api/resources/music/client/Client.js +73 -0
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
- package/api/resources/music/client/requests/index.d.ts +1 -0
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
- package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
- package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
- package/api/resources/music/types/index.d.ts +2 -0
- package/api/resources/music/types/index.js +2 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +3 -2
- package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
- package/api/resources/speechToText/client/Client.d.ts +0 -1
- package/api/resources/speechToText/client/Client.js +3 -2
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
- package/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
- package/api/resources/studio/resources/projects/client/Client.js +3 -2
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
- package/api/resources/textToDialogue/client/Client.d.ts +27 -0
- package/api/resources/textToDialogue/client/Client.js +182 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
- package/api/resources/textToDialogue/types/index.d.ts +4 -0
- package/api/resources/textToDialogue/types/index.js +4 -0
- package/api/resources/tokens/client/Client.d.ts +20 -0
- package/api/resources/tokens/client/Client.js +15 -0
- package/api/resources/tokens/client/index.d.ts +1 -0
- package/api/resources/tokens/client/index.js +2 -0
- package/api/resources/tokens/index.d.ts +2 -0
- package/api/resources/tokens/index.js +18 -0
- package/api/resources/tokens/resources/index.d.ts +1 -0
- package/api/resources/tokens/resources/index.js +37 -0
- package/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
- package/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
- package/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
- package/api/resources/tokens/resources/singleUse/client/index.js +2 -0
- package/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
- package/api/resources/tokens/resources/singleUse/index.js +17 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/api/types/BatchCallResponse.d.ts +2 -1
- package/api/types/ClientToolConfigInput.d.ts +4 -0
- package/api/types/ClientToolConfigOutput.d.ts +4 -0
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
- package/api/types/GuardrailsV1Input.d.ts +5 -0
- package/api/types/GuardrailsV1Input.js +3 -0
- package/api/types/GuardrailsV1Output.d.ts +5 -0
- package/api/types/GuardrailsV1Output.js +3 -0
- package/api/types/InvoiceResponse.d.ts +4 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LiteralOverride.d.ts +6 -0
- package/api/types/LiteralOverride.js +3 -0
- package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/api/types/LiteralOverrideConstantValue.js +3 -0
- package/api/types/Llm.d.ts +2 -0
- package/api/types/Llm.js +2 -0
- package/api/types/McpServerConfigInput.d.ts +9 -1
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/api/types/McpServerConfigOutput.d.ts +9 -1
- package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/api/types/McpToolConfigOverride.d.ts +17 -0
- package/api/types/McpToolConfigOverride.js +3 -0
- package/api/types/MetricType.d.ts +1 -0
- package/api/types/MetricType.js +1 -0
- package/api/types/ModerationConfig.d.ts +14 -0
- package/api/types/ModerationConfig.js +3 -0
- package/api/types/ModerationGuardrailInput.d.ts +4 -0
- package/api/types/ModerationGuardrailInput.js +3 -0
- package/api/types/ModerationGuardrailOutput.d.ts +4 -0
- package/api/types/ModerationGuardrailOutput.js +3 -0
- package/api/types/ObjectOverrideInput.d.ts +6 -0
- package/api/types/ObjectOverrideInput.js +3 -0
- package/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
- package/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
- package/api/types/ObjectOverrideOutput.d.ts +6 -0
- package/api/types/ObjectOverrideOutput.js +3 -0
- package/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
- package/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
- package/api/types/OutboundCallRecipient.d.ts +2 -1
- package/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
- package/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
- package/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
- package/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
- package/api/types/QueryOverride.d.ts +5 -0
- package/api/types/QueryOverride.js +3 -0
- package/api/types/ReferencedToolCommonModel.d.ts +1 -1
- package/api/types/ReferencedToolCommonModelType.d.ts +9 -0
- package/api/types/ReferencedToolCommonModelType.js +12 -0
- package/api/types/RegionConfigRequest.d.ts +9 -0
- package/api/types/RegionConfigRequest.js +3 -0
- package/api/types/SingleUseTokenResponseModel.d.ts +4 -0
- package/api/types/SingleUseTokenResponseModel.js +3 -0
- package/api/types/SingleUseTokenType.d.ts +1 -0
- package/api/types/SingleUseTokenType.js +3 -0
- package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/api/types/SongSection.d.ts +1 -1
- package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/api/types/SystemToolConfigInput.d.ts +4 -0
- package/api/types/SystemToolConfigOutput.d.ts +4 -0
- package/api/types/ThresholdGuardrail.d.ts +4 -0
- package/api/types/ThresholdGuardrail.js +3 -0
- package/api/types/ToolCallSoundBehavior.d.ts +6 -0
- package/api/types/ToolCallSoundBehavior.js +9 -0
- package/api/types/ToolCallSoundType.d.ts +9 -0
- package/api/types/ToolCallSoundType.js +12 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +4 -5
- package/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/api/types/ToolType.d.ts +2 -0
- package/api/types/ToolType.js +2 -0
- package/api/types/TurnConfig.d.ts +2 -2
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/api/types/TurnEagerness.d.ts +7 -0
- package/api/types/TurnEagerness.js +10 -0
- package/api/types/TwilioEdgeLocation.d.ts +13 -0
- package/api/types/TwilioEdgeLocation.js +16 -0
- package/api/types/TwilioRegionId.d.ts +7 -0
- package/api/types/TwilioRegionId.js +10 -0
- package/api/types/User.d.ts +0 -2
- package/api/types/VadConfig.d.ts +0 -2
- package/api/types/VadConfigWorkflowOverride.d.ts +0 -2
- package/api/types/VoiceSegment.d.ts +14 -0
- package/api/types/VoiceSegment.js +3 -0
- package/api/types/WebhookToolConfigInput.d.ts +6 -2
- package/api/types/WebhookToolConfigOutput.d.ts +6 -2
- package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/api/types/WorkspaceResourceType.d.ts +4 -0
- package/api/types/WorkspaceResourceType.js +4 -0
- package/api/types/index.d.ts +35 -5
- package/api/types/index.js +35 -5
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +9 -4
- package/dist/api/errors/ConflictError.d.ts +5 -0
- package/dist/api/errors/ConflictError.js +50 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +4 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/index.js +3 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +10 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
- package/dist/api/resources/dubbing/client/Client.d.ts +1 -6
- package/dist/api/resources/dubbing/client/Client.js +13 -10
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/music/client/Client.d.ts +6 -0
- package/dist/api/resources/music/client/Client.js +73 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
- package/dist/api/resources/music/client/requests/index.d.ts +1 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
- package/dist/api/resources/music/types/index.d.ts +2 -0
- package/dist/api/resources/music/types/index.js +2 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +3 -2
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +0 -1
- package/dist/api/resources/speechToText/client/Client.js +3 -2
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +3 -2
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
- package/dist/api/resources/textToDialogue/client/Client.d.ts +27 -0
- package/dist/api/resources/textToDialogue/client/Client.js +182 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +3 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +3 -0
- package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +4 -0
- package/dist/api/resources/textToDialogue/types/index.js +4 -0
- package/dist/api/resources/tokens/client/Client.d.ts +20 -0
- package/dist/api/resources/tokens/client/Client.js +15 -0
- package/dist/api/resources/tokens/client/index.d.ts +1 -0
- package/dist/api/resources/tokens/client/index.js +2 -0
- package/dist/api/resources/tokens/index.d.ts +2 -0
- package/dist/api/resources/tokens/index.js +18 -0
- package/dist/api/resources/tokens/resources/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/index.js +37 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
- package/dist/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/singleUse/client/index.js +2 -0
- package/dist/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
- package/dist/api/resources/tokens/resources/singleUse/index.js +17 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/api/types/BatchCallResponse.d.ts +2 -1
- package/dist/api/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +5 -0
- package/dist/api/types/GuardrailsV1Input.js +3 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +5 -0
- package/dist/api/types/GuardrailsV1Output.js +3 -0
- package/dist/api/types/InvoiceResponse.d.ts +4 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LiteralOverride.d.ts +6 -0
- package/dist/api/types/LiteralOverride.js +3 -0
- package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
- package/dist/api/types/Llm.d.ts +2 -0
- package/dist/api/types/Llm.js +2 -0
- package/dist/api/types/McpServerConfigInput.d.ts +9 -1
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/McpServerConfigOutput.d.ts +9 -1
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
- package/dist/api/types/McpToolConfigOverride.js +3 -0
- package/dist/api/types/MetricType.d.ts +1 -0
- package/dist/api/types/MetricType.js +1 -0
- package/dist/api/types/ModerationConfig.d.ts +14 -0
- package/dist/api/types/ModerationConfig.js +3 -0
- package/dist/api/types/ModerationGuardrailInput.d.ts +4 -0
- package/dist/api/types/ModerationGuardrailInput.js +3 -0
- package/dist/api/types/ModerationGuardrailOutput.d.ts +4 -0
- package/dist/api/types/ModerationGuardrailOutput.js +3 -0
- package/dist/api/types/ObjectOverrideInput.d.ts +6 -0
- package/dist/api/types/ObjectOverrideInput.js +3 -0
- package/dist/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
- package/dist/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
- package/dist/api/types/ObjectOverrideOutput.d.ts +6 -0
- package/dist/api/types/ObjectOverrideOutput.js +3 -0
- package/dist/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
- package/dist/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
- package/dist/api/types/OutboundCallRecipient.d.ts +2 -1
- package/dist/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
- package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
- package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
- package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
- package/dist/api/types/QueryOverride.d.ts +5 -0
- package/dist/api/types/QueryOverride.js +3 -0
- package/dist/api/types/ReferencedToolCommonModel.d.ts +1 -1
- package/dist/api/types/ReferencedToolCommonModelType.d.ts +9 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +12 -0
- package/dist/api/types/RegionConfigRequest.d.ts +9 -0
- package/dist/api/types/RegionConfigRequest.js +3 -0
- package/dist/api/types/SingleUseTokenResponseModel.d.ts +4 -0
- package/dist/api/types/SingleUseTokenResponseModel.js +3 -0
- package/dist/api/types/SingleUseTokenType.d.ts +1 -0
- package/dist/api/types/SingleUseTokenType.js +3 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/dist/api/types/SongSection.d.ts +1 -1
- package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
- package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/api/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/api/types/ThresholdGuardrail.d.ts +4 -0
- package/dist/api/types/ThresholdGuardrail.js +3 -0
- package/dist/api/types/ToolCallSoundBehavior.d.ts +6 -0
- package/dist/api/types/ToolCallSoundBehavior.js +9 -0
- package/dist/api/types/ToolCallSoundType.d.ts +9 -0
- package/dist/api/types/ToolCallSoundType.js +12 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -5
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolType.d.ts +2 -0
- package/dist/api/types/ToolType.js +2 -0
- package/dist/api/types/TurnConfig.d.ts +2 -2
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/dist/api/types/TurnEagerness.d.ts +7 -0
- package/dist/api/types/TurnEagerness.js +10 -0
- package/dist/api/types/TwilioEdgeLocation.d.ts +13 -0
- package/dist/api/types/TwilioEdgeLocation.js +16 -0
- package/dist/api/types/TwilioRegionId.d.ts +7 -0
- package/dist/api/types/TwilioRegionId.js +10 -0
- package/dist/api/types/User.d.ts +0 -2
- package/dist/api/types/VadConfig.d.ts +0 -2
- package/dist/api/types/VadConfigWorkflowOverride.d.ts +0 -2
- package/dist/api/types/VoiceSegment.d.ts +14 -0
- package/dist/api/types/VoiceSegment.js +3 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +6 -2
- package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -2
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkspaceResourceType.d.ts +4 -0
- package/dist/api/types/WorkspaceResourceType.js +4 -0
- package/dist/api/types/index.d.ts +35 -5
- package/dist/api/types/index.js +35 -5
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +10 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
- package/dist/serialization/resources/music/types/index.d.ts +2 -0
- package/dist/serialization/resources/music/types/index.js +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +4 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +4 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/{serialization/types/SubscriptionUsageResponseModel.js → dist/serialization/types/ApiIntegrationWebhookOverridesInput.js} +12 -10
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
- package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/serialization/types/BatchCallDetailedResponse.js +2 -1
- package/dist/serialization/types/BatchCallResponse.d.ts +2 -1
- package/dist/serialization/types/BatchCallResponse.js +2 -1
- package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigInput.js +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +11 -0
- package/dist/serialization/types/GuardrailsV1Input.js +43 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +11 -0
- package/dist/serialization/types/GuardrailsV1Output.js +43 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LiteralOverride.d.ts +12 -0
- package/dist/serialization/types/LiteralOverride.js +44 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +2 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +8 -0
- package/dist/serialization/types/McpServerConfigInput.js +8 -0
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
- package/dist/serialization/types/McpServerConfigOutput.d.ts +8 -0
- package/dist/serialization/types/McpServerConfigOutput.js +8 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
- package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/dist/serialization/types/McpToolConfigOverride.js +51 -0
- package/dist/serialization/types/MetricType.d.ts +1 -1
- package/dist/serialization/types/MetricType.js +1 -0
- package/dist/serialization/types/ModerationConfig.d.ts +20 -0
- package/dist/serialization/types/ModerationConfig.js +52 -0
- package/dist/serialization/types/ModerationGuardrailInput.d.ts +10 -0
- package/dist/serialization/types/ModerationGuardrailInput.js +42 -0
- package/dist/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
- package/dist/serialization/types/ModerationGuardrailOutput.js +42 -0
- package/dist/serialization/types/ObjectOverrideInput.d.ts +11 -0
- package/dist/serialization/types/ObjectOverrideInput.js +46 -0
- package/dist/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
- package/dist/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
- package/dist/serialization/types/ObjectOverrideOutput.d.ts +11 -0
- package/dist/serialization/types/ObjectOverrideOutput.js +46 -0
- package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
- package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
- package/dist/serialization/types/OutboundCallRecipient.d.ts +2 -1
- package/dist/serialization/types/OutboundCallRecipient.js +2 -1
- package/dist/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/dist/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
- package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
- package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
- package/dist/serialization/types/QueryOverride.d.ts +11 -0
- package/dist/serialization/types/QueryOverride.js +43 -0
- package/dist/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
- package/dist/serialization/types/ReferencedToolCommonModel.js +2 -2
- package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
- package/dist/serialization/types/{ModerationStatusResponseModelSafetyStatus.js → ReferencedToolCommonModelType.js} +2 -2
- package/dist/serialization/types/RegionConfigRequest.d.ts +13 -0
- package/dist/serialization/types/RegionConfigRequest.js +45 -0
- package/dist/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
- package/dist/serialization/types/{ModerationStatusResponseModelWarningStatus.js → SingleUseTokenResponseModel.js} +4 -2
- package/dist/serialization/types/SingleUseTokenType.d.ts +7 -0
- package/{serialization/types/ModerationStatusResponseModelWarningStatus.js → dist/serialization/types/SingleUseTokenType.js} +2 -2
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigInput.js +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
- package/dist/serialization/types/ThresholdGuardrail.d.ts +10 -0
- package/dist/serialization/types/ThresholdGuardrail.js +42 -0
- package/dist/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
- package/{serialization/types/ModerationStatusResponseModelSafetyStatus.js → dist/serialization/types/ToolCallSoundBehavior.js} +2 -2
- package/dist/serialization/types/ToolCallSoundType.d.ts +7 -0
- package/dist/serialization/types/ToolCallSoundType.js +39 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -5
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -3
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +9 -1
- package/dist/serialization/types/TurnConfig.d.ts +2 -2
- package/dist/serialization/types/TurnConfig.js +2 -2
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -2
- package/dist/serialization/types/TurnEagerness.d.ts +7 -0
- package/dist/serialization/types/TurnEagerness.js +39 -0
- package/dist/serialization/types/TwilioEdgeLocation.d.ts +7 -0
- package/dist/serialization/types/TwilioEdgeLocation.js +49 -0
- package/dist/serialization/types/TwilioRegionId.d.ts +7 -0
- package/dist/serialization/types/TwilioRegionId.js +39 -0
- package/dist/serialization/types/User.d.ts +0 -2
- package/dist/serialization/types/User.js +0 -2
- package/dist/serialization/types/VadConfig.d.ts +0 -1
- package/dist/serialization/types/VadConfig.js +1 -3
- package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
- package/dist/serialization/types/VadConfigWorkflowOverride.js +1 -3
- package/dist/serialization/types/VoiceSegment.d.ts +14 -0
- package/dist/serialization/types/VoiceSegment.js +46 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +6 -2
- package/dist/serialization/types/WebhookToolConfigInput.js +6 -2
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +6 -2
- package/dist/serialization/types/WebhookToolConfigOutput.js +6 -2
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +4 -0
- package/dist/serialization/types/index.d.ts +35 -5
- package/dist/serialization/types/index.js +35 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +10 -10
- package/reference.md +524 -28
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +10 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
- package/serialization/resources/music/types/index.d.ts +2 -0
- package/serialization/resources/music/types/index.js +2 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
- package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/client/requests/index.js +5 -1
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +4 -0
- package/serialization/resources/textToDialogue/types/index.js +4 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/{dist/serialization/types/SubscriptionUsageResponseModel.js → serialization/types/ApiIntegrationWebhookOverridesInput.js} +12 -10
- package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
- package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
- package/serialization/types/BatchCallDetailedResponse.js +2 -1
- package/serialization/types/BatchCallResponse.d.ts +2 -1
- package/serialization/types/BatchCallResponse.js +2 -1
- package/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/serialization/types/ClientToolConfigInput.js +4 -0
- package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/serialization/types/ClientToolConfigOutput.js +4 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +11 -0
- package/serialization/types/GuardrailsV1Input.js +43 -0
- package/serialization/types/GuardrailsV1Output.d.ts +11 -0
- package/serialization/types/GuardrailsV1Output.js +43 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LiteralOverride.d.ts +12 -0
- package/serialization/types/LiteralOverride.js +44 -0
- package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +2 -0
- package/serialization/types/McpServerConfigInput.d.ts +8 -0
- package/serialization/types/McpServerConfigInput.js +8 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
- package/serialization/types/McpServerConfigOutput.d.ts +8 -0
- package/serialization/types/McpServerConfigOutput.js +8 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
- package/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/serialization/types/McpToolConfigOverride.js +51 -0
- package/serialization/types/MetricType.d.ts +1 -1
- package/serialization/types/MetricType.js +1 -0
- package/serialization/types/ModerationConfig.d.ts +20 -0
- package/serialization/types/ModerationConfig.js +52 -0
- package/serialization/types/ModerationGuardrailInput.d.ts +10 -0
- package/serialization/types/ModerationGuardrailInput.js +42 -0
- package/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
- package/serialization/types/ModerationGuardrailOutput.js +42 -0
- package/serialization/types/ObjectOverrideInput.d.ts +11 -0
- package/serialization/types/ObjectOverrideInput.js +46 -0
- package/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
- package/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
- package/serialization/types/ObjectOverrideOutput.d.ts +11 -0
- package/serialization/types/ObjectOverrideOutput.js +46 -0
- package/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
- package/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
- package/serialization/types/OutboundCallRecipient.d.ts +2 -1
- package/serialization/types/OutboundCallRecipient.js +2 -1
- package/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
- package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
- package/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
- package/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
- package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
- package/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
- package/serialization/types/QueryOverride.d.ts +11 -0
- package/serialization/types/QueryOverride.js +43 -0
- package/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
- package/serialization/types/ReferencedToolCommonModel.js +2 -2
- package/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
- package/serialization/types/ReferencedToolCommonModelType.js +39 -0
- package/serialization/types/RegionConfigRequest.d.ts +13 -0
- package/serialization/types/RegionConfigRequest.js +45 -0
- package/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
- package/serialization/types/SingleUseTokenResponseModel.js +41 -0
- package/serialization/types/SingleUseTokenType.d.ts +7 -0
- package/serialization/types/SingleUseTokenType.js +39 -0
- package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
- package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
- package/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/serialization/types/SystemToolConfigInput.js +4 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/serialization/types/SystemToolConfigOutput.js +4 -0
- package/serialization/types/ThresholdGuardrail.d.ts +10 -0
- package/serialization/types/ThresholdGuardrail.js +42 -0
- package/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
- package/serialization/types/ToolCallSoundBehavior.js +39 -0
- package/serialization/types/ToolCallSoundType.d.ts +7 -0
- package/serialization/types/ToolCallSoundType.js +39 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -5
- package/serialization/types/ToolRequestModelToolConfig.js +2 -3
- package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +9 -1
- package/serialization/types/TurnConfig.d.ts +2 -2
- package/serialization/types/TurnConfig.js +2 -2
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -2
- package/serialization/types/TurnEagerness.d.ts +7 -0
- package/serialization/types/TurnEagerness.js +39 -0
- package/serialization/types/TwilioEdgeLocation.d.ts +7 -0
- package/serialization/types/TwilioEdgeLocation.js +49 -0
- package/serialization/types/TwilioRegionId.d.ts +7 -0
- package/serialization/types/TwilioRegionId.js +39 -0
- package/serialization/types/User.d.ts +0 -2
- package/serialization/types/User.js +0 -2
- package/serialization/types/VadConfig.d.ts +0 -1
- package/serialization/types/VadConfig.js +1 -3
- package/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
- package/serialization/types/VadConfigWorkflowOverride.js +1 -3
- package/serialization/types/VoiceSegment.d.ts +14 -0
- package/serialization/types/VoiceSegment.js +46 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +6 -2
- package/serialization/types/WebhookToolConfigInput.js +6 -2
- package/serialization/types/WebhookToolConfigOutput.d.ts +6 -2
- package/serialization/types/WebhookToolConfigOutput.js +6 -2
- package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
- package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +4 -0
- package/serialization/types/index.d.ts +35 -5
- package/serialization/types/index.js +35 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ModerationStatusResponseModel.d.ts +0 -21
- package/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
- package/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
- package/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
- package/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
- package/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
- package/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
- package/dist/api/types/ModerationStatusResponseModel.d.ts +0 -21
- package/dist/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
- package/dist/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
- package/dist/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
- package/dist/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
- package/dist/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
- package/dist/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
- package/dist/serialization/types/ModerationStatusResponseModel.js +0 -51
- package/dist/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
- package/dist/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
- package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
- package/dist/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
- package/dist/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
- package/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
- package/serialization/types/ModerationStatusResponseModel.js +0 -51
- package/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
- package/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
- package/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
- package/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
- package/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
- /package/api/{types/ModerationStatusResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js} +0 -0
- /package/api/{types/SubscriptionExtrasResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js} +0 -0
- /package/api/{types/SubscriptionUsageResponseModel.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/ModerationStatusResponseModel.js → api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js} +0 -0
- /package/{dist/api/types/SubscriptionExtrasResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js} +0 -0
- /package/{dist/api/types/SubscriptionUsageResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js} +0 -0
|
@@ -15,6 +15,14 @@ export interface McpServerConfigInput {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/** If true, all tools from this MCP server will require pre-tool execution speech */
|
|
17
17
|
forcePreToolSpeech?: boolean;
|
|
18
|
-
/** If true, the user will not be able to interrupt the agent while
|
|
18
|
+
/** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
|
|
19
19
|
disableInterruptions?: boolean;
|
|
20
|
+
/** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
|
|
21
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
22
|
+
/** Determines when the tool call sound should play for all tools from this MCP server */
|
|
23
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
24
|
+
/** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
25
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
|
+
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
20
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
|
-
export type McpServerConfigInputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator;
|
|
2
|
+
export type McpServerConfigInputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator | ElevenLabs.ConvAiDynamicVariable;
|
|
@@ -15,6 +15,14 @@ export interface McpServerConfigOutput {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/** If true, all tools from this MCP server will require pre-tool execution speech */
|
|
17
17
|
forcePreToolSpeech?: boolean;
|
|
18
|
-
/** If true, the user will not be able to interrupt the agent while
|
|
18
|
+
/** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
|
|
19
19
|
disableInterruptions?: boolean;
|
|
20
|
+
/** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
|
|
21
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
22
|
+
/** Determines when the tool call sound should play for all tools from this MCP server */
|
|
23
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
24
|
+
/** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
25
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
|
+
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
20
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
|
-
export type McpServerConfigOutputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator;
|
|
2
|
+
export type McpServerConfigOutputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator | ElevenLabs.ConvAiDynamicVariable;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface McpToolConfigOverride {
|
|
3
|
+
/** The name of the MCP tool */
|
|
4
|
+
toolName: string;
|
|
5
|
+
/** If set, overrides the server's force_pre_tool_speech setting for this tool */
|
|
6
|
+
forcePreToolSpeech?: boolean;
|
|
7
|
+
/** If set, overrides the server's disable_interruptions setting for this tool */
|
|
8
|
+
disableInterruptions?: boolean;
|
|
9
|
+
/** If set, overrides the server's tool_call_sound setting for this tool */
|
|
10
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
11
|
+
/** If set, overrides the server's tool_call_sound_behavior setting for this tool */
|
|
12
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
13
|
+
/** If set, overrides the server's execution_mode setting for this tool */
|
|
14
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
15
|
+
/** Dynamic variable assignments for this MCP tool */
|
|
16
|
+
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface ModerationConfig {
|
|
3
|
+
sexual?: ElevenLabs.ThresholdGuardrail;
|
|
4
|
+
violence?: ElevenLabs.ThresholdGuardrail;
|
|
5
|
+
violenceGraphic?: ElevenLabs.ThresholdGuardrail;
|
|
6
|
+
harassment?: ElevenLabs.ThresholdGuardrail;
|
|
7
|
+
harassmentThreatening?: ElevenLabs.ThresholdGuardrail;
|
|
8
|
+
hate?: ElevenLabs.ThresholdGuardrail;
|
|
9
|
+
hateThreatening?: ElevenLabs.ThresholdGuardrail;
|
|
10
|
+
selfHarmInstructions?: ElevenLabs.ThresholdGuardrail;
|
|
11
|
+
selfHarm?: ElevenLabs.ThresholdGuardrail;
|
|
12
|
+
selfHarmIntent?: ElevenLabs.ThresholdGuardrail;
|
|
13
|
+
sexualMinors?: ElevenLabs.ThresholdGuardrail;
|
|
14
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface OutboundCallRecipient {
|
|
3
3
|
id?: string;
|
|
4
|
-
phoneNumber
|
|
4
|
+
phoneNumber?: string;
|
|
5
|
+
whatsappUserId?: string;
|
|
5
6
|
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestInput;
|
|
6
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface OutboundCallRecipientResponseModel {
|
|
3
3
|
id: string;
|
|
4
|
-
phoneNumber
|
|
4
|
+
phoneNumber?: string;
|
|
5
|
+
whatsappUserId?: string;
|
|
5
6
|
status: ElevenLabs.BatchCallRecipientStatus;
|
|
6
7
|
createdAtUnix: number;
|
|
7
8
|
updatedAtUnix: number;
|
|
@@ -3,6 +3,8 @@ export interface PendingSubscriptionSwitchResponseModel {
|
|
|
3
3
|
kind?: "change";
|
|
4
4
|
/** The tier to change to. */
|
|
5
5
|
nextTier: ElevenLabs.PendingSubscriptionSwitchResponseModelNextTier;
|
|
6
|
+
/** The billing period to change to. */
|
|
7
|
+
nextBillingPeriod: ElevenLabs.PendingSubscriptionSwitchResponseModelNextBillingPeriod;
|
|
6
8
|
/** The timestamp of the change. */
|
|
7
9
|
timestampSeconds: number;
|
|
8
10
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The billing period to change to. */
|
|
2
|
+
export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: {
|
|
3
|
+
readonly MonthlyPeriod: "monthly_period";
|
|
4
|
+
readonly AnnualPeriod: "annual_period";
|
|
5
|
+
};
|
|
6
|
+
export type PendingSubscriptionSwitchResponseModelNextBillingPeriod = (typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod)[keyof typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
|
|
5
|
+
/** The billing period to change to. */
|
|
6
|
+
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = {
|
|
7
|
+
MonthlyPeriod: "monthly_period",
|
|
8
|
+
AnnualPeriod: "annual_period",
|
|
9
|
+
};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
|
-
export type PhoneNumberTransferTransferDestination = ElevenLabs.PhoneNumberTransferTransferDestination.Phone | ElevenLabs.PhoneNumberTransferTransferDestination.SipUri;
|
|
2
|
+
export type PhoneNumberTransferTransferDestination = ElevenLabs.PhoneNumberTransferTransferDestination.Phone | ElevenLabs.PhoneNumberTransferTransferDestination.PhoneDynamicVariable | ElevenLabs.PhoneNumberTransferTransferDestination.SipUri | ElevenLabs.PhoneNumberTransferTransferDestination.SipUriDynamicVariable;
|
|
3
3
|
export declare namespace PhoneNumberTransferTransferDestination {
|
|
4
4
|
interface Phone extends ElevenLabs.PhoneNumberTransferDestination {
|
|
5
5
|
type: "phone";
|
|
6
6
|
}
|
|
7
|
+
interface PhoneDynamicVariable extends ElevenLabs.PhoneNumberDynamicVariableTransferDestination {
|
|
8
|
+
type: "phone_dynamic_variable";
|
|
9
|
+
}
|
|
7
10
|
interface SipUri extends ElevenLabs.SipUriTransferDestination {
|
|
8
11
|
type: "sip_uri";
|
|
9
12
|
}
|
|
13
|
+
interface SipUriDynamicVariable extends ElevenLabs.SipUriDynamicVariableTransferDestination {
|
|
14
|
+
type: "sip_uri_dynamic_variable";
|
|
15
|
+
}
|
|
10
16
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelInputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelWorkflowOverrideInputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelWorkflowOverrideInputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelWorkflowOverrideInputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelWorkflowOverrideOutputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelWorkflowOverrideOutputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelWorkflowOverrideOutputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The type of the tool */
|
|
2
|
+
export declare const ReferencedToolCommonModelType: {
|
|
3
|
+
readonly System: "system";
|
|
4
|
+
readonly Webhook: "webhook";
|
|
5
|
+
readonly Client: "client";
|
|
6
|
+
readonly Workflow: "workflow";
|
|
7
|
+
readonly ApiIntegrationWebhook: "api_integration_webhook";
|
|
8
|
+
};
|
|
9
|
+
export type ReferencedToolCommonModelType = (typeof ReferencedToolCommonModelType)[keyof typeof ReferencedToolCommonModelType];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ReferencedToolCommonModelType = void 0;
|
|
5
|
+
/** The type of the tool */
|
|
6
|
+
exports.ReferencedToolCommonModelType = {
|
|
7
|
+
System: "system",
|
|
8
|
+
Webhook: "webhook",
|
|
9
|
+
Client: "client",
|
|
10
|
+
Workflow: "workflow",
|
|
11
|
+
ApiIntegrationWebhook: "api_integration_webhook",
|
|
12
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface RegionConfigRequest {
|
|
3
|
+
/** Region ID */
|
|
4
|
+
regionId: ElevenLabs.TwilioRegionId;
|
|
5
|
+
/** Auth Token for this region */
|
|
6
|
+
token: string;
|
|
7
|
+
/** Edge location for this region */
|
|
8
|
+
edgeLocation: ElevenLabs.TwilioEdgeLocation;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SingleUseTokenType = "realtime_scribe";
|
|
@@ -8,7 +8,7 @@ export interface SongSection {
|
|
|
8
8
|
negativeLocalStyles: string[];
|
|
9
9
|
/** The duration of the section in milliseconds. Must be between 3000ms and 120000ms. */
|
|
10
10
|
durationMs: number;
|
|
11
|
-
/** The lyrics of the section. */
|
|
11
|
+
/** The lyrics of the section. Max 200 characters per line. */
|
|
12
12
|
lines: string[];
|
|
13
13
|
/** Optional source to extract the section from. Used for inpainting. Only available to enterprise clients with access to the inpainting API. */
|
|
14
14
|
sourceFrom?: ElevenLabs.SectionSource;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel {
|
|
3
|
+
/** Base64 encoded audio data */
|
|
4
|
+
audioBase64: string;
|
|
5
|
+
/** Timestamp information for each character in the original text */
|
|
6
|
+
alignment?: ElevenLabs.CharacterAlignmentResponseModel;
|
|
7
|
+
/** Timestamp information for each character in the normalized text */
|
|
8
|
+
normalizedAlignment?: ElevenLabs.CharacterAlignmentResponseModel;
|
|
9
|
+
/** Voice segments for the audio */
|
|
10
|
+
voiceSegments: ElevenLabs.VoiceSegment[];
|
|
11
|
+
}
|
|
@@ -14,5 +14,9 @@ export interface SystemToolConfigInput {
|
|
|
14
14
|
forcePreToolSpeech?: boolean;
|
|
15
15
|
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
16
16
|
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
17
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
18
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
19
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
20
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
17
21
|
params: ElevenLabs.SystemToolConfigInputParams;
|
|
18
22
|
}
|
|
@@ -14,5 +14,9 @@ export interface SystemToolConfigOutput {
|
|
|
14
14
|
forcePreToolSpeech?: boolean;
|
|
15
15
|
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
16
16
|
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
17
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
18
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
19
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
20
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
17
21
|
params: ElevenLabs.SystemToolConfigOutputParams;
|
|
18
22
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Determines how the tool call sound should be played. */
|
|
2
|
+
export declare const ToolCallSoundBehavior: {
|
|
3
|
+
readonly Auto: "auto";
|
|
4
|
+
readonly Always: "always";
|
|
5
|
+
};
|
|
6
|
+
export type ToolCallSoundBehavior = (typeof ToolCallSoundBehavior)[keyof typeof ToolCallSoundBehavior];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ToolCallSoundBehavior = void 0;
|
|
5
|
+
/** Determines how the tool call sound should be played. */
|
|
6
|
+
exports.ToolCallSoundBehavior = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
Always: "always",
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Predefined tool call sound types. */
|
|
2
|
+
export declare const ToolCallSoundType: {
|
|
3
|
+
readonly Typing: "typing";
|
|
4
|
+
readonly Elevator1: "elevator1";
|
|
5
|
+
readonly Elevator2: "elevator2";
|
|
6
|
+
readonly Elevator3: "elevator3";
|
|
7
|
+
readonly Elevator4: "elevator4";
|
|
8
|
+
};
|
|
9
|
+
export type ToolCallSoundType = (typeof ToolCallSoundType)[keyof typeof ToolCallSoundType];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ToolCallSoundType = void 0;
|
|
5
|
+
/** Predefined tool call sound types. */
|
|
6
|
+
exports.ToolCallSoundType = {
|
|
7
|
+
Typing: "typing",
|
|
8
|
+
Elevator1: "elevator1",
|
|
9
|
+
Elevator2: "elevator2",
|
|
10
|
+
Elevator3: "elevator3",
|
|
11
|
+
Elevator4: "elevator4",
|
|
12
|
+
};
|
|
@@ -2,15 +2,14 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* Configuration for the tool
|
|
4
4
|
*/
|
|
5
|
-
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.
|
|
5
|
+
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolRequestModelToolConfig {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
10
|
-
interface Mcp {
|
|
11
|
-
type: "mcp";
|
|
12
|
-
value?: unknown;
|
|
13
|
-
}
|
|
14
13
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
15
14
|
type: "system";
|
|
16
15
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
5
|
+
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolResponseModelToolConfig {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -4,5 +4,7 @@ export declare const ToolType: {
|
|
|
4
4
|
readonly Client: "client";
|
|
5
5
|
readonly Mcp: "mcp";
|
|
6
6
|
readonly Workflow: "workflow";
|
|
7
|
+
readonly ApiIntegrationWebhook: "api_integration_webhook";
|
|
8
|
+
readonly ApiIntegrationMcp: "api_integration_mcp";
|
|
7
9
|
};
|
|
8
10
|
export type ToolType = (typeof ToolType)[keyof typeof ToolType];
|
|
@@ -4,6 +4,6 @@ export interface TurnConfig {
|
|
|
4
4
|
turnTimeout?: number;
|
|
5
5
|
/** Maximum wait time since the user last spoke before terminating the call */
|
|
6
6
|
silenceEndCallTimeout?: number;
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
|
|
8
|
+
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
9
9
|
}
|
|
@@ -4,6 +4,6 @@ export interface TurnConfigWorkflowOverride {
|
|
|
4
4
|
turnTimeout?: number;
|
|
5
5
|
/** Maximum wait time since the user last spoke before terminating the call */
|
|
6
6
|
silenceEndCallTimeout?: number;
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
|
|
8
|
+
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
9
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Agent's eagerness to respond. Higher values make agent wait for higher turn probability. */
|
|
2
|
+
export declare const TurnEagerness: {
|
|
3
|
+
readonly Patient: "patient";
|
|
4
|
+
readonly Normal: "normal";
|
|
5
|
+
readonly Eager: "eager";
|
|
6
|
+
};
|
|
7
|
+
export type TurnEagerness = (typeof TurnEagerness)[keyof typeof TurnEagerness];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TurnEagerness = void 0;
|
|
5
|
+
/** Agent's eagerness to respond. Higher values make agent wait for higher turn probability. */
|
|
6
|
+
exports.TurnEagerness = {
|
|
7
|
+
Patient: "patient",
|
|
8
|
+
Normal: "normal",
|
|
9
|
+
Eager: "eager",
|
|
10
|
+
};
|