@elevenlabs/elevenlabs-js 2.2.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 (1465) hide show
  1. package/Client.d.ts +9 -4
  2. package/Client.js +60 -12
  3. package/README.md +4 -11
  4. package/api/resources/audioIsolation/client/Client.d.ts +5 -4
  5. package/api/resources/audioIsolation/client/Client.js +5 -8
  6. package/api/resources/audioIsolation/client/index.d.ts +1 -0
  7. package/api/resources/audioNative/client/Client.d.ts +3 -1
  8. package/api/resources/audioNative/client/Client.js +7 -14
  9. package/api/resources/audioNative/client/index.d.ts +1 -0
  10. package/api/resources/conversationalAi/client/Client.d.ts +9 -1
  11. package/api/resources/conversationalAi/client/Client.js +31 -36
  12. package/api/resources/conversationalAi/client/index.d.ts +1 -0
  13. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
  14. package/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
  15. package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  17. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  19. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  20. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  22. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  23. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  24. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  26. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  27. package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  29. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  30. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  32. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  33. package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  35. package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  36. package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  37. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  38. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  39. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  40. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  41. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  43. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  44. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  45. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  46. package/api/resources/conversationalAi/resources/index.d.ts +4 -0
  47. package/api/resources/conversationalAi/resources/index.js +5 -1
  48. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  49. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  50. package/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  55. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  56. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  57. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  58. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  59. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  60. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  61. package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  62. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  63. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  64. package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  65. package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  66. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  67. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  68. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  69. package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  70. package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  71. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  72. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  73. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  74. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  75. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  76. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  77. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  78. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  79. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  80. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  81. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  82. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  83. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  84. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  85. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  86. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  87. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  88. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  89. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  90. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  91. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  92. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  93. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  94. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  95. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  96. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  97. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  98. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  99. package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  100. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  101. package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  102. package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  103. package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  104. package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  105. package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  106. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  107. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  108. package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  109. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  110. package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  111. package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  112. package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  113. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  114. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  115. package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  116. package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  117. package/api/resources/conversationalAi/resources/tools/index.js +17 -0
  118. package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  119. package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  120. package/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  121. package/api/resources/dubbing/client/Client.d.ts +3 -1
  122. package/api/resources/dubbing/client/Client.js +10 -16
  123. package/api/resources/dubbing/client/index.d.ts +1 -0
  124. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  125. package/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  126. package/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  127. package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  128. package/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  129. package/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  130. package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  131. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  132. package/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  133. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  134. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  135. package/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  136. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  137. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  138. package/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  139. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  140. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  141. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  142. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  143. package/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  144. package/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  145. package/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  146. package/api/resources/forcedAlignment/client/Client.js +3 -4
  147. package/api/resources/forcedAlignment/client/index.d.ts +1 -0
  148. package/api/resources/history/client/Client.d.ts +5 -4
  149. package/api/resources/history/client/Client.js +11 -28
  150. package/api/resources/history/client/index.d.ts +1 -0
  151. package/api/resources/index.d.ts +3 -0
  152. package/api/resources/index.js +4 -1
  153. package/api/resources/models/client/Client.d.ts +3 -1
  154. package/api/resources/models/client/Client.js +3 -6
  155. package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  156. package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  157. package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  158. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  159. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  160. package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  161. package/api/resources/samples/client/Client.d.ts +3 -1
  162. package/api/resources/samples/client/Client.js +3 -6
  163. package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  164. package/api/resources/speechToSpeech/client/Client.js +5 -8
  165. package/api/resources/speechToSpeech/client/index.d.ts +1 -0
  166. package/api/resources/speechToText/client/Client.d.ts +4 -4
  167. package/api/resources/speechToText/client/Client.js +46 -10
  168. package/api/resources/speechToText/client/index.d.ts +1 -0
  169. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  170. package/api/resources/studio/client/Client.d.ts +4 -2
  171. package/api/resources/studio/client/Client.js +4 -5
  172. package/api/resources/studio/client/index.d.ts +1 -0
  173. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  174. package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  175. package/api/resources/studio/resources/projects/client/Client.js +16 -32
  176. package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  177. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  178. package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  179. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  180. package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  181. package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  182. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  183. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  184. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  185. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  186. package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  187. package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  188. package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  189. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  190. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  191. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  192. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  193. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  194. package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  195. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  196. package/api/resources/textToDialogue/client/Client.d.ts +5 -4
  197. package/api/resources/textToDialogue/client/Client.js +5 -8
  198. package/api/resources/textToDialogue/client/index.d.ts +1 -0
  199. package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  200. package/api/resources/textToSoundEffects/client/Client.js +3 -4
  201. package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  202. package/api/resources/textToSpeech/client/Client.d.ts +5 -4
  203. package/api/resources/textToSpeech/client/Client.js +9 -16
  204. package/api/resources/textToSpeech/client/index.d.ts +1 -0
  205. package/api/resources/textToVoice/client/Client.d.ts +35 -1
  206. package/api/resources/textToVoice/client/Client.js +167 -8
  207. package/api/resources/textToVoice/client/index.d.ts +1 -0
  208. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  209. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  210. package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  211. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  212. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  213. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  214. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  215. package/api/resources/textToVoice/types/index.d.ts +2 -0
  216. package/api/resources/textToVoice/types/index.js +2 -0
  217. package/api/resources/usage/client/Client.d.ts +3 -1
  218. package/api/resources/usage/client/Client.js +3 -6
  219. package/api/resources/usage/client/index.d.ts +1 -0
  220. package/api/resources/user/client/Client.d.ts +3 -1
  221. package/api/resources/user/client/Client.js +3 -6
  222. package/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  223. package/api/resources/user/resources/subscription/client/Client.js +3 -6
  224. package/api/resources/voices/client/Client.d.ts +4 -2
  225. package/api/resources/voices/client/Client.js +18 -43
  226. package/api/resources/voices/client/index.d.ts +1 -0
  227. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  228. package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  229. package/api/resources/voices/resources/ivc/client/Client.js +3 -4
  230. package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  231. package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  232. package/api/resources/voices/resources/pvc/client/Client.js +7 -12
  233. package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  234. package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  235. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  236. package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  237. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  238. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  239. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  240. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  241. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  242. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  243. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  244. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  245. package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  246. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  247. package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  248. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  249. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  250. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  251. package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  252. package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  253. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  254. package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  255. package/api/resources/voices/resources/settings/client/Client.js +7 -16
  256. package/api/resources/webhooks/client/Client.d.ts +48 -0
  257. package/api/resources/webhooks/client/Client.js +142 -0
  258. package/api/resources/webhooks/client/index.d.ts +2 -0
  259. package/api/resources/webhooks/client/index.js +17 -0
  260. package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  261. package/api/resources/webhooks/client/requests/index.d.ts +1 -0
  262. package/api/resources/webhooks/client/requests/index.js +2 -0
  263. package/api/resources/webhooks/index.d.ts +1 -0
  264. package/api/resources/webhooks/index.js +17 -0
  265. package/api/resources/workspace/client/Client.d.ts +69 -0
  266. package/api/resources/workspace/client/Client.js +326 -0
  267. package/api/resources/workspace/client/index.d.ts +1 -0
  268. package/api/resources/workspace/client/index.js +15 -0
  269. package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  270. package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  271. package/api/resources/workspace/client/requests/index.d.ts +2 -0
  272. package/api/resources/workspace/client/requests/index.js +2 -0
  273. package/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  274. package/api/resources/workspace/resources/groups/client/Client.js +3 -6
  275. package/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  276. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  277. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  278. package/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  279. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  280. package/api/resources/workspace/resources/invites/client/Client.js +7 -12
  281. package/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  282. package/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  283. package/api/resources/workspace/resources/members/client/Client.js +5 -8
  284. package/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  285. package/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  286. package/api/resources/workspace/resources/resources/client/Client.js +7 -14
  287. package/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  288. package/api/types/AddProjectRequest.d.ts +60 -3
  289. package/api/types/AgentCallLimits.d.ts +2 -0
  290. package/api/types/AgentConfigOverride.d.ts +1 -1
  291. package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  292. package/api/types/AsrProvider.d.ts +5 -1
  293. package/api/types/AsrProvider.js +5 -0
  294. package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  295. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  296. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  297. package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  298. package/api/types/BuiltInToolsInput.d.ts +16 -0
  299. package/api/types/BuiltInToolsOutput.d.ts +16 -0
  300. package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  301. package/api/types/ClientEvent.d.ts +4 -2
  302. package/api/types/ClientEvent.js +3 -1
  303. package/api/types/ClientToolConfigInput.d.ts +0 -1
  304. package/api/types/ClientToolConfigOutput.d.ts +0 -1
  305. package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  306. package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  307. package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  308. package/api/types/ConversationChargingCommonModel.d.ts +3 -0
  309. package/api/types/ConversationSimulationSpecification.d.ts +1 -0
  310. package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  311. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  312. package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  313. package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  314. package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  315. package/api/types/IntegrationType.d.ts +8 -0
  316. package/api/types/IntegrationType.js +10 -0
  317. package/api/types/InvoiceResponse.d.ts +2 -0
  318. package/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  319. package/api/types/McpApprovalPolicy.d.ts +12 -0
  320. package/api/types/McpApprovalPolicy.js +11 -0
  321. package/api/types/McpServerConfigInput.d.ts +19 -0
  322. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  323. package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  324. package/api/types/McpServerConfigInputUrl.d.ts +8 -0
  325. package/api/types/McpServerConfigOutput.d.ts +19 -0
  326. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  327. package/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  328. package/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  329. package/api/types/McpServerConfigOutputSecretToken.js +5 -0
  330. package/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  331. package/api/types/McpServerConfigOutputUrl.js +5 -0
  332. package/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  333. package/api/types/McpServerMetadataResponseModel.js +5 -0
  334. package/api/types/McpServerResponseModel.d.ts +17 -0
  335. package/api/types/McpServerResponseModel.js +5 -0
  336. package/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  337. package/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  338. package/api/types/McpServerTransport.d.ts +11 -0
  339. package/api/types/McpServerTransport.js +10 -0
  340. package/api/types/McpServersResponseModel.d.ts +10 -0
  341. package/api/types/McpServersResponseModel.js +5 -0
  342. package/api/types/McpToolApprovalHash.d.ts +15 -0
  343. package/api/types/McpToolApprovalHash.js +5 -0
  344. package/api/types/McpToolApprovalPolicy.d.ts +11 -0
  345. package/api/types/McpToolApprovalPolicy.js +10 -0
  346. package/api/types/McpToolConfigInput.d.ts +11 -4
  347. package/api/types/McpToolConfigOutput.d.ts +11 -4
  348. package/api/types/PromptAgent.d.ts +1 -27
  349. package/api/types/PromptAgentApiModelInput.d.ts +32 -0
  350. package/api/types/PromptAgentApiModelInput.js +5 -0
  351. package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
  352. package/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
  353. package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  354. package/api/types/PromptAgentApiModelOutput.js +5 -0
  355. package/api/types/{PromptAgentOutputToolsItem.d.ts → PromptAgentApiModelOutputToolsItem.d.ts} +2 -5
  356. package/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
  357. package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  358. package/api/types/PromptAgentApiModelOverride.js +5 -0
  359. package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  360. package/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
  361. package/api/types/PromptAgentDbModel.d.ts +3 -2
  362. package/api/types/SubscriptionStatusType.d.ts +2 -3
  363. package/api/types/SubscriptionStatusType.js +1 -2
  364. package/api/types/SupportedVoice.d.ts +4 -0
  365. package/api/types/SystemToolConfigInput.d.ts +0 -1
  366. package/api/types/SystemToolConfigOutput.d.ts +0 -1
  367. package/api/types/Tool.d.ts +15 -0
  368. package/api/types/Tool.js +5 -0
  369. package/api/types/ToolAnnotations.d.ts +22 -0
  370. package/api/types/ToolAnnotations.js +5 -0
  371. package/api/types/ToolRequestModel.d.ts +8 -0
  372. package/api/types/ToolRequestModel.js +5 -0
  373. package/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
  374. package/api/types/ToolRequestModelToolConfig.js +5 -0
  375. package/api/types/ToolResponseModel.d.ts +10 -0
  376. package/api/types/ToolResponseModel.js +5 -0
  377. package/{dist/api/types/PromptAgentOutputToolsItem.d.ts → api/types/ToolResponseModelToolConfig.d.ts} +2 -5
  378. package/api/types/ToolResponseModelToolConfig.js +5 -0
  379. package/api/types/ToolsResponseModel.d.ts +7 -0
  380. package/api/types/ToolsResponseModel.js +5 -0
  381. package/api/types/TransferToNumberToolConfig.d.ts +2 -0
  382. package/api/types/User.d.ts +1 -1
  383. package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  384. package/api/types/VoicePreviewResponseModel.d.ts +4 -0
  385. package/api/types/WebhookAuthMethodType.d.ts +8 -0
  386. package/api/types/WebhookAuthMethodType.js +10 -0
  387. package/api/types/WebhookToolConfigInput.d.ts +0 -1
  388. package/api/types/WebhookToolConfigOutput.d.ts +0 -1
  389. package/api/types/WebhookUsageType.d.ts +10 -0
  390. package/api/types/WebhookUsageType.js +12 -0
  391. package/api/types/WidgetConfig.d.ts +2 -0
  392. package/api/types/WidgetConfigResponse.d.ts +2 -0
  393. package/api/types/WidgetStyles.d.ts +45 -0
  394. package/api/types/WidgetStyles.js +5 -0
  395. package/api/types/WorkspaceGroupPermission.d.ts +22 -0
  396. package/api/types/WorkspaceGroupPermission.js +24 -0
  397. package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  398. package/api/types/WorkspaceGroupResponseModel.js +5 -0
  399. package/api/types/WorkspaceResourceType.d.ts +2 -2
  400. package/api/types/WorkspaceResourceType.js +1 -1
  401. package/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  402. package/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  403. package/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  404. package/api/types/WorkspaceWebhookResponseModel.js +5 -0
  405. package/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  406. package/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  407. package/api/types/index.d.ts +48 -15
  408. package/api/types/index.js +48 -15
  409. package/core/fetcher/Fetcher.d.ts +2 -1
  410. package/core/fetcher/Fetcher.js +22 -9
  411. package/core/form-data-utils/FormDataWrapper.js +5 -4
  412. package/core/form-data-utils/toReadableStream.d.ts +1 -0
  413. package/core/form-data-utils/toReadableStream.js +28 -0
  414. package/core/headers.d.ts +3 -0
  415. package/core/headers.js +29 -0
  416. package/core/index.d.ts +1 -1
  417. package/core/index.js +1 -1
  418. package/core/runtime/runtime.js +0 -1
  419. package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
  420. package/dist/Client.d.ts +9 -4
  421. package/dist/Client.js +60 -12
  422. package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
  423. package/dist/api/resources/audioIsolation/client/Client.js +5 -8
  424. package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
  425. package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
  426. package/dist/api/resources/audioNative/client/Client.js +7 -14
  427. package/dist/api/resources/audioNative/client/index.d.ts +1 -0
  428. package/dist/api/resources/conversationalAi/client/Client.d.ts +9 -1
  429. package/dist/api/resources/conversationalAi/client/Client.js +31 -36
  430. package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
  431. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
  432. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
  433. package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  434. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  435. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
  436. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  437. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  438. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  439. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  440. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  441. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  442. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  443. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  444. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  445. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  446. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  447. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  448. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  449. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  450. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  451. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  452. package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  453. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  454. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  455. package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  456. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  457. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  458. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  459. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  460. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  461. package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  462. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  463. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  464. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  465. package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
  466. package/dist/api/resources/conversationalAi/resources/index.js +5 -1
  467. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  468. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  469. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  470. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  471. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  472. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  473. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  474. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  475. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  476. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  477. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  478. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  479. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  480. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  481. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  482. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  483. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  484. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  485. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  486. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
  487. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  488. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  489. package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  490. package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  491. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  492. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  493. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  494. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  495. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  496. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
  497. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  498. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  499. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  500. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  501. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  502. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  503. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  504. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  505. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  506. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  507. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  508. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
  509. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  510. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  511. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  512. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  513. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  514. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  515. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  516. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  517. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  518. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  519. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  520. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  521. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  522. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  523. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  524. package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  525. package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  526. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  527. package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  528. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  529. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  530. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  531. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  532. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  533. package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  534. package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  535. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  536. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
  537. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  538. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  539. package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  540. package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
  541. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  542. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  543. package/dist/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  544. package/dist/api/resources/dubbing/client/Client.d.ts +3 -1
  545. package/dist/api/resources/dubbing/client/Client.js +10 -16
  546. package/dist/api/resources/dubbing/client/index.d.ts +1 -0
  547. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  548. package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  549. package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  550. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  551. package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  552. package/dist/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  553. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  554. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  555. package/dist/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  556. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  557. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  558. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  559. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  560. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  561. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  562. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  563. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  564. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  565. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  566. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  567. package/dist/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  568. package/dist/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  569. package/dist/api/resources/forcedAlignment/client/Client.js +3 -4
  570. package/dist/api/resources/forcedAlignment/client/index.d.ts +1 -0
  571. package/dist/api/resources/history/client/Client.d.ts +5 -4
  572. package/dist/api/resources/history/client/Client.js +11 -28
  573. package/dist/api/resources/history/client/index.d.ts +1 -0
  574. package/dist/api/resources/index.d.ts +3 -0
  575. package/dist/api/resources/index.js +4 -1
  576. package/dist/api/resources/models/client/Client.d.ts +3 -1
  577. package/dist/api/resources/models/client/Client.js +3 -6
  578. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  579. package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  580. package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  581. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  582. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  583. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  584. package/dist/api/resources/samples/client/Client.d.ts +3 -1
  585. package/dist/api/resources/samples/client/Client.js +3 -6
  586. package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  587. package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
  588. package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
  589. package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
  590. package/dist/api/resources/speechToText/client/Client.js +46 -10
  591. package/dist/api/resources/speechToText/client/index.d.ts +1 -0
  592. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  593. package/dist/api/resources/studio/client/Client.d.ts +4 -2
  594. package/dist/api/resources/studio/client/Client.js +4 -5
  595. package/dist/api/resources/studio/client/index.d.ts +1 -0
  596. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  597. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  598. package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
  599. package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  600. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  601. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  602. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  603. package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  604. package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  605. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  606. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  607. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  608. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  609. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  610. package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  611. package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  612. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  613. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  614. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  615. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  616. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  617. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  618. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  619. package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
  620. package/dist/api/resources/textToDialogue/client/Client.js +5 -8
  621. package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
  622. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  623. package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
  624. package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  625. package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
  626. package/dist/api/resources/textToSpeech/client/Client.js +9 -16
  627. package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
  628. package/dist/api/resources/textToVoice/client/Client.d.ts +35 -1
  629. package/dist/api/resources/textToVoice/client/Client.js +167 -8
  630. package/dist/api/resources/textToVoice/client/index.d.ts +1 -0
  631. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  632. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
  633. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  634. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
  635. package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  636. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  637. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  638. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  639. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  640. package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
  641. package/dist/api/resources/textToVoice/types/index.js +2 -0
  642. package/dist/api/resources/usage/client/Client.d.ts +3 -1
  643. package/dist/api/resources/usage/client/Client.js +3 -6
  644. package/dist/api/resources/usage/client/index.d.ts +1 -0
  645. package/dist/api/resources/user/client/Client.d.ts +3 -1
  646. package/dist/api/resources/user/client/Client.js +3 -6
  647. package/dist/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  648. package/dist/api/resources/user/resources/subscription/client/Client.js +3 -6
  649. package/dist/api/resources/voices/client/Client.d.ts +4 -2
  650. package/dist/api/resources/voices/client/Client.js +18 -43
  651. package/dist/api/resources/voices/client/index.d.ts +1 -0
  652. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  653. package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  654. package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
  655. package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  656. package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  657. package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
  658. package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  659. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  660. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  661. package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  662. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  663. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  664. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  665. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  666. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  667. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  668. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  669. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  670. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  671. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  672. package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  673. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  674. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  675. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  676. package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  677. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  678. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  679. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  680. package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
  681. package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
  682. package/dist/api/resources/webhooks/client/Client.js +142 -0
  683. package/dist/api/resources/webhooks/client/index.d.ts +2 -0
  684. package/dist/api/resources/webhooks/client/index.js +17 -0
  685. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  686. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
  687. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  688. package/dist/api/resources/webhooks/client/requests/index.js +2 -0
  689. package/dist/api/resources/webhooks/index.d.ts +1 -0
  690. package/dist/api/resources/webhooks/index.js +17 -0
  691. package/dist/api/resources/workspace/client/Client.d.ts +69 -0
  692. package/dist/api/resources/workspace/client/Client.js +326 -0
  693. package/dist/api/resources/workspace/client/index.d.ts +1 -0
  694. package/dist/api/resources/workspace/client/index.js +15 -0
  695. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  696. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
  697. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  698. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +5 -0
  699. package/dist/api/resources/workspace/client/requests/index.d.ts +2 -0
  700. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  701. package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  702. package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -6
  703. package/dist/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  704. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  705. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  706. package/dist/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  707. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  708. package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -12
  709. package/dist/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  710. package/dist/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  711. package/dist/api/resources/workspace/resources/members/client/Client.js +5 -8
  712. package/dist/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  713. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  714. package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -14
  715. package/dist/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  716. package/dist/api/types/AddProjectRequest.d.ts +60 -3
  717. package/dist/api/types/AgentCallLimits.d.ts +2 -0
  718. package/dist/api/types/AgentConfigOverride.d.ts +1 -1
  719. package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  720. package/dist/api/types/AsrProvider.d.ts +5 -1
  721. package/dist/api/types/AsrProvider.js +5 -0
  722. package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  723. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  724. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  725. package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  726. package/dist/api/types/BuiltInToolsInput.d.ts +16 -0
  727. package/dist/api/types/BuiltInToolsInput.js +5 -0
  728. package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
  729. package/dist/api/types/BuiltInToolsOutput.js +5 -0
  730. package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  731. package/dist/api/types/ClientEvent.d.ts +4 -2
  732. package/dist/api/types/ClientEvent.js +3 -1
  733. package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
  734. package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
  735. package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  736. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  737. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
  738. package/dist/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  739. package/dist/api/types/ConvAiUserSecretDbModel.js +5 -0
  740. package/dist/api/types/ConversationChargingCommonModel.d.ts +3 -0
  741. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -0
  742. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  743. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
  744. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  745. package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  746. package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
  747. package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  748. package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
  749. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  750. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
  751. package/dist/api/types/IntegrationType.d.ts +8 -0
  752. package/dist/api/types/IntegrationType.js +10 -0
  753. package/dist/api/types/InvoiceResponse.d.ts +2 -0
  754. package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  755. package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
  756. package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
  757. package/dist/api/types/McpApprovalPolicy.js +11 -0
  758. package/dist/api/types/McpServerConfigInput.d.ts +19 -0
  759. package/dist/api/types/McpServerConfigInput.js +5 -0
  760. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  761. package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
  762. package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  763. package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
  764. package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
  765. package/dist/api/types/McpServerConfigInputUrl.js +5 -0
  766. package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
  767. package/dist/api/types/McpServerConfigOutput.js +5 -0
  768. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  769. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  770. package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  771. package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
  772. package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  773. package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
  774. package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  775. package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
  776. package/dist/api/types/McpServerResponseModel.d.ts +17 -0
  777. package/dist/api/types/McpServerResponseModel.js +5 -0
  778. package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  779. package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  780. package/dist/api/types/McpServerTransport.d.ts +11 -0
  781. package/dist/api/types/McpServerTransport.js +10 -0
  782. package/dist/api/types/McpServersResponseModel.d.ts +10 -0
  783. package/dist/api/types/McpServersResponseModel.js +5 -0
  784. package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
  785. package/dist/api/types/McpToolApprovalHash.js +5 -0
  786. package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
  787. package/dist/api/types/McpToolApprovalPolicy.js +10 -0
  788. package/dist/api/types/McpToolConfigInput.d.ts +11 -4
  789. package/dist/api/types/McpToolConfigOutput.d.ts +11 -4
  790. package/dist/api/types/PromptAgent.d.ts +1 -27
  791. package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
  792. package/dist/api/types/PromptAgentApiModelInput.js +5 -0
  793. package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
  794. package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
  795. package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  796. package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
  797. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
  798. package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
  799. package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  800. package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
  801. package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  802. package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
  803. package/dist/api/types/PromptAgentDbModel.d.ts +3 -2
  804. package/dist/api/types/SubscriptionStatusType.d.ts +2 -3
  805. package/dist/api/types/SubscriptionStatusType.js +1 -2
  806. package/dist/api/types/SupportedVoice.d.ts +4 -0
  807. package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
  808. package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
  809. package/dist/api/types/Tool.d.ts +15 -0
  810. package/dist/api/types/Tool.js +5 -0
  811. package/dist/api/types/ToolAnnotations.d.ts +22 -0
  812. package/dist/api/types/ToolAnnotations.js +5 -0
  813. package/dist/api/types/ToolRequestModel.d.ts +8 -0
  814. package/dist/api/types/ToolRequestModel.js +5 -0
  815. package/dist/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
  816. package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
  817. package/dist/api/types/ToolResponseModel.d.ts +10 -0
  818. package/dist/api/types/ToolResponseModel.js +5 -0
  819. package/dist/api/types/ToolResponseModelToolConfig.d.ts +22 -0
  820. package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
  821. package/dist/api/types/ToolsResponseModel.d.ts +7 -0
  822. package/dist/api/types/ToolsResponseModel.js +5 -0
  823. package/dist/api/types/TransferToNumberToolConfig.d.ts +2 -0
  824. package/dist/api/types/User.d.ts +1 -1
  825. package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  826. package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
  827. package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
  828. package/dist/api/types/WebhookAuthMethodType.js +10 -0
  829. package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
  830. package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
  831. package/dist/api/types/WebhookUsageType.d.ts +10 -0
  832. package/dist/api/types/WebhookUsageType.js +12 -0
  833. package/dist/api/types/WidgetConfig.d.ts +2 -0
  834. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  835. package/dist/api/types/WidgetStyles.d.ts +45 -0
  836. package/dist/api/types/WidgetStyles.js +5 -0
  837. package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
  838. package/dist/api/types/WorkspaceGroupPermission.js +24 -0
  839. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  840. package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
  841. package/dist/api/types/WorkspaceResourceType.d.ts +2 -2
  842. package/dist/api/types/WorkspaceResourceType.js +1 -1
  843. package/dist/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  844. package/dist/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  845. package/dist/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  846. package/dist/api/types/WorkspaceWebhookResponseModel.js +5 -0
  847. package/dist/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  848. package/dist/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  849. package/dist/api/types/index.d.ts +48 -15
  850. package/dist/api/types/index.js +48 -15
  851. package/dist/core/fetcher/Fetcher.d.ts +2 -1
  852. package/dist/core/fetcher/Fetcher.js +22 -9
  853. package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
  854. package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
  855. package/dist/core/form-data-utils/toReadableStream.js +28 -0
  856. package/dist/core/headers.d.ts +3 -0
  857. package/dist/core/headers.js +29 -0
  858. package/dist/core/index.d.ts +1 -1
  859. package/dist/core/index.js +1 -1
  860. package/dist/core/runtime/runtime.js +0 -1
  861. package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
  862. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  863. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  864. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  865. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  866. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  867. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  868. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  869. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  870. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  871. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  872. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  873. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  874. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  875. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  876. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  877. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  878. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  879. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  880. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  881. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  882. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  883. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  884. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  885. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  886. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  887. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  888. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  889. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  890. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  891. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  892. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  893. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  894. package/dist/serialization/resources/index.d.ts +1 -0
  895. package/dist/serialization/resources/index.js +1 -0
  896. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  897. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  898. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  899. package/dist/serialization/{types/NativeMcpToolConfigInput.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -13
  900. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  901. package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
  902. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  903. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  904. package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  905. package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
  906. package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
  907. package/dist/serialization/resources/textToVoice/types/index.js +2 -0
  908. package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  909. package/dist/serialization/resources/workspace/client/getShareOptions.js +42 -0
  910. package/dist/serialization/resources/workspace/client/index.d.ts +2 -0
  911. package/dist/serialization/resources/workspace/client/index.js +41 -0
  912. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  913. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  914. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  915. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  916. package/dist/serialization/resources/workspace/client/requests/index.d.ts +2 -0
  917. package/dist/serialization/resources/workspace/client/requests/index.js +7 -0
  918. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  919. package/dist/serialization/resources/workspace/index.js +1 -0
  920. package/dist/serialization/types/AddProjectRequest.d.ts +1 -0
  921. package/dist/serialization/types/AddProjectRequest.js +1 -0
  922. package/dist/serialization/types/AgentCallLimits.d.ts +1 -0
  923. package/dist/serialization/types/AgentCallLimits.js +1 -0
  924. package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
  925. package/dist/serialization/types/AgentConfigOverride.js +2 -2
  926. package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  927. package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
  928. package/dist/serialization/types/AsrProvider.d.ts +1 -1
  929. package/dist/serialization/types/AsrProvider.js +1 -1
  930. package/dist/serialization/types/BuiltInToolsInput.d.ts +17 -0
  931. package/dist/serialization/types/BuiltInToolsInput.js +48 -0
  932. package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  933. package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
  934. package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  935. package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
  936. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  937. package/dist/serialization/types/ClientEvent.js +3 -1
  938. package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
  939. package/dist/serialization/types/ClientToolConfigInput.js +0 -1
  940. package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  941. package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
  942. package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  943. package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  944. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  945. package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
  946. package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  947. package/dist/serialization/types/ConvAiUserSecretDbModel.js +46 -0
  948. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
  949. package/dist/serialization/types/ConversationChargingCommonModel.js +3 -0
  950. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  951. package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
  952. package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  953. package/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +6 -5
  954. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  955. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  956. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  957. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  958. package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  959. package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
  960. package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  961. package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
  962. package/dist/serialization/types/IntegrationType.d.ts +10 -0
  963. package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/types/IntegrationType.js} +2 -2
  964. package/dist/serialization/types/InvoiceResponse.d.ts +1 -0
  965. package/dist/serialization/types/InvoiceResponse.js +1 -0
  966. package/dist/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  967. package/dist/serialization/types/ListMcpToolsResponseModel.js +46 -0
  968. package/dist/serialization/types/McpApprovalPolicy.d.ts +10 -0
  969. package/dist/serialization/types/McpApprovalPolicy.js +41 -0
  970. package/dist/serialization/types/McpServerConfigInput.d.ts +25 -0
  971. package/{serialization/types/NativeMcpToolConfigInput.js → dist/serialization/types/McpServerConfigInput.js} +15 -11
  972. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  973. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  974. package/dist/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  975. package/dist/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  976. package/dist/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  977. package/dist/serialization/types/{McpApprovalRequiredModel.js → McpServerConfigInputUrl.js} +3 -6
  978. package/dist/serialization/types/McpServerConfigOutput.d.ts +25 -0
  979. package/dist/serialization/types/McpServerConfigOutput.js +56 -0
  980. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  981. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  982. package/dist/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  983. package/dist/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  984. package/dist/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  985. package/dist/serialization/types/McpServerConfigOutputUrl.js +42 -0
  986. package/dist/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  987. package/dist/serialization/types/McpServerMetadataResponseModel.js +44 -0
  988. package/dist/serialization/types/McpServerResponseModel.d.ts +20 -0
  989. package/dist/serialization/types/McpServerResponseModel.js +51 -0
  990. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  991. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  992. package/dist/serialization/types/McpServerTransport.d.ts +10 -0
  993. package/dist/serialization/types/{DependentUnknownAgentToolIdentifier.js → McpServerTransport.js} +2 -2
  994. package/dist/serialization/types/McpServersResponseModel.d.ts +13 -0
  995. package/dist/serialization/types/McpServersResponseModel.js +44 -0
  996. package/dist/serialization/types/McpToolApprovalHash.d.ts +15 -0
  997. package/dist/serialization/types/McpToolApprovalHash.js +46 -0
  998. package/dist/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  999. package/dist/serialization/types/McpToolApprovalPolicy.js +41 -0
  1000. package/dist/serialization/types/McpToolConfigInput.d.ts +7 -3
  1001. package/dist/serialization/types/McpToolConfigInput.js +7 -3
  1002. package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -3
  1003. package/dist/serialization/types/McpToolConfigOutput.js +7 -3
  1004. package/dist/serialization/types/PromptAgent.d.ts +2 -20
  1005. package/dist/serialization/types/PromptAgent.js +1 -19
  1006. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  1007. package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
  1008. package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → PromptAgentApiModelInputToolsItem.d.ts} +3 -7
  1009. package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
  1010. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  1011. package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
  1012. package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts} +3 -7
  1013. package/dist/serialization/types/{PromptAgentOutputToolsItem.js → PromptAgentApiModelOutputToolsItem.js} +2 -4
  1014. package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  1015. package/{serialization/types/PromptAgentOverride.js → dist/serialization/types/PromptAgentApiModelOverride.js} +2 -2
  1016. package/{serialization/types/PromptAgentOverrideConfig.d.ts → dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  1017. package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  1018. package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -2
  1019. package/dist/serialization/types/PromptAgentDbModel.js +3 -2
  1020. package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
  1021. package/dist/serialization/types/SubscriptionStatusType.js +1 -2
  1022. package/dist/serialization/types/SupportedVoice.d.ts +5 -0
  1023. package/dist/serialization/types/SupportedVoice.js +5 -0
  1024. package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
  1025. package/dist/serialization/types/SystemToolConfigInput.js +0 -1
  1026. package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  1027. package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
  1028. package/dist/serialization/types/Tool.d.ts +17 -0
  1029. package/dist/serialization/types/Tool.js +49 -0
  1030. package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
  1031. package/dist/serialization/types/ToolAnnotations.js +49 -0
  1032. package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
  1033. package/dist/serialization/types/ToolRequestModel.js +44 -0
  1034. package/{serialization/types/PromptAgentInputToolsItem.d.ts → dist/serialization/types/ToolRequestModelToolConfig.d.ts} +3 -7
  1035. package/dist/serialization/types/{PromptAgentInputToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
  1036. package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
  1037. package/dist/serialization/types/ToolResponseModel.js +47 -0
  1038. package/dist/serialization/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +3 -7
  1039. package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -4
  1040. package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
  1041. package/dist/serialization/types/ToolsResponseModel.js +44 -0
  1042. package/dist/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  1043. package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
  1044. package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  1045. package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
  1046. package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  1047. package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
  1048. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  1049. package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
  1050. package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
  1051. package/dist/serialization/types/{DependentAvailableAgentToolIdentifierAccessLevel.js → WebhookUsageType.js} +7 -2
  1052. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  1053. package/dist/serialization/types/WidgetConfig.js +2 -0
  1054. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1055. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  1056. package/dist/serialization/types/WidgetStyles.d.ts +31 -0
  1057. package/dist/serialization/types/WidgetStyles.js +62 -0
  1058. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  1059. package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
  1060. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  1061. package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  1062. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1063. package/dist/serialization/types/WorkspaceResourceType.js +1 -1
  1064. package/dist/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  1065. package/dist/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  1066. package/dist/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  1067. package/dist/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
  1068. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  1069. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  1070. package/dist/serialization/types/index.d.ts +48 -15
  1071. package/dist/serialization/types/index.js +48 -15
  1072. package/dist/version.d.ts +1 -1
  1073. package/dist/version.js +1 -1
  1074. package/dist/wrapper/ElevenLabsClient.d.ts +4 -3
  1075. package/dist/wrapper/ElevenLabsClient.js +6 -1
  1076. package/dist/wrapper/webhooks.d.ts +4 -3
  1077. package/dist/wrapper/webhooks.js +68 -46
  1078. package/jest.config.mjs +1 -0
  1079. package/package.json +6 -4
  1080. package/reference.md +1868 -479
  1081. package/scripts/rename-to-esm-files.js +10 -2
  1082. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  1083. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  1084. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  1085. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  1086. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  1087. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  1088. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  1089. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  1090. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  1091. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  1092. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  1093. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  1094. package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  1095. package/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  1096. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  1097. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  1098. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  1099. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  1100. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  1101. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  1102. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  1103. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  1104. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  1105. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  1106. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  1107. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  1108. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  1109. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  1110. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  1111. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  1112. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  1113. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  1114. package/serialization/resources/index.d.ts +1 -0
  1115. package/serialization/resources/index.js +1 -0
  1116. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  1117. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  1118. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  1119. package/{dist/serialization/types/DependentAvailableAgentToolIdentifier.js → serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
  1120. package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  1121. package/serialization/resources/textToVoice/client/requests/index.js +5 -1
  1122. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  1123. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  1124. package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  1125. package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
  1126. package/serialization/resources/textToVoice/types/index.d.ts +2 -0
  1127. package/serialization/resources/textToVoice/types/index.js +2 -0
  1128. package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  1129. package/serialization/resources/workspace/client/getShareOptions.js +42 -0
  1130. package/serialization/resources/workspace/client/index.d.ts +2 -0
  1131. package/serialization/resources/workspace/client/index.js +41 -0
  1132. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  1133. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  1134. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  1135. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  1136. package/serialization/resources/workspace/client/requests/index.d.ts +2 -0
  1137. package/serialization/resources/workspace/client/requests/index.js +7 -0
  1138. package/serialization/resources/workspace/index.d.ts +1 -0
  1139. package/serialization/resources/workspace/index.js +1 -0
  1140. package/serialization/types/AddProjectRequest.d.ts +1 -0
  1141. package/serialization/types/AddProjectRequest.js +1 -0
  1142. package/serialization/types/AgentCallLimits.d.ts +1 -0
  1143. package/serialization/types/AgentCallLimits.js +1 -0
  1144. package/serialization/types/AgentConfigOverride.d.ts +2 -2
  1145. package/serialization/types/AgentConfigOverride.js +2 -2
  1146. package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  1147. package/serialization/types/AgentConfigOverrideConfig.js +2 -2
  1148. package/serialization/types/AsrProvider.d.ts +1 -1
  1149. package/serialization/types/AsrProvider.js +1 -1
  1150. package/serialization/types/BuiltInToolsInput.d.ts +17 -0
  1151. package/serialization/types/BuiltInToolsInput.js +48 -0
  1152. package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  1153. package/serialization/types/BuiltInToolsOutput.js +48 -0
  1154. package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  1155. package/serialization/types/ChapterContentBlockInputModel.js +1 -1
  1156. package/serialization/types/ClientEvent.d.ts +1 -1
  1157. package/serialization/types/ClientEvent.js +3 -1
  1158. package/serialization/types/ClientToolConfigInput.d.ts +0 -1
  1159. package/serialization/types/ClientToolConfigInput.js +0 -1
  1160. package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  1161. package/serialization/types/ClientToolConfigOutput.js +0 -1
  1162. package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  1163. package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  1164. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  1165. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
  1166. package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  1167. package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
  1168. package/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
  1169. package/serialization/types/ConversationChargingCommonModel.js +3 -0
  1170. package/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  1171. package/serialization/types/ConversationSimulationSpecification.js +4 -0
  1172. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  1173. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
  1174. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  1175. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  1176. package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  1177. package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  1178. package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  1179. package/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
  1180. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  1181. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
  1182. package/serialization/types/IntegrationType.d.ts +10 -0
  1183. package/serialization/types/IntegrationType.js +41 -0
  1184. package/serialization/types/InvoiceResponse.d.ts +1 -0
  1185. package/serialization/types/InvoiceResponse.js +1 -0
  1186. package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  1187. package/serialization/types/ListMcpToolsResponseModel.js +46 -0
  1188. package/serialization/types/McpApprovalPolicy.d.ts +10 -0
  1189. package/serialization/types/McpApprovalPolicy.js +41 -0
  1190. package/serialization/types/McpServerConfigInput.d.ts +25 -0
  1191. package/serialization/types/McpServerConfigInput.js +56 -0
  1192. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  1193. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  1194. package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  1195. package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  1196. package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  1197. package/serialization/types/McpServerConfigInputUrl.js +42 -0
  1198. package/serialization/types/McpServerConfigOutput.d.ts +25 -0
  1199. package/serialization/types/McpServerConfigOutput.js +56 -0
  1200. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  1201. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  1202. package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  1203. package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  1204. package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  1205. package/serialization/types/McpServerConfigOutputUrl.js +42 -0
  1206. package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  1207. package/serialization/types/McpServerMetadataResponseModel.js +44 -0
  1208. package/serialization/types/McpServerResponseModel.d.ts +20 -0
  1209. package/serialization/types/McpServerResponseModel.js +51 -0
  1210. package/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  1211. package/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  1212. package/serialization/types/McpServerTransport.d.ts +10 -0
  1213. package/serialization/types/McpServerTransport.js +41 -0
  1214. package/serialization/types/McpServersResponseModel.d.ts +13 -0
  1215. package/serialization/types/McpServersResponseModel.js +44 -0
  1216. package/serialization/types/McpToolApprovalHash.d.ts +15 -0
  1217. package/serialization/types/McpToolApprovalHash.js +46 -0
  1218. package/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  1219. package/serialization/types/McpToolApprovalPolicy.js +41 -0
  1220. package/serialization/types/McpToolConfigInput.d.ts +7 -3
  1221. package/serialization/types/McpToolConfigInput.js +7 -3
  1222. package/serialization/types/McpToolConfigOutput.d.ts +7 -3
  1223. package/serialization/types/McpToolConfigOutput.js +7 -3
  1224. package/serialization/types/PromptAgent.d.ts +2 -20
  1225. package/serialization/types/PromptAgent.js +1 -19
  1226. package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  1227. package/serialization/types/PromptAgentApiModelInput.js +61 -0
  1228. package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -7
  1229. package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
  1230. package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  1231. package/serialization/types/PromptAgentApiModelOutput.js +61 -0
  1232. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
  1233. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
  1234. package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  1235. package/{dist/serialization/types/PromptAgentOverride.js → serialization/types/PromptAgentApiModelOverride.js} +2 -2
  1236. package/{dist/serialization/types/PromptAgentOverrideConfig.d.ts → serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  1237. package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  1238. package/serialization/types/PromptAgentDbModel.d.ts +3 -2
  1239. package/serialization/types/PromptAgentDbModel.js +3 -2
  1240. package/serialization/types/SubscriptionStatusType.d.ts +1 -1
  1241. package/serialization/types/SubscriptionStatusType.js +1 -2
  1242. package/serialization/types/SupportedVoice.d.ts +5 -0
  1243. package/serialization/types/SupportedVoice.js +5 -0
  1244. package/serialization/types/SystemToolConfigInput.d.ts +0 -1
  1245. package/serialization/types/SystemToolConfigInput.js +0 -1
  1246. package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  1247. package/serialization/types/SystemToolConfigOutput.js +0 -1
  1248. package/serialization/types/Tool.d.ts +17 -0
  1249. package/serialization/types/Tool.js +49 -0
  1250. package/serialization/types/ToolAnnotations.d.ts +17 -0
  1251. package/serialization/types/ToolAnnotations.js +49 -0
  1252. package/serialization/types/ToolRequestModel.d.ts +13 -0
  1253. package/serialization/types/ToolRequestModel.js +44 -0
  1254. package/serialization/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -7
  1255. package/serialization/types/{PromptAgentDbModelToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
  1256. package/serialization/types/ToolResponseModel.d.ts +16 -0
  1257. package/serialization/types/ToolResponseModel.js +47 -0
  1258. package/serialization/types/ToolResponseModelToolConfig.d.ts +26 -0
  1259. package/serialization/types/ToolResponseModelToolConfig.js +55 -0
  1260. package/serialization/types/ToolsResponseModel.d.ts +13 -0
  1261. package/serialization/types/ToolsResponseModel.js +44 -0
  1262. package/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  1263. package/serialization/types/TransferToNumberToolConfig.js +1 -0
  1264. package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  1265. package/serialization/types/WebhookAuthMethodType.js +41 -0
  1266. package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  1267. package/serialization/types/WebhookToolConfigInput.js +0 -1
  1268. package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  1269. package/serialization/types/WebhookToolConfigOutput.js +0 -1
  1270. package/serialization/types/WebhookUsageType.d.ts +10 -0
  1271. package/serialization/types/WebhookUsageType.js +46 -0
  1272. package/serialization/types/WidgetConfig.d.ts +2 -0
  1273. package/serialization/types/WidgetConfig.js +2 -0
  1274. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1275. package/serialization/types/WidgetConfigResponse.js +2 -0
  1276. package/serialization/types/WidgetStyles.d.ts +31 -0
  1277. package/serialization/types/WidgetStyles.js +62 -0
  1278. package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  1279. package/serialization/types/WorkspaceGroupPermission.js +58 -0
  1280. package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  1281. package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  1282. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1283. package/serialization/types/WorkspaceResourceType.js +1 -1
  1284. package/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  1285. package/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  1286. package/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  1287. package/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
  1288. package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  1289. package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  1290. package/serialization/types/index.d.ts +48 -15
  1291. package/serialization/types/index.js +48 -15
  1292. package/version.d.ts +1 -1
  1293. package/version.js +1 -1
  1294. package/wrapper/ElevenLabsClient.d.ts +4 -3
  1295. package/wrapper/ElevenLabsClient.js +6 -1
  1296. package/wrapper/webhooks.d.ts +4 -3
  1297. package/wrapper/webhooks.js +68 -46
  1298. package/.mock/asyncapi.yml +0 -856
  1299. package/.mock/definition/__package__.yml +0 -8340
  1300. package/.mock/definition/api.yml +0 -24
  1301. package/.mock/definition/audioIsolation.yml +0 -83
  1302. package/.mock/definition/audioNative.yml +0 -198
  1303. package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
  1304. package/.mock/definition/conversationalAi/agents/link.yml +0 -40
  1305. package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
  1306. package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
  1307. package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
  1308. package/.mock/definition/conversationalAi/agents.yml +0 -671
  1309. package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
  1310. package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
  1311. package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
  1312. package/.mock/definition/conversationalAi/conversations.yml +0 -165
  1313. package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
  1314. package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
  1315. package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
  1316. package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
  1317. package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
  1318. package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
  1319. package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
  1320. package/.mock/definition/conversationalAi/secrets.yml +0 -100
  1321. package/.mock/definition/conversationalAi/settings.yml +0 -81
  1322. package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
  1323. package/.mock/definition/conversationalAi/twilio.yml +0 -45
  1324. package/.mock/definition/conversationalAi.yml +0 -192
  1325. package/.mock/definition/dubbing/audio.yml +0 -35
  1326. package/.mock/definition/dubbing/resource/language.yml +0 -43
  1327. package/.mock/definition/dubbing/resource/segment.yml +0 -83
  1328. package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
  1329. package/.mock/definition/dubbing/resource/speaker.yml +0 -91
  1330. package/.mock/definition/dubbing/resource.yml +0 -271
  1331. package/.mock/definition/dubbing/transcript.yml +0 -48
  1332. package/.mock/definition/dubbing.yml +0 -170
  1333. package/.mock/definition/forcedAlignment.yml +0 -60
  1334. package/.mock/definition/history.yml +0 -270
  1335. package/.mock/definition/models.yml +0 -49
  1336. package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
  1337. package/.mock/definition/pronunciationDictionaries.yml +0 -262
  1338. package/.mock/definition/samples.yml +0 -46
  1339. package/.mock/definition/speechToSpeech.yml +0 -324
  1340. package/.mock/definition/speechToText.yml +0 -189
  1341. package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
  1342. package/.mock/definition/studio/projects/chapters.yml +0 -289
  1343. package/.mock/definition/studio/projects/content.yml +0 -94
  1344. package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
  1345. package/.mock/definition/studio/projects/snapshots.yml +0 -140
  1346. package/.mock/definition/studio/projects.yml +0 -579
  1347. package/.mock/definition/studio.yml +0 -216
  1348. package/.mock/definition/textToDialogue.yml +0 -213
  1349. package/.mock/definition/textToSoundEffects.yml +0 -92
  1350. package/.mock/definition/textToSpeech.yml +0 -959
  1351. package/.mock/definition/textToVoice.yml +0 -355
  1352. package/.mock/definition/usage.yml +0 -73
  1353. package/.mock/definition/user/subscription.yml +0 -50
  1354. package/.mock/definition/user.yml +0 -86
  1355. package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
  1356. package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
  1357. package/.mock/definition/voices/ivc.yml +0 -57
  1358. package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
  1359. package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
  1360. package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
  1361. package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
  1362. package/.mock/definition/voices/pvc/samples.yml +0 -159
  1363. package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
  1364. package/.mock/definition/voices/pvc/verification.yml +0 -47
  1365. package/.mock/definition/voices/pvc.yml +0 -137
  1366. package/.mock/definition/voices/samples/audio.yml +0 -35
  1367. package/.mock/definition/voices/settings.yml +0 -105
  1368. package/.mock/definition/voices.yml +0 -907
  1369. package/.mock/definition/workspace/groups/members.yml +0 -80
  1370. package/.mock/definition/workspace/groups.yml +0 -40
  1371. package/.mock/definition/workspace/invites.yml +0 -141
  1372. package/.mock/definition/workspace/members.yml +0 -83
  1373. package/.mock/definition/workspace/resources.yml +0 -184
  1374. package/.mock/fern.config.json +0 -4
  1375. package/.mock/openapi.json +0 -39184
  1376. package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  1377. package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  1378. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  1379. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  1380. package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  1381. package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1382. package/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1383. package/api/types/McpApprovalRequiredModel.js +0 -11
  1384. package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1385. package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1386. package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1387. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1388. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1389. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1390. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1391. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1392. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1393. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1394. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1395. package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  1396. package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  1397. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  1398. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  1399. package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  1400. package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1401. package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1402. package/dist/api/types/McpApprovalRequiredModel.js +0 -11
  1403. package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1404. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1405. package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1406. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1407. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1408. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1409. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1410. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1411. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1412. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1413. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1414. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  1415. package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  1416. package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  1417. package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  1418. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1419. package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1420. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1421. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1422. package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1423. package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1424. package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  1425. package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  1426. package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
  1427. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  1428. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
  1429. package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  1430. package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1431. package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1432. package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1433. package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1434. package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1435. package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1436. /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
  1437. /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
  1438. /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
  1439. /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
  1440. /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
  1441. /package/api/{types/NativeMcpToolConfigOutput.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
  1442. /package/api/{types/PromptAgentDbModelToolsItem.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
  1443. /package/api/{types/PromptAgentInputToolsItem.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
  1444. /package/api/{types/PromptAgentOutputToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
  1445. /package/api/{types/PromptAgentOverride.js → resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
  1446. /package/api/types/{PromptAgentOverrideConfig.js → BuiltInToolsInput.js} +0 -0
  1447. /package/api/types/{SharedSoundGenerationResponseModel.js → BuiltInToolsOutput.js} +0 -0
  1448. /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
  1449. /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
  1450. /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
  1451. /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/types/DefaultSharingPreferencesResponseModel.js} +0 -0
  1452. /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
  1453. /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
  1454. /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/ListMcpToolsResponseModel.js} +0 -0
  1455. /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/McpServerConfigInput.js} +0 -0
  1456. /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/McpServerConfigInputRequestHeadersValue.js} +0 -0
  1457. /package/{dist/api/types/PromptAgentOverride.js → api/types/McpServerConfigInputSecretToken.js} +0 -0
  1458. /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/McpServerConfigInputUrl.js} +0 -0
  1459. /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/McpServerConfigOutput.js} +0 -0
  1460. /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1461. /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1462. /package/core/{streaming-fetcher → stream}/index.js +0 -0
  1463. /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1464. /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1465. /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
@@ -8,7 +8,6 @@ import { SystemToolConfigInputParams } from "./SystemToolConfigInputParams";
8
8
  export declare const SystemToolConfigInput: core.serialization.ObjectSchema<serializers.SystemToolConfigInput.Raw, ElevenLabs.SystemToolConfigInput>;
9
9
  export declare namespace SystemToolConfigInput {
10
10
  interface Raw {
11
- id?: string | null;
12
11
  name: string;
13
12
  description: string;
14
13
  response_timeout_secs?: number | null;
@@ -40,7 +40,6 @@ exports.SystemToolConfigInput = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const SystemToolConfigInputParams_1 = require("./SystemToolConfigInputParams");
42
42
  exports.SystemToolConfigInput = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
43
  name: core.serialization.string(),
45
44
  description: core.serialization.string(),
46
45
  responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
@@ -8,7 +8,6 @@ import { SystemToolConfigOutputParams } from "./SystemToolConfigOutputParams";
8
8
  export declare const SystemToolConfigOutput: core.serialization.ObjectSchema<serializers.SystemToolConfigOutput.Raw, ElevenLabs.SystemToolConfigOutput>;
9
9
  export declare namespace SystemToolConfigOutput {
10
10
  interface Raw {
11
- id?: string | null;
12
11
  name: string;
13
12
  description: string;
14
13
  response_timeout_secs?: number | null;
@@ -40,7 +40,6 @@ exports.SystemToolConfigOutput = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const SystemToolConfigOutputParams_1 = require("./SystemToolConfigOutputParams");
42
42
  exports.SystemToolConfigOutput = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
43
  name: core.serialization.string(),
45
44
  description: core.serialization.string(),
46
45
  responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ToolAnnotations } from "./ToolAnnotations";
8
+ export declare const Tool: core.serialization.ObjectSchema<serializers.Tool.Raw, ElevenLabs.Tool>;
9
+ export declare namespace Tool {
10
+ interface Raw {
11
+ name: string;
12
+ description?: string | null;
13
+ inputSchema: Record<string, unknown>;
14
+ annotations?: ToolAnnotations.Raw | null;
15
+ [key: string]: any;
16
+ }
17
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Tool = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ToolAnnotations_1 = require("./ToolAnnotations");
42
+ exports.Tool = core.serialization
43
+ .object({
44
+ name: core.serialization.string(),
45
+ description: core.serialization.string().optional(),
46
+ inputSchema: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
47
+ annotations: ToolAnnotations_1.ToolAnnotations.optional(),
48
+ })
49
+ .passthrough();
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ToolAnnotations: core.serialization.ObjectSchema<serializers.ToolAnnotations.Raw, ElevenLabs.ToolAnnotations>;
8
+ export declare namespace ToolAnnotations {
9
+ interface Raw {
10
+ title?: string | null;
11
+ readOnlyHint?: boolean | null;
12
+ destructiveHint?: boolean | null;
13
+ idempotentHint?: boolean | null;
14
+ openWorldHint?: boolean | null;
15
+ [key: string]: any;
16
+ }
17
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolAnnotations = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ToolAnnotations = core.serialization
42
+ .object({
43
+ title: core.serialization.string().optional(),
44
+ readOnlyHint: core.serialization.boolean().optional(),
45
+ destructiveHint: core.serialization.boolean().optional(),
46
+ idempotentHint: core.serialization.boolean().optional(),
47
+ openWorldHint: core.serialization.boolean().optional(),
48
+ })
49
+ .passthrough();
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ToolRequestModelToolConfig } from "./ToolRequestModelToolConfig";
8
+ export declare const ToolRequestModel: core.serialization.ObjectSchema<serializers.ToolRequestModel.Raw, ElevenLabs.ToolRequestModel>;
9
+ export declare namespace ToolRequestModel {
10
+ interface Raw {
11
+ tool_config: ToolRequestModelToolConfig.Raw;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolRequestModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ToolRequestModelToolConfig_1 = require("./ToolRequestModelToolConfig");
42
+ exports.ToolRequestModel = core.serialization.object({
43
+ toolConfig: core.serialization.property("tool_config", ToolRequestModelToolConfig_1.ToolRequestModelToolConfig),
44
+ });
@@ -6,21 +6,17 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ClientToolConfigInput } from "./ClientToolConfigInput";
8
8
  import { McpToolConfigInput } from "./McpToolConfigInput";
9
- import { NativeMcpToolConfigInput } from "./NativeMcpToolConfigInput";
10
9
  import { SystemToolConfigInput } from "./SystemToolConfigInput";
11
10
  import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
12
- export declare const PromptAgentInputToolsItem: core.serialization.Schema<serializers.PromptAgentInputToolsItem.Raw, ElevenLabs.PromptAgentInputToolsItem>;
13
- export declare namespace PromptAgentInputToolsItem {
14
- type Raw = PromptAgentInputToolsItem.Client | PromptAgentInputToolsItem.Mcp | PromptAgentInputToolsItem.NativeMcp | PromptAgentInputToolsItem.System | PromptAgentInputToolsItem.Webhook;
11
+ export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
12
+ export declare namespace ToolRequestModelToolConfig {
13
+ type Raw = ToolRequestModelToolConfig.Client | ToolRequestModelToolConfig.Mcp | ToolRequestModelToolConfig.System | ToolRequestModelToolConfig.Webhook;
15
14
  interface Client extends ClientToolConfigInput.Raw {
16
15
  type: "client";
17
16
  }
18
17
  interface Mcp extends McpToolConfigInput.Raw {
19
18
  type: "mcp";
20
19
  }
21
- interface NativeMcp extends NativeMcpToolConfigInput.Raw {
22
- type: "native_mcp";
23
- }
24
20
  interface System extends SystemToolConfigInput.Raw {
25
21
  type: "system";
26
22
  }
@@ -36,18 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PromptAgentInputToolsItem = void 0;
39
+ exports.ToolRequestModelToolConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
42
42
  const McpToolConfigInput_1 = require("./McpToolConfigInput");
43
- const NativeMcpToolConfigInput_1 = require("./NativeMcpToolConfigInput");
44
43
  const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
45
44
  const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
46
- exports.PromptAgentInputToolsItem = core.serialization
45
+ exports.ToolRequestModelToolConfig = core.serialization
47
46
  .union("type", {
48
47
  client: ClientToolConfigInput_1.ClientToolConfigInput,
49
48
  mcp: McpToolConfigInput_1.McpToolConfigInput,
50
- native_mcp: NativeMcpToolConfigInput_1.NativeMcpToolConfigInput,
51
49
  system: SystemToolConfigInput_1.SystemToolConfigInput,
52
50
  webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
53
51
  })
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ToolResponseModelToolConfig } from "./ToolResponseModelToolConfig";
8
+ import { ResourceAccessInfo } from "./ResourceAccessInfo";
9
+ export declare const ToolResponseModel: core.serialization.ObjectSchema<serializers.ToolResponseModel.Raw, ElevenLabs.ToolResponseModel>;
10
+ export declare namespace ToolResponseModel {
11
+ interface Raw {
12
+ id: string;
13
+ tool_config: ToolResponseModelToolConfig.Raw;
14
+ access_info: ResourceAccessInfo.Raw;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ToolResponseModelToolConfig_1 = require("./ToolResponseModelToolConfig");
42
+ const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
43
+ exports.ToolResponseModel = core.serialization.object({
44
+ id: core.serialization.string(),
45
+ toolConfig: core.serialization.property("tool_config", ToolResponseModelToolConfig_1.ToolResponseModelToolConfig),
46
+ accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo),
47
+ });
@@ -6,21 +6,17 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
8
8
  import { McpToolConfigOutput } from "./McpToolConfigOutput";
9
- import { NativeMcpToolConfigOutput } from "./NativeMcpToolConfigOutput";
10
9
  import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
11
10
  import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
12
- export declare const PromptAgentOutputToolsItem: core.serialization.Schema<serializers.PromptAgentOutputToolsItem.Raw, ElevenLabs.PromptAgentOutputToolsItem>;
13
- export declare namespace PromptAgentOutputToolsItem {
14
- type Raw = PromptAgentOutputToolsItem.Client | PromptAgentOutputToolsItem.Mcp | PromptAgentOutputToolsItem.NativeMcp | PromptAgentOutputToolsItem.System | PromptAgentOutputToolsItem.Webhook;
11
+ export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
12
+ export declare namespace ToolResponseModelToolConfig {
13
+ type Raw = ToolResponseModelToolConfig.Client | ToolResponseModelToolConfig.Mcp | ToolResponseModelToolConfig.System | ToolResponseModelToolConfig.Webhook;
15
14
  interface Client extends ClientToolConfigOutput.Raw {
16
15
  type: "client";
17
16
  }
18
17
  interface Mcp extends McpToolConfigOutput.Raw {
19
18
  type: "mcp";
20
19
  }
21
- interface NativeMcp extends NativeMcpToolConfigOutput.Raw {
22
- type: "native_mcp";
23
- }
24
20
  interface System extends SystemToolConfigOutput.Raw {
25
21
  type: "system";
26
22
  }
@@ -36,18 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PromptAgentOutputToolsItem = void 0;
39
+ exports.ToolResponseModelToolConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
42
42
  const McpToolConfigOutput_1 = require("./McpToolConfigOutput");
43
- const NativeMcpToolConfigOutput_1 = require("./NativeMcpToolConfigOutput");
44
43
  const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
45
44
  const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
46
- exports.PromptAgentOutputToolsItem = core.serialization
45
+ exports.ToolResponseModelToolConfig = core.serialization
47
46
  .union("type", {
48
47
  client: ClientToolConfigOutput_1.ClientToolConfigOutput,
49
48
  mcp: McpToolConfigOutput_1.McpToolConfigOutput,
50
- native_mcp: NativeMcpToolConfigOutput_1.NativeMcpToolConfigOutput,
51
49
  system: SystemToolConfigOutput_1.SystemToolConfigOutput,
52
50
  webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
53
51
  })
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ToolResponseModel } from "./ToolResponseModel";
8
+ export declare const ToolsResponseModel: core.serialization.ObjectSchema<serializers.ToolsResponseModel.Raw, ElevenLabs.ToolsResponseModel>;
9
+ export declare namespace ToolsResponseModel {
10
+ interface Raw {
11
+ tools: ToolResponseModel.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolsResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ToolResponseModel_1 = require("./ToolResponseModel");
42
+ exports.ToolsResponseModel = core.serialization.object({
43
+ tools: core.serialization.list(ToolResponseModel_1.ToolResponseModel),
44
+ });
@@ -9,5 +9,6 @@ export declare const TransferToNumberToolConfig: core.serialization.ObjectSchema
9
9
  export declare namespace TransferToNumberToolConfig {
10
10
  interface Raw {
11
11
  transfers: PhoneNumberTransfer.Raw[];
12
+ enable_client_message?: boolean | null;
12
13
  }
13
14
  }
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
41
41
  const PhoneNumberTransfer_1 = require("./PhoneNumberTransfer");
42
42
  exports.TransferToNumberToolConfig = core.serialization.object({
43
43
  transfers: core.serialization.list(PhoneNumberTransfer_1.PhoneNumberTransfer),
44
+ enableClientMessage: core.serialization.property("enable_client_message", core.serialization.boolean().optional()),
44
45
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const WebhookAuthMethodType: core.serialization.Schema<serializers.WebhookAuthMethodType.Raw, ElevenLabs.WebhookAuthMethodType>;
8
+ export declare namespace WebhookAuthMethodType {
9
+ type Raw = "hmac" | "oauth2";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WebhookAuthMethodType = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.WebhookAuthMethodType = core.serialization.enum_(["hmac", "oauth2"]);
@@ -9,7 +9,6 @@ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
9
9
  export declare const WebhookToolConfigInput: core.serialization.ObjectSchema<serializers.WebhookToolConfigInput.Raw, ElevenLabs.WebhookToolConfigInput>;
10
10
  export declare namespace WebhookToolConfigInput {
11
11
  interface Raw {
12
- id?: string | null;
13
12
  name: string;
14
13
  description: string;
15
14
  response_timeout_secs?: number | null;
@@ -41,7 +41,6 @@ const core = __importStar(require("../../core"));
41
41
  const WebhookToolApiSchemaConfigInput_1 = require("./WebhookToolApiSchemaConfigInput");
42
42
  const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
43
43
  exports.WebhookToolConfigInput = core.serialization.object({
44
- id: core.serialization.string().optional(),
45
44
  name: core.serialization.string(),
46
45
  description: core.serialization.string(),
47
46
  responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
@@ -9,7 +9,6 @@ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
9
9
  export declare const WebhookToolConfigOutput: core.serialization.ObjectSchema<serializers.WebhookToolConfigOutput.Raw, ElevenLabs.WebhookToolConfigOutput>;
10
10
  export declare namespace WebhookToolConfigOutput {
11
11
  interface Raw {
12
- id?: string | null;
13
12
  name: string;
14
13
  description: string;
15
14
  response_timeout_secs?: number | null;
@@ -41,7 +41,6 @@ const core = __importStar(require("../../core"));
41
41
  const WebhookToolApiSchemaConfigOutput_1 = require("./WebhookToolApiSchemaConfigOutput");
42
42
  const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
43
43
  exports.WebhookToolConfigOutput = core.serialization.object({
44
- id: core.serialization.string().optional(),
45
44
  name: core.serialization.string(),
46
45
  description: core.serialization.string(),
47
46
  responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const WebhookUsageType: core.serialization.Schema<serializers.WebhookUsageType.Raw, ElevenLabs.WebhookUsageType>;
8
+ export declare namespace WebhookUsageType {
9
+ type Raw = "ConvAI Agent Settings" | "ConvAI Settings" | "Voice Library Removal Notices" | "Speech to Text";
10
+ }
@@ -36,6 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.DependentAvailableAgentToolIdentifierAccessLevel = void 0;
39
+ exports.WebhookUsageType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.DependentAvailableAgentToolIdentifierAccessLevel = core.serialization.enum_(["admin", "editor", "viewer"]);
41
+ exports.WebhookUsageType = core.serialization.enum_([
42
+ "ConvAI Agent Settings",
43
+ "ConvAI Settings",
44
+ "Voice Library Removal Notices",
45
+ "Speech to Text",
46
+ ]);
@@ -10,6 +10,7 @@ import { WidgetExpandable } from "./WidgetExpandable";
10
10
  import { WidgetConfigOutputAvatar } from "./WidgetConfigOutputAvatar";
11
11
  import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
12
12
  import { WidgetTextContents } from "./WidgetTextContents";
13
+ import { WidgetStyles } from "./WidgetStyles";
13
14
  import { WidgetLanguagePreset } from "./WidgetLanguagePreset";
14
15
  export declare const WidgetConfig: core.serialization.ObjectSchema<serializers.WidgetConfig.Raw, ElevenLabs.WidgetConfig>;
15
16
  export declare namespace WidgetConfig {
@@ -45,6 +46,7 @@ export declare namespace WidgetConfig {
45
46
  transcript_enabled?: boolean | null;
46
47
  text_input_enabled?: boolean | null;
47
48
  text_contents?: WidgetTextContents.Raw | null;
49
+ styles?: WidgetStyles.Raw | null;
48
50
  language_selector?: boolean | null;
49
51
  supports_text_only?: boolean | null;
50
52
  custom_avatar_path?: string | null;
@@ -44,6 +44,7 @@ const WidgetExpandable_1 = require("./WidgetExpandable");
44
44
  const WidgetConfigOutputAvatar_1 = require("./WidgetConfigOutputAvatar");
45
45
  const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
46
46
  const WidgetTextContents_1 = require("./WidgetTextContents");
47
+ const WidgetStyles_1 = require("./WidgetStyles");
47
48
  const WidgetLanguagePreset_1 = require("./WidgetLanguagePreset");
48
49
  exports.WidgetConfig = core.serialization.object({
49
50
  variant: EmbedVariant_1.EmbedVariant.optional(),
@@ -77,6 +78,7 @@ exports.WidgetConfig = core.serialization.object({
77
78
  transcriptEnabled: core.serialization.property("transcript_enabled", core.serialization.boolean().optional()),
78
79
  textInputEnabled: core.serialization.property("text_input_enabled", core.serialization.boolean().optional()),
79
80
  textContents: core.serialization.property("text_contents", WidgetTextContents_1.WidgetTextContents.optional()),
81
+ styles: WidgetStyles_1.WidgetStyles.optional(),
80
82
  languageSelector: core.serialization.property("language_selector", core.serialization.boolean().optional()),
81
83
  supportsTextOnly: core.serialization.property("supports_text_only", core.serialization.boolean().optional()),
82
84
  customAvatarPath: core.serialization.property("custom_avatar_path", core.serialization.string().optional()),
@@ -10,6 +10,7 @@ import { WidgetExpandable } from "./WidgetExpandable";
10
10
  import { WidgetConfigResponseModelAvatar } from "./WidgetConfigResponseModelAvatar";
11
11
  import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
12
12
  import { WidgetTextContents } from "./WidgetTextContents";
13
+ import { WidgetStyles } from "./WidgetStyles";
13
14
  import { WidgetLanguagePresetResponse } from "./WidgetLanguagePresetResponse";
14
15
  export declare const WidgetConfigResponse: core.serialization.ObjectSchema<serializers.WidgetConfigResponse.Raw, ElevenLabs.WidgetConfigResponse>;
15
16
  export declare namespace WidgetConfigResponse {
@@ -45,6 +46,7 @@ export declare namespace WidgetConfigResponse {
45
46
  transcript_enabled?: boolean | null;
46
47
  text_input_enabled?: boolean | null;
47
48
  text_contents?: WidgetTextContents.Raw | null;
49
+ styles?: WidgetStyles.Raw | null;
48
50
  language: string;
49
51
  supported_language_overrides?: string[] | null;
50
52
  language_presets?: Record<string, WidgetLanguagePresetResponse.Raw> | null;