@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
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
|
-
export type WorkflowPhoneNumberNodeModelOutputTransferDestination = ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.Phone | ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.SipUri;
|
|
2
|
+
export type WorkflowPhoneNumberNodeModelOutputTransferDestination = ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.Phone | ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.PhoneDynamicVariable | ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.SipUri | ElevenLabs.WorkflowPhoneNumberNodeModelOutputTransferDestination.SipUriDynamicVariable;
|
|
3
3
|
export declare namespace WorkflowPhoneNumberNodeModelOutputTransferDestination {
|
|
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
|
}
|
|
@@ -17,6 +17,10 @@ export declare const WorkspaceResourceType: {
|
|
|
17
17
|
readonly ConvaiBatchCalls: "convai_batch_calls";
|
|
18
18
|
readonly ConvaiAgentResponseTests: "convai_agent_response_tests";
|
|
19
19
|
readonly ConvaiTestSuiteInvocations: "convai_test_suite_invocations";
|
|
20
|
+
readonly ConvaiCrawlJobs: "convai_crawl_jobs";
|
|
21
|
+
readonly ConvaiCrawlTasks: "convai_crawl_tasks";
|
|
20
22
|
readonly ConvaiWhatsappAccounts: "convai_whatsapp_accounts";
|
|
23
|
+
readonly Dashboard: "dashboard";
|
|
24
|
+
readonly DashboardConfiguration: "dashboard_configuration";
|
|
21
25
|
};
|
|
22
26
|
export type WorkspaceResourceType = (typeof WorkspaceResourceType)[keyof typeof WorkspaceResourceType];
|
|
@@ -21,5 +21,9 @@ exports.WorkspaceResourceType = {
|
|
|
21
21
|
ConvaiBatchCalls: "convai_batch_calls",
|
|
22
22
|
ConvaiAgentResponseTests: "convai_agent_response_tests",
|
|
23
23
|
ConvaiTestSuiteInvocations: "convai_test_suite_invocations",
|
|
24
|
+
ConvaiCrawlJobs: "convai_crawl_jobs",
|
|
25
|
+
ConvaiCrawlTasks: "convai_crawl_tasks",
|
|
24
26
|
ConvaiWhatsappAccounts: "convai_whatsapp_accounts",
|
|
27
|
+
Dashboard: "dashboard",
|
|
28
|
+
DashboardConfiguration: "dashboard_configuration",
|
|
25
29
|
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -96,6 +96,12 @@ export * from "./AgentWorkflowResponseModel";
|
|
|
96
96
|
export * from "./AgentWorkspaceOverridesInput";
|
|
97
97
|
export * from "./AgentWorkspaceOverridesOutput";
|
|
98
98
|
export * from "./AllowlistItem";
|
|
99
|
+
export * from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
|
|
100
|
+
export * from "./ApiIntegrationWebhookOverridesInput";
|
|
101
|
+
export * from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
|
|
102
|
+
export * from "./ApiIntegrationWebhookOverridesOutput";
|
|
103
|
+
export * from "./ApiIntegrationWebhookToolConfigInput";
|
|
104
|
+
export * from "./ApiIntegrationWebhookToolConfigOutput";
|
|
99
105
|
export * from "./ArrayJsonSchemaPropertyInputItems";
|
|
100
106
|
export * from "./ArrayJsonSchemaPropertyInput";
|
|
101
107
|
export * from "./ArrayJsonSchemaPropertyOutputItems";
|
|
@@ -107,6 +113,7 @@ export * from "./AudioNativeCreateProjectResponseModel";
|
|
|
107
113
|
export * from "./AudioNativeEditContentResponseModel";
|
|
108
114
|
export * from "./AudioNativeProjectSettingsResponseModelStatus";
|
|
109
115
|
export * from "./AudioNativeProjectSettingsResponseModel";
|
|
116
|
+
export * from "./AudioWithTimestampsAndVoiceSegmentsResponseModel";
|
|
110
117
|
export * from "./AudioWithTimestampsResponse";
|
|
111
118
|
export * from "./AuthConnectionLocator";
|
|
112
119
|
export * from "./AuthSettings";
|
|
@@ -369,6 +376,8 @@ export * from "./GetUnitTestResponseModel";
|
|
|
369
376
|
export * from "./GetVoicesResponse";
|
|
370
377
|
export * from "./GetVoicesV2Response";
|
|
371
378
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
379
|
+
export * from "./GuardrailsV1Input";
|
|
380
|
+
export * from "./GuardrailsV1Output";
|
|
372
381
|
export * from "./HttpValidationError";
|
|
373
382
|
export * from "./HistoryAlignmentResponseModel";
|
|
374
383
|
export * from "./HistoryAlignmentsResponseModel";
|
|
@@ -407,6 +416,8 @@ export * from "./ListResponseMeta";
|
|
|
407
416
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
408
417
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
409
418
|
export * from "./LiteralJsonSchemaProperty";
|
|
419
|
+
export * from "./LiteralOverrideConstantValue";
|
|
420
|
+
export * from "./LiteralOverride";
|
|
410
421
|
export * from "./LivekitStackType";
|
|
411
422
|
export * from "./McpApprovalPolicy";
|
|
412
423
|
export * from "./McpServerConfigInputUrl";
|
|
@@ -424,6 +435,7 @@ export * from "./McpServerTransport";
|
|
|
424
435
|
export * from "./McpServersResponseModel";
|
|
425
436
|
export * from "./McpToolApprovalHash";
|
|
426
437
|
export * from "./McpToolApprovalPolicy";
|
|
438
|
+
export * from "./McpToolConfigOverride";
|
|
427
439
|
export * from "./ManualVerificationFileResponse";
|
|
428
440
|
export * from "./ManualVerificationResponse";
|
|
429
441
|
export * from "./MatchAnythingParameterEvaluationStrategy";
|
|
@@ -432,9 +444,9 @@ export * from "./MetricType";
|
|
|
432
444
|
export * from "./ModelRatesResponseModel";
|
|
433
445
|
export * from "./Model";
|
|
434
446
|
export * from "./ModelSettingsResponseModel";
|
|
435
|
-
export * from "./
|
|
436
|
-
export * from "./
|
|
437
|
-
export * from "./
|
|
447
|
+
export * from "./ModerationConfig";
|
|
448
|
+
export * from "./ModerationGuardrailInput";
|
|
449
|
+
export * from "./ModerationGuardrailOutput";
|
|
438
450
|
export * from "./MultichannelSpeechToTextResponseModel";
|
|
439
451
|
export * from "./MultipartMusicResponse";
|
|
440
452
|
export * from "./MusicPrompt";
|
|
@@ -442,6 +454,10 @@ export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
|
|
|
442
454
|
export * from "./ObjectJsonSchemaPropertyInput";
|
|
443
455
|
export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
|
|
444
456
|
export * from "./ObjectJsonSchemaPropertyOutput";
|
|
457
|
+
export * from "./ObjectOverrideInputPropertiesValue";
|
|
458
|
+
export * from "./ObjectOverrideInput";
|
|
459
|
+
export * from "./ObjectOverrideOutputPropertiesValue";
|
|
460
|
+
export * from "./ObjectOverrideOutput";
|
|
445
461
|
export * from "./OrbAvatar";
|
|
446
462
|
export * from "./OutboundCallRecipient";
|
|
447
463
|
export * from "./OutboundCallRecipientResponseModel";
|
|
@@ -449,8 +465,10 @@ export * from "./OutboundSipTrunkConfigRequestModel";
|
|
|
449
465
|
export * from "./PdfExportOptions";
|
|
450
466
|
export * from "./PendingCancellationResponseModel";
|
|
451
467
|
export * from "./PendingSubscriptionSwitchResponseModelNextTier";
|
|
468
|
+
export * from "./PendingSubscriptionSwitchResponseModelNextBillingPeriod";
|
|
452
469
|
export * from "./PendingSubscriptionSwitchResponseModel";
|
|
453
470
|
export * from "./PhoneNumberAgentInfo";
|
|
471
|
+
export * from "./PhoneNumberDynamicVariableTransferDestination";
|
|
454
472
|
export * from "./PhoneNumberTransferTransferDestination";
|
|
455
473
|
export * from "./PhoneNumberTransfer";
|
|
456
474
|
export * from "./PhoneNumberTransferDestination";
|
|
@@ -513,6 +531,7 @@ export * from "./PronunciationDictionaryVersionLocator";
|
|
|
513
531
|
export * from "./PronunciationDictionaryVersionResponseModelPermissionOnResource";
|
|
514
532
|
export * from "./PronunciationDictionaryVersionResponseModel";
|
|
515
533
|
export * from "./PydanticPronunciationDictionaryVersionLocator";
|
|
534
|
+
export * from "./QueryOverride";
|
|
516
535
|
export * from "./QueryParamsJsonSchema";
|
|
517
536
|
export * from "./RagDocumentIndexResponseModel";
|
|
518
537
|
export * from "./RagDocumentIndexUsage";
|
|
@@ -527,8 +546,10 @@ export * from "./RagRetrievalInfo";
|
|
|
527
546
|
export * from "./ReaderResourceResponseModelResourceType";
|
|
528
547
|
export * from "./ReaderResourceResponseModel";
|
|
529
548
|
export * from "./RecordingResponse";
|
|
549
|
+
export * from "./ReferencedToolCommonModelType";
|
|
530
550
|
export * from "./ReferencedToolCommonModel";
|
|
531
551
|
export * from "./RegexParameterEvaluationStrategy";
|
|
552
|
+
export * from "./RegionConfigRequest";
|
|
532
553
|
export * from "./RenderStatus";
|
|
533
554
|
export * from "./Render";
|
|
534
555
|
export * from "./RenderType";
|
|
@@ -541,6 +562,7 @@ export * from "./SipMediaEncryptionEnum";
|
|
|
541
562
|
export * from "./SipTrunkCredentialsRequestModel";
|
|
542
563
|
export * from "./SipTrunkOutboundCallResponse";
|
|
543
564
|
export * from "./SipTrunkTransportEnum";
|
|
565
|
+
export * from "./SipUriDynamicVariableTransferDestination";
|
|
544
566
|
export * from "./SipUriTransferDestination";
|
|
545
567
|
export * from "./SafetyCommonModel";
|
|
546
568
|
export * from "./SafetyEvaluation";
|
|
@@ -563,6 +585,8 @@ export * from "./SimilarVoiceCategory";
|
|
|
563
585
|
export * from "./SimilarVoice";
|
|
564
586
|
export * from "./SimilarVoicesForSpeakerResponse";
|
|
565
587
|
export * from "./SingleTestRunRequestModel";
|
|
588
|
+
export * from "./SingleUseTokenResponseModel";
|
|
589
|
+
export * from "./SingleUseTokenType";
|
|
566
590
|
export * from "./SkipTurnToolConfig";
|
|
567
591
|
export * from "./SkipTurnToolResponseModel";
|
|
568
592
|
export * from "./SongMetadata";
|
|
@@ -586,14 +610,13 @@ export * from "./SpeechToTextWordResponseModel";
|
|
|
586
610
|
export * from "./SrtExportOptions";
|
|
587
611
|
export * from "./StartPvcVoiceTrainingResponseModel";
|
|
588
612
|
export * from "./StartSpeakerSeparationResponseModel";
|
|
613
|
+
export * from "./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel";
|
|
589
614
|
export * from "./StreamingAudioChunkWithTimestampsResponse";
|
|
590
|
-
export * from "./SubscriptionExtrasResponseModel";
|
|
591
615
|
export * from "./SubscriptionResponseModelCurrency";
|
|
592
616
|
export * from "./SubscriptionResponseModelBillingPeriod";
|
|
593
617
|
export * from "./SubscriptionResponseModelCharacterRefreshPeriod";
|
|
594
618
|
export * from "./SubscriptionResponse";
|
|
595
619
|
export * from "./SubscriptionStatusType";
|
|
596
|
-
export * from "./SubscriptionUsageResponseModel";
|
|
597
620
|
export * from "./SupportedVoice";
|
|
598
621
|
export * from "./SystemToolConfigInputParams";
|
|
599
622
|
export * from "./SystemToolConfigInput";
|
|
@@ -620,10 +643,13 @@ export * from "./TestRunMetadata";
|
|
|
620
643
|
export * from "./TestRunStatus";
|
|
621
644
|
export * from "./TestToolResultModel";
|
|
622
645
|
export * from "./TestsFeatureUsageCommonModel";
|
|
646
|
+
export * from "./ThresholdGuardrail";
|
|
623
647
|
export * from "./TimeRange";
|
|
624
648
|
export * from "./TokenResponseModel";
|
|
625
649
|
export * from "./Tool";
|
|
626
650
|
export * from "./ToolAnnotations";
|
|
651
|
+
export * from "./ToolCallSoundBehavior";
|
|
652
|
+
export * from "./ToolCallSoundType";
|
|
627
653
|
export * from "./ToolExecutionMode";
|
|
628
654
|
export * from "./ToolMockConfig";
|
|
629
655
|
export * from "./ToolRequestModelToolConfig";
|
|
@@ -644,8 +670,11 @@ export * from "./TransferToNumberToolConfigOutput";
|
|
|
644
670
|
export * from "./TransferTypeEnum";
|
|
645
671
|
export * from "./TurnConfig";
|
|
646
672
|
export * from "./TurnConfigWorkflowOverride";
|
|
673
|
+
export * from "./TurnEagerness";
|
|
647
674
|
export * from "./TurnMode";
|
|
675
|
+
export * from "./TwilioEdgeLocation";
|
|
648
676
|
export * from "./TwilioOutboundCallResponse";
|
|
677
|
+
export * from "./TwilioRegionId";
|
|
649
678
|
export * from "./TxtExportOptions";
|
|
650
679
|
export * from "./UrlAvatar";
|
|
651
680
|
export * from "./UnitTestCommonModelDynamicVariablesValue";
|
|
@@ -681,6 +710,7 @@ export * from "./VoiceResponseModelSafetyControl";
|
|
|
681
710
|
export * from "./Voice";
|
|
682
711
|
export * from "./VoiceSamplePreviewResponseModel";
|
|
683
712
|
export * from "./VoiceSampleVisualWaveformResponseModel";
|
|
713
|
+
export * from "./VoiceSegment";
|
|
684
714
|
export * from "./VoiceSettings";
|
|
685
715
|
export * from "./VoiceSharingModerationCheckResponseModel";
|
|
686
716
|
export * from "./VoiceSharingState";
|
package/api/types/index.js
CHANGED
|
@@ -112,6 +112,12 @@ __exportStar(require("./AgentWorkflowResponseModel"), exports);
|
|
|
112
112
|
__exportStar(require("./AgentWorkspaceOverridesInput"), exports);
|
|
113
113
|
__exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
|
|
114
114
|
__exportStar(require("./AllowlistItem"), exports);
|
|
115
|
+
__exportStar(require("./ApiIntegrationWebhookOverridesInputRequestHeadersValue"), exports);
|
|
116
|
+
__exportStar(require("./ApiIntegrationWebhookOverridesInput"), exports);
|
|
117
|
+
__exportStar(require("./ApiIntegrationWebhookOverridesOutputRequestHeadersValue"), exports);
|
|
118
|
+
__exportStar(require("./ApiIntegrationWebhookOverridesOutput"), exports);
|
|
119
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigInput"), exports);
|
|
120
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigOutput"), exports);
|
|
115
121
|
__exportStar(require("./ArrayJsonSchemaPropertyInputItems"), exports);
|
|
116
122
|
__exportStar(require("./ArrayJsonSchemaPropertyInput"), exports);
|
|
117
123
|
__exportStar(require("./ArrayJsonSchemaPropertyOutputItems"), exports);
|
|
@@ -123,6 +129,7 @@ __exportStar(require("./AudioNativeCreateProjectResponseModel"), exports);
|
|
|
123
129
|
__exportStar(require("./AudioNativeEditContentResponseModel"), exports);
|
|
124
130
|
__exportStar(require("./AudioNativeProjectSettingsResponseModelStatus"), exports);
|
|
125
131
|
__exportStar(require("./AudioNativeProjectSettingsResponseModel"), exports);
|
|
132
|
+
__exportStar(require("./AudioWithTimestampsAndVoiceSegmentsResponseModel"), exports);
|
|
126
133
|
__exportStar(require("./AudioWithTimestampsResponse"), exports);
|
|
127
134
|
__exportStar(require("./AuthConnectionLocator"), exports);
|
|
128
135
|
__exportStar(require("./AuthSettings"), exports);
|
|
@@ -385,6 +392,8 @@ __exportStar(require("./GetUnitTestResponseModel"), exports);
|
|
|
385
392
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
386
393
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
387
394
|
__exportStar(require("./GetWorkspaceSecretsResponseModel"), exports);
|
|
395
|
+
__exportStar(require("./GuardrailsV1Input"), exports);
|
|
396
|
+
__exportStar(require("./GuardrailsV1Output"), exports);
|
|
388
397
|
__exportStar(require("./HttpValidationError"), exports);
|
|
389
398
|
__exportStar(require("./HistoryAlignmentResponseModel"), exports);
|
|
390
399
|
__exportStar(require("./HistoryAlignmentsResponseModel"), exports);
|
|
@@ -423,6 +432,8 @@ __exportStar(require("./ListResponseMeta"), exports);
|
|
|
423
432
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
424
433
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
425
434
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
435
|
+
__exportStar(require("./LiteralOverrideConstantValue"), exports);
|
|
436
|
+
__exportStar(require("./LiteralOverride"), exports);
|
|
426
437
|
__exportStar(require("./LivekitStackType"), exports);
|
|
427
438
|
__exportStar(require("./McpApprovalPolicy"), exports);
|
|
428
439
|
__exportStar(require("./McpServerConfigInputUrl"), exports);
|
|
@@ -440,6 +451,7 @@ __exportStar(require("./McpServerTransport"), exports);
|
|
|
440
451
|
__exportStar(require("./McpServersResponseModel"), exports);
|
|
441
452
|
__exportStar(require("./McpToolApprovalHash"), exports);
|
|
442
453
|
__exportStar(require("./McpToolApprovalPolicy"), exports);
|
|
454
|
+
__exportStar(require("./McpToolConfigOverride"), exports);
|
|
443
455
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
444
456
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
445
457
|
__exportStar(require("./MatchAnythingParameterEvaluationStrategy"), exports);
|
|
@@ -448,9 +460,9 @@ __exportStar(require("./MetricType"), exports);
|
|
|
448
460
|
__exportStar(require("./ModelRatesResponseModel"), exports);
|
|
449
461
|
__exportStar(require("./Model"), exports);
|
|
450
462
|
__exportStar(require("./ModelSettingsResponseModel"), exports);
|
|
451
|
-
__exportStar(require("./
|
|
452
|
-
__exportStar(require("./
|
|
453
|
-
__exportStar(require("./
|
|
463
|
+
__exportStar(require("./ModerationConfig"), exports);
|
|
464
|
+
__exportStar(require("./ModerationGuardrailInput"), exports);
|
|
465
|
+
__exportStar(require("./ModerationGuardrailOutput"), exports);
|
|
454
466
|
__exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
|
|
455
467
|
__exportStar(require("./MultipartMusicResponse"), exports);
|
|
456
468
|
__exportStar(require("./MusicPrompt"), exports);
|
|
@@ -458,6 +470,10 @@ __exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports)
|
|
|
458
470
|
__exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
|
|
459
471
|
__exportStar(require("./ObjectJsonSchemaPropertyOutputPropertiesValue"), exports);
|
|
460
472
|
__exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
|
|
473
|
+
__exportStar(require("./ObjectOverrideInputPropertiesValue"), exports);
|
|
474
|
+
__exportStar(require("./ObjectOverrideInput"), exports);
|
|
475
|
+
__exportStar(require("./ObjectOverrideOutputPropertiesValue"), exports);
|
|
476
|
+
__exportStar(require("./ObjectOverrideOutput"), exports);
|
|
461
477
|
__exportStar(require("./OrbAvatar"), exports);
|
|
462
478
|
__exportStar(require("./OutboundCallRecipient"), exports);
|
|
463
479
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
@@ -465,8 +481,10 @@ __exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
|
465
481
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
466
482
|
__exportStar(require("./PendingCancellationResponseModel"), exports);
|
|
467
483
|
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextTier"), exports);
|
|
484
|
+
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextBillingPeriod"), exports);
|
|
468
485
|
__exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
|
|
469
486
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
487
|
+
__exportStar(require("./PhoneNumberDynamicVariableTransferDestination"), exports);
|
|
470
488
|
__exportStar(require("./PhoneNumberTransferTransferDestination"), exports);
|
|
471
489
|
__exportStar(require("./PhoneNumberTransfer"), exports);
|
|
472
490
|
__exportStar(require("./PhoneNumberTransferDestination"), exports);
|
|
@@ -529,6 +547,7 @@ __exportStar(require("./PronunciationDictionaryVersionLocator"), exports);
|
|
|
529
547
|
__exportStar(require("./PronunciationDictionaryVersionResponseModelPermissionOnResource"), exports);
|
|
530
548
|
__exportStar(require("./PronunciationDictionaryVersionResponseModel"), exports);
|
|
531
549
|
__exportStar(require("./PydanticPronunciationDictionaryVersionLocator"), exports);
|
|
550
|
+
__exportStar(require("./QueryOverride"), exports);
|
|
532
551
|
__exportStar(require("./QueryParamsJsonSchema"), exports);
|
|
533
552
|
__exportStar(require("./RagDocumentIndexResponseModel"), exports);
|
|
534
553
|
__exportStar(require("./RagDocumentIndexUsage"), exports);
|
|
@@ -543,8 +562,10 @@ __exportStar(require("./RagRetrievalInfo"), exports);
|
|
|
543
562
|
__exportStar(require("./ReaderResourceResponseModelResourceType"), exports);
|
|
544
563
|
__exportStar(require("./ReaderResourceResponseModel"), exports);
|
|
545
564
|
__exportStar(require("./RecordingResponse"), exports);
|
|
565
|
+
__exportStar(require("./ReferencedToolCommonModelType"), exports);
|
|
546
566
|
__exportStar(require("./ReferencedToolCommonModel"), exports);
|
|
547
567
|
__exportStar(require("./RegexParameterEvaluationStrategy"), exports);
|
|
568
|
+
__exportStar(require("./RegionConfigRequest"), exports);
|
|
548
569
|
__exportStar(require("./RenderStatus"), exports);
|
|
549
570
|
__exportStar(require("./Render"), exports);
|
|
550
571
|
__exportStar(require("./RenderType"), exports);
|
|
@@ -557,6 +578,7 @@ __exportStar(require("./SipMediaEncryptionEnum"), exports);
|
|
|
557
578
|
__exportStar(require("./SipTrunkCredentialsRequestModel"), exports);
|
|
558
579
|
__exportStar(require("./SipTrunkOutboundCallResponse"), exports);
|
|
559
580
|
__exportStar(require("./SipTrunkTransportEnum"), exports);
|
|
581
|
+
__exportStar(require("./SipUriDynamicVariableTransferDestination"), exports);
|
|
560
582
|
__exportStar(require("./SipUriTransferDestination"), exports);
|
|
561
583
|
__exportStar(require("./SafetyCommonModel"), exports);
|
|
562
584
|
__exportStar(require("./SafetyEvaluation"), exports);
|
|
@@ -579,6 +601,8 @@ __exportStar(require("./SimilarVoiceCategory"), exports);
|
|
|
579
601
|
__exportStar(require("./SimilarVoice"), exports);
|
|
580
602
|
__exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
|
|
581
603
|
__exportStar(require("./SingleTestRunRequestModel"), exports);
|
|
604
|
+
__exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
605
|
+
__exportStar(require("./SingleUseTokenType"), exports);
|
|
582
606
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
583
607
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
584
608
|
__exportStar(require("./SongMetadata"), exports);
|
|
@@ -602,14 +626,13 @@ __exportStar(require("./SpeechToTextWordResponseModel"), exports);
|
|
|
602
626
|
__exportStar(require("./SrtExportOptions"), exports);
|
|
603
627
|
__exportStar(require("./StartPvcVoiceTrainingResponseModel"), exports);
|
|
604
628
|
__exportStar(require("./StartSpeakerSeparationResponseModel"), exports);
|
|
629
|
+
__exportStar(require("./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel"), exports);
|
|
605
630
|
__exportStar(require("./StreamingAudioChunkWithTimestampsResponse"), exports);
|
|
606
|
-
__exportStar(require("./SubscriptionExtrasResponseModel"), exports);
|
|
607
631
|
__exportStar(require("./SubscriptionResponseModelCurrency"), exports);
|
|
608
632
|
__exportStar(require("./SubscriptionResponseModelBillingPeriod"), exports);
|
|
609
633
|
__exportStar(require("./SubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
610
634
|
__exportStar(require("./SubscriptionResponse"), exports);
|
|
611
635
|
__exportStar(require("./SubscriptionStatusType"), exports);
|
|
612
|
-
__exportStar(require("./SubscriptionUsageResponseModel"), exports);
|
|
613
636
|
__exportStar(require("./SupportedVoice"), exports);
|
|
614
637
|
__exportStar(require("./SystemToolConfigInputParams"), exports);
|
|
615
638
|
__exportStar(require("./SystemToolConfigInput"), exports);
|
|
@@ -636,10 +659,13 @@ __exportStar(require("./TestRunMetadata"), exports);
|
|
|
636
659
|
__exportStar(require("./TestRunStatus"), exports);
|
|
637
660
|
__exportStar(require("./TestToolResultModel"), exports);
|
|
638
661
|
__exportStar(require("./TestsFeatureUsageCommonModel"), exports);
|
|
662
|
+
__exportStar(require("./ThresholdGuardrail"), exports);
|
|
639
663
|
__exportStar(require("./TimeRange"), exports);
|
|
640
664
|
__exportStar(require("./TokenResponseModel"), exports);
|
|
641
665
|
__exportStar(require("./Tool"), exports);
|
|
642
666
|
__exportStar(require("./ToolAnnotations"), exports);
|
|
667
|
+
__exportStar(require("./ToolCallSoundBehavior"), exports);
|
|
668
|
+
__exportStar(require("./ToolCallSoundType"), exports);
|
|
643
669
|
__exportStar(require("./ToolExecutionMode"), exports);
|
|
644
670
|
__exportStar(require("./ToolMockConfig"), exports);
|
|
645
671
|
__exportStar(require("./ToolRequestModelToolConfig"), exports);
|
|
@@ -660,8 +686,11 @@ __exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
|
660
686
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
661
687
|
__exportStar(require("./TurnConfig"), exports);
|
|
662
688
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
689
|
+
__exportStar(require("./TurnEagerness"), exports);
|
|
663
690
|
__exportStar(require("./TurnMode"), exports);
|
|
691
|
+
__exportStar(require("./TwilioEdgeLocation"), exports);
|
|
664
692
|
__exportStar(require("./TwilioOutboundCallResponse"), exports);
|
|
693
|
+
__exportStar(require("./TwilioRegionId"), exports);
|
|
665
694
|
__exportStar(require("./TxtExportOptions"), exports);
|
|
666
695
|
__exportStar(require("./UrlAvatar"), exports);
|
|
667
696
|
__exportStar(require("./UnitTestCommonModelDynamicVariablesValue"), exports);
|
|
@@ -697,6 +726,7 @@ __exportStar(require("./VoiceResponseModelSafetyControl"), exports);
|
|
|
697
726
|
__exportStar(require("./Voice"), exports);
|
|
698
727
|
__exportStar(require("./VoiceSamplePreviewResponseModel"), exports);
|
|
699
728
|
__exportStar(require("./VoiceSampleVisualWaveformResponseModel"), exports);
|
|
729
|
+
__exportStar(require("./VoiceSegment"), exports);
|
|
700
730
|
__exportStar(require("./VoiceSettings"), exports);
|
|
701
731
|
__exportStar(require("./VoiceSharingModerationCheckResponseModel"), exports);
|
|
702
732
|
__exportStar(require("./VoiceSharingState"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { SpeechToText } from "./api/resources/speechToText/client/Client";
|
|
|
22
22
|
import { ForcedAlignment } from "./api/resources/forcedAlignment/client/Client";
|
|
23
23
|
import { ConversationalAi } from "./api/resources/conversationalAi/client/Client";
|
|
24
24
|
import { Music } from "./api/resources/music/client/Client";
|
|
25
|
+
import { Tokens } from "./api/resources/tokens/client/Client";
|
|
25
26
|
import { Workspace } from "./api/resources/workspace/client/Client";
|
|
26
27
|
export declare namespace ElevenLabsClient {
|
|
27
28
|
interface Options {
|
|
@@ -72,6 +73,7 @@ export declare class ElevenLabsClient {
|
|
|
72
73
|
protected _forcedAlignment: ForcedAlignment | undefined;
|
|
73
74
|
protected _conversationalAi: ConversationalAi | undefined;
|
|
74
75
|
protected _music: Music | undefined;
|
|
76
|
+
protected _tokens: Tokens | undefined;
|
|
75
77
|
protected _workspace: Workspace | undefined;
|
|
76
78
|
constructor(_options?: ElevenLabsClient.Options);
|
|
77
79
|
get history(): History;
|
|
@@ -96,6 +98,7 @@ export declare class ElevenLabsClient {
|
|
|
96
98
|
get forcedAlignment(): ForcedAlignment;
|
|
97
99
|
get conversationalAi(): ConversationalAi;
|
|
98
100
|
get music(): Music;
|
|
101
|
+
get tokens(): Tokens;
|
|
99
102
|
get workspace(): Workspace;
|
|
100
103
|
/**
|
|
101
104
|
* Add a generated voice to the voice library.
|
package/dist/Client.js
CHANGED
|
@@ -70,15 +70,16 @@ const Client_19 = require("./api/resources/speechToText/client/Client");
|
|
|
70
70
|
const Client_20 = require("./api/resources/forcedAlignment/client/Client");
|
|
71
71
|
const Client_21 = require("./api/resources/conversationalAi/client/Client");
|
|
72
72
|
const Client_22 = require("./api/resources/music/client/Client");
|
|
73
|
-
const Client_23 = require("./api/resources/
|
|
73
|
+
const Client_23 = require("./api/resources/tokens/client/Client");
|
|
74
|
+
const Client_24 = require("./api/resources/workspace/client/Client");
|
|
74
75
|
class ElevenLabsClient {
|
|
75
76
|
constructor(_options = {}) {
|
|
76
77
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
77
78
|
"xi-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
|
|
78
79
|
"X-Fern-Language": "JavaScript",
|
|
79
80
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
80
|
-
"X-Fern-SDK-Version": "v2.
|
|
81
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
81
|
+
"X-Fern-SDK-Version": "v2.22.0",
|
|
82
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.22.0",
|
|
82
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
85
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -171,9 +172,13 @@ class ElevenLabsClient {
|
|
|
171
172
|
var _a;
|
|
172
173
|
return ((_a = this._music) !== null && _a !== void 0 ? _a : (this._music = new Client_22.Music(this._options)));
|
|
173
174
|
}
|
|
175
|
+
get tokens() {
|
|
176
|
+
var _a;
|
|
177
|
+
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_23.Tokens(this._options)));
|
|
178
|
+
}
|
|
174
179
|
get workspace() {
|
|
175
180
|
var _a;
|
|
176
|
-
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new
|
|
181
|
+
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_24.Workspace(this._options)));
|
|
177
182
|
}
|
|
178
183
|
/**
|
|
179
184
|
* Add a generated voice to the voice library.
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ConflictError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index"));
|
|
39
|
+
class ConflictError extends errors.ElevenLabsError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "ConflictError",
|
|
43
|
+
statusCode: 409,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ConflictError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ConflictError = ConflictError;
|
package/dist/api/errors/index.js
CHANGED
|
@@ -20,3 +20,4 @@ __exportStar(require("./ForbiddenError"), exports);
|
|
|
20
20
|
__exportStar(require("./NotFoundError"), exports);
|
|
21
21
|
__exportStar(require("./TooEarlyError"), exports);
|
|
22
22
|
__exportStar(require("./UnauthorizedError"), exports);
|
|
23
|
+
__exportStar(require("./ConflictError"), exports);
|
|
@@ -23,6 +23,7 @@ export declare class Conversation extends EventEmitter {
|
|
|
23
23
|
private callbackAgentResponseCorrection?;
|
|
24
24
|
private callbackUserTranscript?;
|
|
25
25
|
private callbackLatencyMeasurement?;
|
|
26
|
+
private callbackMessageReceived?;
|
|
26
27
|
private ws?;
|
|
27
28
|
private shouldStop;
|
|
28
29
|
private conversationId?;
|
|
@@ -41,6 +42,7 @@ export declare class Conversation extends EventEmitter {
|
|
|
41
42
|
callbackAgentResponseCorrection?: (original: string, corrected: string) => void;
|
|
42
43
|
callbackUserTranscript?: (transcript: string) => void;
|
|
43
44
|
callbackLatencyMeasurement?: (latencyMs: number) => void;
|
|
45
|
+
callbackMessageReceived?: (message: any) => void;
|
|
44
46
|
});
|
|
45
47
|
/**
|
|
46
48
|
* Starts the conversation session.
|
|
@@ -42,6 +42,7 @@ class Conversation extends events_1.EventEmitter {
|
|
|
42
42
|
this.callbackAgentResponseCorrection = options.callbackAgentResponseCorrection;
|
|
43
43
|
this.callbackUserTranscript = options.callbackUserTranscript;
|
|
44
44
|
this.callbackLatencyMeasurement = options.callbackLatencyMeasurement;
|
|
45
|
+
this.callbackMessageReceived = options.callbackMessageReceived;
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
* Starts the conversation session.
|
|
@@ -263,6 +264,9 @@ class Conversation extends events_1.EventEmitter {
|
|
|
263
264
|
// Ignore unknown message types
|
|
264
265
|
break;
|
|
265
266
|
}
|
|
267
|
+
if (this.callbackMessageReceived) {
|
|
268
|
+
this.callbackMessageReceived(message);
|
|
269
|
+
}
|
|
266
270
|
}
|
|
267
271
|
_getWssUrl() {
|
|
268
272
|
// Default to production environment WebSocket URL
|
|
@@ -41,10 +41,7 @@ export declare class BatchCalls {
|
|
|
41
41
|
* await client.conversationalAi.batchCalls.create({
|
|
42
42
|
* callName: "call_name",
|
|
43
43
|
* agentId: "agent_id",
|
|
44
|
-
*
|
|
45
|
-
* recipients: [{
|
|
46
|
-
* phoneNumber: "phone_number"
|
|
47
|
-
* }]
|
|
44
|
+
* recipients: [{}]
|
|
48
45
|
* })
|
|
49
46
|
*/
|
|
50
47
|
create(request: ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost, requestOptions?: BatchCalls.RequestOptions): core.HttpResponsePromise<ElevenLabs.BatchCallResponse>;
|
|
@@ -66,10 +66,7 @@ class BatchCalls {
|
|
|
66
66
|
* await client.conversationalAi.batchCalls.create({
|
|
67
67
|
* callName: "call_name",
|
|
68
68
|
* agentId: "agent_id",
|
|
69
|
-
*
|
|
70
|
-
* recipients: [{
|
|
71
|
-
* phoneNumber: "phone_number"
|
|
72
|
-
* }]
|
|
69
|
+
* recipients: [{}]
|
|
73
70
|
* })
|
|
74
71
|
*/
|
|
75
72
|
create(request, requestOptions) {
|
|
@@ -4,16 +4,14 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
4
4
|
* {
|
|
5
5
|
* callName: "call_name",
|
|
6
6
|
* agentId: "agent_id",
|
|
7
|
-
*
|
|
8
|
-
* recipients: [{
|
|
9
|
-
* phoneNumber: "phone_number"
|
|
10
|
-
* }]
|
|
7
|
+
* recipients: [{}]
|
|
11
8
|
* }
|
|
12
9
|
*/
|
|
13
10
|
export interface BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
14
11
|
callName: string;
|
|
15
12
|
agentId: string;
|
|
16
|
-
agentPhoneNumberId: string;
|
|
17
13
|
recipients: ElevenLabs.OutboundCallRecipient[];
|
|
18
14
|
scheduledTimeUnix?: number;
|
|
15
|
+
agentPhoneNumberId?: string;
|
|
16
|
+
agentWhatsappBusinessAccountId?: string;
|
|
19
17
|
}
|
|
@@ -84,7 +84,8 @@ export declare class Conversations {
|
|
|
84
84
|
* callStartAfterUnix: 1,
|
|
85
85
|
* userId: "user_id",
|
|
86
86
|
* pageSize: 1,
|
|
87
|
-
* summaryMode: "exclude"
|
|
87
|
+
* summaryMode: "exclude",
|
|
88
|
+
* search: "search"
|
|
88
89
|
* })
|
|
89
90
|
*/
|
|
90
91
|
list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: Conversations.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
|
|
@@ -243,7 +243,8 @@ class Conversations {
|
|
|
243
243
|
* callStartAfterUnix: 1,
|
|
244
244
|
* userId: "user_id",
|
|
245
245
|
* pageSize: 1,
|
|
246
|
-
* summaryMode: "exclude"
|
|
246
|
+
* summaryMode: "exclude",
|
|
247
|
+
* search: "search"
|
|
247
248
|
* })
|
|
248
249
|
*/
|
|
249
250
|
list(request = {}, requestOptions) {
|
|
@@ -252,7 +253,7 @@ class Conversations {
|
|
|
252
253
|
__list() {
|
|
253
254
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
254
255
|
var _a, _b, _c, _d, _e;
|
|
255
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, userId, pageSize, summaryMode, } = request;
|
|
256
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, userId, pageSize, summaryMode, search, } = request;
|
|
256
257
|
const _queryParams = {};
|
|
257
258
|
if (cursor != null) {
|
|
258
259
|
_queryParams["cursor"] = cursor;
|
|
@@ -280,6 +281,9 @@ class Conversations {
|
|
|
280
281
|
if (summaryMode != null) {
|
|
281
282
|
_queryParams["summary_mode"] = serializers.conversationalAi.ConversationsListRequestSummaryMode.jsonOrThrow(summaryMode, { unrecognizedObjectKeys: "strip" });
|
|
282
283
|
}
|
|
284
|
+
if (search != null) {
|
|
285
|
+
_queryParams["search"] = search;
|
|
286
|
+
}
|
|
283
287
|
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
284
288
|
const _response = yield core.fetcher({
|
|
285
289
|
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
|
|
@@ -9,7 +9,8 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
9
9
|
* callStartAfterUnix: 1,
|
|
10
10
|
* userId: "user_id",
|
|
11
11
|
* pageSize: 1,
|
|
12
|
-
* summaryMode: "exclude"
|
|
12
|
+
* summaryMode: "exclude",
|
|
13
|
+
* search: "search"
|
|
13
14
|
* }
|
|
14
15
|
*/
|
|
15
16
|
export interface ConversationsListRequest {
|
|
@@ -29,4 +30,6 @@ export interface ConversationsListRequest {
|
|
|
29
30
|
pageSize?: number;
|
|
30
31
|
/** Whether to include transcript summaries in the response. */
|
|
31
32
|
summaryMode?: ElevenLabs.conversationalAi.ConversationsListRequestSummaryMode;
|
|
33
|
+
/** Full-text or fuzzy search over transcript messages */
|
|
34
|
+
search?: string;
|
|
32
35
|
}
|