@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
@@ -1,856 +0,0 @@
1
- asyncapi: 2.6.0
2
-
3
- info:
4
- title: ElevenLabs real-time API
5
- description: ElevenLabs real-time API
6
- license:
7
- name: MIT License
8
- version: 1.1.0
9
-
10
- servers:
11
- WSS:
12
- url: wss://api.elevenlabs.io
13
- protocol: wss
14
- description: AssemblyAI API
15
-
16
- tags:
17
- - name: textToSpeech
18
-
19
- channels:
20
- /v1/text-to-speech/{voice_id}/stream-input:
21
- parameters:
22
- voice_id:
23
- description: The unique identifier for the voice to use in the TTS process.
24
- schema:
25
- type: string
26
- description: |
27
- The Text-to-Speech WebSockets API is designed to generate audio from partial text input
28
- while ensuring consistency throughout the generated audio. Although highly flexible,
29
- the WebSockets API isn't a one-size-fits-all solution. It's well-suited for scenarios where:
30
- * The input text is being streamed or generated in chunks.
31
- * Word-to-audio alignment information is required.
32
-
33
- However, it may not be the best choice when:
34
- * The entire input text is available upfront. Given that the generations are partial,
35
- some buffering is involved, which could potentially result in slightly higher latency compared
36
- to a standard HTTP request.
37
- * You want to quickly experiment or prototype. Working with WebSockets can be harder and more
38
- complex than using a standard HTTP API, which might slow down rapid development and testing.
39
- bindings:
40
- ws:
41
- query:
42
- type: object
43
- properties:
44
- authorization:
45
- description: Your authorization bearer token.
46
- type: string
47
- model_id:
48
- description: The model ID to use.
49
- type: string
50
- language_code:
51
- description: The ISO 639-1 language code (for specific models).
52
- type: string
53
- enable_logging:
54
- description: Whether to enable logging of the request.
55
- type: boolean
56
- default: true
57
- enable_ssml_parsing:
58
- description: Whether to enable SSML parsing.
59
- type: boolean
60
- default: false
61
- output_format:
62
- $ref: '#/components/schemas/TextToSpeechOutputFormatEnum'
63
- inactivity_timeout:
64
- description: Timeout for inactivity before a context is closed (seconds), can be up to 180 seconds.
65
- type: integer
66
- default: 20
67
- sync_alignment:
68
- description: Whether to include timing data with every audio chunk.
69
- type: boolean
70
- default: false
71
- auto_mode:
72
- description: Reduces latency by disabling chunk schedule and buffers. Recommended for full sentences/phrases.
73
- type: boolean
74
- default: false
75
- apply_text_normalization:
76
- $ref: '#/components/schemas/TextToSpeechApplyTextNormalizationEnum'
77
- seed:
78
- description: If specified, system will best-effort sample deterministically. Integer between 0 and 4294967295.
79
- type: integer
80
- minimum: 0
81
- maximum: 4294967295
82
- example: 12345
83
-
84
- publish:
85
- description: Send messages to the WebSocket
86
- operationId: sendMessage
87
- message:
88
- oneOf:
89
- - $ref: '#/components/messages/InitializeConnection'
90
- - $ref: '#/components/messages/SendText'
91
- - $ref: '#/components/messages/CloseConnection'
92
- subscribe:
93
- description: Receive messages from the WebSocket
94
- operationId: receiveMessage
95
- message:
96
- oneOf:
97
- - $ref: '#/components/messages/AudioOutput'
98
- - $ref: '#/components/messages/FinalOutput'
99
- x-fern-examples:
100
- - query-parameters:
101
- model_id: pcm_s16le
102
- messages:
103
- - type: publish
104
- messageId: InitializeConnection
105
- value:
106
- text: ' '
107
- voice_settings:
108
- speed: 1.0
109
- stability: 0.5
110
- similarity_boost: 0.8
111
- xi_api_key: <YOUR_API_KEY>
112
- - type: publish
113
- messageId: SendText
114
- value:
115
- text: 'Hello World'
116
- try_trigger_generation: true
117
- - type: publish
118
- messageId: CloseConnection
119
- value:
120
- text: ''
121
- - type: subscribe
122
- messageId: AudioOutput
123
- value:
124
- audio: Y3VyaW91cyBtaW5kcyB0aGluayBhbGlrZSA6KQ==
125
- isFinal: false
126
- normalizedAlignment:
127
- charStartTimesMs: [0, 3, 7, 9, 11, 12, 13, 15, 17, 19, 21]
128
- charsDurationsMs: [3, 4, 2, 2, 1, 1, 2, 2, 2, 2, 3]
129
- chars: ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
130
- alignment:
131
- charStartTimesMs: [0, 3, 7, 9, 11, 12, 13, 15, 17, 19, 21]
132
- charsDurationsMs: [3, 4, 2, 2, 1, 1, 2, 2, 2, 2, 3]
133
- chars: ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
134
- /v1/text-to-speech/{voice_id}/multi-stream-input:
135
- parameters:
136
- voice_id:
137
- description: The unique identifier for the voice to use in the TTS process.
138
- schema:
139
- type: string
140
- description: |
141
- The Multi-Context Text-to-Speech WebSockets API allows for generating audio from text input
142
- while managing multiple independent audio generation streams (contexts) over a single WebSocket connection.
143
- This is useful for scenarios requiring concurrent or interleaved audio generations, such as dynamic
144
- conversational AI applications.
145
-
146
- Each context, identified by a context id, maintains its own state. You can send text to specific
147
- contexts, flush them, or close them independently. A `close_socket` message can be used to terminate
148
- the entire connection gracefully.
149
-
150
- For more information on best practices for how to use this API, please see the [multi context websocket guide](/docs/cookbooks/multi-context-web-socket).
151
-
152
- bindings:
153
- ws:
154
- query:
155
- type: object
156
- properties:
157
- authorization:
158
- description: Your authorization bearer token.
159
- type: string
160
- model_id:
161
- description: The model ID to use.
162
- type: string
163
- language_code:
164
- description: The ISO 639-1 language code (for specific models).
165
- type: string
166
- enable_logging:
167
- description: Whether to enable logging of the request.
168
- type: boolean
169
- default: true
170
- enable_ssml_parsing:
171
- description: Whether to enable SSML parsing.
172
- type: boolean
173
- default: false
174
- output_format:
175
- $ref: '#/components/schemas/TextToSpeechOutputFormatEnum'
176
- inactivity_timeout:
177
- description: Timeout for inactivity before a context is closed (seconds), can be up to 180 seconds.
178
- type: integer
179
- default: 20
180
- sync_alignment:
181
- description: Whether to include timing data with every audio chunk.
182
- type: boolean
183
- default: false
184
- auto_mode:
185
- description: Reduces latency by disabling chunk schedule and buffers. Recommended for full sentences/phrases.
186
- type: boolean
187
- default: false
188
- apply_text_normalization:
189
- $ref: '#/components/schemas/TextToSpeechApplyTextNormalizationEnum'
190
- seed:
191
- description: If specified, system will best-effort sample deterministically. Integer between 0 and 4294967295.
192
- type: integer
193
- minimum: 0
194
- maximum: 4294967295
195
- example: 12345
196
-
197
- publish:
198
- description: Send messages to the multi-context WebSocket.
199
- operationId: sendMessageMulti
200
- message:
201
- oneOf:
202
- - $ref: '#/components/messages/InitializeConnectionMulti'
203
- - $ref: '#/components/messages/InitialiseContext'
204
- - $ref: '#/components/messages/SendTextMulti'
205
- - $ref: '#/components/messages/FlushContextClient'
206
- - $ref: '#/components/messages/CloseContextClient'
207
- - $ref: '#/components/messages/CloseSocketClient'
208
- - $ref: '#/components/messages/KeepContextAlive'
209
- subscribe:
210
- description: Receive messages from the multi-context WebSocket.
211
- operationId: receiveMessageMulti
212
- message:
213
- oneOf:
214
- - $ref: '#/components/messages/AudioOutputMulti'
215
- - $ref: '#/components/messages/FinalOutputMulti'
216
- x-fern-examples:
217
- - name: Multi-Context TTS Example
218
- description: Demonstrates initializing two contexts, sending text, and managing them.
219
- query-parameters:
220
- model_id: eleven_multilingual_v2
221
- messages:
222
- - type: publish
223
- messageId: InitializeConnectionMulti
224
- value:
225
- text: ' '
226
- voice_settings:
227
- stability: 0.5
228
- similarity_boost: 0.8
229
- context_id: 'conv_1'
230
- - type: publish
231
- messageId: SendTextMulti
232
- value:
233
- text: 'Hello from conversation one. '
234
- context_id: 'conv_1'
235
- - type: publish
236
- messageId: FlushContextClient
237
- value:
238
- text: 'This is added to the buffer of text to flush. '
239
- context_id: 'conv_1'
240
- flush: true
241
- - type: subscribe
242
- messageId: AudioOutputMulti
243
- value:
244
- audio: Y3VyaW91cyBtaW5kcyB0aGluayBhbGlrZSA6KQ==
245
- is_final: false
246
- normalizedAlignment:
247
- charStartTimesMs: [0, 3, 7, 9, 11, 12, 13, 15, 17, 19, 21]
248
- charsDurationsMs: [3, 4, 2, 2, 1, 1, 2, 2, 2, 2, 3]
249
- chars: ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
250
- alignment:
251
- charStartTimesMs: [0, 3, 7, 9, 11, 12, 13, 15, 17, 19, 21]
252
- charsDurationsMs: [3, 4, 2, 2, 1, 1, 2, 2, 2, 2, 3]
253
- chars: ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
254
- contextId: 'conv_1'
255
- - type: publish
256
- messageId: InitialiseContext
257
- value:
258
- text: 'Hi this is a new context with different settings! '
259
- context_id: 'interruption_context'
260
- voice_settings:
261
- stability: 0.2
262
- similarity_boost: 0.9
263
- - type: publish
264
- messageId: CloseContextClient
265
- value:
266
- context_id: 'conv_1'
267
- close_context: true
268
- - type: publish
269
- messageId: FlushContextClient
270
- value:
271
- context_id: 'interruption_context'
272
- flush: true
273
- - type: subscribe
274
- messageId: AudioOutputMulti
275
- value:
276
- audio: Y3VyaW91cyBtaW5kcyB0aGluayBhbGlrZSA6KQ==
277
- is_final: false
278
- contextId: 'interruption_context'
279
- - type: subscribe
280
- messageId: FinalOutputMulti
281
- value:
282
- is_final: true
283
- contextId: 'interruption_context'
284
- - type: publish
285
- messageId: KeepContextAlive
286
- value:
287
- context_id: 'interruption_context'
288
- text: ''
289
- - type: publish
290
- messageId: CloseSocketClient
291
- value:
292
- close_socket: true
293
-
294
- components:
295
- messages:
296
- SendText:
297
- messageId: sendText
298
- payload:
299
- $ref: '#/components/schemas/SendText'
300
- InitializeConnection:
301
- messageId: initializeConnection
302
- payload:
303
- $ref: '#/components/schemas/InitializeConnection'
304
- CloseConnection:
305
- messageId: closeConnection
306
- payload:
307
- $ref: '#/components/schemas/CloseConnection'
308
- AudioOutput:
309
- messageId: audioOutput
310
- payload:
311
- $ref: '#/components/schemas/AudioOutput'
312
- FinalOutput:
313
- messageId: finalOutput
314
- payload:
315
- $ref: '#/components/schemas/FinalOutput'
316
- ClientMultiMessage:
317
- payload:
318
- $ref: '#/components/schemas/WebsocketTTSClientMessageMulti'
319
- ServerMultiMessage:
320
- payload:
321
- $ref: '#/components/schemas/WebsocketTTSServerMessageMulti'
322
- InitializeConnectionMulti:
323
- messageId: initializeConnectionMulti
324
- description: Message to initialize a new TTS context in a multi-context stream.
325
- payload:
326
- $ref: '#/components/schemas/InitializeConnectionMulti'
327
- SendTextMulti:
328
- messageId: sendTextMulti
329
- description: Message to send text for synthesis to a specific context.
330
- payload:
331
- $ref: '#/components/schemas/SendTextMulti'
332
- FlushContextClient:
333
- messageId: flushContextClient
334
- description: Message to flush the audio buffer for a specific context.
335
- payload:
336
- $ref: '#/components/schemas/FlushContext'
337
- CloseContextClient:
338
- messageId: closeContextClient
339
- description: Message to close a specific TTS context.
340
- payload:
341
- $ref: '#/components/schemas/CloseContext'
342
- CloseSocketClient:
343
- messageId: closeSocketClient
344
- description: Message to gracefully close the entire WebSocket connection.
345
- payload:
346
- $ref: '#/components/schemas/CloseSocket'
347
- AudioOutputMulti:
348
- messageId: audioOutputMulti
349
- description: Server message containing an audio chunk for a specific context.
350
- payload:
351
- $ref: '#/components/schemas/AudioOutputMulti'
352
- FinalOutputMulti:
353
- messageId: finalOutputMulti
354
- description: Server message indicating the final output for a specific context.
355
- payload:
356
- $ref: '#/components/schemas/FinalOutputMulti'
357
- KeepContextAlive:
358
- messageId: keepContextAlive
359
- description: Message to keep a specific context alive by resetting its inactivity timeout.
360
- payload:
361
- $ref: '#/components/schemas/KeepContextAlive'
362
- InitialiseContext:
363
- messageId: initialiseContext
364
- description: Message to initialize or re-initialize a TTS context with text and settings for multi-stream connections.
365
- payload:
366
- $ref: '#/components/schemas/InitialiseContext'
367
- schemas:
368
- InitializeConnection:
369
- type: object
370
- properties:
371
- text:
372
- x-fern-type: literal<" ">
373
- description: The initial text that must be sent is a blank space.
374
- voice_settings:
375
- $ref: '#/components/schemas/RealtimeVoiceSettings'
376
- generation_config:
377
- $ref: '#/components/schemas/GenerationConfig'
378
- pronunciation_dictionary_locators:
379
- type: array
380
- items:
381
- $ref: '#/components/schemas/PronunciationDictionaryLocator'
382
- description: |
383
- Optional list of pronunciation dictionary locators. If provided, these dictionaries will be used to
384
- modify pronunciation of matching text. Must only be provided in the first message.
385
-
386
- Note: Pronunciation dictionary matches will only be respected within a provided chunk.
387
- xi-api-key:
388
- type: string
389
- description: |
390
- Your ElevenLabs API key. This can only be included in the first message and is not needed if present in the header.
391
- authorization:
392
- type: string
393
- description: |
394
- Your authorization bearer token. This can only be included in the first message and is not needed if present in the header.
395
- required:
396
- - text
397
-
398
- CloseConnection:
399
- type: object
400
- properties:
401
- text:
402
- x-fern-type: literal<"">
403
- description: End the stream with an empty string
404
- required:
405
- - text
406
-
407
- SendText:
408
- type: object
409
- required:
410
- - text
411
- properties:
412
- text:
413
- type: string
414
- description: The text to be sent to the API for audio generation. Should always end with a single space string.
415
- try_trigger_generation:
416
- description: |
417
- This is an advanced setting that most users shouldn't need to use. It relates to our generation schedule.
418
-
419
- Use this to attempt to immediately trigger the generation of audio, overriding the `chunk_length_schedule`.
420
- Unlike flush, `try_trigger_generation` will only generate audio if our
421
- buffer contains more than a minimum
422
- threshold of characters, this is to ensure a higher quality response from our model.
423
-
424
- Note that overriding the chunk schedule to generate small amounts of
425
- text may result in lower quality audio, therefore, only use this parameter if you
426
- really need text to be processed immediately. We generally recommend keeping the default value of
427
- `false` and adjusting the `chunk_length_schedule` in the `generation_config` instead.
428
- type: boolean
429
- default: false
430
- voice_settings:
431
- $ref: '#/components/schemas/RealtimeVoiceSettings'
432
- description: The voice settings field can be provided in the first `InitializeConnection` message and then must either be not provided or not changed.
433
- generator_config:
434
- $ref: '#/components/schemas/GenerationConfig'
435
- description: The generator config field can be provided in the first `InitializeConnection` message and then must either be not provided or not changed.
436
- flush:
437
- type: boolean
438
- description: |
439
- Flush forces the generation of audio. Set this value to true when you have finished sending text, but want to keep the websocket connection open.
440
-
441
- This is useful when you want to ensure that the last chunk of audio is generated even when the length of text sent is smaller than the value set in chunk_length_schedule (e.g. 120 or 50).
442
- default: false
443
- RealtimeVoiceSettings:
444
- properties:
445
- stability:
446
- type: number
447
- title: Stability
448
- description: Defines the stability for voice settings.
449
- default: 0.5
450
- similarity_boost:
451
- type: number
452
- title: Similarity Boost
453
- description: Defines the similarity boost for voice settings.
454
- default: 0.75
455
- style:
456
- type: number
457
- title: Style
458
- default: 0.0
459
- description: Defines the style for voice settings. This parameter is available on V2+ models.
460
- use_speaker_boost:
461
- type: boolean
462
- title: Use Speaker Boost
463
- description: Defines the use speaker boost for voice settings. This parameter is available on V2+ models.
464
- default: true
465
- speed:
466
- type: number
467
- title: Speed
468
- description: Controls the speed of the generated speech. Values range from 0.7 to 1.2, with 1.0 being the default speed.
469
- default: 1.0
470
- type: object
471
-
472
- GenerationConfig:
473
- properties:
474
- chunk_length_schedule:
475
- type: array
476
- items:
477
- type: number
478
- description: |
479
- This is an advanced setting that most users shouldn't need to use. It relates to our
480
- generation schedule.
481
-
482
- Our WebSocket service incorporates a buffer system designed to optimize the Time To First Byte (TTFB) while maintaining high-quality streaming.
483
-
484
- All text sent to the WebSocket endpoint is added to this buffer and only when that buffer reaches a certain size is an audio generation attempted. This is because our model provides higher quality audio when the model has longer inputs, and can deduce more context about how the text should be delivered.
485
-
486
- The buffer ensures smooth audio data delivery and is automatically emptied with a final audio generation either when the stream is closed, or upon sending a `flush` command. We have advanced settings for changing the chunk schedule, which can improve latency at the cost of quality by generating audio more frequently with smaller text inputs.
487
-
488
- The `chunk_length_schedule` determines the minimum amount of text that needs to be sent and present in our
489
- buffer before audio starts being generated. This is to maximise the amount of context available to
490
- the model to improve audio quality, whilst balancing latency of the returned audio chunks.
491
-
492
- The default value for `chunk_length_schedule` is: [120, 160, 250, 290].
493
-
494
- This means that the first chunk of audio will not be generated until you send text that
495
- totals at least 120 characters long. The next chunk of audio will only be generated once a
496
- further 160 characters have been sent. The third audio chunk will be generated after the
497
- next 250 characters. Then the fourth, and beyond, will be generated in sets of at least 290 characters.
498
-
499
- Customize this array to suit your needs. If you want to generate audio more frequently
500
- to optimise latency, you can reduce the values in the array. Note that setting the values
501
- too low may result in lower quality audio. Please test and adjust as needed.
502
-
503
- Each item should be in the range 50-500.
504
-
505
- AudioOutput:
506
- type: object
507
- required:
508
- - audio
509
- properties:
510
- audio:
511
- type: string
512
- # format: binary
513
- description: |
514
- A generated partial audio chunk, encoded using the selected output_format, by default this
515
- is MP3 encoded as a base64 string.
516
- normalizedAlignment:
517
- $ref: '#/components/schemas/NormalizedAlignment'
518
- alignment:
519
- $ref: '#/components/schemas/Alignment'
520
- FinalOutput:
521
- type: object
522
- properties:
523
- isFinal:
524
- x-fern-type: literal<true>
525
- description: |
526
- Indicates if the generation is complete. If set to `True`, `audio` will be null.
527
-
528
- NormalizedAlignment:
529
- type: object
530
- description: |
531
- Alignment information for the generated audio given the input normalized text sequence.
532
- properties:
533
- charStartTimesMs:
534
- x-fern-type: list<integer>
535
- description: |
536
- A list of starting times (in milliseconds) for each character in the normalized text as it
537
- corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.
538
- Note these times are relative to the returned chunk from the model, and not the
539
- full audio response.
540
- charsDurationsMs:
541
- x-fern-type: list<integer>
542
- description: |
543
- A list of durations (in milliseconds) for each character in the normalized text as it
544
- corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.
545
- Note these times are relative to the returned chunk from the model, and not the
546
- full audio response.
547
- chars:
548
- x-fern-type: list<string>
549
- description: |
550
- A list of characters in the normalized text sequence. For instance, the first character is 'H'.
551
- Note that this list may contain spaces, punctuation, and other special characters.
552
- The length of this list should be the same as the lengths of `charStartTimesMs` and `charsDurationsMs`.
553
-
554
- Alignment:
555
- type: object
556
- description: |
557
- Alignment information for the generated audio given the input text sequence.
558
- properties:
559
- charStartTimesMs:
560
- x-fern-type: list<integer>
561
- description: |
562
- A list of starting times (in milliseconds) for each character in the text as it
563
- corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.
564
- Note these times are relative to the returned chunk from the model, and not the
565
- full audio response.
566
- charsDurationsMs:
567
- x-fern-type: list<integer>
568
- description: |
569
- A list of durations (in milliseconds) for each character in the text as it
570
- corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.
571
- Note these times are relative to the returned chunk from the model, and not the
572
- full audio response.
573
- chars:
574
- x-fern-type: list<string>
575
- description: |
576
- A list of characters in the text sequence. For instance, the first character is 'H'.
577
- Note that this list may contain spaces, punctuation, and other special characters.
578
- The length of this list should be the same as the lengths of `charStartTimesMs` and `charsDurationsMs`.
579
-
580
- PronunciationDictionaryLocator:
581
- type: object
582
- description: Identifies a specific pronunciation dictionary to use
583
- properties:
584
- pronunciation_dictionary_id:
585
- type: string
586
- description: The unique identifier of the pronunciation dictionary
587
- version_id:
588
- type: string
589
- description: The version identifier of the pronunciation dictionary
590
- required:
591
- - pronunciation_dictionary_id
592
- - version_id
593
-
594
- WebsocketTTSClientMessageMulti:
595
- type: object
596
- description: Message sent from the client to the multi-context TTS WebSocket.
597
- properties:
598
- text:
599
- type: string
600
- nullable: true
601
- description: |
602
- Text to be synthesized.
603
- For the first message establishing a new context (identified by `context_id`, or a default context if `context_id` is absent), this should be a single space character (' ').
604
- For subsequent messages to an active context, this is the text to synthesize.
605
- This field can be null or an empty string if the message is primarily for control (e.g., using `flush`, `close_context`, or `close_socket`).
606
- voice_settings:
607
- $ref: '#/components/schemas/RealtimeVoiceSettings'
608
- description: Voice settings. Can only be provided in the first message for a given context_id (or first message overall if context_id is not used/default).
609
- generation_config:
610
- $ref: '#/components/schemas/GenerationConfig'
611
- description: Generation config. Can only be provided in the first message for a given context_id (or first message overall if context_id is not used/default).
612
- xi-api-key:
613
- type: string
614
- description: Your ElevenLabs API key. Can only be provided in the first message for a given context_id if not present in the header.
615
- authorization:
616
- type: string
617
- description: Your authorization bearer token. Can only be provided in the first message for a given context_id if not present in the header.
618
- flush:
619
- type: boolean
620
- default: false
621
- description: If true, flushes the audio buffer and returns the remaining audio for the specified `context_id`.
622
- pronunciation_dictionary_locators:
623
- type: array
624
- items:
625
- $ref: '#/components/schemas/PronunciationDictionaryLocator'
626
- description: Optional list of pronunciation dictionary locators. Can only be provided in the first message for a given context_id.
627
- contextId:
628
- type: string
629
- nullable: true
630
- description: An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used.
631
- close_context:
632
- type: boolean
633
- default: false
634
- description: If true, closes the specified `contextId`. No further audio will be generated for this context. The `text` field is ignored.
635
- close_socket:
636
- type: boolean
637
- default: false
638
- description: If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `contextId` fields are ignored.
639
-
640
- WebsocketTTSServerMessageMulti:
641
- type: object
642
- description: Message sent from the server to the client for the multi-context TTS WebSocket.
643
- properties:
644
- audio:
645
- type: string
646
- nullable: true
647
- description: A generated partial audio chunk, encoded using the selected output_format (e.g., MP3 as a base64 string).
648
- is_final:
649
- type: boolean
650
- nullable: true
651
- description: If true, indicates that this is the final message for the specified contextId. This is sent when a context is closed. `audio` will be null or empty.
652
- normalizedAlignment:
653
- $ref: '#/components/schemas/NormalizedAlignment'
654
- nullable: true
655
- alignment:
656
- $ref: '#/components/schemas/Alignment'
657
- nullable: true
658
- contextId:
659
- type: string
660
- nullable: true
661
- description: The context identifier to which this message pertains.
662
-
663
- InitializeConnectionMulti:
664
- type: object
665
- description: Payload to initialize a new context in a multi-stream WebSocket connection.
666
- properties:
667
- text:
668
- x-fern-type: literal<" ">
669
- description: Must be a single space character to initiate the context.
670
- voice_settings:
671
- $ref: '#/components/schemas/RealtimeVoiceSettings'
672
- generation_config:
673
- $ref: '#/components/schemas/GenerationConfig'
674
- pronunciation_dictionary_locators:
675
- type: array
676
- items:
677
- $ref: '#/components/schemas/PronunciationDictionaryLocator'
678
- description: Optional pronunciation dictionaries for this context.
679
- xi_api_key:
680
- type: string
681
- description: Your ElevenLabs API key (if not in header). For this context's first message only.
682
- authorization:
683
- type: string
684
- description: Your authorization bearer token (if not in header). For this context's first message only.
685
- context_id:
686
- type: string
687
- description: A unique identifier for the first context created in the websocket. If not provided, a default context will be used.
688
- required:
689
- - text
690
-
691
- SendTextMulti:
692
- type: object
693
- description: Payload to send text for synthesis to an existing context.
694
- required:
695
- - text
696
- properties:
697
- text:
698
- type: string
699
- description: Text to synthesize. Should end with a single space.
700
- context_id:
701
- type: string
702
- description: The target context_id for this text.
703
- flush:
704
- type: boolean
705
- default: false
706
- description: If true, flushes the audio buffer for the specified context. If false, the text will be appended to the buffer to be generated.
707
-
708
- FlushContext:
709
- type: object
710
- description: Payload to flush the audio buffer for a specific context.
711
- required:
712
- - context_id
713
- - flush
714
- properties:
715
- context_id:
716
- type: string
717
- description: The context_id to flush.
718
- text:
719
- type: string
720
- description: The text to append to the buffer to be flushed.
721
- flush:
722
- type: boolean
723
- default: false
724
- description: If true, flushes the audio buffer for the specified context. If false, the context will remain open and the text will be appended to the buffer to be generated.
725
-
726
- CloseContext:
727
- type: object
728
- description: Payload to close a specific TTS context.
729
- required:
730
- - context_id
731
- - close_context
732
- properties:
733
- context_id:
734
- type: string
735
- description: The context_id to close.
736
- close_context:
737
- type: boolean
738
- default: false
739
- description: Must set the close_context to true, to close the specified context. If false, the context will remain open and the text will be ignored. If set to true, the context will close. If it has already been set to flush it will continue flushing. The same context id can be used again but will not be linked to the previous context with the same name.
740
-
741
- CloseSocket:
742
- type: object
743
- description: Payload to signal closing the entire WebSocket connection.
744
- properties:
745
- close_socket:
746
- type: boolean
747
- default: false
748
- description: If true, closes all contexts and closes the entire WebSocket connection. Any context that was previously set to flush will wait to flush before closing.
749
-
750
- AudioOutputMulti:
751
- type: object
752
- description: Server payload containing an audio chunk for a specific context.
753
- required:
754
- - audio
755
- properties:
756
- audio:
757
- type: string
758
- description: Base64 encoded audio chunk.
759
- normalizedAlignment:
760
- $ref: '#/components/schemas/NormalizedAlignment'
761
- nullable: true
762
- alignment:
763
- $ref: '#/components/schemas/Alignment'
764
- nullable: true
765
- contextId:
766
- type: string
767
- description: The contextId for which this audio is.
768
-
769
- FinalOutputMulti:
770
- type: object
771
- description: Server payload indicating the final output for a specific context.
772
- required:
773
- - isFinal
774
- properties:
775
- isFinal:
776
- x-fern-type: literal<true>
777
- description: Indicates this is the final message for the context.
778
- contextId:
779
- type: string
780
- description: The context_id for which this is the final message.
781
-
782
- KeepContextAlive:
783
- type: object
784
- description: Payload to keep a specific context alive by resetting its inactivity timeout. Empty text is ignored but resets the clock.
785
- required:
786
- - text
787
- - context_id
788
- properties:
789
- text:
790
- x-fern-type: literal<"">
791
- description: An empty string. This text is ignored by the server but its presence resets the inactivity timeout for the specified context.
792
- context_id:
793
- type: string
794
- description: The identifier of the context to keep alive.
795
-
796
- InitialiseContext:
797
- type: object
798
- description: Payload to initialize or re-initialize a TTS context with specific settings and initial text for multi-stream connections.
799
- properties:
800
- text:
801
- type: string
802
- description: The initial text to synthesize. Should end with a single space.
803
- voice_settings:
804
- $ref: '#/components/schemas/RealtimeVoiceSettings'
805
- generation_config:
806
- $ref: '#/components/schemas/GenerationConfig'
807
- pronunciation_dictionary_locators:
808
- type: array
809
- items:
810
- $ref: '#/components/schemas/PronunciationDictionaryLocator'
811
- description: Optional list of pronunciation dictionary locators to be used for this context.
812
- xi_api_key:
813
- type: string
814
- description: Your ElevenLabs API key. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context.
815
- authorization:
816
- type: string
817
- description: Your authorization bearer token. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context.
818
- context_id:
819
- type: string
820
- description: An identifier for the text-to-speech context. If omitted, a default context ID may be assigned by the server. If provided, this message will create a new context with this ID or re-initialize an existing one with the new settings and text.
821
- required:
822
- - text
823
- TextToSpeechApplyTextNormalizationEnum:
824
- description: >-
825
- This parameter controls text normalization with three modes - 'auto', 'on', and 'off'. When set to 'auto',
826
- the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on',
827
- text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for
828
- 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models. Defaults to 'auto'.
829
- type: string
830
- enum: ['auto', 'on', 'off']
831
- default: 'auto'
832
- TextToSpeechOutputFormatEnum:
833
- description: The output audio format
834
- type: string
835
- enum:
836
- [
837
- 'mp3_22050_32',
838
- 'mp3_44100_32',
839
- 'mp3_44100_64',
840
- 'mp3_44100_96',
841
- 'mp3_44100_128',
842
- 'mp3_44100_192',
843
- 'pcm_8000',
844
- 'pcm_16000',
845
- 'pcm_22050',
846
- 'pcm_24000',
847
- 'pcm_44100',
848
- 'ulaw_8000',
849
- 'alaw_8000',
850
- 'opus_48000_32',
851
- 'opus_48000_64',
852
- 'opus_48000_96',
853
- 'opus_48000_128',
854
- 'opus_48000_192',
855
- ]
856
- default: 'mp3_44100'