@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.
Files changed (756) hide show
  1. package/Client.js +2 -2
  2. package/api/errors/ConflictError.d.ts +5 -0
  3. package/api/errors/ConflictError.js +50 -0
  4. package/api/errors/index.d.ts +1 -0
  5. package/api/errors/index.js +1 -0
  6. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  7. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  8. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  9. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  10. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
  11. package/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
  12. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  13. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
  14. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
  15. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
  16. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  17. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  18. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  19. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
  20. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  21. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  22. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  23. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  24. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  25. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  26. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  27. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  28. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
  29. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  30. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  31. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  33. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
  34. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +54 -4
  35. package/api/resources/conversationalAi/resources/tools/client/Client.js +54 -4
  36. package/api/resources/music/client/Client.d.ts +6 -0
  37. package/api/resources/music/client/Client.js +73 -0
  38. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  39. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
  40. package/api/resources/music/client/requests/index.d.ts +1 -0
  41. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  42. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  43. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  44. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  45. package/api/resources/music/types/index.d.ts +2 -0
  46. package/api/resources/music/types/index.js +2 -0
  47. package/api/types/AgentMetadata.d.ts +1 -0
  48. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  49. package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  50. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  51. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  52. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  53. package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  54. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  55. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  56. package/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
  57. package/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
  58. package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
  59. package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
  60. package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  61. package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  62. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  63. package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  64. package/api/types/BatchCallDetailedResponse.d.ts +2 -1
  65. package/api/types/BatchCallResponse.d.ts +2 -1
  66. package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  67. package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  68. package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  69. package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  70. package/api/types/ConversationFeedbackType.d.ts +5 -0
  71. package/api/types/ConversationFeedbackType.js +8 -0
  72. package/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
  73. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  74. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  75. package/api/types/ConversationInitiationSource.d.ts +1 -0
  76. package/api/types/ConversationInitiationSource.js +1 -0
  77. package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  78. package/api/types/DiscountResposneModel.d.ts +6 -0
  79. package/api/types/DiscountResposneModel.js +3 -0
  80. package/api/types/GetAgentResponseModel.d.ts +4 -0
  81. package/api/types/GetConversationResponseModel.d.ts +1 -0
  82. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  83. package/api/types/InvoiceResponse.d.ts +8 -2
  84. package/api/types/LanguagePresetInput.d.ts +2 -0
  85. package/api/types/LanguagePresetOutput.d.ts +2 -0
  86. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  87. package/api/types/LiteralOverride.d.ts +6 -0
  88. package/api/types/LiteralOverride.js +3 -0
  89. package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  90. package/api/types/LiteralOverrideConstantValue.js +3 -0
  91. package/api/types/McpServerConfigInput.d.ts +8 -2
  92. package/api/types/McpServerConfigOutput.d.ts +8 -2
  93. package/api/types/McpToolConfigOverride.d.ts +17 -0
  94. package/api/types/McpToolConfigOverride.js +3 -0
  95. package/api/types/ObjectOverrideInput.d.ts +6 -0
  96. package/api/types/ObjectOverrideInput.js +3 -0
  97. package/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  98. package/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  99. package/api/types/ObjectOverrideOutput.d.ts +6 -0
  100. package/api/types/ObjectOverrideOutput.js +3 -0
  101. package/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  102. package/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  103. package/api/types/OutboundCallRecipient.d.ts +2 -1
  104. package/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  105. package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  106. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  107. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  108. package/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  109. package/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  110. package/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  111. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  112. package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
  113. package/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
  114. package/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
  115. package/api/types/ProjectExternalAudioResponseModel.js +3 -0
  116. package/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
  117. package/api/types/ProjectVideoResponseModel.d.ts +31 -0
  118. package/api/types/ProjectVideoResponseModel.js +3 -0
  119. package/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
  120. package/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
  121. package/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  122. package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  123. package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  124. package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  125. package/api/types/QueryOverride.d.ts +5 -0
  126. package/api/types/QueryOverride.js +3 -0
  127. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  128. package/api/types/ReferencedToolCommonModelType.js +1 -0
  129. package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  130. package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  131. package/api/types/SoftTimeoutConfig.d.ts +9 -0
  132. package/api/types/SoftTimeoutConfig.js +3 -0
  133. package/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
  134. package/api/types/SoftTimeoutConfigOverride.js +3 -0
  135. package/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
  136. package/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
  137. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
  138. package/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  139. package/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
  140. package/api/types/ToolRequestModelToolConfig.d.ts +4 -1
  141. package/api/types/ToolResponseModelToolConfig.d.ts +4 -5
  142. package/api/types/ToolType.d.ts +2 -0
  143. package/api/types/ToolType.js +2 -0
  144. package/api/types/TtsConversationalModel.d.ts +1 -0
  145. package/api/types/TtsConversationalModel.js +1 -0
  146. package/api/types/TtsModelFamily.d.ts +1 -0
  147. package/api/types/TtsModelFamily.js +1 -0
  148. package/api/types/TurnConfig.d.ts +4 -0
  149. package/api/types/TurnConfigOverride.d.ts +5 -0
  150. package/api/types/TurnConfigOverride.js +3 -0
  151. package/api/types/TurnConfigOverrideConfig.d.ts +5 -0
  152. package/api/types/TurnConfigOverrideConfig.js +3 -0
  153. package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  154. package/api/types/UnitTestRunResponseModel.d.ts +1 -0
  155. package/api/types/VoiceSegment.d.ts +2 -0
  156. package/api/types/WebhookToolConfigInput.d.ts +2 -2
  157. package/api/types/WebhookToolConfigOutput.d.ts +2 -2
  158. package/api/types/WidgetConfig.d.ts +2 -0
  159. package/api/types/WidgetConfigResponse.d.ts +2 -0
  160. package/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
  161. package/api/types/WidgetEndFeedbackConfig.js +3 -0
  162. package/api/types/WidgetEndFeedbackType.d.ts +1 -0
  163. package/api/types/WidgetEndFeedbackType.js +3 -0
  164. package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  165. package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  166. package/api/types/WorkspaceResourceType.d.ts +6 -0
  167. package/api/types/WorkspaceResourceType.js +6 -0
  168. package/api/types/index.d.ts +33 -0
  169. package/api/types/index.js +33 -0
  170. package/dist/Client.js +2 -2
  171. package/dist/api/errors/ConflictError.d.ts +5 -0
  172. package/dist/api/errors/ConflictError.js +50 -0
  173. package/dist/api/errors/index.d.ts +1 -0
  174. package/dist/api/errors/index.js +1 -0
  175. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  176. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  177. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  178. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  179. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
  180. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
  181. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  182. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
  183. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
  184. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
  185. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.js +3 -0
  186. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  187. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  188. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  189. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
  190. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  191. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  192. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  193. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  194. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  195. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  196. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  197. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
  198. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  199. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
  200. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  201. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  202. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  203. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  204. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
  205. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +54 -4
  206. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +54 -4
  207. package/dist/api/resources/music/client/Client.d.ts +6 -0
  208. package/dist/api/resources/music/client/Client.js +73 -0
  209. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  210. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
  211. package/dist/api/resources/music/client/requests/index.d.ts +1 -0
  212. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  213. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  214. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  215. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  216. package/dist/api/resources/music/types/index.d.ts +2 -0
  217. package/dist/api/resources/music/types/index.js +2 -0
  218. package/dist/api/types/AgentMetadata.d.ts +1 -0
  219. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  220. package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  221. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  222. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  223. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  224. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  225. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  226. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  227. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
  228. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
  229. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
  230. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
  231. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  232. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  233. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  234. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  235. package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
  236. package/dist/api/types/BatchCallResponse.d.ts +2 -1
  237. package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  238. package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  239. package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  240. package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  241. package/dist/api/types/ConversationFeedbackType.d.ts +5 -0
  242. package/dist/api/types/ConversationFeedbackType.js +8 -0
  243. package/dist/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
  244. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  245. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  246. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  247. package/dist/api/types/ConversationInitiationSource.js +1 -0
  248. package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  249. package/dist/api/types/DiscountResposneModel.d.ts +6 -0
  250. package/dist/api/types/DiscountResposneModel.js +3 -0
  251. package/dist/api/types/GetAgentResponseModel.d.ts +4 -0
  252. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  253. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  254. package/dist/api/types/InvoiceResponse.d.ts +8 -2
  255. package/dist/api/types/LanguagePresetInput.d.ts +2 -0
  256. package/dist/api/types/LanguagePresetOutput.d.ts +2 -0
  257. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  258. package/dist/api/types/LiteralOverride.d.ts +6 -0
  259. package/dist/api/types/LiteralOverride.js +3 -0
  260. package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  261. package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
  262. package/dist/api/types/McpServerConfigInput.d.ts +8 -2
  263. package/dist/api/types/McpServerConfigOutput.d.ts +8 -2
  264. package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
  265. package/dist/api/types/McpToolConfigOverride.js +3 -0
  266. package/dist/api/types/ObjectOverrideInput.d.ts +6 -0
  267. package/dist/api/types/ObjectOverrideInput.js +3 -0
  268. package/dist/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  269. package/dist/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  270. package/dist/api/types/ObjectOverrideOutput.d.ts +6 -0
  271. package/dist/api/types/ObjectOverrideOutput.js +3 -0
  272. package/dist/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  273. package/dist/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  274. package/dist/api/types/OutboundCallRecipient.d.ts +2 -1
  275. package/dist/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  276. package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  277. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  278. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  279. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  280. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  281. package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  282. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  283. package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
  284. package/dist/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
  285. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
  286. package/dist/api/types/ProjectExternalAudioResponseModel.js +3 -0
  287. package/dist/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
  288. package/dist/api/types/ProjectVideoResponseModel.d.ts +31 -0
  289. package/dist/api/types/ProjectVideoResponseModel.js +3 -0
  290. package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
  291. package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
  292. package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  293. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  294. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  295. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  296. package/dist/api/types/QueryOverride.d.ts +5 -0
  297. package/dist/api/types/QueryOverride.js +3 -0
  298. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  299. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  300. package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  301. package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  302. package/dist/api/types/SoftTimeoutConfig.d.ts +9 -0
  303. package/dist/api/types/SoftTimeoutConfig.js +3 -0
  304. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
  305. package/dist/api/types/SoftTimeoutConfigOverride.js +3 -0
  306. package/dist/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
  307. package/dist/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
  308. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
  309. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  310. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
  311. package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -1
  312. package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -5
  313. package/dist/api/types/ToolType.d.ts +2 -0
  314. package/dist/api/types/ToolType.js +2 -0
  315. package/dist/api/types/TtsConversationalModel.d.ts +1 -0
  316. package/dist/api/types/TtsConversationalModel.js +1 -0
  317. package/dist/api/types/TtsModelFamily.d.ts +1 -0
  318. package/dist/api/types/TtsModelFamily.js +1 -0
  319. package/dist/api/types/TurnConfig.d.ts +4 -0
  320. package/dist/api/types/TurnConfigOverride.d.ts +5 -0
  321. package/dist/api/types/TurnConfigOverride.js +3 -0
  322. package/dist/api/types/TurnConfigOverrideConfig.d.ts +5 -0
  323. package/dist/api/types/TurnConfigOverrideConfig.js +3 -0
  324. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  325. package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
  326. package/dist/api/types/VoiceSegment.d.ts +2 -0
  327. package/dist/api/types/WebhookToolConfigInput.d.ts +2 -2
  328. package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -2
  329. package/dist/api/types/WidgetConfig.d.ts +2 -0
  330. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  331. package/dist/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
  332. package/dist/api/types/WidgetEndFeedbackConfig.js +3 -0
  333. package/dist/api/types/WidgetEndFeedbackType.d.ts +1 -0
  334. package/dist/api/types/WidgetEndFeedbackType.js +3 -0
  335. package/dist/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  336. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  337. package/dist/api/types/WorkspaceResourceType.d.ts +6 -0
  338. package/dist/api/types/WorkspaceResourceType.js +6 -0
  339. package/dist/api/types/index.d.ts +33 -0
  340. package/dist/api/types/index.js +33 -0
  341. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  342. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  343. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  344. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  345. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
  346. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
  347. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  348. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
  349. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  350. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  351. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  352. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  353. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  354. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  355. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  356. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  357. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  358. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  359. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  360. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  361. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  362. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  363. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
  364. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
  365. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  366. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  367. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  368. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  369. package/dist/serialization/resources/music/types/index.d.ts +2 -0
  370. package/dist/serialization/resources/music/types/index.js +2 -0
  371. package/dist/serialization/types/AgentMetadata.d.ts +1 -0
  372. package/dist/serialization/types/AgentMetadata.js +1 -0
  373. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  374. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
  375. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  376. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  377. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  378. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  379. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  380. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  381. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
  382. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
  383. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
  384. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
  385. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  386. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  387. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  388. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  389. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  390. package/dist/serialization/types/BatchCallDetailedResponse.js +2 -1
  391. package/dist/serialization/types/BatchCallResponse.d.ts +2 -1
  392. package/dist/serialization/types/BatchCallResponse.js +2 -1
  393. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  394. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  395. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  396. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  397. package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  398. package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  399. package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  400. package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  401. package/dist/serialization/types/ConversationFeedbackType.d.ts +7 -0
  402. package/dist/serialization/types/ConversationFeedbackType.js +39 -0
  403. package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
  404. package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
  405. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  406. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  407. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  408. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  409. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  410. package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
  411. package/dist/serialization/types/DiscountResposneModel.d.ts +10 -0
  412. package/dist/serialization/types/DiscountResposneModel.js +42 -0
  413. package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
  414. package/dist/serialization/types/GetAgentResponseModel.js +2 -0
  415. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  416. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  417. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  418. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  419. package/dist/serialization/types/InvoiceResponse.d.ts +4 -0
  420. package/dist/serialization/types/InvoiceResponse.js +4 -0
  421. package/dist/serialization/types/LanguagePresetInput.d.ts +1 -0
  422. package/dist/serialization/types/LanguagePresetInput.js +1 -0
  423. package/dist/serialization/types/LanguagePresetOutput.d.ts +1 -0
  424. package/dist/serialization/types/LanguagePresetOutput.js +1 -0
  425. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  426. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  427. package/dist/serialization/types/LiteralOverride.d.ts +12 -0
  428. package/dist/serialization/types/LiteralOverride.js +44 -0
  429. package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  430. package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
  431. package/dist/serialization/types/McpServerConfigInput.d.ts +6 -0
  432. package/dist/serialization/types/McpServerConfigInput.js +6 -0
  433. package/dist/serialization/types/McpServerConfigOutput.d.ts +6 -0
  434. package/dist/serialization/types/McpServerConfigOutput.js +6 -0
  435. package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
  436. package/dist/serialization/types/McpToolConfigOverride.js +51 -0
  437. package/dist/serialization/types/ObjectOverrideInput.d.ts +11 -0
  438. package/dist/serialization/types/ObjectOverrideInput.js +46 -0
  439. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  440. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  441. package/dist/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  442. package/dist/serialization/types/ObjectOverrideOutput.js +46 -0
  443. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  444. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  445. package/dist/serialization/types/OutboundCallRecipient.d.ts +2 -1
  446. package/dist/serialization/types/OutboundCallRecipient.js +2 -1
  447. package/dist/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  448. package/dist/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  449. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  450. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  451. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  452. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  453. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  454. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  455. package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  456. package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  457. package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  458. package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
  459. package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
  460. package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
  461. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
  462. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
  463. package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
  464. package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
  465. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
  466. package/dist/serialization/types/ProjectVideoResponseModel.js +69 -0
  467. package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
  468. package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
  469. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  470. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  471. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  472. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  473. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  474. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  475. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  476. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  477. package/dist/serialization/types/QueryOverride.d.ts +11 -0
  478. package/dist/serialization/types/QueryOverride.js +43 -0
  479. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  480. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  481. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  482. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  483. package/dist/serialization/types/SoftTimeoutConfig.d.ts +10 -0
  484. package/dist/serialization/types/SoftTimeoutConfig.js +42 -0
  485. package/dist/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
  486. package/dist/serialization/types/SoftTimeoutConfigOverride.js +41 -0
  487. package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
  488. package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
  489. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
  490. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
  491. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  492. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
  493. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  494. package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -0
  495. package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -5
  496. package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -3
  497. package/dist/serialization/types/ToolType.d.ts +1 -1
  498. package/dist/serialization/types/ToolType.js +9 -1
  499. package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
  500. package/dist/serialization/types/TtsConversationalModel.js +1 -0
  501. package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
  502. package/dist/serialization/types/TtsModelFamily.js +1 -1
  503. package/dist/serialization/types/TurnConfig.d.ts +3 -0
  504. package/dist/serialization/types/TurnConfig.js +3 -0
  505. package/dist/serialization/types/TurnConfigOverride.d.ts +10 -0
  506. package/dist/serialization/types/TurnConfigOverride.js +42 -0
  507. package/dist/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
  508. package/dist/serialization/types/TurnConfigOverrideConfig.js +42 -0
  509. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
  510. package/dist/serialization/types/TurnConfigWorkflowOverride.js +3 -0
  511. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  512. package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
  513. package/dist/serialization/types/VoiceSegment.d.ts +1 -0
  514. package/dist/serialization/types/VoiceSegment.js +1 -0
  515. package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -2
  516. package/dist/serialization/types/WebhookToolConfigInput.js +2 -2
  517. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
  518. package/dist/serialization/types/WebhookToolConfigOutput.js +2 -2
  519. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  520. package/dist/serialization/types/WidgetConfig.js +2 -0
  521. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  522. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  523. package/dist/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
  524. package/dist/serialization/types/WidgetEndFeedbackConfig.js +42 -0
  525. package/dist/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
  526. package/dist/serialization/types/WidgetEndFeedbackType.js +39 -0
  527. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  528. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  529. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  530. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  531. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  532. package/dist/serialization/types/WorkspaceResourceType.js +6 -0
  533. package/dist/serialization/types/index.d.ts +33 -0
  534. package/dist/serialization/types/index.js +33 -0
  535. package/dist/version.d.ts +1 -1
  536. package/dist/version.js +1 -1
  537. package/dist/wrapper/ElevenLabsClient.d.ts +2 -2
  538. package/dist/wrapper/ElevenLabsClient.js +2 -1
  539. package/dist/wrapper/music.d.ts +11 -0
  540. package/dist/wrapper/music.js +32 -0
  541. package/dist/wrapper/realtime/connection.d.ts +59 -10
  542. package/dist/wrapper/realtime/connection.js +14 -14
  543. package/dist/wrapper/realtime/index.d.ts +1 -1
  544. package/dist/wrapper/realtime/scribe.d.ts +2 -2
  545. package/dist/wrapper/realtime/scribe.js +5 -5
  546. package/package.json +1 -1
  547. package/reference.md +354 -11
  548. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  549. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  550. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  551. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  552. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
  553. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
  554. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  555. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
  556. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  557. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  558. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  559. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  560. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  561. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  562. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  563. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  564. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  565. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  566. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  567. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  568. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  569. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  570. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
  571. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
  572. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  573. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  574. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  575. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  576. package/serialization/resources/music/types/index.d.ts +2 -0
  577. package/serialization/resources/music/types/index.js +2 -0
  578. package/serialization/types/AgentMetadata.d.ts +1 -0
  579. package/serialization/types/AgentMetadata.js +1 -0
  580. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  581. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
  582. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  583. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  584. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  585. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  586. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  587. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  588. package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
  589. package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
  590. package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
  591. package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
  592. package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  593. package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  594. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  595. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  596. package/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  597. package/serialization/types/BatchCallDetailedResponse.js +2 -1
  598. package/serialization/types/BatchCallResponse.d.ts +2 -1
  599. package/serialization/types/BatchCallResponse.js +2 -1
  600. package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  601. package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  602. package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  603. package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  604. package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  605. package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  606. package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  607. package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  608. package/serialization/types/ConversationFeedbackType.d.ts +7 -0
  609. package/serialization/types/ConversationFeedbackType.js +39 -0
  610. package/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
  611. package/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
  612. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  613. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  614. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  615. package/serialization/types/ConversationInitiationSource.js +1 -0
  616. package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  617. package/serialization/types/ConversationSummaryResponseModel.js +1 -0
  618. package/serialization/types/DiscountResposneModel.d.ts +10 -0
  619. package/serialization/types/DiscountResposneModel.js +42 -0
  620. package/serialization/types/GetAgentResponseModel.d.ts +2 -0
  621. package/serialization/types/GetAgentResponseModel.js +2 -0
  622. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  623. package/serialization/types/GetConversationResponseModel.js +1 -0
  624. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  625. package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  626. package/serialization/types/InvoiceResponse.d.ts +4 -0
  627. package/serialization/types/InvoiceResponse.js +4 -0
  628. package/serialization/types/LanguagePresetInput.d.ts +1 -0
  629. package/serialization/types/LanguagePresetInput.js +1 -0
  630. package/serialization/types/LanguagePresetOutput.d.ts +1 -0
  631. package/serialization/types/LanguagePresetOutput.js +1 -0
  632. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  633. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  634. package/serialization/types/LiteralOverride.d.ts +12 -0
  635. package/serialization/types/LiteralOverride.js +44 -0
  636. package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  637. package/serialization/types/LiteralOverrideConstantValue.js +44 -0
  638. package/serialization/types/McpServerConfigInput.d.ts +6 -0
  639. package/serialization/types/McpServerConfigInput.js +6 -0
  640. package/serialization/types/McpServerConfigOutput.d.ts +6 -0
  641. package/serialization/types/McpServerConfigOutput.js +6 -0
  642. package/serialization/types/McpToolConfigOverride.d.ts +19 -0
  643. package/serialization/types/McpToolConfigOverride.js +51 -0
  644. package/serialization/types/ObjectOverrideInput.d.ts +11 -0
  645. package/serialization/types/ObjectOverrideInput.js +46 -0
  646. package/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  647. package/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  648. package/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  649. package/serialization/types/ObjectOverrideOutput.js +46 -0
  650. package/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  651. package/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  652. package/serialization/types/OutboundCallRecipient.d.ts +2 -1
  653. package/serialization/types/OutboundCallRecipient.js +2 -1
  654. package/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  655. package/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  656. package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  657. package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  658. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  659. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  660. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  661. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  662. package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  663. package/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  664. package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  665. package/serialization/types/ProjectExtendedResponse.js +2 -0
  666. package/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
  667. package/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
  668. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
  669. package/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
  670. package/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
  671. package/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
  672. package/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
  673. package/serialization/types/ProjectVideoResponseModel.js +69 -0
  674. package/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
  675. package/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
  676. package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  677. package/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  678. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  679. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  680. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  681. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  682. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  683. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  684. package/serialization/types/QueryOverride.d.ts +11 -0
  685. package/serialization/types/QueryOverride.js +43 -0
  686. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  687. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  688. package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  689. package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  690. package/serialization/types/SoftTimeoutConfig.d.ts +10 -0
  691. package/serialization/types/SoftTimeoutConfig.js +42 -0
  692. package/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
  693. package/serialization/types/SoftTimeoutConfigOverride.js +41 -0
  694. package/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
  695. package/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
  696. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
  697. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
  698. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  699. package/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
  700. package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  701. package/serialization/types/ToolRequestModelToolConfig.js +2 -0
  702. package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -5
  703. package/serialization/types/ToolResponseModelToolConfig.js +2 -3
  704. package/serialization/types/ToolType.d.ts +1 -1
  705. package/serialization/types/ToolType.js +9 -1
  706. package/serialization/types/TtsConversationalModel.d.ts +1 -1
  707. package/serialization/types/TtsConversationalModel.js +1 -0
  708. package/serialization/types/TtsModelFamily.d.ts +1 -1
  709. package/serialization/types/TtsModelFamily.js +1 -1
  710. package/serialization/types/TurnConfig.d.ts +3 -0
  711. package/serialization/types/TurnConfig.js +3 -0
  712. package/serialization/types/TurnConfigOverride.d.ts +10 -0
  713. package/serialization/types/TurnConfigOverride.js +42 -0
  714. package/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
  715. package/serialization/types/TurnConfigOverrideConfig.js +42 -0
  716. package/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
  717. package/serialization/types/TurnConfigWorkflowOverride.js +3 -0
  718. package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  719. package/serialization/types/UnitTestRunResponseModel.js +1 -0
  720. package/serialization/types/VoiceSegment.d.ts +1 -0
  721. package/serialization/types/VoiceSegment.js +1 -0
  722. package/serialization/types/WebhookToolConfigInput.d.ts +2 -2
  723. package/serialization/types/WebhookToolConfigInput.js +2 -2
  724. package/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
  725. package/serialization/types/WebhookToolConfigOutput.js +2 -2
  726. package/serialization/types/WidgetConfig.d.ts +2 -0
  727. package/serialization/types/WidgetConfig.js +2 -0
  728. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  729. package/serialization/types/WidgetConfigResponse.js +2 -0
  730. package/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
  731. package/serialization/types/WidgetEndFeedbackConfig.js +42 -0
  732. package/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
  733. package/serialization/types/WidgetEndFeedbackType.js +39 -0
  734. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  735. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  736. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  737. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  738. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  739. package/serialization/types/WorkspaceResourceType.js +6 -0
  740. package/serialization/types/index.d.ts +33 -0
  741. package/serialization/types/index.js +33 -0
  742. package/version.d.ts +1 -1
  743. package/version.js +1 -1
  744. package/wrapper/ElevenLabsClient.d.ts +2 -2
  745. package/wrapper/ElevenLabsClient.js +2 -1
  746. package/wrapper/music.d.ts +11 -0
  747. package/wrapper/music.js +32 -0
  748. package/wrapper/realtime/connection.d.ts +59 -10
  749. package/wrapper/realtime/connection.js +14 -14
  750. package/wrapper/realtime/index.d.ts +1 -1
  751. package/wrapper/realtime/scribe.d.ts +2 -2
  752. package/wrapper/realtime/scribe.js +5 -5
  753. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
  754. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
  755. /package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +0 -0
  756. /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
@@ -0,0 +1,372 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.ToolConfigs = void 0;
47
+ const environments = __importStar(require("../../../../../../../../environments"));
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
50
+ const headers_1 = require("../../../../../../../../core/headers");
51
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ class ToolConfigs {
54
+ constructor(_options = {}) {
55
+ this._options = _options;
56
+ }
57
+ /**
58
+ * Create configuration overrides for a specific MCP tool.
59
+ *
60
+ * @param {string} mcpServerId - ID of the MCP Server.
61
+ * @param {ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModel} request
62
+ * @param {ToolConfigs.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link ElevenLabs.ConflictError}
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.conversationalAi.mcpServers.toolConfigs.create("mcp_server_id", {
69
+ * toolName: "tool_name"
70
+ * })
71
+ */
72
+ create(mcpServerId, request, requestOptions) {
73
+ return core.HttpResponsePromise.fromPromise(this.__create(mcpServerId, request, requestOptions));
74
+ }
75
+ __create(mcpServerId, request, requestOptions) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ var _a, _b, _c, _d, _e;
78
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
+ const _response = yield core.fetcher({
80
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}/tool-configs`),
81
+ method: "POST",
82
+ headers: _headers,
83
+ contentType: "application/json",
84
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
+ requestType: "json",
86
+ body: serializers.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModel.jsonOrThrow(request, {
87
+ unrecognizedObjectKeys: "strip",
88
+ }),
89
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
90
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
91
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
92
+ });
93
+ if (_response.ok) {
94
+ return {
95
+ data: serializers.McpServerResponseModel.parseOrThrow(_response.body, {
96
+ unrecognizedObjectKeys: "passthrough",
97
+ allowUnrecognizedUnionMembers: true,
98
+ allowUnrecognizedEnumValues: true,
99
+ breadcrumbsPrefix: ["response"],
100
+ }),
101
+ rawResponse: _response.rawResponse,
102
+ };
103
+ }
104
+ if (_response.error.reason === "status-code") {
105
+ switch (_response.error.statusCode) {
106
+ case 409:
107
+ throw new ElevenLabs.ConflictError(_response.error.body, _response.rawResponse);
108
+ case 422:
109
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
110
+ unrecognizedObjectKeys: "passthrough",
111
+ allowUnrecognizedUnionMembers: true,
112
+ allowUnrecognizedEnumValues: true,
113
+ breadcrumbsPrefix: ["response"],
114
+ }), _response.rawResponse);
115
+ default:
116
+ throw new errors.ElevenLabsError({
117
+ statusCode: _response.error.statusCode,
118
+ body: _response.error.body,
119
+ rawResponse: _response.rawResponse,
120
+ });
121
+ }
122
+ }
123
+ switch (_response.error.reason) {
124
+ case "non-json":
125
+ throw new errors.ElevenLabsError({
126
+ statusCode: _response.error.statusCode,
127
+ body: _response.error.rawBody,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ case "timeout":
131
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/convai/mcp-servers/{mcp_server_id}/tool-configs.");
132
+ case "unknown":
133
+ throw new errors.ElevenLabsError({
134
+ message: _response.error.errorMessage,
135
+ rawResponse: _response.rawResponse,
136
+ });
137
+ }
138
+ });
139
+ }
140
+ /**
141
+ * Retrieve configuration overrides for a specific MCP tool.
142
+ *
143
+ * @param {string} mcpServerId - ID of the MCP Server.
144
+ * @param {string} toolName - Name of the MCP tool to retrieve config overrides for.
145
+ * @param {ToolConfigs.RequestOptions} requestOptions - Request-specific configuration.
146
+ *
147
+ * @throws {@link ElevenLabs.NotFoundError}
148
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
149
+ *
150
+ * @example
151
+ * await client.conversationalAi.mcpServers.toolConfigs.get("mcp_server_id", "tool_name")
152
+ */
153
+ get(mcpServerId, toolName, requestOptions) {
154
+ return core.HttpResponsePromise.fromPromise(this.__get(mcpServerId, toolName, requestOptions));
155
+ }
156
+ __get(mcpServerId, toolName, requestOptions) {
157
+ return __awaiter(this, void 0, void 0, function* () {
158
+ var _a, _b, _c, _d, _e;
159
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
160
+ const _response = yield core.fetcher({
161
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}/tool-configs/${encodeURIComponent(toolName)}`),
162
+ method: "GET",
163
+ headers: _headers,
164
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
165
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
166
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
167
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
168
+ });
169
+ if (_response.ok) {
170
+ return {
171
+ data: serializers.McpToolConfigOverride.parseOrThrow(_response.body, {
172
+ unrecognizedObjectKeys: "passthrough",
173
+ allowUnrecognizedUnionMembers: true,
174
+ allowUnrecognizedEnumValues: true,
175
+ breadcrumbsPrefix: ["response"],
176
+ }),
177
+ rawResponse: _response.rawResponse,
178
+ };
179
+ }
180
+ if (_response.error.reason === "status-code") {
181
+ switch (_response.error.statusCode) {
182
+ case 404:
183
+ throw new ElevenLabs.NotFoundError(_response.error.body, _response.rawResponse);
184
+ case 422:
185
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
186
+ unrecognizedObjectKeys: "passthrough",
187
+ allowUnrecognizedUnionMembers: true,
188
+ allowUnrecognizedEnumValues: true,
189
+ breadcrumbsPrefix: ["response"],
190
+ }), _response.rawResponse);
191
+ default:
192
+ throw new errors.ElevenLabsError({
193
+ statusCode: _response.error.statusCode,
194
+ body: _response.error.body,
195
+ rawResponse: _response.rawResponse,
196
+ });
197
+ }
198
+ }
199
+ switch (_response.error.reason) {
200
+ case "non-json":
201
+ throw new errors.ElevenLabsError({
202
+ statusCode: _response.error.statusCode,
203
+ body: _response.error.rawBody,
204
+ rawResponse: _response.rawResponse,
205
+ });
206
+ case "timeout":
207
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}.");
208
+ case "unknown":
209
+ throw new errors.ElevenLabsError({
210
+ message: _response.error.errorMessage,
211
+ rawResponse: _response.rawResponse,
212
+ });
213
+ }
214
+ });
215
+ }
216
+ /**
217
+ * Remove configuration overrides for a specific MCP tool.
218
+ *
219
+ * @param {string} mcpServerId - ID of the MCP Server.
220
+ * @param {string} toolName - Name of the MCP tool to remove config overrides for.
221
+ * @param {ToolConfigs.RequestOptions} requestOptions - Request-specific configuration.
222
+ *
223
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
224
+ *
225
+ * @example
226
+ * await client.conversationalAi.mcpServers.toolConfigs.delete("mcp_server_id", "tool_name")
227
+ */
228
+ delete(mcpServerId, toolName, requestOptions) {
229
+ return core.HttpResponsePromise.fromPromise(this.__delete(mcpServerId, toolName, requestOptions));
230
+ }
231
+ __delete(mcpServerId, toolName, requestOptions) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ var _a, _b, _c, _d, _e;
234
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
235
+ const _response = yield core.fetcher({
236
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}/tool-configs/${encodeURIComponent(toolName)}`),
237
+ method: "DELETE",
238
+ headers: _headers,
239
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
240
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
241
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
242
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
243
+ });
244
+ if (_response.ok) {
245
+ return {
246
+ data: serializers.McpServerResponseModel.parseOrThrow(_response.body, {
247
+ unrecognizedObjectKeys: "passthrough",
248
+ allowUnrecognizedUnionMembers: true,
249
+ allowUnrecognizedEnumValues: true,
250
+ breadcrumbsPrefix: ["response"],
251
+ }),
252
+ rawResponse: _response.rawResponse,
253
+ };
254
+ }
255
+ if (_response.error.reason === "status-code") {
256
+ switch (_response.error.statusCode) {
257
+ case 422:
258
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
259
+ unrecognizedObjectKeys: "passthrough",
260
+ allowUnrecognizedUnionMembers: true,
261
+ allowUnrecognizedEnumValues: true,
262
+ breadcrumbsPrefix: ["response"],
263
+ }), _response.rawResponse);
264
+ default:
265
+ throw new errors.ElevenLabsError({
266
+ statusCode: _response.error.statusCode,
267
+ body: _response.error.body,
268
+ rawResponse: _response.rawResponse,
269
+ });
270
+ }
271
+ }
272
+ switch (_response.error.reason) {
273
+ case "non-json":
274
+ throw new errors.ElevenLabsError({
275
+ statusCode: _response.error.statusCode,
276
+ body: _response.error.rawBody,
277
+ rawResponse: _response.rawResponse,
278
+ });
279
+ case "timeout":
280
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}.");
281
+ case "unknown":
282
+ throw new errors.ElevenLabsError({
283
+ message: _response.error.errorMessage,
284
+ rawResponse: _response.rawResponse,
285
+ });
286
+ }
287
+ });
288
+ }
289
+ /**
290
+ * Update configuration overrides for a specific MCP tool.
291
+ *
292
+ * @param {string} mcpServerId - ID of the MCP Server.
293
+ * @param {string} toolName - Name of the MCP tool to update config overrides for.
294
+ * @param {ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModel} request
295
+ * @param {ToolConfigs.RequestOptions} requestOptions - Request-specific configuration.
296
+ *
297
+ * @throws {@link ElevenLabs.NotFoundError}
298
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
299
+ *
300
+ * @example
301
+ * await client.conversationalAi.mcpServers.toolConfigs.update("mcp_server_id", "tool_name")
302
+ */
303
+ update(mcpServerId, toolName, request = {}, requestOptions) {
304
+ return core.HttpResponsePromise.fromPromise(this.__update(mcpServerId, toolName, request, requestOptions));
305
+ }
306
+ __update(mcpServerId_1, toolName_1) {
307
+ return __awaiter(this, arguments, void 0, function* (mcpServerId, toolName, request = {}, requestOptions) {
308
+ var _a, _b, _c, _d, _e;
309
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
310
+ const _response = yield core.fetcher({
311
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}/tool-configs/${encodeURIComponent(toolName)}`),
312
+ method: "PATCH",
313
+ headers: _headers,
314
+ contentType: "application/json",
315
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
316
+ requestType: "json",
317
+ body: serializers.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModel.jsonOrThrow(request, {
318
+ unrecognizedObjectKeys: "strip",
319
+ }),
320
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
321
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
322
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
323
+ });
324
+ if (_response.ok) {
325
+ return {
326
+ data: serializers.McpServerResponseModel.parseOrThrow(_response.body, {
327
+ unrecognizedObjectKeys: "passthrough",
328
+ allowUnrecognizedUnionMembers: true,
329
+ allowUnrecognizedEnumValues: true,
330
+ breadcrumbsPrefix: ["response"],
331
+ }),
332
+ rawResponse: _response.rawResponse,
333
+ };
334
+ }
335
+ if (_response.error.reason === "status-code") {
336
+ switch (_response.error.statusCode) {
337
+ case 404:
338
+ throw new ElevenLabs.NotFoundError(_response.error.body, _response.rawResponse);
339
+ case 422:
340
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
341
+ unrecognizedObjectKeys: "passthrough",
342
+ allowUnrecognizedUnionMembers: true,
343
+ allowUnrecognizedEnumValues: true,
344
+ breadcrumbsPrefix: ["response"],
345
+ }), _response.rawResponse);
346
+ default:
347
+ throw new errors.ElevenLabsError({
348
+ statusCode: _response.error.statusCode,
349
+ body: _response.error.body,
350
+ rawResponse: _response.rawResponse,
351
+ });
352
+ }
353
+ }
354
+ switch (_response.error.reason) {
355
+ case "non-json":
356
+ throw new errors.ElevenLabsError({
357
+ statusCode: _response.error.statusCode,
358
+ body: _response.error.rawBody,
359
+ rawResponse: _response.rawResponse,
360
+ });
361
+ case "timeout":
362
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling PATCH /v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}.");
363
+ case "unknown":
364
+ throw new errors.ElevenLabsError({
365
+ message: _response.error.errorMessage,
366
+ rawResponse: _response.rawResponse,
367
+ });
368
+ }
369
+ });
370
+ }
371
+ }
372
+ exports.ToolConfigs = ToolConfigs;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,23 @@
1
+ import * as ElevenLabs from "../../../../../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * toolName: "tool_name"
6
+ * }
7
+ */
8
+ export interface McpToolConfigOverrideCreateRequestModel {
9
+ /** If set, overrides the server's force_pre_tool_speech setting for this tool */
10
+ forcePreToolSpeech?: boolean;
11
+ /** If set, overrides the server's disable_interruptions setting for this tool */
12
+ disableInterruptions?: boolean;
13
+ /** If set, overrides the server's tool_call_sound setting for this tool */
14
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
15
+ /** If set, overrides the server's tool_call_sound_behavior setting for this tool */
16
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
17
+ /** If set, overrides the server's execution_mode setting for this tool */
18
+ executionMode?: ElevenLabs.ToolExecutionMode;
19
+ /** Dynamic variable assignments for this MCP tool */
20
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
21
+ /** The name of the MCP tool */
22
+ toolName: string;
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import * as ElevenLabs from "../../../../../../../../index";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface McpToolConfigOverrideUpdateRequestModel {
7
+ /** If set, overrides the server's force_pre_tool_speech setting for this tool */
8
+ forcePreToolSpeech?: boolean;
9
+ /** If set, overrides the server's disable_interruptions setting for this tool */
10
+ disableInterruptions?: boolean;
11
+ /** If set, overrides the server's tool_call_sound setting for this tool */
12
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
13
+ /** If set, overrides the server's tool_call_sound_behavior setting for this tool */
14
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
15
+ /** If set, overrides the server's execution_mode setting for this tool */
16
+ executionMode?: ElevenLabs.ToolExecutionMode;
17
+ /** Dynamic variable assignments for this MCP tool */
18
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { type McpToolConfigOverrideCreateRequestModel } from "./McpToolConfigOverrideCreateRequestModel";
2
+ export { type McpToolConfigOverrideUpdateRequestModel } from "./McpToolConfigOverrideUpdateRequestModel";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -13,4 +13,6 @@ export interface ResubmitTestsRequestModel {
13
13
  agentConfigOverride?: ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel;
14
14
  /** Agent ID to resubmit tests for */
15
15
  agentId: string;
16
+ /** ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration. */
17
+ branchId?: string;
16
18
  }
@@ -52,10 +52,35 @@ export declare class Tools {
52
52
  * @example
53
53
  * await client.conversationalAi.tools.create({
54
54
  * toolConfig: {
55
- * type: "client",
55
+ * type: "api_integration_webhook",
56
56
  * name: "name",
57
57
  * description: "description",
58
- * expectsResponse: false
58
+ * apiIntegrationId: "api_integration_id",
59
+ * apiIntegrationConnectionId: "api_integration_connection_id",
60
+ * baseApiSchema: {
61
+ * url: "https://example.com/agents/{agent_id}",
62
+ * method: "GET",
63
+ * pathParamsSchema: {
64
+ * "agent_id": {
65
+ * type: "string"
66
+ * }
67
+ * },
68
+ * queryParamsSchema: {
69
+ * properties: {
70
+ * "key": {
71
+ * type: "string",
72
+ * description: "My property",
73
+ * isSystemProvided: false,
74
+ * dynamicVariable: "",
75
+ * constantValue: ""
76
+ * }
77
+ * }
78
+ * },
79
+ * requestBodySchema: {},
80
+ * requestHeaders: {
81
+ * "Authorization": "Bearer {api_key}"
82
+ * }
83
+ * }
59
84
  * }
60
85
  * })
61
86
  */
@@ -99,10 +124,35 @@ export declare class Tools {
99
124
  * @example
100
125
  * await client.conversationalAi.tools.update("tool_id", {
101
126
  * toolConfig: {
102
- * type: "client",
127
+ * type: "api_integration_webhook",
103
128
  * name: "name",
104
129
  * description: "description",
105
- * expectsResponse: false
130
+ * apiIntegrationId: "api_integration_id",
131
+ * apiIntegrationConnectionId: "api_integration_connection_id",
132
+ * baseApiSchema: {
133
+ * url: "https://example.com/agents/{agent_id}",
134
+ * method: "GET",
135
+ * pathParamsSchema: {
136
+ * "agent_id": {
137
+ * type: "string"
138
+ * }
139
+ * },
140
+ * queryParamsSchema: {
141
+ * properties: {
142
+ * "key": {
143
+ * type: "string",
144
+ * description: "My property",
145
+ * isSystemProvided: false,
146
+ * dynamicVariable: "",
147
+ * constantValue: ""
148
+ * }
149
+ * }
150
+ * },
151
+ * requestBodySchema: {},
152
+ * requestHeaders: {
153
+ * "Authorization": "Bearer {api_key}"
154
+ * }
155
+ * }
106
156
  * }
107
157
  * })
108
158
  */
@@ -136,10 +136,35 @@ class Tools {
136
136
  * @example
137
137
  * await client.conversationalAi.tools.create({
138
138
  * toolConfig: {
139
- * type: "client",
139
+ * type: "api_integration_webhook",
140
140
  * name: "name",
141
141
  * description: "description",
142
- * expectsResponse: false
142
+ * apiIntegrationId: "api_integration_id",
143
+ * apiIntegrationConnectionId: "api_integration_connection_id",
144
+ * baseApiSchema: {
145
+ * url: "https://example.com/agents/{agent_id}",
146
+ * method: "GET",
147
+ * pathParamsSchema: {
148
+ * "agent_id": {
149
+ * type: "string"
150
+ * }
151
+ * },
152
+ * queryParamsSchema: {
153
+ * properties: {
154
+ * "key": {
155
+ * type: "string",
156
+ * description: "My property",
157
+ * isSystemProvided: false,
158
+ * dynamicVariable: "",
159
+ * constantValue: ""
160
+ * }
161
+ * }
162
+ * },
163
+ * requestBodySchema: {},
164
+ * requestHeaders: {
165
+ * "Authorization": "Bearer {api_key}"
166
+ * }
167
+ * }
143
168
  * }
144
169
  * })
145
170
  */
@@ -355,10 +380,35 @@ class Tools {
355
380
  * @example
356
381
  * await client.conversationalAi.tools.update("tool_id", {
357
382
  * toolConfig: {
358
- * type: "client",
383
+ * type: "api_integration_webhook",
359
384
  * name: "name",
360
385
  * description: "description",
361
- * expectsResponse: false
386
+ * apiIntegrationId: "api_integration_id",
387
+ * apiIntegrationConnectionId: "api_integration_connection_id",
388
+ * baseApiSchema: {
389
+ * url: "https://example.com/agents/{agent_id}",
390
+ * method: "GET",
391
+ * pathParamsSchema: {
392
+ * "agent_id": {
393
+ * type: "string"
394
+ * }
395
+ * },
396
+ * queryParamsSchema: {
397
+ * properties: {
398
+ * "key": {
399
+ * type: "string",
400
+ * description: "My property",
401
+ * isSystemProvided: false,
402
+ * dynamicVariable: "",
403
+ * constantValue: ""
404
+ * }
405
+ * }
406
+ * },
407
+ * requestBodySchema: {},
408
+ * requestHeaders: {
409
+ * "Authorization": "Bearer {api_key}"
410
+ * }
411
+ * }
362
412
  * }
363
413
  * })
364
414
  */
@@ -50,4 +50,10 @@ export declare class Music {
50
50
  */
51
51
  stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
52
52
  private __stream;
53
+ /**
54
+ * Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.
55
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
56
+ */
57
+ separateStems(request: ElevenLabs.BodyStemSeparationV1MusicStemSeparationPost, requestOptions?: Music.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
58
+ private __separateStems;
53
59
  }