@elevenlabs/elevenlabs-js 2.21.0 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.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/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/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/McpToolConfigOverrideCreateRequestModel.js +3 -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/tools/client/Client.d.ts +6 -4
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -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/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/api/types/BatchCallResponse.d.ts +2 -1
- package/api/types/InvoiceResponse.d.ts +4 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LiteralOverride.d.ts +6 -0
- package/api/types/LiteralOverride.js +3 -0
- package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/api/types/LiteralOverrideConstantValue.js +3 -0
- package/api/types/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/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/ToolRequestModelToolConfig.d.ts +4 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/api/types/ToolType.d.ts +2 -0
- package/api/types/ToolType.js +2 -0
- package/api/types/VoiceSegment.d.ts +2 -0
- package/api/types/WebhookToolConfigInput.d.ts +2 -2
- package/api/types/WebhookToolConfigOutput.d.ts +2 -2
- package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/api/types/WorkspaceResourceType.d.ts +2 -0
- package/api/types/WorkspaceResourceType.js +2 -0
- package/api/types/index.d.ts +17 -0
- package/api/types/index.js +17 -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/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/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/tools/client/Client.d.ts +6 -4
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -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/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/api/types/BatchCallResponse.d.ts +2 -1
- package/dist/api/types/InvoiceResponse.d.ts +4 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LiteralOverride.d.ts +6 -0
- package/dist/api/types/LiteralOverride.js +3 -0
- package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
- package/dist/api/types/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/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/ToolRequestModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolType.d.ts +2 -0
- package/dist/api/types/ToolType.js +2 -0
- package/dist/api/types/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/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.js +2 -0
- package/dist/api/types/index.d.ts +17 -0
- package/dist/api/types/index.js +17 -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/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/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/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/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/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LiteralOverride.d.ts +12 -0
- package/dist/serialization/types/LiteralOverride.js +44 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/dist/serialization/types/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/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/ToolRequestModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +9 -1
- package/dist/serialization/types/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/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 +2 -0
- package/dist/serialization/types/index.d.ts +17 -0
- package/dist/serialization/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +303 -10
- 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/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/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/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/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/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LiteralOverride.d.ts +12 -0
- package/serialization/types/LiteralOverride.js +44 -0
- package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/serialization/types/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/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/ToolRequestModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +9 -1
- package/serialization/types/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/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 +2 -0
- package/serialization/types/index.d.ts +17 -0
- package/serialization/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type BodyComposeMusicV1MusicPost } from "./BodyComposeMusicV1MusicPost";
|
|
2
2
|
export { type BodyComposeMusicWithADetailedResponseV1MusicDetailedPost } from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost";
|
|
3
3
|
export { type BodyStreamComposedMusicV1MusicStreamPost } from "./BodyStreamComposedMusicV1MusicStreamPost";
|
|
4
|
+
export { type BodyStemSeparationV1MusicStemSeparationPost } from "./BodyStemSeparationV1MusicStemSeparationPost";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
2
|
+
export declare const MusicSeparateStemsRequestOutputFormat: {
|
|
3
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
4
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
5
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
6
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
7
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
8
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
9
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
10
|
+
readonly Pcm8000: "pcm_8000";
|
|
11
|
+
readonly Pcm16000: "pcm_16000";
|
|
12
|
+
readonly Pcm22050: "pcm_22050";
|
|
13
|
+
readonly Pcm24000: "pcm_24000";
|
|
14
|
+
readonly Pcm32000: "pcm_32000";
|
|
15
|
+
readonly Pcm44100: "pcm_44100";
|
|
16
|
+
readonly Pcm48000: "pcm_48000";
|
|
17
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
18
|
+
readonly Alaw8000: "alaw_8000";
|
|
19
|
+
readonly Opus4800032: "opus_48000_32";
|
|
20
|
+
readonly Opus4800064: "opus_48000_64";
|
|
21
|
+
readonly Opus4800096: "opus_48000_96";
|
|
22
|
+
readonly Opus48000128: "opus_48000_128";
|
|
23
|
+
readonly Opus48000192: "opus_48000_192";
|
|
24
|
+
};
|
|
25
|
+
export type MusicSeparateStemsRequestOutputFormat = (typeof MusicSeparateStemsRequestOutputFormat)[keyof typeof MusicSeparateStemsRequestOutputFormat];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MusicSeparateStemsRequestOutputFormat = void 0;
|
|
5
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
6
|
+
exports.MusicSeparateStemsRequestOutputFormat = {
|
|
7
|
+
Mp32205032: "mp3_22050_32",
|
|
8
|
+
Mp32400048: "mp3_24000_48",
|
|
9
|
+
Mp34410032: "mp3_44100_32",
|
|
10
|
+
Mp34410064: "mp3_44100_64",
|
|
11
|
+
Mp34410096: "mp3_44100_96",
|
|
12
|
+
Mp344100128: "mp3_44100_128",
|
|
13
|
+
Mp344100192: "mp3_44100_192",
|
|
14
|
+
Pcm8000: "pcm_8000",
|
|
15
|
+
Pcm16000: "pcm_16000",
|
|
16
|
+
Pcm22050: "pcm_22050",
|
|
17
|
+
Pcm24000: "pcm_24000",
|
|
18
|
+
Pcm32000: "pcm_32000",
|
|
19
|
+
Pcm44100: "pcm_44100",
|
|
20
|
+
Pcm48000: "pcm_48000",
|
|
21
|
+
Ulaw8000: "ulaw_8000",
|
|
22
|
+
Alaw8000: "alaw_8000",
|
|
23
|
+
Opus4800032: "opus_48000_32",
|
|
24
|
+
Opus4800064: "opus_48000_64",
|
|
25
|
+
Opus4800096: "opus_48000_96",
|
|
26
|
+
Opus48000128: "opus_48000_128",
|
|
27
|
+
Opus48000192: "opus_48000_192",
|
|
28
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The id of the stem variation to use. */
|
|
2
|
+
export declare const MusicSeparateStemsRequestStemVariationId: {
|
|
3
|
+
readonly TwoStemsV1: "two_stems_v1";
|
|
4
|
+
readonly SixStemsV1: "six_stems_v1";
|
|
5
|
+
};
|
|
6
|
+
export type MusicSeparateStemsRequestStemVariationId = (typeof MusicSeparateStemsRequestStemVariationId)[keyof typeof MusicSeparateStemsRequestStemVariationId];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MusicSeparateStemsRequestStemVariationId = void 0;
|
|
5
|
+
/** The id of the stem variation to use. */
|
|
6
|
+
exports.MusicSeparateStemsRequestStemVariationId = {
|
|
7
|
+
TwoStemsV1: "two_stems_v1",
|
|
8
|
+
SixStemsV1: "six_stems_v1",
|
|
9
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export * from "./MusicComposeRequestOutputFormat";
|
|
2
2
|
export * from "./MusicComposeDetailedRequestOutputFormat";
|
|
3
3
|
export * from "./MusicStreamRequestOutputFormat";
|
|
4
|
+
export * from "./MusicSeparateStemsRequestOutputFormat";
|
|
5
|
+
export * from "./MusicSeparateStemsRequestStemVariationId";
|
|
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./MusicComposeRequestOutputFormat"), exports);
|
|
18
18
|
__exportStar(require("./MusicComposeDetailedRequestOutputFormat"), exports);
|
|
19
19
|
__exportStar(require("./MusicStreamRequestOutputFormat"), exports);
|
|
20
|
+
__exportStar(require("./MusicSeparateStemsRequestOutputFormat"), exports);
|
|
21
|
+
__exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* A whitelist of fields that can be overridden by users when
|
|
4
|
+
* configuring an API Integration Webhook Tool.
|
|
5
|
+
*/
|
|
6
|
+
export interface ApiIntegrationWebhookOverridesInput {
|
|
7
|
+
pathParamsSchema?: Record<string, ElevenLabs.LiteralOverride | undefined>;
|
|
8
|
+
queryParamsSchema?: ElevenLabs.QueryOverride;
|
|
9
|
+
requestBodySchema?: ElevenLabs.ObjectOverrideInput;
|
|
10
|
+
requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesInputRequestHeadersValue | undefined>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* A whitelist of fields that can be overridden by users when
|
|
4
|
+
* configuring an API Integration Webhook Tool.
|
|
5
|
+
*/
|
|
6
|
+
export interface ApiIntegrationWebhookOverridesOutput {
|
|
7
|
+
pathParamsSchema?: Record<string, ElevenLabs.LiteralOverride | undefined>;
|
|
8
|
+
queryParamsSchema?: ElevenLabs.QueryOverride;
|
|
9
|
+
requestBodySchema?: ElevenLabs.ObjectOverrideOutput;
|
|
10
|
+
requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesOutputRequestHeadersValue | undefined>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface ApiIntegrationWebhookToolConfigInput {
|
|
3
|
+
name: string;
|
|
4
|
+
/** Description of when the tool should be used and what it does. */
|
|
5
|
+
description: string;
|
|
6
|
+
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
7
|
+
responseTimeoutSecs?: number;
|
|
8
|
+
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
9
|
+
disableInterruptions?: boolean;
|
|
10
|
+
/** If true, the agent will speak before the tool call. */
|
|
11
|
+
forcePreToolSpeech?: boolean;
|
|
12
|
+
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
13
|
+
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
14
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
15
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
16
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
17
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
18
|
+
/** Configuration for dynamic variables */
|
|
19
|
+
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
20
|
+
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
21
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
22
|
+
/** The version of the API integration tool */
|
|
23
|
+
toolVersion?: string;
|
|
24
|
+
apiIntegrationId: string;
|
|
25
|
+
apiIntegrationConnectionId: string;
|
|
26
|
+
/** User overrides applied on top of the base api_schema */
|
|
27
|
+
apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesInput;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface ApiIntegrationWebhookToolConfigOutput {
|
|
3
|
+
name: string;
|
|
4
|
+
/** Description of when the tool should be used and what it does. */
|
|
5
|
+
description: string;
|
|
6
|
+
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
7
|
+
responseTimeoutSecs?: number;
|
|
8
|
+
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
9
|
+
disableInterruptions?: boolean;
|
|
10
|
+
/** If true, the agent will speak before the tool call. */
|
|
11
|
+
forcePreToolSpeech?: boolean;
|
|
12
|
+
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
13
|
+
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
14
|
+
/** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
|
|
15
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
16
|
+
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
17
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
18
|
+
/** Configuration for dynamic variables */
|
|
19
|
+
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
20
|
+
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
21
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
22
|
+
/** The version of the API integration tool */
|
|
23
|
+
toolVersion?: string;
|
|
24
|
+
apiIntegrationId: string;
|
|
25
|
+
apiIntegrationConnectionId: string;
|
|
26
|
+
/** User overrides applied on top of the base api_schema */
|
|
27
|
+
apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesOutput;
|
|
28
|
+
}
|
|
@@ -4,8 +4,9 @@ import * as ElevenLabs from "../index";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface BatchCallDetailedResponse {
|
|
6
6
|
id: string;
|
|
7
|
-
phoneNumberId
|
|
7
|
+
phoneNumberId?: string;
|
|
8
8
|
phoneProvider?: ElevenLabs.TelephonyProvider;
|
|
9
|
+
whatsappBusinessAccountId?: string;
|
|
9
10
|
name: string;
|
|
10
11
|
agentId: string;
|
|
11
12
|
createdAtUnix: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface BatchCallResponse {
|
|
3
3
|
id: string;
|
|
4
|
-
phoneNumberId
|
|
4
|
+
phoneNumberId?: string;
|
|
5
5
|
phoneProvider?: ElevenLabs.TelephonyProvider;
|
|
6
|
+
whatsappBusinessAccountId?: string;
|
|
6
7
|
name: string;
|
|
7
8
|
agentId: string;
|
|
8
9
|
createdAtUnix: number;
|
|
@@ -2,6 +2,10 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface InvoiceResponse {
|
|
3
3
|
/** The amount due in cents. */
|
|
4
4
|
amountDueCents: number;
|
|
5
|
+
/** The subtotal amount in cents before tax (exclusive of tax and discounts). */
|
|
6
|
+
subtotalCents?: number;
|
|
7
|
+
/** The tax amount in cents. */
|
|
8
|
+
taxCents?: number;
|
|
5
9
|
/** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
|
|
6
10
|
discountPercentOff?: number;
|
|
7
11
|
/** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
|
|
@@ -5,6 +5,8 @@ export interface LiteralJsonSchemaProperty {
|
|
|
5
5
|
description?: string;
|
|
6
6
|
/** List of allowed string values for string type parameters */
|
|
7
7
|
enum?: string[];
|
|
8
|
+
/** If true, the value will be populated by the system at runtime. Used by Api Integration Webhook tools for templating. */
|
|
9
|
+
isSystemProvided?: boolean;
|
|
8
10
|
/** The dynamic variable of the property */
|
|
9
11
|
dynamicVariable?: string;
|
|
10
12
|
/** The constant value of the property */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type LiteralOverrideConstantValue = string | number | number | boolean;
|
|
@@ -15,8 +15,14 @@ export interface McpServerConfigInput {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/** If true, all tools from this MCP server will require pre-tool execution speech */
|
|
17
17
|
forcePreToolSpeech?: boolean;
|
|
18
|
-
/** If true, the user will not be able to interrupt the agent while
|
|
18
|
+
/** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
|
|
19
19
|
disableInterruptions?: boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
|
|
21
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
22
|
+
/** Determines when the tool call sound should play for all tools from this MCP server */
|
|
23
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
24
|
+
/** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
21
25
|
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
|
+
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
22
28
|
}
|
|
@@ -15,8 +15,14 @@ export interface McpServerConfigOutput {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/** If true, all tools from this MCP server will require pre-tool execution speech */
|
|
17
17
|
forcePreToolSpeech?: boolean;
|
|
18
|
-
/** If true, the user will not be able to interrupt the agent while
|
|
18
|
+
/** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
|
|
19
19
|
disableInterruptions?: boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
|
|
21
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
22
|
+
/** Determines when the tool call sound should play for all tools from this MCP server */
|
|
23
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
24
|
+
/** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|
|
21
25
|
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
26
|
+
/** List of per-tool configuration overrides that override the server-level defaults for specific tools */
|
|
27
|
+
toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
|
|
22
28
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as ElevenLabs from "../index";
|
|
2
|
+
export interface McpToolConfigOverride {
|
|
3
|
+
/** The name of the MCP tool */
|
|
4
|
+
toolName: string;
|
|
5
|
+
/** If set, overrides the server's force_pre_tool_speech setting for this tool */
|
|
6
|
+
forcePreToolSpeech?: boolean;
|
|
7
|
+
/** If set, overrides the server's disable_interruptions setting for this tool */
|
|
8
|
+
disableInterruptions?: boolean;
|
|
9
|
+
/** If set, overrides the server's tool_call_sound setting for this tool */
|
|
10
|
+
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
11
|
+
/** If set, overrides the server's tool_call_sound_behavior setting for this tool */
|
|
12
|
+
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
13
|
+
/** If set, overrides the server's execution_mode setting for this tool */
|
|
14
|
+
executionMode?: ElevenLabs.ToolExecutionMode;
|
|
15
|
+
/** Dynamic variable assignments for this MCP tool */
|
|
16
|
+
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
17
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface OutboundCallRecipient {
|
|
3
3
|
id?: string;
|
|
4
|
-
phoneNumber
|
|
4
|
+
phoneNumber?: string;
|
|
5
|
+
whatsappUserId?: string;
|
|
5
6
|
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestInput;
|
|
6
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
2
|
export interface OutboundCallRecipientResponseModel {
|
|
3
3
|
id: string;
|
|
4
|
-
phoneNumber
|
|
4
|
+
phoneNumber?: string;
|
|
5
|
+
whatsappUserId?: string;
|
|
5
6
|
status: ElevenLabs.BatchCallRecipientStatus;
|
|
6
7
|
createdAtUnix: number;
|
|
7
8
|
updatedAtUnix: number;
|
|
@@ -3,6 +3,8 @@ export interface PendingSubscriptionSwitchResponseModel {
|
|
|
3
3
|
kind?: "change";
|
|
4
4
|
/** The tier to change to. */
|
|
5
5
|
nextTier: ElevenLabs.PendingSubscriptionSwitchResponseModelNextTier;
|
|
6
|
+
/** The billing period to change to. */
|
|
7
|
+
nextBillingPeriod: ElevenLabs.PendingSubscriptionSwitchResponseModelNextBillingPeriod;
|
|
6
8
|
/** The timestamp of the change. */
|
|
7
9
|
timestampSeconds: number;
|
|
8
10
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The billing period to change to. */
|
|
2
|
+
export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: {
|
|
3
|
+
readonly MonthlyPeriod: "monthly_period";
|
|
4
|
+
readonly AnnualPeriod: "annual_period";
|
|
5
|
+
};
|
|
6
|
+
export type PendingSubscriptionSwitchResponseModelNextBillingPeriod = (typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod)[keyof typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
|
|
5
|
+
/** The billing period to change to. */
|
|
6
|
+
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = {
|
|
7
|
+
MonthlyPeriod: "monthly_period",
|
|
8
|
+
AnnualPeriod: "annual_period",
|
|
9
|
+
};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as ElevenLabs from "../index";
|
|
2
|
-
export type PhoneNumberTransferTransferDestination = ElevenLabs.PhoneNumberTransferTransferDestination.Phone | ElevenLabs.PhoneNumberTransferTransferDestination.SipUri;
|
|
2
|
+
export type PhoneNumberTransferTransferDestination = ElevenLabs.PhoneNumberTransferTransferDestination.Phone | ElevenLabs.PhoneNumberTransferTransferDestination.PhoneDynamicVariable | ElevenLabs.PhoneNumberTransferTransferDestination.SipUri | ElevenLabs.PhoneNumberTransferTransferDestination.SipUriDynamicVariable;
|
|
3
3
|
export declare namespace PhoneNumberTransferTransferDestination {
|
|
4
4
|
interface Phone extends ElevenLabs.PhoneNumberTransferDestination {
|
|
5
5
|
type: "phone";
|
|
6
6
|
}
|
|
7
|
+
interface PhoneDynamicVariable extends ElevenLabs.PhoneNumberDynamicVariableTransferDestination {
|
|
8
|
+
type: "phone_dynamic_variable";
|
|
9
|
+
}
|
|
7
10
|
interface SipUri extends ElevenLabs.SipUriTransferDestination {
|
|
8
11
|
type: "sip_uri";
|
|
9
12
|
}
|
|
13
|
+
interface SipUriDynamicVariable extends ElevenLabs.SipUriDynamicVariableTransferDestination {
|
|
14
|
+
type: "sip_uri_dynamic_variable";
|
|
15
|
+
}
|
|
10
16
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelInputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelWorkflowOverrideInputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelWorkflowOverrideInputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelWorkflowOverrideInputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type PromptAgentApiModelWorkflowOverrideOutputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
|
|
5
|
+
export type PromptAgentApiModelWorkflowOverrideOutputToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.ApiIntegrationWebhook | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
|
|
6
6
|
export declare namespace PromptAgentApiModelWorkflowOverrideOutputToolsItem {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -4,5 +4,6 @@ export declare const ReferencedToolCommonModelType: {
|
|
|
4
4
|
readonly Webhook: "webhook";
|
|
5
5
|
readonly Client: "client";
|
|
6
6
|
readonly Workflow: "workflow";
|
|
7
|
+
readonly ApiIntegrationWebhook: "api_integration_webhook";
|
|
7
8
|
};
|
|
8
9
|
export type ReferencedToolCommonModelType = (typeof ReferencedToolCommonModelType)[keyof typeof ReferencedToolCommonModelType];
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* Configuration for the tool
|
|
4
4
|
*/
|
|
5
|
-
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
|
|
5
|
+
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolRequestModelToolConfig {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigInput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
|
@@ -2,8 +2,11 @@ import * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of tool
|
|
4
4
|
*/
|
|
5
|
-
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
5
|
+
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.ApiIntegrationWebhook | ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
6
6
|
export declare namespace ToolResponseModelToolConfig {
|
|
7
|
+
interface ApiIntegrationWebhook extends ElevenLabs.ApiIntegrationWebhookToolConfigOutput {
|
|
8
|
+
type: "api_integration_webhook";
|
|
9
|
+
}
|
|
7
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
8
11
|
type: "client";
|
|
9
12
|
}
|
package/api/types/ToolType.d.ts
CHANGED
|
@@ -4,5 +4,7 @@ export declare const ToolType: {
|
|
|
4
4
|
readonly Client: "client";
|
|
5
5
|
readonly Mcp: "mcp";
|
|
6
6
|
readonly Workflow: "workflow";
|
|
7
|
+
readonly ApiIntegrationWebhook: "api_integration_webhook";
|
|
8
|
+
readonly ApiIntegrationMcp: "api_integration_mcp";
|
|
7
9
|
};
|
|
8
10
|
export type ToolType = (typeof ToolType)[keyof typeof ToolType];
|