@elevenlabs/elevenlabs-js 2.21.0 → 2.23.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.js +2 -2
- 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/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -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 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- 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 +7 -3
- 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/McpToolConfigOverrideUpdateRequestModel.js +3 -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/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +54 -4
- package/api/resources/conversationalAi/resources/tools/client/Client.js +54 -4
- 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/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
- 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/types/AgentMetadata.d.ts +1 -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/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.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/BatchCallDetailedResponse.d.ts +2 -1
- package/api/types/BatchCallResponse.d.ts +2 -1
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/api/types/ConversationFeedbackType.d.ts +5 -0
- package/api/types/ConversationFeedbackType.js +8 -0
- package/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/DiscountResposneModel.d.ts +6 -0
- package/api/types/DiscountResposneModel.js +3 -0
- package/api/types/GetAgentResponseModel.d.ts +4 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +8 -2
- package/api/types/LanguagePresetInput.d.ts +2 -0
- package/api/types/LanguagePresetOutput.d.ts +2 -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/McpServerConfigInput.d.ts +8 -2
- package/api/types/McpServerConfigOutput.d.ts +8 -2
- package/api/types/McpToolConfigOverride.d.ts +17 -0
- package/api/types/McpToolConfigOverride.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/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/api/types/ProjectVideoResponseModel.js +3 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- 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/ReferencedToolCommonModelType.d.ts +1 -0
- package/api/types/ReferencedToolCommonModelType.js +1 -0
- package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/api/types/SoftTimeoutConfig.js +3 -0
- package/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +4 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +4 -5
- package/api/types/ToolType.d.ts +2 -0
- package/api/types/ToolType.js +2 -0
- package/api/types/TtsConversationalModel.d.ts +1 -0
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/TtsModelFamily.d.ts +1 -0
- package/api/types/TtsModelFamily.js +1 -0
- package/api/types/TurnConfig.d.ts +4 -0
- package/api/types/TurnConfigOverride.d.ts +5 -0
- package/api/types/TurnConfigOverride.js +3 -0
- package/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/api/types/TurnConfigOverrideConfig.js +3 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/api/types/VoiceSegment.d.ts +2 -0
- package/api/types/WebhookToolConfigInput.d.ts +2 -2
- package/api/types/WebhookToolConfigOutput.d.ts +2 -2
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/api/types/WidgetEndFeedbackType.js +3 -0
- package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/api/types/WorkspaceResourceType.d.ts +6 -0
- package/api/types/WorkspaceResourceType.js +6 -0
- package/api/types/index.d.ts +33 -0
- package/api/types/index.js +33 -0
- package/dist/Client.js +2 -2
- 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/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -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 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- 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 +7 -3
- 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/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +54 -4
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +54 -4
- 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/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
- 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/types/AgentMetadata.d.ts +1 -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/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.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/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/api/types/BatchCallResponse.d.ts +2 -1
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationFeedbackType.d.ts +5 -0
- package/dist/api/types/ConversationFeedbackType.js +8 -0
- package/dist/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/DiscountResposneModel.d.ts +6 -0
- package/dist/api/types/DiscountResposneModel.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +4 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +8 -2
- package/dist/api/types/LanguagePresetInput.d.ts +2 -0
- package/dist/api/types/LanguagePresetOutput.d.ts +2 -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/McpServerConfigInput.d.ts +8 -2
- package/dist/api/types/McpServerConfigOutput.d.ts +8 -2
- package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
- package/dist/api/types/McpToolConfigOverride.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/ProjectExtendedResponse.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/dist/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/dist/api/types/ProjectVideoResponseModel.js +3 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- 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/ReferencedToolCommonModelType.d.ts +1 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/dist/api/types/SoftTimeoutConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -5
- package/dist/api/types/ToolType.d.ts +2 -0
- package/dist/api/types/ToolType.js +2 -0
- package/dist/api/types/TtsConversationalModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/TtsModelFamily.d.ts +1 -0
- package/dist/api/types/TtsModelFamily.js +1 -0
- package/dist/api/types/TurnConfig.d.ts +4 -0
- package/dist/api/types/TurnConfigOverride.d.ts +5 -0
- package/dist/api/types/TurnConfigOverride.js +3 -0
- package/dist/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/dist/api/types/TurnConfigOverrideConfig.js +3 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/api/types/VoiceSegment.d.ts +2 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +2 -2
- package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -2
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/dist/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/dist/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/dist/api/types/WidgetEndFeedbackType.js +3 -0
- 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 +6 -0
- package/dist/api/types/WorkspaceResourceType.js +6 -0
- package/dist/api/types/index.d.ts +33 -0
- package/dist/api/types/index.js +33 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- 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/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -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/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- 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/types/AgentMetadata.d.ts +1 -0
- package/dist/serialization/types/AgentMetadata.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
- 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/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -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/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/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/dist/serialization/types/ConversationFeedbackType.js +39 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/dist/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/dist/serialization/types/DiscountResposneModel.js +42 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +4 -0
- package/dist/serialization/types/InvoiceResponse.js +4 -0
- package/dist/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetInput.js +1 -0
- package/dist/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetOutput.js +1 -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/McpServerConfigInput.d.ts +6 -0
- package/dist/serialization/types/McpServerConfigInput.js +6 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +6 -0
- package/dist/serialization/types/McpServerConfigOutput.js +6 -0
- package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/dist/serialization/types/McpToolConfigOverride.js +51 -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/ProjectExtendedResponse.d.ts +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -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/ReferencedToolCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +42 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -5
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -3
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +9 -1
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +1 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
- package/dist/serialization/types/TtsModelFamily.js +1 -1
- package/dist/serialization/types/TurnConfig.d.ts +3 -0
- package/dist/serialization/types/TurnConfig.js +3 -0
- package/dist/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverride.js +42 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/dist/serialization/types/VoiceSegment.d.ts +1 -0
- package/dist/serialization/types/VoiceSegment.js +1 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolConfigInput.js +2 -2
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolConfigOutput.js +2 -2
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/dist/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/dist/serialization/types/WidgetEndFeedbackType.js +39 -0
- 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 +6 -0
- package/dist/serialization/types/index.d.ts +33 -0
- package/dist/serialization/types/index.js +33 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +2 -2
- package/dist/wrapper/ElevenLabsClient.js +2 -1
- package/dist/wrapper/music.d.ts +11 -0
- package/dist/wrapper/music.js +32 -0
- package/dist/wrapper/realtime/connection.d.ts +59 -10
- package/dist/wrapper/realtime/connection.js +14 -14
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/dist/wrapper/realtime/scribe.d.ts +2 -2
- package/dist/wrapper/realtime/scribe.js +5 -5
- package/package.json +1 -1
- package/reference.md +354 -11
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- 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/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -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/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- 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/types/AgentMetadata.d.ts +1 -0
- package/serialization/types/AgentMetadata.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
- 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/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -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/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/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/serialization/types/ConversationFeedbackType.js +39 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/serialization/types/DiscountResposneModel.js +42 -0
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/serialization/types/InvoiceResponse.d.ts +4 -0
- package/serialization/types/InvoiceResponse.js +4 -0
- package/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/serialization/types/LanguagePresetInput.js +1 -0
- package/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/serialization/types/LanguagePresetOutput.js +1 -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/McpServerConfigInput.d.ts +6 -0
- package/serialization/types/McpServerConfigInput.js +6 -0
- package/serialization/types/McpServerConfigOutput.d.ts +6 -0
- package/serialization/types/McpServerConfigOutput.js +6 -0
- package/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/serialization/types/McpToolConfigOverride.js +51 -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/ProjectExtendedResponse.d.ts +2 -0
- package/serialization/types/ProjectExtendedResponse.js +2 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -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/ReferencedToolCommonModelType.d.ts +1 -1
- package/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfig.js +42 -0
- package/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -5
- package/serialization/types/ToolResponseModelToolConfig.js +2 -3
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +9 -1
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +1 -0
- package/serialization/types/TtsModelFamily.d.ts +1 -1
- package/serialization/types/TtsModelFamily.js +1 -1
- package/serialization/types/TurnConfig.d.ts +3 -0
- package/serialization/types/TurnConfig.js +3 -0
- package/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/serialization/types/TurnConfigOverride.js +42 -0
- package/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/serialization/types/VoiceSegment.d.ts +1 -0
- package/serialization/types/VoiceSegment.js +1 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +2 -2
- package/serialization/types/WebhookToolConfigInput.js +2 -2
- package/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
- package/serialization/types/WebhookToolConfigOutput.js +2 -2
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/serialization/types/WidgetEndFeedbackType.js +39 -0
- 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 +6 -0
- package/serialization/types/index.d.ts +33 -0
- package/serialization/types/index.js +33 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +2 -2
- package/wrapper/ElevenLabsClient.js +2 -1
- package/wrapper/music.d.ts +11 -0
- package/wrapper/music.js +32 -0
- package/wrapper/realtime/connection.d.ts +59 -10
- package/wrapper/realtime/connection.js +14 -14
- package/wrapper/realtime/index.d.ts +1 -1
- package/wrapper/realtime/scribe.d.ts +2 -2
- package/wrapper/realtime/scribe.js +5 -5
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- /package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js} +0 -0
|
@@ -51,10 +51,16 @@ exports.WorkspaceResourceType = core.serialization.enum_([
|
|
|
51
51
|
"convai_phone_numbers",
|
|
52
52
|
"convai_mcp_servers",
|
|
53
53
|
"convai_api_integration_connections",
|
|
54
|
+
"convai_api_integration_trigger_connections",
|
|
54
55
|
"convai_batch_calls",
|
|
55
56
|
"convai_agent_response_tests",
|
|
56
57
|
"convai_test_suite_invocations",
|
|
57
58
|
"convai_crawl_jobs",
|
|
58
59
|
"convai_crawl_tasks",
|
|
59
60
|
"convai_whatsapp_accounts",
|
|
61
|
+
"convai_agent_versions",
|
|
62
|
+
"convai_agent_branches",
|
|
63
|
+
"convai_agent_versions_deployments",
|
|
64
|
+
"dashboard",
|
|
65
|
+
"dashboard_configuration",
|
|
60
66
|
]);
|
|
@@ -96,6 +96,14 @@ 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";
|
|
105
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalInput";
|
|
106
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalOutput";
|
|
99
107
|
export * from "./ArrayJsonSchemaPropertyInputItems";
|
|
100
108
|
export * from "./ArrayJsonSchemaPropertyInput";
|
|
101
109
|
export * from "./ArrayJsonSchemaPropertyOutputItems";
|
|
@@ -187,6 +195,7 @@ export * from "./ConversationConfigOverride";
|
|
|
187
195
|
export * from "./ConversationConfigOverrideConfig";
|
|
188
196
|
export * from "./ConversationConfigWorkflowOverride";
|
|
189
197
|
export * from "./ConversationDeletionSettings";
|
|
198
|
+
export * from "./ConversationFeedbackType";
|
|
190
199
|
export * from "./ConversationHistoryAnalysisCommonModel";
|
|
191
200
|
export * from "./ConversationHistoryBatchCallModel";
|
|
192
201
|
export * from "./ConversationHistoryElevenAssistantCommonModel";
|
|
@@ -280,6 +289,7 @@ export * from "./DependentUnknownToolIdentifier";
|
|
|
280
289
|
export * from "./DetailedMusicResponse";
|
|
281
290
|
export * from "./DialogueInput";
|
|
282
291
|
export * from "./DialogueInputResponseModel";
|
|
292
|
+
export * from "./DiscountResposneModel";
|
|
283
293
|
export * from "./DoDubbingResponse";
|
|
284
294
|
export * from "./DocumentUsageModeEnum";
|
|
285
295
|
export * from "./DocxExportOptions";
|
|
@@ -410,6 +420,8 @@ export * from "./ListResponseMeta";
|
|
|
410
420
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
411
421
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
412
422
|
export * from "./LiteralJsonSchemaProperty";
|
|
423
|
+
export * from "./LiteralOverrideConstantValue";
|
|
424
|
+
export * from "./LiteralOverride";
|
|
413
425
|
export * from "./LivekitStackType";
|
|
414
426
|
export * from "./McpApprovalPolicy";
|
|
415
427
|
export * from "./McpServerConfigInputUrl";
|
|
@@ -427,6 +439,7 @@ export * from "./McpServerTransport";
|
|
|
427
439
|
export * from "./McpServersResponseModel";
|
|
428
440
|
export * from "./McpToolApprovalHash";
|
|
429
441
|
export * from "./McpToolApprovalPolicy";
|
|
442
|
+
export * from "./McpToolConfigOverride";
|
|
430
443
|
export * from "./ManualVerificationFileResponse";
|
|
431
444
|
export * from "./ManualVerificationResponse";
|
|
432
445
|
export * from "./MatchAnythingParameterEvaluationStrategy";
|
|
@@ -445,6 +458,10 @@ export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
|
|
|
445
458
|
export * from "./ObjectJsonSchemaPropertyInput";
|
|
446
459
|
export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
|
|
447
460
|
export * from "./ObjectJsonSchemaPropertyOutput";
|
|
461
|
+
export * from "./ObjectOverrideInputPropertiesValue";
|
|
462
|
+
export * from "./ObjectOverrideInput";
|
|
463
|
+
export * from "./ObjectOverrideOutputPropertiesValue";
|
|
464
|
+
export * from "./ObjectOverrideOutput";
|
|
448
465
|
export * from "./OrbAvatar";
|
|
449
466
|
export * from "./OutboundCallRecipient";
|
|
450
467
|
export * from "./OutboundCallRecipientResponseModel";
|
|
@@ -452,8 +469,10 @@ export * from "./OutboundSipTrunkConfigRequestModel";
|
|
|
452
469
|
export * from "./PdfExportOptions";
|
|
453
470
|
export * from "./PendingCancellationResponseModel";
|
|
454
471
|
export * from "./PendingSubscriptionSwitchResponseModelNextTier";
|
|
472
|
+
export * from "./PendingSubscriptionSwitchResponseModelNextBillingPeriod";
|
|
455
473
|
export * from "./PendingSubscriptionSwitchResponseModel";
|
|
456
474
|
export * from "./PhoneNumberAgentInfo";
|
|
475
|
+
export * from "./PhoneNumberDynamicVariableTransferDestination";
|
|
457
476
|
export * from "./PhoneNumberTransferTransferDestination";
|
|
458
477
|
export * from "./PhoneNumberTransfer";
|
|
459
478
|
export * from "./PhoneNumberTransferDestination";
|
|
@@ -483,7 +502,9 @@ export * from "./ProjectExtendedResponseModelSourceType";
|
|
|
483
502
|
export * from "./ProjectExtendedResponseModelAspectRatio";
|
|
484
503
|
export * from "./ProjectExtendedResponseModelQualityPreset";
|
|
485
504
|
export * from "./ProjectExtendedResponseModelApplyTextNormalization";
|
|
505
|
+
export * from "./ProjectExtendedResponseModelAssetsItem";
|
|
486
506
|
export * from "./ProjectExtendedResponse";
|
|
507
|
+
export * from "./ProjectExternalAudioResponseModel";
|
|
487
508
|
export * from "./ProjectResponseModelTargetAudience";
|
|
488
509
|
export * from "./ProjectResponseModelAccessLevel";
|
|
489
510
|
export * from "./ProjectResponseModelFiction";
|
|
@@ -493,6 +514,8 @@ export * from "./ProjectResponse";
|
|
|
493
514
|
export * from "./ProjectSnapshotExtendedResponseModel";
|
|
494
515
|
export * from "./ProjectSnapshotResponse";
|
|
495
516
|
export * from "./ProjectSnapshotsResponse";
|
|
517
|
+
export * from "./ProjectVideoResponseModel";
|
|
518
|
+
export * from "./ProjectVideoThumbnailSheetResponseModel";
|
|
496
519
|
export * from "./PromptAgentApiModelInputBackupLlmConfig";
|
|
497
520
|
export * from "./PromptAgentApiModelInputToolsItem";
|
|
498
521
|
export * from "./PromptAgentApiModelInput";
|
|
@@ -516,6 +539,7 @@ export * from "./PronunciationDictionaryVersionLocator";
|
|
|
516
539
|
export * from "./PronunciationDictionaryVersionResponseModelPermissionOnResource";
|
|
517
540
|
export * from "./PronunciationDictionaryVersionResponseModel";
|
|
518
541
|
export * from "./PydanticPronunciationDictionaryVersionLocator";
|
|
542
|
+
export * from "./QueryOverride";
|
|
519
543
|
export * from "./QueryParamsJsonSchema";
|
|
520
544
|
export * from "./RagDocumentIndexResponseModel";
|
|
521
545
|
export * from "./RagDocumentIndexUsage";
|
|
@@ -546,6 +570,7 @@ export * from "./SipMediaEncryptionEnum";
|
|
|
546
570
|
export * from "./SipTrunkCredentialsRequestModel";
|
|
547
571
|
export * from "./SipTrunkOutboundCallResponse";
|
|
548
572
|
export * from "./SipTrunkTransportEnum";
|
|
573
|
+
export * from "./SipUriDynamicVariableTransferDestination";
|
|
549
574
|
export * from "./SipUriTransferDestination";
|
|
550
575
|
export * from "./SafetyCommonModel";
|
|
551
576
|
export * from "./SafetyEvaluation";
|
|
@@ -572,6 +597,10 @@ export * from "./SingleUseTokenResponseModel";
|
|
|
572
597
|
export * from "./SingleUseTokenType";
|
|
573
598
|
export * from "./SkipTurnToolConfig";
|
|
574
599
|
export * from "./SkipTurnToolResponseModel";
|
|
600
|
+
export * from "./SoftTimeoutConfig";
|
|
601
|
+
export * from "./SoftTimeoutConfigOverride";
|
|
602
|
+
export * from "./SoftTimeoutConfigOverrideConfig";
|
|
603
|
+
export * from "./SoftTimeoutConfigWorkflowOverride";
|
|
575
604
|
export * from "./SongMetadata";
|
|
576
605
|
export * from "./SongSection";
|
|
577
606
|
export * from "./SortDirection";
|
|
@@ -652,6 +681,8 @@ export * from "./TransferToNumberToolConfigInput";
|
|
|
652
681
|
export * from "./TransferToNumberToolConfigOutput";
|
|
653
682
|
export * from "./TransferTypeEnum";
|
|
654
683
|
export * from "./TurnConfig";
|
|
684
|
+
export * from "./TurnConfigOverride";
|
|
685
|
+
export * from "./TurnConfigOverrideConfig";
|
|
655
686
|
export * from "./TurnConfigWorkflowOverride";
|
|
656
687
|
export * from "./TurnEagerness";
|
|
657
688
|
export * from "./TurnMode";
|
|
@@ -719,6 +750,8 @@ export * from "./WidgetConfig";
|
|
|
719
750
|
export * from "./WidgetConfigOutputAvatar";
|
|
720
751
|
export * from "./WidgetConfigResponseModelAvatar";
|
|
721
752
|
export * from "./WidgetConfigResponse";
|
|
753
|
+
export * from "./WidgetEndFeedbackConfig";
|
|
754
|
+
export * from "./WidgetEndFeedbackType";
|
|
722
755
|
export * from "./WidgetExpandable";
|
|
723
756
|
export * from "./WidgetFeedbackMode";
|
|
724
757
|
export * from "./WidgetLanguagePreset";
|
|
@@ -112,6 +112,14 @@ __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);
|
|
121
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalInput"), exports);
|
|
122
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalOutput"), exports);
|
|
115
123
|
__exportStar(require("./ArrayJsonSchemaPropertyInputItems"), exports);
|
|
116
124
|
__exportStar(require("./ArrayJsonSchemaPropertyInput"), exports);
|
|
117
125
|
__exportStar(require("./ArrayJsonSchemaPropertyOutputItems"), exports);
|
|
@@ -203,6 +211,7 @@ __exportStar(require("./ConversationConfigOverride"), exports);
|
|
|
203
211
|
__exportStar(require("./ConversationConfigOverrideConfig"), exports);
|
|
204
212
|
__exportStar(require("./ConversationConfigWorkflowOverride"), exports);
|
|
205
213
|
__exportStar(require("./ConversationDeletionSettings"), exports);
|
|
214
|
+
__exportStar(require("./ConversationFeedbackType"), exports);
|
|
206
215
|
__exportStar(require("./ConversationHistoryAnalysisCommonModel"), exports);
|
|
207
216
|
__exportStar(require("./ConversationHistoryBatchCallModel"), exports);
|
|
208
217
|
__exportStar(require("./ConversationHistoryElevenAssistantCommonModel"), exports);
|
|
@@ -296,6 +305,7 @@ __exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
|
296
305
|
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
297
306
|
__exportStar(require("./DialogueInput"), exports);
|
|
298
307
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
308
|
+
__exportStar(require("./DiscountResposneModel"), exports);
|
|
299
309
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
300
310
|
__exportStar(require("./DocumentUsageModeEnum"), exports);
|
|
301
311
|
__exportStar(require("./DocxExportOptions"), exports);
|
|
@@ -426,6 +436,8 @@ __exportStar(require("./ListResponseMeta"), exports);
|
|
|
426
436
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
427
437
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
428
438
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
439
|
+
__exportStar(require("./LiteralOverrideConstantValue"), exports);
|
|
440
|
+
__exportStar(require("./LiteralOverride"), exports);
|
|
429
441
|
__exportStar(require("./LivekitStackType"), exports);
|
|
430
442
|
__exportStar(require("./McpApprovalPolicy"), exports);
|
|
431
443
|
__exportStar(require("./McpServerConfigInputUrl"), exports);
|
|
@@ -443,6 +455,7 @@ __exportStar(require("./McpServerTransport"), exports);
|
|
|
443
455
|
__exportStar(require("./McpServersResponseModel"), exports);
|
|
444
456
|
__exportStar(require("./McpToolApprovalHash"), exports);
|
|
445
457
|
__exportStar(require("./McpToolApprovalPolicy"), exports);
|
|
458
|
+
__exportStar(require("./McpToolConfigOverride"), exports);
|
|
446
459
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
447
460
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
448
461
|
__exportStar(require("./MatchAnythingParameterEvaluationStrategy"), exports);
|
|
@@ -461,6 +474,10 @@ __exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports)
|
|
|
461
474
|
__exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
|
|
462
475
|
__exportStar(require("./ObjectJsonSchemaPropertyOutputPropertiesValue"), exports);
|
|
463
476
|
__exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
|
|
477
|
+
__exportStar(require("./ObjectOverrideInputPropertiesValue"), exports);
|
|
478
|
+
__exportStar(require("./ObjectOverrideInput"), exports);
|
|
479
|
+
__exportStar(require("./ObjectOverrideOutputPropertiesValue"), exports);
|
|
480
|
+
__exportStar(require("./ObjectOverrideOutput"), exports);
|
|
464
481
|
__exportStar(require("./OrbAvatar"), exports);
|
|
465
482
|
__exportStar(require("./OutboundCallRecipient"), exports);
|
|
466
483
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
@@ -468,8 +485,10 @@ __exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
|
468
485
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
469
486
|
__exportStar(require("./PendingCancellationResponseModel"), exports);
|
|
470
487
|
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextTier"), exports);
|
|
488
|
+
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextBillingPeriod"), exports);
|
|
471
489
|
__exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
|
|
472
490
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
491
|
+
__exportStar(require("./PhoneNumberDynamicVariableTransferDestination"), exports);
|
|
473
492
|
__exportStar(require("./PhoneNumberTransferTransferDestination"), exports);
|
|
474
493
|
__exportStar(require("./PhoneNumberTransfer"), exports);
|
|
475
494
|
__exportStar(require("./PhoneNumberTransferDestination"), exports);
|
|
@@ -499,7 +518,9 @@ __exportStar(require("./ProjectExtendedResponseModelSourceType"), exports);
|
|
|
499
518
|
__exportStar(require("./ProjectExtendedResponseModelAspectRatio"), exports);
|
|
500
519
|
__exportStar(require("./ProjectExtendedResponseModelQualityPreset"), exports);
|
|
501
520
|
__exportStar(require("./ProjectExtendedResponseModelApplyTextNormalization"), exports);
|
|
521
|
+
__exportStar(require("./ProjectExtendedResponseModelAssetsItem"), exports);
|
|
502
522
|
__exportStar(require("./ProjectExtendedResponse"), exports);
|
|
523
|
+
__exportStar(require("./ProjectExternalAudioResponseModel"), exports);
|
|
503
524
|
__exportStar(require("./ProjectResponseModelTargetAudience"), exports);
|
|
504
525
|
__exportStar(require("./ProjectResponseModelAccessLevel"), exports);
|
|
505
526
|
__exportStar(require("./ProjectResponseModelFiction"), exports);
|
|
@@ -509,6 +530,8 @@ __exportStar(require("./ProjectResponse"), exports);
|
|
|
509
530
|
__exportStar(require("./ProjectSnapshotExtendedResponseModel"), exports);
|
|
510
531
|
__exportStar(require("./ProjectSnapshotResponse"), exports);
|
|
511
532
|
__exportStar(require("./ProjectSnapshotsResponse"), exports);
|
|
533
|
+
__exportStar(require("./ProjectVideoResponseModel"), exports);
|
|
534
|
+
__exportStar(require("./ProjectVideoThumbnailSheetResponseModel"), exports);
|
|
512
535
|
__exportStar(require("./PromptAgentApiModelInputBackupLlmConfig"), exports);
|
|
513
536
|
__exportStar(require("./PromptAgentApiModelInputToolsItem"), exports);
|
|
514
537
|
__exportStar(require("./PromptAgentApiModelInput"), exports);
|
|
@@ -532,6 +555,7 @@ __exportStar(require("./PronunciationDictionaryVersionLocator"), exports);
|
|
|
532
555
|
__exportStar(require("./PronunciationDictionaryVersionResponseModelPermissionOnResource"), exports);
|
|
533
556
|
__exportStar(require("./PronunciationDictionaryVersionResponseModel"), exports);
|
|
534
557
|
__exportStar(require("./PydanticPronunciationDictionaryVersionLocator"), exports);
|
|
558
|
+
__exportStar(require("./QueryOverride"), exports);
|
|
535
559
|
__exportStar(require("./QueryParamsJsonSchema"), exports);
|
|
536
560
|
__exportStar(require("./RagDocumentIndexResponseModel"), exports);
|
|
537
561
|
__exportStar(require("./RagDocumentIndexUsage"), exports);
|
|
@@ -562,6 +586,7 @@ __exportStar(require("./SipMediaEncryptionEnum"), exports);
|
|
|
562
586
|
__exportStar(require("./SipTrunkCredentialsRequestModel"), exports);
|
|
563
587
|
__exportStar(require("./SipTrunkOutboundCallResponse"), exports);
|
|
564
588
|
__exportStar(require("./SipTrunkTransportEnum"), exports);
|
|
589
|
+
__exportStar(require("./SipUriDynamicVariableTransferDestination"), exports);
|
|
565
590
|
__exportStar(require("./SipUriTransferDestination"), exports);
|
|
566
591
|
__exportStar(require("./SafetyCommonModel"), exports);
|
|
567
592
|
__exportStar(require("./SafetyEvaluation"), exports);
|
|
@@ -588,6 +613,10 @@ __exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
|
588
613
|
__exportStar(require("./SingleUseTokenType"), exports);
|
|
589
614
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
590
615
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
616
|
+
__exportStar(require("./SoftTimeoutConfig"), exports);
|
|
617
|
+
__exportStar(require("./SoftTimeoutConfigOverride"), exports);
|
|
618
|
+
__exportStar(require("./SoftTimeoutConfigOverrideConfig"), exports);
|
|
619
|
+
__exportStar(require("./SoftTimeoutConfigWorkflowOverride"), exports);
|
|
591
620
|
__exportStar(require("./SongMetadata"), exports);
|
|
592
621
|
__exportStar(require("./SongSection"), exports);
|
|
593
622
|
__exportStar(require("./SortDirection"), exports);
|
|
@@ -668,6 +697,8 @@ __exportStar(require("./TransferToNumberToolConfigInput"), exports);
|
|
|
668
697
|
__exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
669
698
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
670
699
|
__exportStar(require("./TurnConfig"), exports);
|
|
700
|
+
__exportStar(require("./TurnConfigOverride"), exports);
|
|
701
|
+
__exportStar(require("./TurnConfigOverrideConfig"), exports);
|
|
671
702
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
672
703
|
__exportStar(require("./TurnEagerness"), exports);
|
|
673
704
|
__exportStar(require("./TurnMode"), exports);
|
|
@@ -735,6 +766,8 @@ __exportStar(require("./WidgetConfig"), exports);
|
|
|
735
766
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
736
767
|
__exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
|
|
737
768
|
__exportStar(require("./WidgetConfigResponse"), exports);
|
|
769
|
+
__exportStar(require("./WidgetEndFeedbackConfig"), exports);
|
|
770
|
+
__exportStar(require("./WidgetEndFeedbackType"), exports);
|
|
738
771
|
__exportStar(require("./WidgetExpandable"), exports);
|
|
739
772
|
__exportStar(require("./WidgetFeedbackMode"), exports);
|
|
740
773
|
__exportStar(require("./WidgetLanguagePreset"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.23.0";
|
package/dist/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElevenLabsClient as FernClient } from "../Client";
|
|
2
2
|
import type * as core from "../core";
|
|
3
3
|
import { WebhooksClient } from "./webhooks";
|
|
4
|
-
import { Music } from "
|
|
4
|
+
import { Music as GeneratedMusic } from "../api/resources/music/client/Client";
|
|
5
5
|
import { SpeechToText } from "./speechToText";
|
|
6
6
|
export declare namespace ElevenLabsClient {
|
|
7
7
|
interface Options extends FernClient.Options {
|
|
@@ -18,6 +18,6 @@ export declare class ElevenLabsClient extends FernClient {
|
|
|
18
18
|
private _customSpeechToText;
|
|
19
19
|
constructor(options?: ElevenLabsClient.Options);
|
|
20
20
|
get webhooks(): WebhooksClient;
|
|
21
|
-
get music():
|
|
21
|
+
get music(): GeneratedMusic;
|
|
22
22
|
get speechToText(): SpeechToText;
|
|
23
23
|
}
|
|
@@ -57,11 +57,12 @@ class ElevenLabsClient extends Client_1.ElevenLabsClient {
|
|
|
57
57
|
}
|
|
58
58
|
return this._customWebhooks;
|
|
59
59
|
}
|
|
60
|
-
// @ts-expect-error - Intentionally overriding with wrapper Music that has enhanced composeDetailed
|
|
61
60
|
get music() {
|
|
62
61
|
if (!this._customMusic) {
|
|
63
62
|
this._customMusic = new music_1.Music(this._options);
|
|
64
63
|
}
|
|
64
|
+
// Return wrapper Music cast as GeneratedMusic to maintain type compatibility
|
|
65
|
+
// The wrapper has enhanced composeDetailed that returns MultipartResponse
|
|
65
66
|
return this._customMusic;
|
|
66
67
|
}
|
|
67
68
|
get speechToText() {
|
package/dist/wrapper/music.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface MultipartResponse {
|
|
|
25
25
|
}
|
|
26
26
|
export declare class Music {
|
|
27
27
|
private _client;
|
|
28
|
+
private readonly _options;
|
|
29
|
+
private _compositionPlan;
|
|
28
30
|
constructor(options?: Music.Options);
|
|
29
31
|
/**
|
|
30
32
|
* Get the composition plan client
|
|
@@ -35,6 +37,7 @@ export declare class Music {
|
|
|
35
37
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
36
38
|
*/
|
|
37
39
|
compose(request?: ElevenLabs.BodyComposeMusicV1MusicPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
40
|
+
private __compose;
|
|
38
41
|
/**
|
|
39
42
|
* Compose a song from a prompt or a composition plan with detailed response parsing.
|
|
40
43
|
*
|
|
@@ -96,11 +99,19 @@ export declare class Music {
|
|
|
96
99
|
*/
|
|
97
100
|
composeDetailed(request?: ElevenLabs.BodyComposeMusicWithADetailedResponseV1MusicDetailedPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<MultipartResponse>;
|
|
98
101
|
private _composeDetailed;
|
|
102
|
+
private __composeDetailed;
|
|
99
103
|
/**
|
|
100
104
|
* Stream a composed song from a prompt or a composition plan.
|
|
101
105
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
102
106
|
*/
|
|
103
107
|
stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
108
|
+
private __stream;
|
|
109
|
+
/**
|
|
110
|
+
* Separate a music file into individual stems
|
|
111
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
112
|
+
*/
|
|
113
|
+
separateStems(request: ElevenLabs.BodyStemSeparationV1MusicStemSeparationPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
114
|
+
private __separateStems;
|
|
104
115
|
/**
|
|
105
116
|
* Reads a ReadableStream containing multipart data and parses it into JSON and audio parts
|
|
106
117
|
* @param stream - ReadableStream from ElevenLabs music API response
|
package/dist/wrapper/music.js
CHANGED
|
@@ -47,6 +47,7 @@ const Client_1 = require("../api/resources/music/client/Client");
|
|
|
47
47
|
const core = __importStar(require("../core"));
|
|
48
48
|
class Music {
|
|
49
49
|
constructor(options = {}) {
|
|
50
|
+
this._options = options;
|
|
50
51
|
this._client = new Client_1.Music(options);
|
|
51
52
|
}
|
|
52
53
|
/**
|
|
@@ -62,6 +63,12 @@ class Music {
|
|
|
62
63
|
compose(request = {}, requestOptions) {
|
|
63
64
|
return this._client.compose(request, requestOptions);
|
|
64
65
|
}
|
|
66
|
+
// Private method for structural compatibility with generated Music class
|
|
67
|
+
__compose(request = {}, requestOptions) {
|
|
68
|
+
// This method exists for type compatibility only
|
|
69
|
+
// The actual implementation is delegated through compose()
|
|
70
|
+
throw new Error("Internal method - should not be called directly");
|
|
71
|
+
}
|
|
65
72
|
/**
|
|
66
73
|
* Compose a song from a prompt or a composition plan with detailed response parsing.
|
|
67
74
|
*
|
|
@@ -139,6 +146,12 @@ class Music {
|
|
|
139
146
|
}
|
|
140
147
|
});
|
|
141
148
|
}
|
|
149
|
+
// Private method for structural compatibility with generated Music class
|
|
150
|
+
__composeDetailed(request = {}, requestOptions) {
|
|
151
|
+
// This method exists for type compatibility only
|
|
152
|
+
// The actual implementation is delegated through composeDetailed()
|
|
153
|
+
throw new Error("Internal method - should not be called directly");
|
|
154
|
+
}
|
|
142
155
|
/**
|
|
143
156
|
* Stream a composed song from a prompt or a composition plan.
|
|
144
157
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -146,6 +159,25 @@ class Music {
|
|
|
146
159
|
stream(request = {}, requestOptions) {
|
|
147
160
|
return this._client.stream(request, requestOptions);
|
|
148
161
|
}
|
|
162
|
+
// Private method for structural compatibility with generated Music class
|
|
163
|
+
__stream(request = {}, requestOptions) {
|
|
164
|
+
// This method exists for type compatibility only
|
|
165
|
+
// The actual implementation is delegated through stream()
|
|
166
|
+
throw new Error("Internal method - should not be called directly");
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Separate a music file into individual stems
|
|
170
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
171
|
+
*/
|
|
172
|
+
separateStems(request, requestOptions) {
|
|
173
|
+
return this._client.separateStems(request, requestOptions);
|
|
174
|
+
}
|
|
175
|
+
// Private method for structural compatibility with generated Music class
|
|
176
|
+
__separateStems(request, requestOptions) {
|
|
177
|
+
// This method exists for type compatibility only
|
|
178
|
+
// The actual implementation is delegated through separateStems()
|
|
179
|
+
throw new Error("Internal method - should not be called directly");
|
|
180
|
+
}
|
|
149
181
|
/**
|
|
150
182
|
* Reads a ReadableStream containing multipart data and parses it into JSON and audio parts
|
|
151
183
|
* @param stream - ReadableStream from ElevenLabs music API response
|
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
import WebSocket from "ws";
|
|
2
2
|
import type { ChildProcess } from "node:child_process";
|
|
3
|
+
import type { AudioFormat, CommitStrategy } from "./scribe";
|
|
4
|
+
export interface InputAudioChunk {
|
|
5
|
+
message_type: "input_audio_chunk";
|
|
6
|
+
audio_base_64: string;
|
|
7
|
+
commit: boolean;
|
|
8
|
+
sample_rate: number;
|
|
9
|
+
}
|
|
10
|
+
export type WordsItemType = "word" | "spacing";
|
|
11
|
+
export interface WordsItem {
|
|
12
|
+
text?: string;
|
|
13
|
+
start?: number;
|
|
14
|
+
end?: number;
|
|
15
|
+
type?: WordsItemType;
|
|
16
|
+
speaker_id?: string;
|
|
17
|
+
logprob?: number;
|
|
18
|
+
characters?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface Config {
|
|
21
|
+
sample_rate?: number;
|
|
22
|
+
audio_format?: AudioFormat;
|
|
23
|
+
language_code?: string;
|
|
24
|
+
vad_commit_strategy?: CommitStrategy;
|
|
25
|
+
vad_silence_threshold_secs?: number;
|
|
26
|
+
vad_threshold?: number;
|
|
27
|
+
min_speech_duration_ms?: number;
|
|
28
|
+
min_silence_duration_ms?: number;
|
|
29
|
+
model_id?: string;
|
|
30
|
+
disable_logging?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface SessionStartedMessage {
|
|
33
|
+
message_type: "session_started";
|
|
34
|
+
session_id: string;
|
|
35
|
+
config: Config;
|
|
36
|
+
}
|
|
37
|
+
export interface PartialTranscriptMessage {
|
|
38
|
+
message_type: "partial_transcript";
|
|
39
|
+
text: string;
|
|
40
|
+
}
|
|
41
|
+
export interface CommittedTranscriptMessage {
|
|
42
|
+
message_type: "committed_transcript";
|
|
43
|
+
text: string;
|
|
44
|
+
}
|
|
45
|
+
export interface CommittedTranscriptWithTimestampsMessage {
|
|
46
|
+
message_type: "committed_transcript_with_timestamps";
|
|
47
|
+
text: string;
|
|
48
|
+
language_code?: string;
|
|
49
|
+
words?: WordsItem[];
|
|
50
|
+
}
|
|
51
|
+
export type WebSocketMessage = SessionStartedMessage | PartialTranscriptMessage | CommittedTranscriptMessage | CommittedTranscriptWithTimestampsMessage;
|
|
3
52
|
/**
|
|
4
53
|
* Events emitted by the RealtimeConnection.
|
|
5
54
|
*/
|
|
@@ -8,10 +57,10 @@ export declare enum RealtimeEvents {
|
|
|
8
57
|
SESSION_STARTED = "session_started",
|
|
9
58
|
/** Emitted when a partial (interim) transcript is available */
|
|
10
59
|
PARTIAL_TRANSCRIPT = "partial_transcript",
|
|
11
|
-
/** Emitted when a
|
|
12
|
-
|
|
13
|
-
/** Emitted when a
|
|
14
|
-
|
|
60
|
+
/** Emitted when a committed transcript is available */
|
|
61
|
+
COMMITTED_TRANSCRIPT = "committed_transcript",
|
|
62
|
+
/** Emitted when a committed transcript with timestamps is available */
|
|
63
|
+
COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS = "committed_transcript_with_timestamps",
|
|
15
64
|
/** Emitted when an error occurs */
|
|
16
65
|
ERROR = "error",
|
|
17
66
|
/** Emitted when the WebSocket connection is opened */
|
|
@@ -28,7 +77,7 @@ export declare enum RealtimeEvents {
|
|
|
28
77
|
* @example
|
|
29
78
|
* ```typescript
|
|
30
79
|
* const connection = await client.speechToText.realtime.connect({
|
|
31
|
-
* modelId: "
|
|
80
|
+
* modelId: "scribe_v2_realtime",
|
|
32
81
|
* audioFormat: AudioFormat.PCM_16000,
|
|
33
82
|
* sampleRate: 16000,
|
|
34
83
|
* });
|
|
@@ -41,7 +90,7 @@ export declare enum RealtimeEvents {
|
|
|
41
90
|
* console.log("Partial:", data.transcript);
|
|
42
91
|
* });
|
|
43
92
|
*
|
|
44
|
-
* connection.on(RealtimeEvents.
|
|
93
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
45
94
|
* console.log("Final:", data.transcript);
|
|
46
95
|
* connection.close();
|
|
47
96
|
* });
|
|
@@ -85,7 +134,7 @@ export declare class RealtimeConnection {
|
|
|
85
134
|
* console.log("Partial:", data.transcript);
|
|
86
135
|
* });
|
|
87
136
|
*
|
|
88
|
-
* connection.on(RealtimeEvents.
|
|
137
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
89
138
|
* console.log("Final:", data.transcript);
|
|
90
139
|
* });
|
|
91
140
|
* ```
|
|
@@ -137,8 +186,8 @@ export declare class RealtimeConnection {
|
|
|
137
186
|
sampleRate?: number;
|
|
138
187
|
}): void;
|
|
139
188
|
/**
|
|
140
|
-
* Commits the
|
|
141
|
-
*
|
|
189
|
+
* Commits the segment, triggering a COMMITTED_TRANSCRIPT event and clearing the buffer.
|
|
190
|
+
* It's recommend to commit often when using CommitStrategy.MANUAL to keep latency low.
|
|
142
191
|
*
|
|
143
192
|
* @throws {Error} If the WebSocket connection is not open
|
|
144
193
|
*
|
|
@@ -168,7 +217,7 @@ export declare class RealtimeConnection {
|
|
|
168
217
|
*
|
|
169
218
|
* @example
|
|
170
219
|
* ```typescript
|
|
171
|
-
* connection.on(RealtimeEvents.
|
|
220
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
172
221
|
* console.log("Final:", data.transcript);
|
|
173
222
|
* connection.close();
|
|
174
223
|
* });
|
|
@@ -15,10 +15,10 @@ var RealtimeEvents;
|
|
|
15
15
|
RealtimeEvents["SESSION_STARTED"] = "session_started";
|
|
16
16
|
/** Emitted when a partial (interim) transcript is available */
|
|
17
17
|
RealtimeEvents["PARTIAL_TRANSCRIPT"] = "partial_transcript";
|
|
18
|
-
/** Emitted when a
|
|
19
|
-
RealtimeEvents["
|
|
20
|
-
/** Emitted when a
|
|
21
|
-
RealtimeEvents["
|
|
18
|
+
/** Emitted when a committed transcript is available */
|
|
19
|
+
RealtimeEvents["COMMITTED_TRANSCRIPT"] = "committed_transcript";
|
|
20
|
+
/** Emitted when a committed transcript with timestamps is available */
|
|
21
|
+
RealtimeEvents["COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS"] = "committed_transcript_with_timestamps";
|
|
22
22
|
/** Emitted when an error occurs */
|
|
23
23
|
RealtimeEvents["ERROR"] = "error";
|
|
24
24
|
/** Emitted when the WebSocket connection is opened */
|
|
@@ -35,7 +35,7 @@ var RealtimeEvents;
|
|
|
35
35
|
* @example
|
|
36
36
|
* ```typescript
|
|
37
37
|
* const connection = await client.speechToText.realtime.connect({
|
|
38
|
-
* modelId: "
|
|
38
|
+
* modelId: "scribe_v2_realtime",
|
|
39
39
|
* audioFormat: AudioFormat.PCM_16000,
|
|
40
40
|
* sampleRate: 16000,
|
|
41
41
|
* });
|
|
@@ -48,7 +48,7 @@ var RealtimeEvents;
|
|
|
48
48
|
* console.log("Partial:", data.transcript);
|
|
49
49
|
* });
|
|
50
50
|
*
|
|
51
|
-
* connection.on(RealtimeEvents.
|
|
51
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
52
52
|
* console.log("Final:", data.transcript);
|
|
53
53
|
* connection.close();
|
|
54
54
|
* });
|
|
@@ -93,11 +93,11 @@ class RealtimeConnection {
|
|
|
93
93
|
case "partial_transcript":
|
|
94
94
|
this.eventEmitter.emit(RealtimeEvents.PARTIAL_TRANSCRIPT, data);
|
|
95
95
|
break;
|
|
96
|
-
case "
|
|
97
|
-
this.eventEmitter.emit(RealtimeEvents.
|
|
96
|
+
case "committed_transcript":
|
|
97
|
+
this.eventEmitter.emit(RealtimeEvents.COMMITTED_TRANSCRIPT, data);
|
|
98
98
|
break;
|
|
99
|
-
case "
|
|
100
|
-
this.eventEmitter.emit(RealtimeEvents.
|
|
99
|
+
case "committed_transcript_with_timestamps":
|
|
100
|
+
this.eventEmitter.emit(RealtimeEvents.COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS, data);
|
|
101
101
|
break;
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -132,7 +132,7 @@ class RealtimeConnection {
|
|
|
132
132
|
* console.log("Partial:", data.transcript);
|
|
133
133
|
* });
|
|
134
134
|
*
|
|
135
|
-
* connection.on(RealtimeEvents.
|
|
135
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
136
136
|
* console.log("Final:", data.transcript);
|
|
137
137
|
* });
|
|
138
138
|
* ```
|
|
@@ -196,8 +196,8 @@ class RealtimeConnection {
|
|
|
196
196
|
this.websocket.send(JSON.stringify(message));
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* Commits the
|
|
200
|
-
*
|
|
199
|
+
* Commits the segment, triggering a COMMITTED_TRANSCRIPT event and clearing the buffer.
|
|
200
|
+
* It's recommend to commit often when using CommitStrategy.MANUAL to keep latency low.
|
|
201
201
|
*
|
|
202
202
|
* @throws {Error} If the WebSocket connection is not open
|
|
203
203
|
*
|
|
@@ -238,7 +238,7 @@ class RealtimeConnection {
|
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* ```typescript
|
|
241
|
-
* connection.on(RealtimeEvents.
|
|
241
|
+
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
242
242
|
* console.log("Final:", data.transcript);
|
|
243
243
|
* connection.close();
|
|
244
244
|
* });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RealtimeConnection, RealtimeEvents } from "./connection";
|
|
1
|
+
export { RealtimeConnection, RealtimeEvents, type Config, type InputAudioChunk, type WordsItem, type WordsItemType, type CommittedTranscriptMessage, type CommittedTranscriptWithTimestampsMessage, type PartialTranscriptMessage, type SessionStartedMessage } from "./connection";
|
|
2
2
|
export { ScribeRealtime, AudioFormat, CommitStrategy, type AudioOptions, type UrlOptions } from "./scribe";
|
|
@@ -94,14 +94,14 @@ export declare class ScribeRealtime {
|
|
|
94
94
|
* ```typescript
|
|
95
95
|
* // Manual audio streaming
|
|
96
96
|
* const connection = await client.speechToText.realtime.connect({
|
|
97
|
-
* modelId: "
|
|
97
|
+
* modelId: "scribe_v2_realtime",
|
|
98
98
|
* audioFormat: AudioFormat.PCM_16000,
|
|
99
99
|
* sampleRate: 16000,
|
|
100
100
|
* });
|
|
101
101
|
*
|
|
102
102
|
* // Automatic URL streaming (requires ffmpeg)
|
|
103
103
|
* const connection = await client.speechToText.realtime.connect({
|
|
104
|
-
* modelId: "
|
|
104
|
+
* modelId: "scribe_v2_realtime",
|
|
105
105
|
* url: "https://example.com/stream.mp3",
|
|
106
106
|
* });
|
|
107
107
|
* ```
|