@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
@@ -276,5 +276,78 @@ class Music {
276
276
  }
277
277
  });
278
278
  }
279
+ /**
280
+ * Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file.
281
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
282
+ */
283
+ separateStems(request, requestOptions) {
284
+ return core.HttpResponsePromise.fromPromise(this.__separateStems(request, requestOptions));
285
+ }
286
+ __separateStems(request, requestOptions) {
287
+ return __awaiter(this, void 0, void 0, function* () {
288
+ var _a, _b, _c, _d, _e;
289
+ const _queryParams = {};
290
+ if (request.outputFormat != null) {
291
+ _queryParams["output_format"] = serializers.MusicSeparateStemsRequestOutputFormat.jsonOrThrow(request.outputFormat, { unrecognizedObjectKeys: "strip" });
292
+ }
293
+ const _request = yield core.newFormData();
294
+ yield _request.appendFile("file", request.file);
295
+ if (request.stemVariationId != null) {
296
+ _request.append("stem_variation_id", serializers.MusicSeparateStemsRequestStemVariationId.jsonOrThrow(request.stemVariationId, {
297
+ unrecognizedObjectKeys: "strip",
298
+ }));
299
+ }
300
+ const _maybeEncodedRequest = yield _request.getRequest();
301
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
302
+ const _response = yield core.fetcher({
303
+ 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/music/stem-separation"),
304
+ method: "POST",
305
+ headers: _headers,
306
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
307
+ requestType: "file",
308
+ duplex: _maybeEncodedRequest.duplex,
309
+ body: _maybeEncodedRequest.body,
310
+ responseType: "streaming",
311
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
312
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
313
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
314
+ });
315
+ if (_response.ok) {
316
+ return { data: _response.body, rawResponse: _response.rawResponse };
317
+ }
318
+ if (_response.error.reason === "status-code") {
319
+ switch (_response.error.statusCode) {
320
+ case 422:
321
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
322
+ unrecognizedObjectKeys: "passthrough",
323
+ allowUnrecognizedUnionMembers: true,
324
+ allowUnrecognizedEnumValues: true,
325
+ breadcrumbsPrefix: ["response"],
326
+ }), _response.rawResponse);
327
+ default:
328
+ throw new errors.ElevenLabsError({
329
+ statusCode: _response.error.statusCode,
330
+ body: _response.error.body,
331
+ rawResponse: _response.rawResponse,
332
+ });
333
+ }
334
+ }
335
+ switch (_response.error.reason) {
336
+ case "non-json":
337
+ throw new errors.ElevenLabsError({
338
+ statusCode: _response.error.statusCode,
339
+ body: _response.error.rawBody,
340
+ rawResponse: _response.rawResponse,
341
+ });
342
+ case "timeout":
343
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/music/stem-separation.");
344
+ case "unknown":
345
+ throw new errors.ElevenLabsError({
346
+ message: _response.error.errorMessage,
347
+ rawResponse: _response.rawResponse,
348
+ });
349
+ }
350
+ });
351
+ }
279
352
  }
280
353
  exports.Music = Music;
@@ -0,0 +1,10 @@
1
+ import * as ElevenLabs from "../../../../index";
2
+ import * as core from "../../../../../core";
3
+ export interface BodyStemSeparationV1MusicStemSeparationPost {
4
+ /** 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. */
5
+ outputFormat?: ElevenLabs.MusicSeparateStemsRequestOutputFormat;
6
+ /** The audio file to separate into stems. */
7
+ file: core.file.Uploadable.FileLike;
8
+ /** The id of the stem variation to use. */
9
+ stemVariationId?: ElevenLabs.MusicSeparateStemsRequestStemVariationId;
10
+ }
@@ -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 });
@@ -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);
@@ -1,4 +1,5 @@
1
1
  export interface AgentMetadata {
2
2
  agentId: string;
3
+ branchId?: string;
3
4
  workflowNodeId?: string;
4
5
  }
@@ -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,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
+ import * as ElevenLabs from "../index";
2
+ export type ApiIntegrationWebhookOverridesInputRequestHeadersValue = string | ElevenLabs.ConvAiDynamicVariable;
@@ -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,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,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
+ import * as ElevenLabs from "../index";
2
+ export type ApiIntegrationWebhookOverridesOutputRequestHeadersValue = string | ElevenLabs.ConvAiDynamicVariable;
@@ -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,34 @@
1
+ import * as ElevenLabs from "../index";
2
+ /**
3
+ * When consumed by clients it convenient to include the base API schema even though
4
+ * the stored tool config does not include it.
5
+ */
6
+ export interface ApiIntegrationWebhookToolConfigExternalInput {
7
+ name: string;
8
+ /** Description of when the tool should be used and what it does. */
9
+ description: string;
10
+ /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
11
+ responseTimeoutSecs?: number;
12
+ /** If true, the user will not be able to interrupt the agent while this tool is running. */
13
+ disableInterruptions?: boolean;
14
+ /** If true, the agent will speak before the tool call. */
15
+ forcePreToolSpeech?: boolean;
16
+ /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
17
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
18
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
19
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
20
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
21
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
22
+ /** Configuration for dynamic variables */
23
+ dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
24
+ /** 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. */
25
+ executionMode?: ElevenLabs.ToolExecutionMode;
26
+ /** The version of the API integration tool */
27
+ toolVersion?: string;
28
+ apiIntegrationId: string;
29
+ apiIntegrationConnectionId: string;
30
+ /** User overrides applied on top of the base api_schema */
31
+ apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesInput;
32
+ /** The base API schema from the integration definition */
33
+ baseApiSchema: ElevenLabs.WebhookToolApiSchemaConfigInput;
34
+ }
@@ -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,34 @@
1
+ import * as ElevenLabs from "../index";
2
+ /**
3
+ * When consumed by clients it convenient to include the base API schema even though
4
+ * the stored tool config does not include it.
5
+ */
6
+ export interface ApiIntegrationWebhookToolConfigExternalOutput {
7
+ name: string;
8
+ /** Description of when the tool should be used and what it does. */
9
+ description: string;
10
+ /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
11
+ responseTimeoutSecs: number;
12
+ /** If true, the user will not be able to interrupt the agent while this tool is running. */
13
+ disableInterruptions: boolean;
14
+ /** If true, the agent will speak before the tool call. */
15
+ forcePreToolSpeech: boolean;
16
+ /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
17
+ assignments: ElevenLabs.DynamicVariableAssignment[];
18
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
19
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
20
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
21
+ toolCallSoundBehavior: ElevenLabs.ToolCallSoundBehavior;
22
+ /** Configuration for dynamic variables */
23
+ dynamicVariables: ElevenLabs.DynamicVariablesConfig;
24
+ /** 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. */
25
+ executionMode: ElevenLabs.ToolExecutionMode;
26
+ /** The version of the API integration tool */
27
+ toolVersion: string;
28
+ apiIntegrationId: string;
29
+ apiIntegrationConnectionId: string;
30
+ /** User overrides applied on top of the base api_schema */
31
+ apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesOutput;
32
+ /** The base API schema from the integration definition */
33
+ baseApiSchema: ElevenLabs.WebhookToolApiSchemaConfigOutput;
34
+ }
@@ -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,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,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,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
+ }
@@ -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 });
@@ -4,8 +4,9 @@ import * as ElevenLabs from "../index";
4
4
  */
5
5
  export interface BatchCallDetailedResponse {
6
6
  id: string;
7
- phoneNumberId: string;
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: string;
4
+ phoneNumberId?: string;
5
5
  phoneProvider?: ElevenLabs.TelephonyProvider;
6
+ whatsappBusinessAccountId?: string;
6
7
  name: string;
7
8
  agentId: string;
8
9
  createdAtUnix: number;
@@ -1,5 +1,7 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationConfigClientOverrideConfigInput {
3
+ /** Configures overrides for nested fields. */
4
+ turn?: ElevenLabs.TurnConfigOverrideConfig;
3
5
  /** Configures overrides for nested fields. */
4
6
  tts?: ElevenLabs.TtsConversationalConfigOverrideConfig;
5
7
  /** Configures overrides for nested fields. */
@@ -1,5 +1,7 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationConfigClientOverrideConfigOutput {
3
+ /** Configures overrides for nested fields. */
4
+ turn?: ElevenLabs.TurnConfigOverrideConfig;
3
5
  /** Configures overrides for nested fields. */
4
6
  tts?: ElevenLabs.TtsConversationalConfigOverrideConfig;
5
7
  /** Configures overrides for nested fields. */
@@ -1,5 +1,7 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationConfigClientOverrideInput {
3
+ /** Configuration for turn detection */
4
+ turn?: ElevenLabs.TurnConfigOverride;
3
5
  /** Configuration for conversational text to speech */
4
6
  tts?: ElevenLabs.TtsConversationalConfigOverride;
5
7
  /** Configuration for conversational events */
@@ -1,5 +1,7 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationConfigClientOverrideOutput {
3
+ /** Configuration for turn detection */
4
+ turn?: ElevenLabs.TurnConfigOverride;
3
5
  /** Configuration for conversational text to speech */
4
6
  tts?: ElevenLabs.TtsConversationalConfigOverride;
5
7
  /** Configuration for conversational events */
@@ -0,0 +1,5 @@
1
+ export declare const ConversationFeedbackType: {
2
+ readonly Thumbs: "thumbs";
3
+ readonly Rating: "rating";
4
+ };
5
+ export type ConversationFeedbackType = (typeof ConversationFeedbackType)[keyof typeof ConversationFeedbackType];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ConversationFeedbackType = void 0;
5
+ exports.ConversationFeedbackType = {
6
+ Thumbs: "thumbs",
7
+ Rating: "rating",
8
+ };
@@ -1,6 +1,9 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationHistoryFeedbackCommonModel {
3
+ type?: ElevenLabs.ConversationFeedbackType;
3
4
  overallScore?: ElevenLabs.UserFeedbackScore;
4
5
  likes?: number;
5
6
  dislikes?: number;
7
+ rating?: number;
8
+ comment?: string;
6
9
  }
@@ -2,5 +2,6 @@ export declare const ConversationHistoryTranscriptOtherToolsResultCommonModelTyp
2
2
  readonly Client: "client";
3
3
  readonly Webhook: "webhook";
4
4
  readonly Mcp: "mcp";
5
+ readonly ApiIntegrationWebhook: "api_integration_webhook";
5
6
  };
6
7
  export type ConversationHistoryTranscriptOtherToolsResultCommonModelType = (typeof ConversationHistoryTranscriptOtherToolsResultCommonModelType)[keyof typeof ConversationHistoryTranscriptOtherToolsResultCommonModelType];
@@ -6,4 +6,5 @@ exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = {
6
6
  Client: "client",
7
7
  Webhook: "webhook",
8
8
  Mcp: "mcp",
9
+ ApiIntegrationWebhook: "api_integration_webhook",
9
10
  };
@@ -13,5 +13,6 @@ export declare const ConversationInitiationSource: {
13
13
  readonly Genesys: "genesys";
14
14
  readonly SwiftSdk: "swift_sdk";
15
15
  readonly Whatsapp: "whatsapp";
16
+ readonly FlutterSdk: "flutter_sdk";
16
17
  };
17
18
  export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
@@ -17,4 +17,5 @@ exports.ConversationInitiationSource = {
17
17
  Genesys: "genesys",
18
18
  SwiftSdk: "swift_sdk",
19
19
  Whatsapp: "whatsapp",
20
+ FlutterSdk: "flutter_sdk",
20
21
  };
@@ -1,6 +1,7 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface ConversationSummaryResponseModel {
3
3
  agentId: string;
4
+ branchId?: string;
4
5
  agentName?: string;
5
6
  conversationId: string;
6
7
  startTimeUnixSecs: number;
@@ -0,0 +1,6 @@
1
+ export interface DiscountResposneModel {
2
+ /** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
3
+ discountPercentOff?: number;
4
+ /** The discount applied to the invoice. E.g. [20.0f] for 20 cents off. */
5
+ discountAmountOff?: number;
6
+ }
@@ -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 });
@@ -18,4 +18,8 @@ export interface GetAgentResponseModel {
18
18
  accessInfo?: ElevenLabs.ResourceAccessInfo;
19
19
  /** Agent tags used to categorize the agent */
20
20
  tags?: string[];
21
+ /** The ID of the version the agent is on */
22
+ versionId?: string;
23
+ /** The ID of the branch the agent is on */
24
+ branchId?: string;
21
25
  }
@@ -4,6 +4,7 @@ export interface GetConversationResponseModel {
4
4
  conversationId: string;
5
5
  status: ElevenLabs.GetConversationResponseModelStatus;
6
6
  userId?: string;
7
+ branchId?: string;
7
8
  transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
8
9
  metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
9
10
  analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
@@ -2,6 +2,7 @@ import * as ElevenLabs from "../index";
2
2
  export interface GetTestSuiteInvocationResponseModel {
3
3
  id: string;
4
4
  agentId?: string;
5
+ branchId?: string;
5
6
  createdAt?: number;
6
7
  testRuns: ElevenLabs.UnitTestRunResponseModel[];
7
8
  }
@@ -2,10 +2,16 @@ import * as ElevenLabs from "../index";
2
2
  export interface InvoiceResponse {
3
3
  /** The amount due in cents. */
4
4
  amountDueCents: number;
5
- /** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
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;
9
+ /** Deprecated. Use [discounts] instead. The discount applied to the invoice. E.g. [20.0f] for 20% off. */
6
10
  discountPercentOff?: number;
7
- /** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
11
+ /** Deprecated. Use [discounts] instead. The discount applied to the invoice. E.g. [20.0f] for 20 cents off. */
8
12
  discountAmountOff?: number;
13
+ /** The discounts applied to the invoice. */
14
+ discounts: ElevenLabs.DiscountResposneModel[];
9
15
  /** The Unix timestamp of the next payment attempt. */
10
16
  nextPaymentAttemptUnix: number;
11
17
  /** The status of this invoice's payment intent. None when there is no payment intent. */
@@ -4,4 +4,6 @@ export interface LanguagePresetInput {
4
4
  overrides: ElevenLabs.ConversationConfigClientOverrideInput;
5
5
  /** The translation of the first message */
6
6
  firstMessageTranslation?: ElevenLabs.LanguagePresetTranslation;
7
+ /** The translation of the soft timeout message */
8
+ softTimeoutTranslation?: ElevenLabs.LanguagePresetTranslation;
7
9
  }
@@ -4,4 +4,6 @@ export interface LanguagePresetOutput {
4
4
  overrides: ElevenLabs.ConversationConfigClientOverrideOutput;
5
5
  /** The translation of the first message */
6
6
  firstMessageTranslation?: ElevenLabs.LanguagePresetTranslation;
7
+ /** The translation of the soft timeout message */
8
+ softTimeoutTranslation?: ElevenLabs.LanguagePresetTranslation;
7
9
  }
@@ -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 */