@elevenlabs/elevenlabs-js 2.3.0 → 2.4.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 (406) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  3. package/api/resources/conversationalAi/client/Client.js +17 -12
  4. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
  5. package/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
  6. package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  7. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  8. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  9. package/api/resources/conversationalAi/resources/index.js +3 -1
  10. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  11. package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  12. package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  13. package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  14. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  15. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  17. package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  18. package/api/resources/conversationalAi/resources/tools/index.js +17 -0
  19. package/api/resources/dubbing/client/Client.js +3 -0
  20. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  21. package/api/resources/textToVoice/client/Client.d.ts +32 -0
  22. package/api/resources/textToVoice/client/Client.js +162 -0
  23. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  24. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  25. package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  26. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  27. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  28. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  29. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  30. package/api/resources/textToVoice/types/index.d.ts +2 -0
  31. package/api/resources/textToVoice/types/index.js +2 -0
  32. package/api/resources/workspace/client/Client.d.ts +39 -0
  33. package/api/resources/workspace/client/Client.js +205 -0
  34. package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  35. package/api/resources/workspace/client/requests/index.d.ts +1 -0
  36. package/api/types/AgentConfigOverride.d.ts +1 -1
  37. package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  38. package/api/types/AsrProvider.d.ts +5 -1
  39. package/api/types/AsrProvider.js +5 -0
  40. package/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
  41. package/api/types/BuiltInToolsOutput.d.ts +16 -0
  42. package/api/types/ClientToolConfigInput.d.ts +0 -1
  43. package/api/types/ClientToolConfigOutput.d.ts +0 -1
  44. package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  45. package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  46. package/api/types/ConversationChargingCommonModel.d.ts +2 -0
  47. package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  48. package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  49. package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  50. package/api/types/McpToolConfigInput.d.ts +0 -1
  51. package/api/types/McpToolConfigOutput.d.ts +0 -1
  52. package/api/types/PromptAgent.d.ts +1 -27
  53. package/api/types/PromptAgentApiModelInput.d.ts +32 -0
  54. package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
  55. package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  56. package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
  57. package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  58. package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  59. package/api/types/PromptAgentDbModel.d.ts +3 -3
  60. package/api/types/SystemToolConfigInput.d.ts +0 -1
  61. package/api/types/SystemToolConfigOutput.d.ts +0 -1
  62. package/api/types/ToolRequestModel.d.ts +8 -0
  63. package/{dist/api/types/PromptAgentDbModelToolsItem.d.ts → api/types/ToolRequestModelToolConfig.d.ts} +3 -3
  64. package/api/types/ToolRequestModelToolConfig.js +5 -0
  65. package/api/types/ToolResponseModel.d.ts +10 -0
  66. package/api/types/ToolResponseModel.js +5 -0
  67. package/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
  68. package/api/types/ToolResponseModelToolConfig.js +5 -0
  69. package/api/types/ToolsResponseModel.d.ts +7 -0
  70. package/api/types/ToolsResponseModel.js +5 -0
  71. package/api/types/WebhookToolConfigInput.d.ts +0 -1
  72. package/api/types/WebhookToolConfigOutput.d.ts +0 -1
  73. package/api/types/WorkspaceGroupPermission.d.ts +22 -0
  74. package/api/types/WorkspaceGroupPermission.js +24 -0
  75. package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  76. package/api/types/WorkspaceGroupResponseModel.js +5 -0
  77. package/api/types/index.d.ts +20 -11
  78. package/api/types/index.js +20 -11
  79. package/dist/Client.js +2 -2
  80. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  81. package/dist/api/resources/conversationalAi/client/Client.js +17 -12
  82. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
  83. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
  84. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  85. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
  86. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  88. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  89. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  90. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  91. package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  92. package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  93. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  94. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
  95. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  96. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  97. package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  98. package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
  99. package/dist/api/resources/dubbing/client/Client.js +3 -0
  100. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  101. package/dist/api/resources/textToVoice/client/Client.d.ts +32 -0
  102. package/dist/api/resources/textToVoice/client/Client.js +162 -0
  103. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  104. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
  105. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  106. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
  107. package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  108. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  109. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  110. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  111. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  112. package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
  113. package/dist/api/resources/textToVoice/types/index.js +2 -0
  114. package/dist/api/resources/workspace/client/Client.d.ts +39 -0
  115. package/dist/api/resources/workspace/client/Client.js +205 -0
  116. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  117. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
  118. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  119. package/dist/api/types/AgentConfigOverride.d.ts +1 -1
  120. package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  121. package/dist/api/types/AsrProvider.d.ts +5 -1
  122. package/dist/api/types/AsrProvider.js +5 -0
  123. package/dist/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
  124. package/dist/api/types/BuiltInToolsInput.js +5 -0
  125. package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
  126. package/dist/api/types/BuiltInToolsOutput.js +5 -0
  127. package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
  128. package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
  129. package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  130. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  131. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
  132. package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
  133. package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  134. package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
  135. package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  136. package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
  137. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  138. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
  139. package/dist/api/types/McpToolConfigInput.d.ts +0 -1
  140. package/dist/api/types/McpToolConfigOutput.d.ts +0 -1
  141. package/dist/api/types/PromptAgent.d.ts +1 -27
  142. package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
  143. package/dist/api/types/PromptAgentApiModelInput.js +5 -0
  144. package/{api/types/PromptAgentDbModelToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
  145. package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
  146. package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  147. package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
  148. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
  149. package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
  150. package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  151. package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
  152. package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  153. package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
  154. package/dist/api/types/PromptAgentDbModel.d.ts +3 -3
  155. package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
  156. package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
  157. package/dist/api/types/ToolRequestModel.d.ts +8 -0
  158. package/dist/api/types/ToolRequestModel.js +5 -0
  159. package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/ToolRequestModelToolConfig.d.ts} +3 -3
  160. package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
  161. package/dist/api/types/ToolResponseModel.d.ts +10 -0
  162. package/dist/api/types/ToolResponseModel.js +5 -0
  163. package/dist/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
  164. package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
  165. package/dist/api/types/ToolsResponseModel.d.ts +7 -0
  166. package/dist/api/types/ToolsResponseModel.js +5 -0
  167. package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
  168. package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
  169. package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
  170. package/dist/api/types/WorkspaceGroupPermission.js +24 -0
  171. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  172. package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
  173. package/dist/api/types/index.d.ts +20 -11
  174. package/dist/api/types/index.js +20 -11
  175. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  176. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  177. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  178. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  179. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  180. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  181. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  182. package/dist/serialization/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
  183. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  184. package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
  185. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  186. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  187. package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  188. package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
  189. package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
  190. package/dist/serialization/resources/textToVoice/types/index.js +2 -0
  191. package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  192. package/dist/serialization/{types/DependentAvailableAgentToolIdentifierAccessLevel.js → resources/workspace/client/getShareOptions.js} +4 -3
  193. package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
  194. package/dist/serialization/resources/workspace/client/index.js +24 -0
  195. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  196. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  197. package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  198. package/dist/serialization/resources/workspace/client/requests/index.js +3 -1
  199. package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
  200. package/dist/serialization/types/AgentConfigOverride.js +2 -2
  201. package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  202. package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
  203. package/dist/serialization/types/AsrProvider.d.ts +1 -1
  204. package/dist/serialization/types/AsrProvider.js +1 -1
  205. package/dist/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
  206. package/dist/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
  207. package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  208. package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
  209. package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
  210. package/dist/serialization/types/ClientToolConfigInput.js +0 -1
  211. package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  212. package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
  213. package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  214. package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  215. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  216. package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
  217. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
  218. package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
  219. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  220. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  221. package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  222. package/dist/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
  223. package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  224. package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
  225. package/dist/serialization/types/McpToolConfigInput.d.ts +0 -1
  226. package/dist/serialization/types/McpToolConfigInput.js +0 -1
  227. package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -1
  228. package/dist/serialization/types/McpToolConfigOutput.js +0 -1
  229. package/dist/serialization/types/PromptAgent.d.ts +2 -20
  230. package/dist/serialization/types/PromptAgent.js +1 -19
  231. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  232. package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
  233. package/{serialization/types/PromptAgentDbModelToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
  234. package/{serialization/types/PromptAgentDbModelToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
  235. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  236. package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
  237. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
  238. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
  239. package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  240. package/dist/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
  241. package/dist/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  242. package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  243. package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -4
  244. package/dist/serialization/types/PromptAgentDbModel.js +3 -4
  245. package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
  246. package/dist/serialization/types/SystemToolConfigInput.js +0 -1
  247. package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  248. package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
  249. package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
  250. package/dist/serialization/types/ToolRequestModel.js +44 -0
  251. package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
  252. package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/ToolRequestModelToolConfig.js} +2 -2
  253. package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
  254. package/dist/serialization/types/ToolResponseModel.js +47 -0
  255. package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
  256. package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -2
  257. package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
  258. package/dist/serialization/types/ToolsResponseModel.js +44 -0
  259. package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  260. package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
  261. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  262. package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
  263. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  264. package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
  265. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  266. package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  267. package/dist/serialization/types/index.d.ts +20 -11
  268. package/dist/serialization/types/index.js +20 -11
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +1019 -239
  273. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  274. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  275. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  276. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  277. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  278. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  279. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  280. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +53 -0
  281. package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  282. package/serialization/resources/textToVoice/client/requests/index.js +5 -1
  283. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  284. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  285. package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  286. package/{dist/serialization/types/DependentUnknownAgentToolIdentifier.js → serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
  287. package/serialization/resources/textToVoice/types/index.d.ts +2 -0
  288. package/serialization/resources/textToVoice/types/index.js +2 -0
  289. package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  290. package/serialization/resources/workspace/client/getShareOptions.js +42 -0
  291. package/serialization/resources/workspace/client/index.d.ts +1 -0
  292. package/serialization/resources/workspace/client/index.js +24 -0
  293. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  294. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  295. package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  296. package/serialization/resources/workspace/client/requests/index.js +3 -1
  297. package/serialization/types/AgentConfigOverride.d.ts +2 -2
  298. package/serialization/types/AgentConfigOverride.js +2 -2
  299. package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  300. package/serialization/types/AgentConfigOverrideConfig.js +2 -2
  301. package/serialization/types/AsrProvider.d.ts +1 -1
  302. package/serialization/types/AsrProvider.js +1 -1
  303. package/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
  304. package/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
  305. package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  306. package/serialization/types/BuiltInToolsOutput.js +48 -0
  307. package/serialization/types/ClientToolConfigInput.d.ts +0 -1
  308. package/serialization/types/ClientToolConfigInput.js +0 -1
  309. package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  310. package/serialization/types/ClientToolConfigOutput.js +0 -1
  311. package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  312. package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  313. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  314. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
  315. package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
  316. package/serialization/types/ConversationChargingCommonModel.js +2 -0
  317. package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  318. package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  319. package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  320. package/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
  321. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  322. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
  323. package/serialization/types/McpToolConfigInput.d.ts +0 -1
  324. package/serialization/types/McpToolConfigInput.js +0 -1
  325. package/serialization/types/McpToolConfigOutput.d.ts +0 -1
  326. package/serialization/types/McpToolConfigOutput.js +0 -1
  327. package/serialization/types/PromptAgent.d.ts +2 -20
  328. package/serialization/types/PromptAgent.js +1 -19
  329. package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  330. package/serialization/types/PromptAgentApiModelInput.js +61 -0
  331. package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
  332. package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
  333. package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  334. package/serialization/types/PromptAgentApiModelOutput.js +61 -0
  335. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
  336. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
  337. package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  338. package/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
  339. package/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  340. package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  341. package/serialization/types/PromptAgentDbModel.d.ts +3 -4
  342. package/serialization/types/PromptAgentDbModel.js +3 -4
  343. package/serialization/types/SystemToolConfigInput.d.ts +0 -1
  344. package/serialization/types/SystemToolConfigInput.js +0 -1
  345. package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  346. package/serialization/types/SystemToolConfigOutput.js +0 -1
  347. package/serialization/types/ToolRequestModel.d.ts +13 -0
  348. package/serialization/types/ToolRequestModel.js +44 -0
  349. package/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
  350. package/{dist/serialization/types/PromptAgentInputToolsItem.js → serialization/types/ToolRequestModelToolConfig.js} +2 -2
  351. package/serialization/types/ToolResponseModel.d.ts +16 -0
  352. package/serialization/types/ToolResponseModel.js +47 -0
  353. package/{dist/serialization/types/PromptAgentOutputToolsItem.d.ts → serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
  354. package/{dist/serialization/types/PromptAgentOutputToolsItem.js → serialization/types/ToolResponseModelToolConfig.js} +2 -2
  355. package/serialization/types/ToolsResponseModel.d.ts +13 -0
  356. package/serialization/types/ToolsResponseModel.js +44 -0
  357. package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  358. package/serialization/types/WebhookToolConfigInput.js +0 -1
  359. package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  360. package/serialization/types/WebhookToolConfigOutput.js +0 -1
  361. package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  362. package/serialization/types/WorkspaceGroupPermission.js +58 -0
  363. package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  364. package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  365. package/serialization/types/index.d.ts +20 -11
  366. package/serialization/types/index.js +20 -11
  367. package/version.d.ts +1 -1
  368. package/version.js +1 -1
  369. package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  370. package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  371. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  372. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  373. package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  374. package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  375. package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  376. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  377. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  378. package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  379. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  380. package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  381. package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  382. package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  383. package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  384. package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  385. package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
  386. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  387. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
  388. package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  389. /package/api/{types/BuiltInTools.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
  390. /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
  391. /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
  392. /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
  393. /package/api/{types/PromptAgentDbModelToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
  394. /package/api/types/{PromptAgentInputToolsItem.js → BuiltInToolsInput.js} +0 -0
  395. /package/api/types/{PromptAgentOutputToolsItem.js → BuiltInToolsOutput.js} +0 -0
  396. /package/api/types/{PromptAgentOverride.js → ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
  397. /package/api/types/{PromptAgentOverrideConfig.js → DefaultSharingPreferencesResponseModel.js} +0 -0
  398. /package/{dist/api/types/BuiltInTools.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
  399. /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
  400. /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/PromptAgentApiModelInput.js} +0 -0
  401. /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/PromptAgentApiModelInputToolsItem.js} +0 -0
  402. /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/PromptAgentApiModelOutput.js} +0 -0
  403. /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/PromptAgentApiModelOutputToolsItem.js} +0 -0
  404. /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/PromptAgentApiModelOverride.js} +0 -0
  405. /package/{dist/api/types/PromptAgentOverride.js → api/types/PromptAgentApiModelOverrideConfig.js} +0 -0
  406. /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/ToolRequestModel.js} +0 -0
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface BuiltInToolsOutput {
6
+ /** The end call tool */
7
+ endCall?: ElevenLabs.SystemToolConfigOutput;
8
+ /** The language detection tool */
9
+ languageDetection?: ElevenLabs.SystemToolConfigOutput;
10
+ /** The transfer to agent tool */
11
+ transferToAgent?: ElevenLabs.SystemToolConfigOutput;
12
+ /** The transfer to number tool */
13
+ transferToNumber?: ElevenLabs.SystemToolConfigOutput;
14
+ /** The skip turn tool */
15
+ skipTurn?: ElevenLabs.SystemToolConfigOutput;
16
+ }
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A client tool is one that sends an event to the user's client to trigger something client side
7
7
  */
8
8
  export interface ClientToolConfigInput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 30 seconds (inclusive). */
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A client tool is one that sends an event to the user's client to trigger something client side
7
7
  */
8
8
  export interface ClientToolConfigOutput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 30 seconds (inclusive). */
@@ -4,7 +4,7 @@
4
4
  import * as ElevenLabs from "../index";
5
5
  export interface ConvAiStoredSecretDependencies {
6
6
  tools: ElevenLabs.ConvAiStoredSecretDependenciesToolsItem[];
7
- agentTools: ElevenLabs.ConvAiStoredSecretDependenciesAgentToolsItem[];
7
+ agents: ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem[];
8
8
  others: ElevenLabs.SecretDependencyType[];
9
9
  phoneNumbers?: ElevenLabs.DependentPhoneNumberIdentifier[];
10
10
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type ConvAiStoredSecretDependenciesAgentsItem = ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem.Available | ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem.Unknown;
6
+ export declare namespace ConvAiStoredSecretDependenciesAgentsItem {
7
+ interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
8
+ type: "available";
9
+ }
10
+ interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
11
+ type: "unknown";
12
+ }
13
+ }
@@ -8,4 +8,6 @@ export interface ConversationChargingCommonModel {
8
8
  tier?: string;
9
9
  llmUsage?: ElevenLabs.LlmCategoryUsage;
10
10
  llmPrice?: number;
11
+ llmCharge?: number;
12
+ callCharge?: number;
11
13
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface DefaultSharingPreferencesResponseModel {
6
+ /** List of groups that the user shares with by default */
7
+ defaultSharingGroups: ElevenLabs.WorkspaceGroupResponseModel[];
8
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface GetToolDependentAgentsResponseModel {
6
+ agents: ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem[];
7
+ nextCursor?: string;
8
+ hasMore: boolean;
9
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type GetToolDependentAgentsResponseModelAgentsItem = ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem.Available | ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem.Unknown;
6
+ export declare namespace GetToolDependentAgentsResponseModelAgentsItem {
7
+ interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
8
+ type: "available";
9
+ }
10
+ interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
11
+ type: "unknown";
12
+ }
13
+ }
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * An MCP tool configuration that can be used to call MCP servers
7
7
  */
8
8
  export interface McpToolConfigInput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. */
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * An MCP tool configuration that can be used to call MCP servers
7
7
  */
8
8
  export interface McpToolConfigOutput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. */
@@ -1,30 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as ElevenLabs from "../index";
5
- export interface PromptAgent {
6
- /** The prompt for the agent */
7
- prompt?: string;
8
- /** The LLM to query with the prompt and the chat history */
9
- llm?: ElevenLabs.Llm;
10
- /** The temperature for the LLM */
11
- temperature?: number;
12
- /** If greater than 0, maximum number of tokens the LLM can predict */
13
- maxTokens?: number;
14
- /** A list of tools that the agent can use over the course of the conversation */
15
- tools?: ElevenLabs.PromptAgentOutputToolsItem[];
16
- /** A list of IDs of tools used by the agent */
17
- toolIds?: string[];
18
- /** A list of MCP server ids to be used by the agent */
19
- mcpServerIds?: string[];
20
- /** A list of Native MCP server ids to be used by the agent */
21
- nativeMcpServerIds?: string[];
22
- /** A list of knowledge bases to be used by the agent */
23
- knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
24
- /** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
25
- customLlm?: ElevenLabs.CustomLlm;
26
- /** Whether to ignore the default personality */
27
- ignoreDefaultPersonality?: boolean;
28
- /** Configuration for RAG */
29
- rag?: ElevenLabs.RagConfig;
30
- }
4
+ export type PromptAgent = unknown;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface PromptAgentApiModelInput {
6
+ /** The prompt for the agent */
7
+ prompt?: string;
8
+ /** The LLM to query with the prompt and the chat history */
9
+ llm?: ElevenLabs.Llm;
10
+ /** The temperature for the LLM */
11
+ temperature?: number;
12
+ /** If greater than 0, maximum number of tokens the LLM can predict */
13
+ maxTokens?: number;
14
+ /** A list of IDs of tools used by the agent */
15
+ toolIds?: string[];
16
+ /** Built-in system tools to be used by the agent */
17
+ builtInTools?: ElevenLabs.BuiltInToolsInput;
18
+ /** A list of MCP server ids to be used by the agent */
19
+ mcpServerIds?: string[];
20
+ /** A list of Native MCP server ids to be used by the agent */
21
+ nativeMcpServerIds?: string[];
22
+ /** A list of knowledge bases to be used by the agent */
23
+ knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
24
+ /** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
25
+ customLlm?: ElevenLabs.CustomLlm;
26
+ /** Whether to ignore the default personality */
27
+ ignoreDefaultPersonality?: boolean;
28
+ /** Configuration for RAG */
29
+ rag?: ElevenLabs.RagConfig;
30
+ /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
31
+ tools?: ElevenLabs.PromptAgentApiModelInputToolsItem[];
32
+ }
@@ -5,8 +5,8 @@ import * as ElevenLabs from "../index";
5
5
  /**
6
6
  * The type of tool
7
7
  */
8
- export type PromptAgentInputToolsItem = ElevenLabs.PromptAgentInputToolsItem.Client | ElevenLabs.PromptAgentInputToolsItem.Mcp | ElevenLabs.PromptAgentInputToolsItem.System | ElevenLabs.PromptAgentInputToolsItem.Webhook;
9
- export declare namespace PromptAgentInputToolsItem {
8
+ export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
9
+ export declare namespace PromptAgentApiModelInputToolsItem {
10
10
  interface Client extends ElevenLabs.ClientToolConfigInput {
11
11
  type: "client";
12
12
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface PromptAgentApiModelOutput {
6
+ /** The prompt for the agent */
7
+ prompt?: string;
8
+ /** The LLM to query with the prompt and the chat history */
9
+ llm?: ElevenLabs.Llm;
10
+ /** The temperature for the LLM */
11
+ temperature?: number;
12
+ /** If greater than 0, maximum number of tokens the LLM can predict */
13
+ maxTokens?: number;
14
+ /** A list of IDs of tools used by the agent */
15
+ toolIds?: string[];
16
+ /** Built-in system tools to be used by the agent */
17
+ builtInTools?: ElevenLabs.BuiltInToolsOutput;
18
+ /** A list of MCP server ids to be used by the agent */
19
+ mcpServerIds?: string[];
20
+ /** A list of Native MCP server ids to be used by the agent */
21
+ nativeMcpServerIds?: string[];
22
+ /** A list of knowledge bases to be used by the agent */
23
+ knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
24
+ /** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
25
+ customLlm?: ElevenLabs.CustomLlm;
26
+ /** Whether to ignore the default personality */
27
+ ignoreDefaultPersonality?: boolean;
28
+ /** Configuration for RAG */
29
+ rag?: ElevenLabs.RagConfig;
30
+ /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
31
+ tools?: ElevenLabs.PromptAgentApiModelOutputToolsItem[];
32
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ /**
6
+ * The type of tool
7
+ */
8
+ export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
9
+ export declare namespace PromptAgentApiModelOutputToolsItem {
10
+ interface Client extends ElevenLabs.ClientToolConfigOutput {
11
+ type: "client";
12
+ }
13
+ interface Mcp extends ElevenLabs.McpToolConfigOutput {
14
+ type: "mcp";
15
+ }
16
+ interface System extends ElevenLabs.SystemToolConfigOutput {
17
+ type: "system";
18
+ }
19
+ interface Webhook extends ElevenLabs.WebhookToolConfigOutput {
20
+ type: "webhook";
21
+ }
22
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptAgentOverride {
4
+ export interface PromptAgentApiModelOverride {
5
5
  /** The prompt for the agent */
6
6
  prompt?: string;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptAgentOverrideConfig {
4
+ export interface PromptAgentApiModelOverrideConfig {
5
5
  /** Whether to allow overriding the prompt field. */
6
6
  prompt?: boolean;
7
7
  }
@@ -11,10 +11,10 @@ export interface PromptAgentDbModel {
11
11
  temperature?: number;
12
12
  /** If greater than 0, maximum number of tokens the LLM can predict */
13
13
  maxTokens?: number;
14
- /** A list of tools that the agent can use over the course of the conversation */
15
- tools?: ElevenLabs.PromptAgentDbModelToolsItem[];
16
14
  /** A list of IDs of tools used by the agent */
17
15
  toolIds?: string[];
16
+ /** Built-in system tools to be used by the agent */
17
+ builtInTools?: ElevenLabs.BuiltInToolsInput;
18
18
  /** A list of MCP server ids to be used by the agent */
19
19
  mcpServerIds?: string[];
20
20
  /** A list of Native MCP server ids to be used by the agent */
@@ -28,5 +28,5 @@ export interface PromptAgentDbModel {
28
28
  /** Configuration for RAG */
29
29
  rag?: ElevenLabs.RagConfig;
30
30
  knowledgeBaseDocumentIds?: string[];
31
- builtInTools?: ElevenLabs.BuiltInTools;
31
+ tools?: unknown;
32
32
  }
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A system tool is a tool that is used to call a system method in the server
7
7
  */
8
8
  export interface SystemToolConfigInput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. */
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A system tool is a tool that is used to call a system method in the server
7
7
  */
8
8
  export interface SystemToolConfigOutput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface ToolRequestModel {
6
+ /** Configuration for the tool */
7
+ toolConfig: ElevenLabs.ToolRequestModelToolConfig;
8
+ }
@@ -3,10 +3,10 @@
3
3
  */
4
4
  import * as ElevenLabs from "../index";
5
5
  /**
6
- * The type of tool
6
+ * Configuration for the tool
7
7
  */
8
- export type PromptAgentDbModelToolsItem = ElevenLabs.PromptAgentDbModelToolsItem.Client | ElevenLabs.PromptAgentDbModelToolsItem.Mcp | ElevenLabs.PromptAgentDbModelToolsItem.System | ElevenLabs.PromptAgentDbModelToolsItem.Webhook;
9
- export declare namespace PromptAgentDbModelToolsItem {
8
+ export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.Mcp | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
9
+ export declare namespace ToolRequestModelToolConfig {
10
10
  interface Client extends ElevenLabs.ClientToolConfigInput {
11
11
  type: "client";
12
12
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface ToolResponseModel {
6
+ id: string;
7
+ /** The type of tool */
8
+ toolConfig: ElevenLabs.ToolResponseModelToolConfig;
9
+ accessInfo: ElevenLabs.ResourceAccessInfo;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,8 +5,8 @@ import * as ElevenLabs from "../index";
5
5
  /**
6
6
  * The type of tool
7
7
  */
8
- export type PromptAgentOutputToolsItem = ElevenLabs.PromptAgentOutputToolsItem.Client | ElevenLabs.PromptAgentOutputToolsItem.Mcp | ElevenLabs.PromptAgentOutputToolsItem.System | ElevenLabs.PromptAgentOutputToolsItem.Webhook;
9
- export declare namespace PromptAgentOutputToolsItem {
8
+ export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
9
+ export declare namespace ToolResponseModelToolConfig {
10
10
  interface Client extends ElevenLabs.ClientToolConfigOutput {
11
11
  type: "client";
12
12
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface ToolsResponseModel {
6
+ tools: ElevenLabs.ToolResponseModel[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A webhook tool is a tool that calls an external webhook from our server
7
7
  */
8
8
  export interface WebhookToolConfigInput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
6
6
  * A webhook tool is a tool that calls an external webhook from our server
7
7
  */
8
8
  export interface WebhookToolConfigOutput {
9
- id?: string;
10
9
  name: string;
11
10
  description: string;
12
11
  /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WorkspaceGroupPermission = "text_to_speech" | "speech_to_speech" | "voice_lab" | "sound_effects" | "projects" | "voiceover_studio" | "dubbing" | "audio_native" | "conversational_ai" | "voice_isolator" | "ai_speech_classifier" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "create_user_api_key" | "publish_studio_project";
5
+ export declare const WorkspaceGroupPermission: {
6
+ readonly TextToSpeech: "text_to_speech";
7
+ readonly SpeechToSpeech: "speech_to_speech";
8
+ readonly VoiceLab: "voice_lab";
9
+ readonly SoundEffects: "sound_effects";
10
+ readonly Projects: "projects";
11
+ readonly VoiceoverStudio: "voiceover_studio";
12
+ readonly Dubbing: "dubbing";
13
+ readonly AudioNative: "audio_native";
14
+ readonly ConversationalAi: "conversational_ai";
15
+ readonly VoiceIsolator: "voice_isolator";
16
+ readonly AiSpeechClassifier: "ai_speech_classifier";
17
+ readonly AddVoiceFromVoiceLibrary: "add_voice_from_voice_library";
18
+ readonly CreateInstantVoiceClone: "create_instant_voice_clone";
19
+ readonly CreateProfessionalVoiceClone: "create_professional_voice_clone";
20
+ readonly CreateUserApiKey: "create_user_api_key";
21
+ readonly PublishStudioProject: "publish_studio_project";
22
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WorkspaceGroupPermission = void 0;
7
+ exports.WorkspaceGroupPermission = {
8
+ TextToSpeech: "text_to_speech",
9
+ SpeechToSpeech: "speech_to_speech",
10
+ VoiceLab: "voice_lab",
11
+ SoundEffects: "sound_effects",
12
+ Projects: "projects",
13
+ VoiceoverStudio: "voiceover_studio",
14
+ Dubbing: "dubbing",
15
+ AudioNative: "audio_native",
16
+ ConversationalAi: "conversational_ai",
17
+ VoiceIsolator: "voice_isolator",
18
+ AiSpeechClassifier: "ai_speech_classifier",
19
+ AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
20
+ CreateInstantVoiceClone: "create_instant_voice_clone",
21
+ CreateProfessionalVoiceClone: "create_professional_voice_clone",
22
+ CreateUserApiKey: "create_user_api_key",
23
+ PublishStudioProject: "publish_studio_project",
24
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkspaceGroupResponseModel {
6
+ name: string;
7
+ id: string;
8
+ members: string[];
9
+ permissions?: ElevenLabs.WorkspaceGroupPermission[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -69,7 +69,8 @@ export * from "./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnaps
69
69
  export * from "./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost";
70
70
  export * from "./UpdatePronunciationDictionariesRequest";
71
71
  export * from "./BreakdownTypes";
72
- export * from "./BuiltInTools";
72
+ export * from "./BuiltInToolsInput";
73
+ export * from "./BuiltInToolsOutput";
73
74
  export * from "./ChapterContentBlockExtendableNodeResponseModel";
74
75
  export * from "./ChapterContentBlockInputModelSubType";
75
76
  export * from "./ChapterContentBlockInputModel";
@@ -95,7 +96,7 @@ export * from "./ClientToolConfigOutput";
95
96
  export * from "./ConvAiDynamicVariable";
96
97
  export * from "./ConvAiSecretLocator";
97
98
  export * from "./ConvAiStoredSecretDependenciesToolsItem";
98
- export * from "./ConvAiStoredSecretDependenciesAgentToolsItem";
99
+ export * from "./ConvAiStoredSecretDependenciesAgentsItem";
99
100
  export * from "./ConvAiStoredSecretDependencies";
100
101
  export * from "./ConvAiUserSecretDbModel";
101
102
  export * from "./ConvAiWebhooks";
@@ -164,6 +165,7 @@ export * from "./DashboardCallSuccessChartModel";
164
165
  export * from "./DashboardCriteriaChartModel";
165
166
  export * from "./DashboardDataCollectionChartModel";
166
167
  export * from "./DataCollectionResultCommonModel";
168
+ export * from "./DefaultSharingPreferencesResponseModel";
167
169
  export * from "./DeleteChapterResponseModel";
168
170
  export * from "./DeleteDubbingResponseModel";
169
171
  export * from "./DeleteHistoryItemResponse";
@@ -176,13 +178,10 @@ export * from "./DeleteWorkspaceInviteResponseModel";
176
178
  export * from "./DeleteWorkspaceMemberResponseModel";
177
179
  export * from "./DependentAvailableAgentIdentifierAccessLevel";
178
180
  export * from "./DependentAvailableAgentIdentifier";
179
- export * from "./DependentAvailableAgentToolIdentifierAccessLevel";
180
- export * from "./DependentAvailableAgentToolIdentifier";
181
181
  export * from "./DependentAvailableToolIdentifierAccessLevel";
182
182
  export * from "./DependentAvailableToolIdentifier";
183
183
  export * from "./DependentPhoneNumberIdentifier";
184
184
  export * from "./DependentUnknownAgentIdentifier";
185
- export * from "./DependentUnknownAgentToolIdentifier";
186
185
  export * from "./DependentUnknownToolIdentifier";
187
186
  export * from "./DialogueInput";
188
187
  export * from "./DialogueInputResponseModel";
@@ -254,6 +253,8 @@ export * from "./GetPronunciationDictionariesMetadataResponseModel";
254
253
  export * from "./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource";
255
254
  export * from "./GetPronunciationDictionaryMetadataResponse";
256
255
  export * from "./GetSpeechHistoryResponse";
256
+ export * from "./GetToolDependentAgentsResponseModelAgentsItem";
257
+ export * from "./GetToolDependentAgentsResponseModel";
257
258
  export * from "./GetVoicesResponse";
258
259
  export * from "./GetVoicesV2Response";
259
260
  export * from "./GetWorkspaceSecretsResponseModel";
@@ -356,13 +357,13 @@ export * from "./ProjectResponse";
356
357
  export * from "./ProjectSnapshotExtendedResponseModel";
357
358
  export * from "./ProjectSnapshotResponse";
358
359
  export * from "./ProjectSnapshotsResponse";
359
- export * from "./PromptAgentInputToolsItem";
360
- export * from "./PromptAgent";
361
- export * from "./PromptAgentOutputToolsItem";
362
- export * from "./PromptAgentDbModelToolsItem";
360
+ export * from "./PromptAgentApiModelInputToolsItem";
361
+ export * from "./PromptAgentApiModelInput";
362
+ export * from "./PromptAgentApiModelOutputToolsItem";
363
+ export * from "./PromptAgentApiModelOutput";
364
+ export * from "./PromptAgentApiModelOverride";
365
+ export * from "./PromptAgentApiModelOverrideConfig";
363
366
  export * from "./PromptAgentDbModel";
364
- export * from "./PromptAgentOverride";
365
- export * from "./PromptAgentOverrideConfig";
366
367
  export * from "./PromptEvaluationCriteria";
367
368
  export * from "./PronunciationDictionaryAliasRuleRequestModel";
368
369
  export * from "./PronunciationDictionaryLocatorResponseModel";
@@ -458,6 +459,11 @@ export * from "./TelephonyProvider";
458
459
  export * from "./Tool";
459
460
  export * from "./ToolAnnotations";
460
461
  export * from "./ToolMockConfig";
462
+ export * from "./ToolRequestModelToolConfig";
463
+ export * from "./ToolRequestModel";
464
+ export * from "./ToolResponseModelToolConfig";
465
+ export * from "./ToolResponseModel";
466
+ export * from "./ToolsResponseModel";
461
467
  export * from "./TransferToAgentToolConfig";
462
468
  export * from "./TransferToNumberToolConfig";
463
469
  export * from "./TurnConfig";
@@ -517,6 +523,8 @@ export * from "./WidgetStyles";
517
523
  export * from "./WidgetTextContents";
518
524
  export * from "./WorkspaceBatchCallsResponse";
519
525
  export * from "./WorkspaceGroupByNameResponseModel";
526
+ export * from "./WorkspaceGroupPermission";
527
+ export * from "./WorkspaceGroupResponseModel";
520
528
  export * from "./WorkspaceResourceType";
521
529
  export * from "./WorkspaceWebhookListResponseModel";
522
530
  export * from "./WorkspaceWebhookResponseModel";
@@ -545,6 +553,7 @@ export * from "./UpdateChapterRequest";
545
553
  export * from "./CharacterUsageResponse";
546
554
  export * from "./GetPronunciationDictionariesResponse";
547
555
  export * from "./GetPronunciationDictionaryResponse";
556
+ export * from "./PromptAgent";
548
557
  export * from "./InitializeConnection";
549
558
  export * from "./CloseConnection";
550
559
  export * from "./SendText";