@elevenlabs/elevenlabs-js 2.2.0 → 2.3.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 (1157) 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 +6 -1
  11. package/api/resources/conversationalAi/client/Client.js +18 -28
  12. package/api/resources/conversationalAi/client/index.d.ts +1 -0
  13. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -1
  14. package/api/resources/conversationalAi/resources/agents/client/Client.js +15 -34
  15. package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  17. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  18. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  19. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  20. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  22. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  24. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  25. package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  27. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  28. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  29. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  30. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  31. package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  33. package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  34. package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  35. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  36. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  37. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  38. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  39. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  41. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  42. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  43. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  44. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  45. package/api/resources/conversationalAi/resources/index.js +3 -1
  46. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  47. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  48. package/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  55. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  56. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  57. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  58. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  59. package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  60. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  61. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  62. package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  63. package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  64. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  65. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  66. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  67. package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  68. package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  69. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  70. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  71. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  72. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  73. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  74. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  75. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  76. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  77. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  78. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  79. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  80. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  81. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  82. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  83. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  84. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  85. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  86. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  87. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  88. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  89. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  90. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  91. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  92. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  93. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  94. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  95. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  96. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  97. package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  98. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  99. package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  100. package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  101. package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  102. package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  103. package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  104. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  105. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  106. package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  107. package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  108. package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  109. package/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  110. package/api/resources/dubbing/client/Client.d.ts +3 -1
  111. package/api/resources/dubbing/client/Client.js +7 -16
  112. package/api/resources/dubbing/client/index.d.ts +1 -0
  113. package/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  114. package/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  115. package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  116. package/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  117. package/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  118. package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  119. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  120. package/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  121. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  122. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  123. package/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  124. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  125. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  126. package/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  127. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  128. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  129. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  130. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  131. package/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  132. package/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  133. package/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  134. package/api/resources/forcedAlignment/client/Client.js +3 -4
  135. package/api/resources/forcedAlignment/client/index.d.ts +1 -0
  136. package/api/resources/history/client/Client.d.ts +5 -4
  137. package/api/resources/history/client/Client.js +11 -28
  138. package/api/resources/history/client/index.d.ts +1 -0
  139. package/api/resources/index.d.ts +3 -0
  140. package/api/resources/index.js +4 -1
  141. package/api/resources/models/client/Client.d.ts +3 -1
  142. package/api/resources/models/client/Client.js +3 -6
  143. package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  144. package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  145. package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  146. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  147. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  148. package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  149. package/api/resources/samples/client/Client.d.ts +3 -1
  150. package/api/resources/samples/client/Client.js +3 -6
  151. package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  152. package/api/resources/speechToSpeech/client/Client.js +5 -8
  153. package/api/resources/speechToSpeech/client/index.d.ts +1 -0
  154. package/api/resources/speechToText/client/Client.d.ts +4 -4
  155. package/api/resources/speechToText/client/Client.js +46 -10
  156. package/api/resources/speechToText/client/index.d.ts +1 -0
  157. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  158. package/api/resources/studio/client/Client.d.ts +4 -2
  159. package/api/resources/studio/client/Client.js +4 -5
  160. package/api/resources/studio/client/index.d.ts +1 -0
  161. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  162. package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  163. package/api/resources/studio/resources/projects/client/Client.js +16 -32
  164. package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  165. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  166. package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  167. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  168. package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  169. package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  170. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  171. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  172. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  173. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  174. package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  175. package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  176. package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  177. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  178. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  179. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  180. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  181. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  182. package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  183. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  184. package/api/resources/textToDialogue/client/Client.d.ts +5 -4
  185. package/api/resources/textToDialogue/client/Client.js +5 -8
  186. package/api/resources/textToDialogue/client/index.d.ts +1 -0
  187. package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  188. package/api/resources/textToSoundEffects/client/Client.js +3 -4
  189. package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  190. package/api/resources/textToSpeech/client/Client.d.ts +5 -4
  191. package/api/resources/textToSpeech/client/Client.js +9 -16
  192. package/api/resources/textToSpeech/client/index.d.ts +1 -0
  193. package/api/resources/textToVoice/client/Client.d.ts +3 -1
  194. package/api/resources/textToVoice/client/Client.js +5 -8
  195. package/api/resources/textToVoice/client/index.d.ts +1 -0
  196. package/api/resources/usage/client/Client.d.ts +3 -1
  197. package/api/resources/usage/client/Client.js +3 -6
  198. package/api/resources/usage/client/index.d.ts +1 -0
  199. package/api/resources/user/client/Client.d.ts +3 -1
  200. package/api/resources/user/client/Client.js +3 -6
  201. package/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  202. package/api/resources/user/resources/subscription/client/Client.js +3 -6
  203. package/api/resources/voices/client/Client.d.ts +4 -2
  204. package/api/resources/voices/client/Client.js +18 -43
  205. package/api/resources/voices/client/index.d.ts +1 -0
  206. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  207. package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  208. package/api/resources/voices/resources/ivc/client/Client.js +3 -4
  209. package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  210. package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  211. package/api/resources/voices/resources/pvc/client/Client.js +7 -12
  212. package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  213. package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  214. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  215. package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  216. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  217. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  218. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  219. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  220. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  221. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  222. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  223. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  224. package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  225. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  226. package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  227. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  228. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  229. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  230. package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  231. package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  232. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  233. package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  234. package/api/resources/voices/resources/settings/client/Client.js +7 -16
  235. package/api/resources/webhooks/client/Client.d.ts +48 -0
  236. package/api/resources/webhooks/client/Client.js +142 -0
  237. package/api/resources/webhooks/client/index.d.ts +2 -0
  238. package/api/resources/webhooks/client/index.js +17 -0
  239. package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  240. package/api/resources/webhooks/client/requests/index.d.ts +1 -0
  241. package/api/resources/webhooks/client/requests/index.js +2 -0
  242. package/api/resources/webhooks/index.d.ts +1 -0
  243. package/api/resources/webhooks/index.js +17 -0
  244. package/api/resources/workspace/client/Client.d.ts +30 -0
  245. package/api/resources/workspace/client/Client.js +121 -0
  246. package/api/resources/workspace/client/index.d.ts +1 -0
  247. package/api/resources/workspace/client/index.js +15 -0
  248. package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  249. package/api/resources/workspace/client/requests/index.d.ts +1 -0
  250. package/api/resources/workspace/client/requests/index.js +2 -0
  251. package/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  252. package/api/resources/workspace/resources/groups/client/Client.js +3 -6
  253. package/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  254. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  255. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  256. package/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  257. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  258. package/api/resources/workspace/resources/invites/client/Client.js +7 -12
  259. package/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  260. package/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  261. package/api/resources/workspace/resources/members/client/Client.js +5 -8
  262. package/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  263. package/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  264. package/api/resources/workspace/resources/resources/client/Client.js +7 -14
  265. package/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  266. package/api/types/AddProjectRequest.d.ts +60 -3
  267. package/api/types/AgentCallLimits.d.ts +2 -0
  268. package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  269. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  270. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  271. package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  272. package/api/types/BuiltInTools.d.ts +16 -0
  273. package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  274. package/api/types/ClientEvent.d.ts +4 -2
  275. package/api/types/ClientEvent.js +3 -1
  276. package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  277. package/api/types/ConversationChargingCommonModel.d.ts +1 -0
  278. package/api/types/ConversationSimulationSpecification.d.ts +1 -0
  279. package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  280. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  281. package/api/types/IntegrationType.d.ts +8 -0
  282. package/api/types/IntegrationType.js +10 -0
  283. package/api/types/InvoiceResponse.d.ts +2 -0
  284. package/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  285. package/api/types/ListMcpToolsResponseModel.js +5 -0
  286. package/api/types/McpApprovalPolicy.d.ts +12 -0
  287. package/api/types/McpApprovalPolicy.js +11 -0
  288. package/api/types/McpServerConfigInput.d.ts +19 -0
  289. package/api/types/McpServerConfigInput.js +5 -0
  290. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  291. package/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
  292. package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  293. package/api/types/McpServerConfigInputSecretToken.js +5 -0
  294. package/api/types/McpServerConfigInputUrl.d.ts +8 -0
  295. package/api/types/McpServerConfigInputUrl.js +5 -0
  296. package/api/types/McpServerConfigOutput.d.ts +19 -0
  297. package/api/types/McpServerConfigOutput.js +5 -0
  298. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  299. package/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  300. package/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  301. package/api/types/McpServerConfigOutputSecretToken.js +5 -0
  302. package/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  303. package/api/types/McpServerConfigOutputUrl.js +5 -0
  304. package/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  305. package/api/types/McpServerMetadataResponseModel.js +5 -0
  306. package/api/types/McpServerResponseModel.d.ts +17 -0
  307. package/api/types/McpServerResponseModel.js +5 -0
  308. package/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  309. package/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  310. package/api/types/McpServerTransport.d.ts +11 -0
  311. package/api/types/McpServerTransport.js +10 -0
  312. package/api/types/McpServersResponseModel.d.ts +10 -0
  313. package/api/types/McpServersResponseModel.js +5 -0
  314. package/api/types/McpToolApprovalHash.d.ts +15 -0
  315. package/api/types/McpToolApprovalHash.js +5 -0
  316. package/api/types/McpToolApprovalPolicy.d.ts +11 -0
  317. package/api/types/McpToolApprovalPolicy.js +10 -0
  318. package/api/types/McpToolConfigInput.d.ts +11 -3
  319. package/api/types/McpToolConfigOutput.d.ts +11 -3
  320. package/api/types/PromptAgentDbModel.d.ts +1 -0
  321. package/api/types/PromptAgentDbModelToolsItem.d.ts +1 -4
  322. package/api/types/PromptAgentInputToolsItem.d.ts +1 -4
  323. package/api/types/PromptAgentOutputToolsItem.d.ts +1 -4
  324. package/api/types/SubscriptionStatusType.d.ts +2 -3
  325. package/api/types/SubscriptionStatusType.js +1 -2
  326. package/api/types/SupportedVoice.d.ts +4 -0
  327. package/api/types/Tool.d.ts +15 -0
  328. package/api/types/Tool.js +5 -0
  329. package/api/types/ToolAnnotations.d.ts +22 -0
  330. package/api/types/ToolAnnotations.js +5 -0
  331. package/api/types/TransferToNumberToolConfig.d.ts +2 -0
  332. package/api/types/User.d.ts +1 -1
  333. package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  334. package/api/types/VoicePreviewResponseModel.d.ts +4 -0
  335. package/api/types/WebhookAuthMethodType.d.ts +8 -0
  336. package/api/types/WebhookAuthMethodType.js +10 -0
  337. package/api/types/WebhookUsageType.d.ts +10 -0
  338. package/api/types/WebhookUsageType.js +12 -0
  339. package/api/types/WidgetConfig.d.ts +2 -0
  340. package/api/types/WidgetConfigResponse.d.ts +2 -0
  341. package/api/types/WidgetStyles.d.ts +45 -0
  342. package/api/types/WidgetStyles.js +5 -0
  343. package/api/types/WorkspaceResourceType.d.ts +2 -2
  344. package/api/types/WorkspaceResourceType.js +1 -1
  345. package/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  346. package/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  347. package/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  348. package/api/types/WorkspaceWebhookResponseModel.js +5 -0
  349. package/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  350. package/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  351. package/api/types/index.d.ts +29 -5
  352. package/api/types/index.js +29 -5
  353. package/core/fetcher/Fetcher.d.ts +2 -1
  354. package/core/fetcher/Fetcher.js +22 -9
  355. package/core/form-data-utils/FormDataWrapper.js +5 -4
  356. package/core/form-data-utils/toReadableStream.d.ts +1 -0
  357. package/core/form-data-utils/toReadableStream.js +28 -0
  358. package/core/headers.d.ts +3 -0
  359. package/core/headers.js +29 -0
  360. package/core/index.d.ts +1 -1
  361. package/core/index.js +1 -1
  362. package/core/runtime/runtime.js +0 -1
  363. package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
  364. package/dist/Client.d.ts +9 -4
  365. package/dist/Client.js +60 -12
  366. package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
  367. package/dist/api/resources/audioIsolation/client/Client.js +5 -8
  368. package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
  369. package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
  370. package/dist/api/resources/audioNative/client/Client.js +7 -14
  371. package/dist/api/resources/audioNative/client/index.d.ts +1 -0
  372. package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -1
  373. package/dist/api/resources/conversationalAi/client/Client.js +18 -28
  374. package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
  375. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -1
  376. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +15 -34
  377. package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  378. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  379. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  380. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  381. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  382. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  383. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  384. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  385. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  386. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  387. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  388. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  389. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  390. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  391. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  392. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  393. package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  394. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  395. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  396. package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  397. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  398. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  399. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  400. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  401. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  402. package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  403. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  404. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  405. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  406. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  407. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  408. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  409. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  410. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  411. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  412. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  413. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  414. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  415. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  416. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  417. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  418. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  419. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  420. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  421. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  422. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  423. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  424. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  425. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  426. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  427. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
  428. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  429. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  430. package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  431. package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  432. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  433. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  434. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  435. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  436. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  437. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
  438. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  439. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  440. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  441. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  442. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  443. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  444. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  445. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  446. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  447. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  448. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  449. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
  450. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  451. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  452. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  453. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  454. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  455. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  456. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  457. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  458. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  459. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  460. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  461. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  462. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  463. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  464. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  465. package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  466. package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  467. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  468. package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  469. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  470. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  471. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  472. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  473. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  474. package/dist/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  475. package/dist/api/resources/dubbing/client/Client.d.ts +3 -1
  476. package/dist/api/resources/dubbing/client/Client.js +7 -16
  477. package/dist/api/resources/dubbing/client/index.d.ts +1 -0
  478. package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  479. package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  480. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  481. package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  482. package/dist/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  483. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  484. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  485. package/dist/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  486. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  487. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  488. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  489. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  490. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  491. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  492. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  493. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  494. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  495. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  496. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  497. package/dist/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  498. package/dist/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  499. package/dist/api/resources/forcedAlignment/client/Client.js +3 -4
  500. package/dist/api/resources/forcedAlignment/client/index.d.ts +1 -0
  501. package/dist/api/resources/history/client/Client.d.ts +5 -4
  502. package/dist/api/resources/history/client/Client.js +11 -28
  503. package/dist/api/resources/history/client/index.d.ts +1 -0
  504. package/dist/api/resources/index.d.ts +3 -0
  505. package/dist/api/resources/index.js +4 -1
  506. package/dist/api/resources/models/client/Client.d.ts +3 -1
  507. package/dist/api/resources/models/client/Client.js +3 -6
  508. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  509. package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  510. package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  511. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  512. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  513. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  514. package/dist/api/resources/samples/client/Client.d.ts +3 -1
  515. package/dist/api/resources/samples/client/Client.js +3 -6
  516. package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  517. package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
  518. package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
  519. package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
  520. package/dist/api/resources/speechToText/client/Client.js +46 -10
  521. package/dist/api/resources/speechToText/client/index.d.ts +1 -0
  522. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  523. package/dist/api/resources/studio/client/Client.d.ts +4 -2
  524. package/dist/api/resources/studio/client/Client.js +4 -5
  525. package/dist/api/resources/studio/client/index.d.ts +1 -0
  526. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  527. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  528. package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
  529. package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  530. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  531. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  532. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  533. package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  534. package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  535. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  536. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  537. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  538. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  539. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  540. package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  541. package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  542. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  543. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  544. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  545. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  546. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  547. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  548. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  549. package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
  550. package/dist/api/resources/textToDialogue/client/Client.js +5 -8
  551. package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
  552. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  553. package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
  554. package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  555. package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
  556. package/dist/api/resources/textToSpeech/client/Client.js +9 -16
  557. package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
  558. package/dist/api/resources/textToVoice/client/Client.d.ts +3 -1
  559. package/dist/api/resources/textToVoice/client/Client.js +5 -8
  560. package/dist/api/resources/textToVoice/client/index.d.ts +1 -0
  561. package/dist/api/resources/usage/client/Client.d.ts +3 -1
  562. package/dist/api/resources/usage/client/Client.js +3 -6
  563. package/dist/api/resources/usage/client/index.d.ts +1 -0
  564. package/dist/api/resources/user/client/Client.d.ts +3 -1
  565. package/dist/api/resources/user/client/Client.js +3 -6
  566. package/dist/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  567. package/dist/api/resources/user/resources/subscription/client/Client.js +3 -6
  568. package/dist/api/resources/voices/client/Client.d.ts +4 -2
  569. package/dist/api/resources/voices/client/Client.js +18 -43
  570. package/dist/api/resources/voices/client/index.d.ts +1 -0
  571. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  572. package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  573. package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
  574. package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  575. package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  576. package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
  577. package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  578. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  579. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  580. package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  581. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  582. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  583. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  584. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  585. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  586. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  587. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  588. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  589. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  590. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  591. package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  592. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  593. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  594. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  595. package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  596. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  597. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  598. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  599. package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
  600. package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
  601. package/dist/api/resources/webhooks/client/Client.js +142 -0
  602. package/dist/api/resources/webhooks/client/index.d.ts +2 -0
  603. package/dist/api/resources/webhooks/client/index.js +17 -0
  604. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  605. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
  606. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  607. package/dist/api/resources/webhooks/client/requests/index.js +2 -0
  608. package/dist/api/resources/webhooks/index.d.ts +1 -0
  609. package/dist/api/resources/webhooks/index.js +17 -0
  610. package/dist/api/resources/workspace/client/Client.d.ts +30 -0
  611. package/dist/api/resources/workspace/client/Client.js +121 -0
  612. package/dist/api/resources/workspace/client/index.d.ts +1 -0
  613. package/dist/api/resources/workspace/client/index.js +15 -0
  614. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  615. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +5 -0
  616. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  617. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  618. package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  619. package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -6
  620. package/dist/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  621. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  622. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  623. package/dist/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  624. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  625. package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -12
  626. package/dist/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  627. package/dist/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  628. package/dist/api/resources/workspace/resources/members/client/Client.js +5 -8
  629. package/dist/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  630. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  631. package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -14
  632. package/dist/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  633. package/dist/api/types/AddProjectRequest.d.ts +60 -3
  634. package/dist/api/types/AgentCallLimits.d.ts +2 -0
  635. package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  636. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  637. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  638. package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  639. package/dist/api/types/BuiltInTools.d.ts +16 -0
  640. package/dist/api/types/BuiltInTools.js +5 -0
  641. package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  642. package/dist/api/types/ClientEvent.d.ts +4 -2
  643. package/dist/api/types/ClientEvent.js +3 -1
  644. package/dist/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  645. package/dist/api/types/ConvAiUserSecretDbModel.js +5 -0
  646. package/dist/api/types/ConversationChargingCommonModel.d.ts +1 -0
  647. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -0
  648. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  649. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
  650. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  651. package/dist/api/types/IntegrationType.d.ts +8 -0
  652. package/dist/api/types/IntegrationType.js +10 -0
  653. package/dist/api/types/InvoiceResponse.d.ts +2 -0
  654. package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  655. package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
  656. package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
  657. package/dist/api/types/McpApprovalPolicy.js +11 -0
  658. package/dist/api/types/McpServerConfigInput.d.ts +19 -0
  659. package/dist/api/types/McpServerConfigInput.js +5 -0
  660. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  661. package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
  662. package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  663. package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
  664. package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
  665. package/dist/api/types/McpServerConfigInputUrl.js +5 -0
  666. package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
  667. package/dist/api/types/McpServerConfigOutput.js +5 -0
  668. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  669. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  670. package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  671. package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
  672. package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  673. package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
  674. package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  675. package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
  676. package/dist/api/types/McpServerResponseModel.d.ts +17 -0
  677. package/dist/api/types/McpServerResponseModel.js +5 -0
  678. package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  679. package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  680. package/dist/api/types/McpServerTransport.d.ts +11 -0
  681. package/dist/api/types/McpServerTransport.js +10 -0
  682. package/dist/api/types/McpServersResponseModel.d.ts +10 -0
  683. package/dist/api/types/McpServersResponseModel.js +5 -0
  684. package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
  685. package/dist/api/types/McpToolApprovalHash.js +5 -0
  686. package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
  687. package/dist/api/types/McpToolApprovalPolicy.js +10 -0
  688. package/dist/api/types/McpToolConfigInput.d.ts +11 -3
  689. package/dist/api/types/McpToolConfigOutput.d.ts +11 -3
  690. package/dist/api/types/PromptAgentDbModel.d.ts +1 -0
  691. package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +1 -4
  692. package/dist/api/types/PromptAgentInputToolsItem.d.ts +1 -4
  693. package/dist/api/types/PromptAgentOutputToolsItem.d.ts +1 -4
  694. package/dist/api/types/SubscriptionStatusType.d.ts +2 -3
  695. package/dist/api/types/SubscriptionStatusType.js +1 -2
  696. package/dist/api/types/SupportedVoice.d.ts +4 -0
  697. package/dist/api/types/Tool.d.ts +15 -0
  698. package/dist/api/types/Tool.js +5 -0
  699. package/dist/api/types/ToolAnnotations.d.ts +22 -0
  700. package/dist/api/types/ToolAnnotations.js +5 -0
  701. package/dist/api/types/TransferToNumberToolConfig.d.ts +2 -0
  702. package/dist/api/types/User.d.ts +1 -1
  703. package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  704. package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
  705. package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
  706. package/dist/api/types/WebhookAuthMethodType.js +10 -0
  707. package/dist/api/types/WebhookUsageType.d.ts +10 -0
  708. package/dist/api/types/WebhookUsageType.js +12 -0
  709. package/dist/api/types/WidgetConfig.d.ts +2 -0
  710. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  711. package/dist/api/types/WidgetStyles.d.ts +45 -0
  712. package/dist/api/types/WidgetStyles.js +5 -0
  713. package/dist/api/types/WorkspaceResourceType.d.ts +2 -2
  714. package/dist/api/types/WorkspaceResourceType.js +1 -1
  715. package/dist/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  716. package/dist/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  717. package/dist/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  718. package/dist/api/types/WorkspaceWebhookResponseModel.js +5 -0
  719. package/dist/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  720. package/dist/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  721. package/dist/api/types/index.d.ts +29 -5
  722. package/dist/api/types/index.js +29 -5
  723. package/dist/core/fetcher/Fetcher.d.ts +2 -1
  724. package/dist/core/fetcher/Fetcher.js +22 -9
  725. package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
  726. package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
  727. package/dist/core/form-data-utils/toReadableStream.js +28 -0
  728. package/dist/core/headers.d.ts +3 -0
  729. package/dist/core/headers.js +29 -0
  730. package/dist/core/index.d.ts +1 -1
  731. package/dist/core/index.js +1 -1
  732. package/dist/core/runtime/runtime.js +0 -1
  733. package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
  734. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  735. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  736. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  737. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  738. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  739. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  740. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  741. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  742. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  743. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  744. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  745. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  746. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  747. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  748. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  749. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  750. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  751. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  752. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  753. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  754. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  755. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  756. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  757. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  758. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  759. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  760. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  761. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  762. package/dist/serialization/resources/index.d.ts +1 -0
  763. package/dist/serialization/resources/index.js +1 -0
  764. package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
  765. package/dist/serialization/resources/workspace/client/index.js +17 -0
  766. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  767. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  768. package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  769. package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
  770. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  771. package/dist/serialization/resources/workspace/index.js +1 -0
  772. package/dist/serialization/types/AddProjectRequest.d.ts +1 -0
  773. package/dist/serialization/types/AddProjectRequest.js +1 -0
  774. package/dist/serialization/types/AgentCallLimits.d.ts +1 -0
  775. package/dist/serialization/types/AgentCallLimits.js +1 -0
  776. package/dist/serialization/types/BuiltInTools.d.ts +17 -0
  777. package/dist/serialization/types/BuiltInTools.js +48 -0
  778. package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  779. package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
  780. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  781. package/dist/serialization/types/ClientEvent.js +3 -1
  782. package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  783. package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → ConvAiUserSecretDbModel.js} +6 -6
  784. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +1 -0
  785. package/dist/serialization/types/ConversationChargingCommonModel.js +1 -0
  786. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  787. package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
  788. package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  789. package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
  790. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  791. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  792. package/dist/serialization/types/IntegrationType.d.ts +10 -0
  793. package/dist/serialization/types/IntegrationType.js +41 -0
  794. package/dist/serialization/types/InvoiceResponse.d.ts +1 -0
  795. package/dist/serialization/types/InvoiceResponse.js +1 -0
  796. package/dist/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  797. package/{serialization/types/GetSharedSoundGenerationsResponseModel.js → dist/serialization/types/ListMcpToolsResponseModel.js} +6 -6
  798. package/dist/serialization/types/McpApprovalPolicy.d.ts +10 -0
  799. package/dist/serialization/types/McpApprovalPolicy.js +41 -0
  800. package/dist/serialization/types/McpServerConfigInput.d.ts +25 -0
  801. package/dist/serialization/types/McpServerConfigInput.js +56 -0
  802. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  803. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  804. package/dist/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  805. package/dist/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  806. package/dist/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  807. package/dist/serialization/types/McpServerConfigInputUrl.js +42 -0
  808. package/dist/serialization/types/McpServerConfigOutput.d.ts +25 -0
  809. package/dist/serialization/types/McpServerConfigOutput.js +56 -0
  810. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  811. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  812. package/dist/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  813. package/dist/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  814. package/dist/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  815. package/dist/serialization/types/McpServerConfigOutputUrl.js +42 -0
  816. package/dist/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  817. package/dist/serialization/types/McpServerMetadataResponseModel.js +44 -0
  818. package/dist/serialization/types/McpServerResponseModel.d.ts +20 -0
  819. package/dist/serialization/types/{NativeMcpToolConfigInput.js → McpServerResponseModel.js} +11 -12
  820. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  821. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  822. package/dist/serialization/types/McpServerTransport.d.ts +10 -0
  823. package/dist/serialization/types/McpServerTransport.js +41 -0
  824. package/dist/serialization/types/McpServersResponseModel.d.ts +13 -0
  825. package/dist/serialization/types/McpServersResponseModel.js +44 -0
  826. package/dist/serialization/types/McpToolApprovalHash.d.ts +15 -0
  827. package/dist/serialization/types/McpToolApprovalHash.js +46 -0
  828. package/dist/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  829. package/dist/serialization/types/McpToolApprovalPolicy.js +41 -0
  830. package/dist/serialization/types/McpToolConfigInput.d.ts +7 -2
  831. package/dist/serialization/types/McpToolConfigInput.js +7 -2
  832. package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -2
  833. package/dist/serialization/types/McpToolConfigOutput.js +7 -2
  834. package/dist/serialization/types/PromptAgentDbModel.d.ts +2 -0
  835. package/dist/serialization/types/PromptAgentDbModel.js +2 -0
  836. package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +1 -5
  837. package/dist/serialization/types/PromptAgentDbModelToolsItem.js +0 -2
  838. package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +1 -5
  839. package/dist/serialization/types/PromptAgentInputToolsItem.js +0 -2
  840. package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +1 -5
  841. package/dist/serialization/types/PromptAgentOutputToolsItem.js +0 -2
  842. package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
  843. package/dist/serialization/types/SubscriptionStatusType.js +1 -2
  844. package/dist/serialization/types/SupportedVoice.d.ts +5 -0
  845. package/dist/serialization/types/SupportedVoice.js +5 -0
  846. package/dist/serialization/types/Tool.d.ts +17 -0
  847. package/dist/serialization/types/Tool.js +49 -0
  848. package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
  849. package/dist/serialization/types/ToolAnnotations.js +49 -0
  850. package/dist/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  851. package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
  852. package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  853. package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
  854. package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
  855. package/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/WebhookUsageType.js} +6 -5
  856. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  857. package/dist/serialization/types/WidgetConfig.js +2 -0
  858. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  859. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  860. package/dist/serialization/types/WidgetStyles.d.ts +31 -0
  861. package/dist/serialization/types/WidgetStyles.js +62 -0
  862. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  863. package/dist/serialization/types/WorkspaceResourceType.js +1 -1
  864. package/dist/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  865. package/dist/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  866. package/dist/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  867. package/{serialization/types/NativeMcpToolConfigOutput.js → dist/serialization/types/WorkspaceWebhookResponseModel.js} +13 -11
  868. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  869. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  870. package/dist/serialization/types/index.d.ts +29 -5
  871. package/dist/serialization/types/index.js +29 -5
  872. package/dist/version.d.ts +1 -1
  873. package/dist/version.js +1 -1
  874. package/dist/wrapper/ElevenLabsClient.d.ts +4 -3
  875. package/dist/wrapper/ElevenLabsClient.js +6 -1
  876. package/dist/wrapper/webhooks.d.ts +4 -3
  877. package/dist/wrapper/webhooks.js +68 -46
  878. package/jest.config.mjs +1 -0
  879. package/package.json +6 -4
  880. package/reference.md +702 -93
  881. package/scripts/rename-to-esm-files.js +10 -2
  882. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  883. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  884. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  885. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  886. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  887. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  888. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  889. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  890. package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  891. package/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  892. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  893. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  894. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  895. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  896. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  897. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  898. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  899. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  900. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  901. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  902. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  903. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  904. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  905. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  906. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  907. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  908. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  909. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  910. package/serialization/resources/index.d.ts +1 -0
  911. package/serialization/resources/index.js +1 -0
  912. package/serialization/resources/workspace/client/index.d.ts +1 -0
  913. package/serialization/resources/workspace/client/index.js +17 -0
  914. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  915. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  916. package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  917. package/serialization/resources/workspace/client/requests/index.js +5 -0
  918. package/serialization/resources/workspace/index.d.ts +1 -0
  919. package/serialization/resources/workspace/index.js +1 -0
  920. package/serialization/types/AddProjectRequest.d.ts +1 -0
  921. package/serialization/types/AddProjectRequest.js +1 -0
  922. package/serialization/types/AgentCallLimits.d.ts +1 -0
  923. package/serialization/types/AgentCallLimits.js +1 -0
  924. package/serialization/types/BuiltInTools.d.ts +17 -0
  925. package/serialization/types/BuiltInTools.js +48 -0
  926. package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  927. package/serialization/types/ChapterContentBlockInputModel.js +1 -1
  928. package/serialization/types/ClientEvent.d.ts +1 -1
  929. package/serialization/types/ClientEvent.js +3 -1
  930. package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  931. package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
  932. package/serialization/types/ConversationChargingCommonModel.d.ts +1 -0
  933. package/serialization/types/ConversationChargingCommonModel.js +1 -0
  934. package/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  935. package/serialization/types/ConversationSimulationSpecification.js +4 -0
  936. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  937. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
  938. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  939. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  940. package/serialization/types/IntegrationType.d.ts +10 -0
  941. package/serialization/types/IntegrationType.js +41 -0
  942. package/serialization/types/InvoiceResponse.d.ts +1 -0
  943. package/serialization/types/InvoiceResponse.js +1 -0
  944. package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  945. package/serialization/types/ListMcpToolsResponseModel.js +46 -0
  946. package/serialization/types/McpApprovalPolicy.d.ts +10 -0
  947. package/serialization/types/McpApprovalPolicy.js +41 -0
  948. package/serialization/types/McpServerConfigInput.d.ts +25 -0
  949. package/serialization/types/McpServerConfigInput.js +56 -0
  950. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  951. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  952. package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  953. package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  954. package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  955. package/serialization/types/McpServerConfigInputUrl.js +42 -0
  956. package/serialization/types/McpServerConfigOutput.d.ts +25 -0
  957. package/serialization/types/McpServerConfigOutput.js +56 -0
  958. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  959. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  960. package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  961. package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  962. package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  963. package/serialization/types/McpServerConfigOutputUrl.js +42 -0
  964. package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  965. package/serialization/types/McpServerMetadataResponseModel.js +44 -0
  966. package/serialization/types/McpServerResponseModel.d.ts +20 -0
  967. package/serialization/types/{NativeMcpToolConfigInput.js → McpServerResponseModel.js} +11 -12
  968. package/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  969. package/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  970. package/serialization/types/McpServerTransport.d.ts +10 -0
  971. package/serialization/types/McpServerTransport.js +41 -0
  972. package/serialization/types/McpServersResponseModel.d.ts +13 -0
  973. package/serialization/types/McpServersResponseModel.js +44 -0
  974. package/serialization/types/McpToolApprovalHash.d.ts +15 -0
  975. package/serialization/types/McpToolApprovalHash.js +46 -0
  976. package/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  977. package/serialization/types/McpToolApprovalPolicy.js +41 -0
  978. package/serialization/types/McpToolConfigInput.d.ts +7 -2
  979. package/serialization/types/McpToolConfigInput.js +7 -2
  980. package/serialization/types/McpToolConfigOutput.d.ts +7 -2
  981. package/serialization/types/McpToolConfigOutput.js +7 -2
  982. package/serialization/types/PromptAgentDbModel.d.ts +2 -0
  983. package/serialization/types/PromptAgentDbModel.js +2 -0
  984. package/serialization/types/PromptAgentDbModelToolsItem.d.ts +1 -5
  985. package/serialization/types/PromptAgentDbModelToolsItem.js +0 -2
  986. package/serialization/types/PromptAgentInputToolsItem.d.ts +1 -5
  987. package/serialization/types/PromptAgentInputToolsItem.js +0 -2
  988. package/serialization/types/PromptAgentOutputToolsItem.d.ts +1 -5
  989. package/serialization/types/PromptAgentOutputToolsItem.js +0 -2
  990. package/serialization/types/SubscriptionStatusType.d.ts +1 -1
  991. package/serialization/types/SubscriptionStatusType.js +1 -2
  992. package/serialization/types/SupportedVoice.d.ts +5 -0
  993. package/serialization/types/SupportedVoice.js +5 -0
  994. package/serialization/types/Tool.d.ts +17 -0
  995. package/serialization/types/Tool.js +49 -0
  996. package/serialization/types/ToolAnnotations.d.ts +17 -0
  997. package/serialization/types/ToolAnnotations.js +49 -0
  998. package/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  999. package/serialization/types/TransferToNumberToolConfig.js +1 -0
  1000. package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  1001. package/serialization/types/WebhookAuthMethodType.js +41 -0
  1002. package/serialization/types/WebhookUsageType.d.ts +10 -0
  1003. package/{dist/serialization/types/McpApprovalRequiredModel.js → serialization/types/WebhookUsageType.js} +6 -5
  1004. package/serialization/types/WidgetConfig.d.ts +2 -0
  1005. package/serialization/types/WidgetConfig.js +2 -0
  1006. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1007. package/serialization/types/WidgetConfigResponse.js +2 -0
  1008. package/serialization/types/WidgetStyles.d.ts +31 -0
  1009. package/serialization/types/WidgetStyles.js +62 -0
  1010. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1011. package/serialization/types/WorkspaceResourceType.js +1 -1
  1012. package/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  1013. package/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  1014. package/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  1015. package/{dist/serialization/types/NativeMcpToolConfigOutput.js → serialization/types/WorkspaceWebhookResponseModel.js} +13 -11
  1016. package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  1017. package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  1018. package/serialization/types/index.d.ts +29 -5
  1019. package/serialization/types/index.js +29 -5
  1020. package/version.d.ts +1 -1
  1021. package/version.js +1 -1
  1022. package/wrapper/ElevenLabsClient.d.ts +4 -3
  1023. package/wrapper/ElevenLabsClient.js +6 -1
  1024. package/wrapper/webhooks.d.ts +4 -3
  1025. package/wrapper/webhooks.js +68 -46
  1026. package/.mock/asyncapi.yml +0 -856
  1027. package/.mock/definition/__package__.yml +0 -8340
  1028. package/.mock/definition/api.yml +0 -24
  1029. package/.mock/definition/audioIsolation.yml +0 -83
  1030. package/.mock/definition/audioNative.yml +0 -198
  1031. package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
  1032. package/.mock/definition/conversationalAi/agents/link.yml +0 -40
  1033. package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
  1034. package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
  1035. package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
  1036. package/.mock/definition/conversationalAi/agents.yml +0 -671
  1037. package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
  1038. package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
  1039. package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
  1040. package/.mock/definition/conversationalAi/conversations.yml +0 -165
  1041. package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
  1042. package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
  1043. package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
  1044. package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
  1045. package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
  1046. package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
  1047. package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
  1048. package/.mock/definition/conversationalAi/secrets.yml +0 -100
  1049. package/.mock/definition/conversationalAi/settings.yml +0 -81
  1050. package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
  1051. package/.mock/definition/conversationalAi/twilio.yml +0 -45
  1052. package/.mock/definition/conversationalAi.yml +0 -192
  1053. package/.mock/definition/dubbing/audio.yml +0 -35
  1054. package/.mock/definition/dubbing/resource/language.yml +0 -43
  1055. package/.mock/definition/dubbing/resource/segment.yml +0 -83
  1056. package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
  1057. package/.mock/definition/dubbing/resource/speaker.yml +0 -91
  1058. package/.mock/definition/dubbing/resource.yml +0 -271
  1059. package/.mock/definition/dubbing/transcript.yml +0 -48
  1060. package/.mock/definition/dubbing.yml +0 -170
  1061. package/.mock/definition/forcedAlignment.yml +0 -60
  1062. package/.mock/definition/history.yml +0 -270
  1063. package/.mock/definition/models.yml +0 -49
  1064. package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
  1065. package/.mock/definition/pronunciationDictionaries.yml +0 -262
  1066. package/.mock/definition/samples.yml +0 -46
  1067. package/.mock/definition/speechToSpeech.yml +0 -324
  1068. package/.mock/definition/speechToText.yml +0 -189
  1069. package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
  1070. package/.mock/definition/studio/projects/chapters.yml +0 -289
  1071. package/.mock/definition/studio/projects/content.yml +0 -94
  1072. package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
  1073. package/.mock/definition/studio/projects/snapshots.yml +0 -140
  1074. package/.mock/definition/studio/projects.yml +0 -579
  1075. package/.mock/definition/studio.yml +0 -216
  1076. package/.mock/definition/textToDialogue.yml +0 -213
  1077. package/.mock/definition/textToSoundEffects.yml +0 -92
  1078. package/.mock/definition/textToSpeech.yml +0 -959
  1079. package/.mock/definition/textToVoice.yml +0 -355
  1080. package/.mock/definition/usage.yml +0 -73
  1081. package/.mock/definition/user/subscription.yml +0 -50
  1082. package/.mock/definition/user.yml +0 -86
  1083. package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
  1084. package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
  1085. package/.mock/definition/voices/ivc.yml +0 -57
  1086. package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
  1087. package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
  1088. package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
  1089. package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
  1090. package/.mock/definition/voices/pvc/samples.yml +0 -159
  1091. package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
  1092. package/.mock/definition/voices/pvc/verification.yml +0 -47
  1093. package/.mock/definition/voices/pvc.yml +0 -137
  1094. package/.mock/definition/voices/samples/audio.yml +0 -35
  1095. package/.mock/definition/voices/settings.yml +0 -105
  1096. package/.mock/definition/voices.yml +0 -907
  1097. package/.mock/definition/workspace/groups/members.yml +0 -80
  1098. package/.mock/definition/workspace/groups.yml +0 -40
  1099. package/.mock/definition/workspace/invites.yml +0 -141
  1100. package/.mock/definition/workspace/members.yml +0 -83
  1101. package/.mock/definition/workspace/resources.yml +0 -184
  1102. package/.mock/fern.config.json +0 -4
  1103. package/.mock/openapi.json +0 -39184
  1104. package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1105. package/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1106. package/api/types/McpApprovalRequiredModel.js +0 -11
  1107. package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1108. package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1109. package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1110. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1111. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1112. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1113. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1114. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1115. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1116. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1117. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1118. package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1119. package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1120. package/dist/api/types/McpApprovalRequiredModel.js +0 -11
  1121. package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1122. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1123. package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1124. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1125. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1126. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1127. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1128. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1129. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1130. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1131. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1132. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1133. package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1134. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1135. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1136. package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1137. package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1138. package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1139. package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1140. package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1141. package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1142. package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1143. package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1144. /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
  1145. /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
  1146. /package/api/{types/NativeMcpToolConfigOutput.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
  1147. /package/api/{types/SharedSoundGenerationResponseModel.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
  1148. /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
  1149. /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/BuiltInTools.js} +0 -0
  1150. /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
  1151. /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
  1152. /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1153. /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1154. /package/core/{streaming-fetcher → stream}/index.js +0 -0
  1155. /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1156. /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1157. /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
@@ -1,959 +0,0 @@
1
- types:
2
- TextToSpeechConvertRequestOutputFormat:
3
- enum:
4
- - mp3_22050_32
5
- - mp3_44100_32
6
- - mp3_44100_64
7
- - mp3_44100_96
8
- - mp3_44100_128
9
- - mp3_44100_192
10
- - pcm_8000
11
- - pcm_16000
12
- - pcm_22050
13
- - pcm_24000
14
- - pcm_44100
15
- - pcm_48000
16
- - ulaw_8000
17
- - alaw_8000
18
- - opus_48000_32
19
- - opus_48000_64
20
- - opus_48000_96
21
- - opus_48000_128
22
- - opus_48000_192
23
- docs: >-
24
- Output format of the generated audio. Formatted as
25
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
26
- represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
27
- subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
28
- you to be subscribed to Pro tier or above. Note that the μ-law format
29
- (sometimes written mu-law, often approximated as u-law) is commonly used
30
- for Twilio audio inputs.
31
- default: mp3_44100_128
32
- source:
33
- openapi: openapi.json
34
- BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization:
35
- enum:
36
- - auto
37
- - 'on'
38
- - 'off'
39
- docs: >-
40
- This parameter controls text normalization with three modes: 'auto', 'on',
41
- and 'off'. When set to 'auto', the system will automatically decide
42
- whether to apply text normalization (e.g., spelling out numbers). With
43
- 'on', text normalization will always be applied, while with 'off', it will
44
- be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or
45
- 'eleven_flash_v2_5' models.
46
- default: auto
47
- inline: true
48
- source:
49
- openapi: openapi.json
50
- TextToSpeechConvertWithTimestampsRequestOutputFormat:
51
- enum:
52
- - mp3_22050_32
53
- - mp3_44100_32
54
- - mp3_44100_64
55
- - mp3_44100_96
56
- - mp3_44100_128
57
- - mp3_44100_192
58
- - pcm_8000
59
- - pcm_16000
60
- - pcm_22050
61
- - pcm_24000
62
- - pcm_44100
63
- - pcm_48000
64
- - ulaw_8000
65
- - alaw_8000
66
- - opus_48000_32
67
- - opus_48000_64
68
- - opus_48000_96
69
- - opus_48000_128
70
- - opus_48000_192
71
- docs: >-
72
- Output format of the generated audio. Formatted as
73
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
74
- represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
75
- subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
76
- you to be subscribed to Pro tier or above. Note that the μ-law format
77
- (sometimes written mu-law, often approximated as u-law) is commonly used
78
- for Twilio audio inputs.
79
- default: mp3_44100_128
80
- source:
81
- openapi: openapi.json
82
- BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization:
83
- enum:
84
- - auto
85
- - 'on'
86
- - 'off'
87
- docs: >-
88
- This parameter controls text normalization with three modes: 'auto', 'on',
89
- and 'off'. When set to 'auto', the system will automatically decide
90
- whether to apply text normalization (e.g., spelling out numbers). With
91
- 'on', text normalization will always be applied, while with 'off', it will
92
- be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or
93
- 'eleven_flash_v2_5' models.
94
- default: auto
95
- inline: true
96
- source:
97
- openapi: openapi.json
98
- TextToSpeechStreamRequestOutputFormat:
99
- enum:
100
- - mp3_22050_32
101
- - mp3_44100_32
102
- - mp3_44100_64
103
- - mp3_44100_96
104
- - mp3_44100_128
105
- - mp3_44100_192
106
- - pcm_8000
107
- - pcm_16000
108
- - pcm_22050
109
- - pcm_24000
110
- - pcm_44100
111
- - pcm_48000
112
- - ulaw_8000
113
- - alaw_8000
114
- - opus_48000_32
115
- - opus_48000_64
116
- - opus_48000_96
117
- - opus_48000_128
118
- - opus_48000_192
119
- docs: >-
120
- Output format of the generated audio. Formatted as
121
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
122
- represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
123
- subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
124
- you to be subscribed to Pro tier or above. Note that the μ-law format
125
- (sometimes written mu-law, often approximated as u-law) is commonly used
126
- for Twilio audio inputs.
127
- default: mp3_44100_128
128
- source:
129
- openapi: openapi.json
130
- BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization:
131
- enum:
132
- - auto
133
- - 'on'
134
- - 'off'
135
- docs: >-
136
- This parameter controls text normalization with three modes: 'auto', 'on',
137
- and 'off'. When set to 'auto', the system will automatically decide
138
- whether to apply text normalization (e.g., spelling out numbers). With
139
- 'on', text normalization will always be applied, while with 'off', it will
140
- be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or
141
- 'eleven_flash_v2_5' models.
142
- default: auto
143
- inline: true
144
- source:
145
- openapi: openapi.json
146
- TextToSpeechStreamWithTimestampsRequestOutputFormat:
147
- enum:
148
- - mp3_22050_32
149
- - mp3_44100_32
150
- - mp3_44100_64
151
- - mp3_44100_96
152
- - mp3_44100_128
153
- - mp3_44100_192
154
- - pcm_8000
155
- - pcm_16000
156
- - pcm_22050
157
- - pcm_24000
158
- - pcm_44100
159
- - pcm_48000
160
- - ulaw_8000
161
- - alaw_8000
162
- - opus_48000_32
163
- - opus_48000_64
164
- - opus_48000_96
165
- - opus_48000_128
166
- - opus_48000_192
167
- docs: >-
168
- Output format of the generated audio. Formatted as
169
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
170
- represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
171
- subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
172
- you to be subscribed to Pro tier or above. Note that the μ-law format
173
- (sometimes written mu-law, often approximated as u-law) is commonly used
174
- for Twilio audio inputs.
175
- default: mp3_44100_128
176
- source:
177
- openapi: openapi.json
178
- BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization:
179
- enum:
180
- - auto
181
- - 'on'
182
- - 'off'
183
- docs: >-
184
- This parameter controls text normalization with three modes: 'auto', 'on',
185
- and 'off'. When set to 'auto', the system will automatically decide
186
- whether to apply text normalization (e.g., spelling out numbers). With
187
- 'on', text normalization will always be applied, while with 'off', it will
188
- be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or
189
- 'eleven_flash_v2_5' models.
190
- default: auto
191
- inline: true
192
- source:
193
- openapi: openapi.json
194
- imports:
195
- root: __package__.yml
196
- service:
197
- auth: false
198
- base-path: ''
199
- endpoints:
200
- convert:
201
- path: /v1/text-to-speech/{voice_id}
202
- method: POST
203
- auth: false
204
- docs: >-
205
- Converts text into speech using a voice of your choice and returns
206
- audio.
207
- source:
208
- openapi: openapi.json
209
- path-parameters:
210
- voice_id:
211
- type: string
212
- docs: >-
213
- ID of the voice to be used. Use the [Get
214
- voices](/docs/api-reference/voices/search) endpoint list all the
215
- available voices.
216
- display-name: Create speech
217
- request:
218
- name: TextToSpeechRequest
219
- query-parameters:
220
- enable_logging:
221
- type: optional<boolean>
222
- default: true
223
- docs: >-
224
- When enable_logging is set to false zero retention mode will be
225
- used for the request. This will mean history features are
226
- unavailable for this request, including request stitching. Zero
227
- retention mode may only be used by enterprise customers.
228
- optimize_streaming_latency:
229
- type: optional<integer>
230
- docs: >
231
- You can turn on latency optimizations at some cost of quality. The
232
- best possible final latency varies by model. Possible values:
233
-
234
- 0 - default mode (no latency optimizations)
235
-
236
- 1 - normal latency optimizations (about 50% of possible latency
237
- improvement of option 3)
238
-
239
- 2 - strong latency optimizations (about 75% of possible latency
240
- improvement of option 3)
241
-
242
- 3 - max latency optimizations
243
-
244
- 4 - max latency optimizations, but also with text normalizer
245
- turned off for even more latency savings (best latency, but can
246
- mispronounce eg numbers and dates).
247
-
248
-
249
- Defaults to None.
250
- availability: deprecated
251
- output_format:
252
- type: optional<TextToSpeechConvertRequestOutputFormat>
253
- default: mp3_44100_128
254
- docs: >-
255
- Output format of the generated audio. Formatted as
256
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
257
- 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
258
- requires you to be subscribed to Creator tier or above. PCM with
259
- 44.1kHz sample rate requires you to be subscribed to Pro tier or
260
- above. Note that the μ-law format (sometimes written mu-law, often
261
- approximated as u-law) is commonly used for Twilio audio inputs.
262
- body:
263
- properties:
264
- text:
265
- type: string
266
- docs: The text that will get converted into speech.
267
- model_id:
268
- type: optional<string>
269
- docs: >-
270
- Identifier of the model that will be used, you can query them
271
- using GET /v1/models. The model needs to have support for text
272
- to speech, you can check this using the can_do_text_to_speech
273
- property.
274
- default: eleven_multilingual_v2
275
- language_code:
276
- type: optional<string>
277
- docs: >-
278
- Language code (ISO 639-1) used to enforce a language for the
279
- model. Currently only Turbo v2.5 and Flash v2.5 support language
280
- enforcement. For other models, an error will be returned if
281
- language code is provided.
282
- voice_settings:
283
- type: optional<root.VoiceSettings>
284
- docs: >-
285
- Voice settings overriding stored settings for the given voice.
286
- They are applied only on the given request.
287
- pronunciation_dictionary_locators:
288
- type: optional<list<root.PronunciationDictionaryVersionLocator>>
289
- docs: >-
290
- A list of pronunciation dictionary locators (id, version_id) to
291
- be applied to the text. They will be applied in order. You may
292
- have up to 3 locators per request
293
- seed:
294
- type: optional<integer>
295
- docs: >-
296
- If specified, our system will make a best effort to sample
297
- deterministically, such that repeated requests with the same
298
- seed and parameters should return the same result. Determinism
299
- is not guaranteed. Must be integer between 0 and 4294967295.
300
- previous_text:
301
- type: optional<string>
302
- docs: >-
303
- The text that came before the text of the current request. Can
304
- be used to improve the speech's continuity when concatenating
305
- together multiple generations or to influence the speech's
306
- continuity in the current generation.
307
- next_text:
308
- type: optional<string>
309
- docs: >-
310
- The text that comes after the text of the current request. Can
311
- be used to improve the speech's continuity when concatenating
312
- together multiple generations or to influence the speech's
313
- continuity in the current generation.
314
- previous_request_ids:
315
- type: optional<list<string>>
316
- docs: >-
317
- A list of request_id of the samples that were generated before
318
- this generation. Can be used to improve the speech's continuity
319
- when splitting up a large task into multiple requests. The
320
- results will be best when the same model is used across the
321
- generations. In case both previous_text and previous_request_ids
322
- is send, previous_text will be ignored. A maximum of 3
323
- request_ids can be send.
324
- next_request_ids:
325
- type: optional<list<string>>
326
- docs: >-
327
- A list of request_id of the samples that come after this
328
- generation. next_request_ids is especially useful for
329
- maintaining the speech's continuity when regenerating a sample
330
- that has had some audio quality issues. For example, if you have
331
- generated 3 speech clips, and you want to improve clip 2,
332
- passing the request id of clip 3 as a next_request_id (and that
333
- of clip 1 as a previous_request_id) will help maintain natural
334
- flow in the combined speech. The results will be best when the
335
- same model is used across the generations. In case both
336
- next_text and next_request_ids is send, next_text will be
337
- ignored. A maximum of 3 request_ids can be send.
338
- use_pvc_as_ivc:
339
- type: optional<boolean>
340
- docs: >-
341
- If true, we won't use PVC version of the voice for the
342
- generation but the IVC version. This is a temporary workaround
343
- for higher latency in PVC versions.
344
- default: false
345
- availability: deprecated
346
- apply_text_normalization:
347
- type: >-
348
- optional<BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization>
349
- docs: >-
350
- This parameter controls text normalization with three modes:
351
- 'auto', 'on', and 'off'. When set to 'auto', the system will
352
- automatically decide whether to apply text normalization (e.g.,
353
- spelling out numbers). With 'on', text normalization will always
354
- be applied, while with 'off', it will be skipped. Cannot be
355
- turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
356
- default: auto
357
- apply_language_text_normalization:
358
- type: optional<boolean>
359
- docs: >-
360
- This parameter controls language text normalization. This helps
361
- with proper pronunciation of text in some supported languages.
362
- WARNING: This parameter can heavily increase the latency of the
363
- request. Currently only supported for Japanese.
364
- default: false
365
- content-type: application/json
366
- response:
367
- docs: The generated audio file
368
- type: file
369
- status-code: 200
370
- errors:
371
- - root.UnprocessableEntityError
372
- examples:
373
- - path-parameters:
374
- voice_id: JBFqnCBsd6RMkjVDRZzb
375
- query-parameters:
376
- output_format: mp3_44100_128
377
- request:
378
- text: The first move is what sets everything in motion.
379
- model_id: eleven_multilingual_v2
380
- convert_with_timestamps:
381
- path: /v1/text-to-speech/{voice_id}/with-timestamps
382
- method: POST
383
- auth: false
384
- docs: >-
385
- Generate speech from text with precise character-level timing
386
- information for audio-text synchronization.
387
- source:
388
- openapi: openapi.json
389
- path-parameters:
390
- voice_id:
391
- type: string
392
- docs: >-
393
- Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices
394
- to list all the available voices.
395
- display-name: Create speech with timing
396
- request:
397
- name: TextToSpeechWithTimestampsRequest
398
- query-parameters:
399
- enable_logging:
400
- type: optional<boolean>
401
- default: true
402
- docs: >-
403
- When enable_logging is set to false zero retention mode will be
404
- used for the request. This will mean history features are
405
- unavailable for this request, including request stitching. Zero
406
- retention mode may only be used by enterprise customers.
407
- optimize_streaming_latency:
408
- type: optional<integer>
409
- docs: >
410
- You can turn on latency optimizations at some cost of quality. The
411
- best possible final latency varies by model. Possible values:
412
-
413
- 0 - default mode (no latency optimizations)
414
-
415
- 1 - normal latency optimizations (about 50% of possible latency
416
- improvement of option 3)
417
-
418
- 2 - strong latency optimizations (about 75% of possible latency
419
- improvement of option 3)
420
-
421
- 3 - max latency optimizations
422
-
423
- 4 - max latency optimizations, but also with text normalizer
424
- turned off for even more latency savings (best latency, but can
425
- mispronounce eg numbers and dates).
426
-
427
-
428
- Defaults to None.
429
- availability: deprecated
430
- output_format:
431
- type: optional<TextToSpeechConvertWithTimestampsRequestOutputFormat>
432
- default: mp3_44100_128
433
- docs: >-
434
- Output format of the generated audio. Formatted as
435
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
436
- 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
437
- requires you to be subscribed to Creator tier or above. PCM with
438
- 44.1kHz sample rate requires you to be subscribed to Pro tier or
439
- above. Note that the μ-law format (sometimes written mu-law, often
440
- approximated as u-law) is commonly used for Twilio audio inputs.
441
- body:
442
- properties:
443
- text:
444
- type: string
445
- docs: The text that will get converted into speech.
446
- model_id:
447
- type: optional<string>
448
- docs: >-
449
- Identifier of the model that will be used, you can query them
450
- using GET /v1/models. The model needs to have support for text
451
- to speech, you can check this using the can_do_text_to_speech
452
- property.
453
- default: eleven_multilingual_v2
454
- language_code:
455
- type: optional<string>
456
- docs: >-
457
- Language code (ISO 639-1) used to enforce a language for the
458
- model. Currently only Turbo v2.5 and Flash v2.5 support language
459
- enforcement. For other models, an error will be returned if
460
- language code is provided.
461
- voice_settings:
462
- type: optional<root.VoiceSettings>
463
- docs: >-
464
- Voice settings overriding stored settings for the given voice.
465
- They are applied only on the given request.
466
- pronunciation_dictionary_locators:
467
- type: optional<list<root.PronunciationDictionaryVersionLocator>>
468
- docs: >-
469
- A list of pronunciation dictionary locators (id, version_id) to
470
- be applied to the text. They will be applied in order. You may
471
- have up to 3 locators per request
472
- seed:
473
- type: optional<integer>
474
- docs: >-
475
- If specified, our system will make a best effort to sample
476
- deterministically, such that repeated requests with the same
477
- seed and parameters should return the same result. Determinism
478
- is not guaranteed. Must be integer between 0 and 4294967295.
479
- previous_text:
480
- type: optional<string>
481
- docs: >-
482
- The text that came before the text of the current request. Can
483
- be used to improve the speech's continuity when concatenating
484
- together multiple generations or to influence the speech's
485
- continuity in the current generation.
486
- next_text:
487
- type: optional<string>
488
- docs: >-
489
- The text that comes after the text of the current request. Can
490
- be used to improve the speech's continuity when concatenating
491
- together multiple generations or to influence the speech's
492
- continuity in the current generation.
493
- previous_request_ids:
494
- type: optional<list<string>>
495
- docs: >-
496
- A list of request_id of the samples that were generated before
497
- this generation. Can be used to improve the speech's continuity
498
- when splitting up a large task into multiple requests. The
499
- results will be best when the same model is used across the
500
- generations. In case both previous_text and previous_request_ids
501
- is send, previous_text will be ignored. A maximum of 3
502
- request_ids can be send.
503
- next_request_ids:
504
- type: optional<list<string>>
505
- docs: >-
506
- A list of request_id of the samples that come after this
507
- generation. next_request_ids is especially useful for
508
- maintaining the speech's continuity when regenerating a sample
509
- that has had some audio quality issues. For example, if you have
510
- generated 3 speech clips, and you want to improve clip 2,
511
- passing the request id of clip 3 as a next_request_id (and that
512
- of clip 1 as a previous_request_id) will help maintain natural
513
- flow in the combined speech. The results will be best when the
514
- same model is used across the generations. In case both
515
- next_text and next_request_ids is send, next_text will be
516
- ignored. A maximum of 3 request_ids can be send.
517
- use_pvc_as_ivc:
518
- type: optional<boolean>
519
- docs: >-
520
- If true, we won't use PVC version of the voice for the
521
- generation but the IVC version. This is a temporary workaround
522
- for higher latency in PVC versions.
523
- default: false
524
- availability: deprecated
525
- apply_text_normalization:
526
- type: >-
527
- optional<BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization>
528
- docs: >-
529
- This parameter controls text normalization with three modes:
530
- 'auto', 'on', and 'off'. When set to 'auto', the system will
531
- automatically decide whether to apply text normalization (e.g.,
532
- spelling out numbers). With 'on', text normalization will always
533
- be applied, while with 'off', it will be skipped. Cannot be
534
- turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
535
- default: auto
536
- apply_language_text_normalization:
537
- type: optional<boolean>
538
- docs: >-
539
- This parameter controls language text normalization. This helps
540
- with proper pronunciation of text in some supported languages.
541
- WARNING: This parameter can heavily increase the latency of the
542
- request. Currently only supported for Japanese.
543
- default: false
544
- content-type: application/json
545
- response:
546
- docs: Successful Response
547
- type: root.AudioWithTimestampsResponse
548
- status-code: 200
549
- errors:
550
- - root.UnprocessableEntityError
551
- examples:
552
- - path-parameters:
553
- voice_id: 21m00Tcm4TlvDq8ikWAM
554
- request:
555
- text: This is a test for the API of ElevenLabs.
556
- response:
557
- body:
558
- audio_base64: base64_encoded_audio_string
559
- alignment:
560
- characters:
561
- - H
562
- - e
563
- - l
564
- - l
565
- - o
566
- character_start_times_seconds:
567
- - 0
568
- - 0.1
569
- - 0.2
570
- - 0.3
571
- - 0.4
572
- character_end_times_seconds:
573
- - 0.1
574
- - 0.2
575
- - 0.3
576
- - 0.4
577
- - 0.5
578
- normalized_alignment:
579
- characters:
580
- - H
581
- - e
582
- - l
583
- - l
584
- - o
585
- character_start_times_seconds:
586
- - 0
587
- - 0.1
588
- - 0.2
589
- - 0.3
590
- - 0.4
591
- character_end_times_seconds:
592
- - 0.1
593
- - 0.2
594
- - 0.3
595
- - 0.4
596
- - 0.5
597
- stream:
598
- path: /v1/text-to-speech/{voice_id}/stream
599
- method: POST
600
- auth: false
601
- docs: >-
602
- Converts text into speech using a voice of your choice and returns audio
603
- as an audio stream.
604
- source:
605
- openapi: openapi.json
606
- path-parameters:
607
- voice_id:
608
- type: string
609
- docs: >-
610
- ID of the voice to be used. Use the [Get
611
- voices](/docs/api-reference/voices/search) endpoint list all the
612
- available voices.
613
- display-name: Stream speech
614
- request:
615
- name: StreamTextToSpeechRequest
616
- query-parameters:
617
- enable_logging:
618
- type: optional<boolean>
619
- default: true
620
- docs: >-
621
- When enable_logging is set to false zero retention mode will be
622
- used for the request. This will mean history features are
623
- unavailable for this request, including request stitching. Zero
624
- retention mode may only be used by enterprise customers.
625
- optimize_streaming_latency:
626
- type: optional<integer>
627
- docs: >
628
- You can turn on latency optimizations at some cost of quality. The
629
- best possible final latency varies by model. Possible values:
630
-
631
- 0 - default mode (no latency optimizations)
632
-
633
- 1 - normal latency optimizations (about 50% of possible latency
634
- improvement of option 3)
635
-
636
- 2 - strong latency optimizations (about 75% of possible latency
637
- improvement of option 3)
638
-
639
- 3 - max latency optimizations
640
-
641
- 4 - max latency optimizations, but also with text normalizer
642
- turned off for even more latency savings (best latency, but can
643
- mispronounce eg numbers and dates).
644
-
645
-
646
- Defaults to None.
647
- availability: deprecated
648
- output_format:
649
- type: optional<TextToSpeechStreamRequestOutputFormat>
650
- default: mp3_44100_128
651
- docs: >-
652
- Output format of the generated audio. Formatted as
653
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
654
- 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
655
- requires you to be subscribed to Creator tier or above. PCM with
656
- 44.1kHz sample rate requires you to be subscribed to Pro tier or
657
- above. Note that the μ-law format (sometimes written mu-law, often
658
- approximated as u-law) is commonly used for Twilio audio inputs.
659
- body:
660
- properties:
661
- text:
662
- type: string
663
- docs: The text that will get converted into speech.
664
- model_id:
665
- type: optional<string>
666
- docs: >-
667
- Identifier of the model that will be used, you can query them
668
- using GET /v1/models. The model needs to have support for text
669
- to speech, you can check this using the can_do_text_to_speech
670
- property.
671
- default: eleven_multilingual_v2
672
- language_code:
673
- type: optional<string>
674
- docs: >-
675
- Language code (ISO 639-1) used to enforce a language for the
676
- model. Currently only Turbo v2.5 and Flash v2.5 support language
677
- enforcement. For other models, an error will be returned if
678
- language code is provided.
679
- voice_settings:
680
- type: optional<root.VoiceSettings>
681
- docs: >-
682
- Voice settings overriding stored settings for the given voice.
683
- They are applied only on the given request.
684
- pronunciation_dictionary_locators:
685
- type: optional<list<root.PronunciationDictionaryVersionLocator>>
686
- docs: >-
687
- A list of pronunciation dictionary locators (id, version_id) to
688
- be applied to the text. They will be applied in order. You may
689
- have up to 3 locators per request
690
- seed:
691
- type: optional<integer>
692
- docs: >-
693
- If specified, our system will make a best effort to sample
694
- deterministically, such that repeated requests with the same
695
- seed and parameters should return the same result. Determinism
696
- is not guaranteed. Must be integer between 0 and 4294967295.
697
- previous_text:
698
- type: optional<string>
699
- docs: >-
700
- The text that came before the text of the current request. Can
701
- be used to improve the speech's continuity when concatenating
702
- together multiple generations or to influence the speech's
703
- continuity in the current generation.
704
- next_text:
705
- type: optional<string>
706
- docs: >-
707
- The text that comes after the text of the current request. Can
708
- be used to improve the speech's continuity when concatenating
709
- together multiple generations or to influence the speech's
710
- continuity in the current generation.
711
- previous_request_ids:
712
- type: optional<list<string>>
713
- docs: >-
714
- A list of request_id of the samples that were generated before
715
- this generation. Can be used to improve the speech's continuity
716
- when splitting up a large task into multiple requests. The
717
- results will be best when the same model is used across the
718
- generations. In case both previous_text and previous_request_ids
719
- is send, previous_text will be ignored. A maximum of 3
720
- request_ids can be send.
721
- next_request_ids:
722
- type: optional<list<string>>
723
- docs: >-
724
- A list of request_id of the samples that come after this
725
- generation. next_request_ids is especially useful for
726
- maintaining the speech's continuity when regenerating a sample
727
- that has had some audio quality issues. For example, if you have
728
- generated 3 speech clips, and you want to improve clip 2,
729
- passing the request id of clip 3 as a next_request_id (and that
730
- of clip 1 as a previous_request_id) will help maintain natural
731
- flow in the combined speech. The results will be best when the
732
- same model is used across the generations. In case both
733
- next_text and next_request_ids is send, next_text will be
734
- ignored. A maximum of 3 request_ids can be send.
735
- use_pvc_as_ivc:
736
- type: optional<boolean>
737
- docs: >-
738
- If true, we won't use PVC version of the voice for the
739
- generation but the IVC version. This is a temporary workaround
740
- for higher latency in PVC versions.
741
- default: false
742
- availability: deprecated
743
- apply_text_normalization:
744
- type: >-
745
- optional<BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization>
746
- docs: >-
747
- This parameter controls text normalization with three modes:
748
- 'auto', 'on', and 'off'. When set to 'auto', the system will
749
- automatically decide whether to apply text normalization (e.g.,
750
- spelling out numbers). With 'on', text normalization will always
751
- be applied, while with 'off', it will be skipped. Cannot be
752
- turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
753
- default: auto
754
- apply_language_text_normalization:
755
- type: optional<boolean>
756
- docs: >-
757
- This parameter controls language text normalization. This helps
758
- with proper pronunciation of text in some supported languages.
759
- WARNING: This parameter can heavily increase the latency of the
760
- request. Currently only supported for Japanese.
761
- default: false
762
- content-type: application/json
763
- response:
764
- docs: Streaming audio data
765
- type: file
766
- status-code: 200
767
- errors:
768
- - root.UnprocessableEntityError
769
- examples:
770
- - path-parameters:
771
- voice_id: JBFqnCBsd6RMkjVDRZzb
772
- query-parameters:
773
- output_format: mp3_44100_128
774
- request:
775
- text: The first move is what sets everything in motion.
776
- model_id: eleven_multilingual_v2
777
- stream_with_timestamps:
778
- path: /v1/text-to-speech/{voice_id}/stream/with-timestamps
779
- method: POST
780
- auth: false
781
- docs: >-
782
- Converts text into speech using a voice of your choice and returns a
783
- stream of JSONs containing audio as a base64 encoded string together
784
- with information on when which character was spoken.
785
- source:
786
- openapi: openapi.json
787
- path-parameters:
788
- voice_id:
789
- type: string
790
- docs: >-
791
- ID of the voice to be used. Use the [Get
792
- voices](/docs/api-reference/voices/search) endpoint list all the
793
- available voices.
794
- display-name: Stream speech with timing
795
- request:
796
- name: StreamTextToSpeechWithTimestampsRequest
797
- query-parameters:
798
- enable_logging:
799
- type: optional<boolean>
800
- default: true
801
- docs: >-
802
- When enable_logging is set to false zero retention mode will be
803
- used for the request. This will mean history features are
804
- unavailable for this request, including request stitching. Zero
805
- retention mode may only be used by enterprise customers.
806
- optimize_streaming_latency:
807
- type: optional<integer>
808
- docs: >
809
- You can turn on latency optimizations at some cost of quality. The
810
- best possible final latency varies by model. Possible values:
811
-
812
- 0 - default mode (no latency optimizations)
813
-
814
- 1 - normal latency optimizations (about 50% of possible latency
815
- improvement of option 3)
816
-
817
- 2 - strong latency optimizations (about 75% of possible latency
818
- improvement of option 3)
819
-
820
- 3 - max latency optimizations
821
-
822
- 4 - max latency optimizations, but also with text normalizer
823
- turned off for even more latency savings (best latency, but can
824
- mispronounce eg numbers and dates).
825
-
826
-
827
- Defaults to None.
828
- availability: deprecated
829
- output_format:
830
- type: optional<TextToSpeechStreamWithTimestampsRequestOutputFormat>
831
- default: mp3_44100_128
832
- docs: >-
833
- Output format of the generated audio. Formatted as
834
- codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
835
- 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
836
- requires you to be subscribed to Creator tier or above. PCM with
837
- 44.1kHz sample rate requires you to be subscribed to Pro tier or
838
- above. Note that the μ-law format (sometimes written mu-law, often
839
- approximated as u-law) is commonly used for Twilio audio inputs.
840
- body:
841
- properties:
842
- text:
843
- type: string
844
- docs: The text that will get converted into speech.
845
- model_id:
846
- type: optional<string>
847
- docs: >-
848
- Identifier of the model that will be used, you can query them
849
- using GET /v1/models. The model needs to have support for text
850
- to speech, you can check this using the can_do_text_to_speech
851
- property.
852
- default: eleven_multilingual_v2
853
- language_code:
854
- type: optional<string>
855
- docs: >-
856
- Language code (ISO 639-1) used to enforce a language for the
857
- model. Currently only Turbo v2.5 and Flash v2.5 support language
858
- enforcement. For other models, an error will be returned if
859
- language code is provided.
860
- voice_settings:
861
- type: optional<root.VoiceSettings>
862
- docs: >-
863
- Voice settings overriding stored settings for the given voice.
864
- They are applied only on the given request.
865
- pronunciation_dictionary_locators:
866
- type: optional<list<root.PronunciationDictionaryVersionLocator>>
867
- docs: >-
868
- A list of pronunciation dictionary locators (id, version_id) to
869
- be applied to the text. They will be applied in order. You may
870
- have up to 3 locators per request
871
- seed:
872
- type: optional<integer>
873
- docs: >-
874
- If specified, our system will make a best effort to sample
875
- deterministically, such that repeated requests with the same
876
- seed and parameters should return the same result. Determinism
877
- is not guaranteed. Must be integer between 0 and 4294967295.
878
- previous_text:
879
- type: optional<string>
880
- docs: >-
881
- The text that came before the text of the current request. Can
882
- be used to improve the speech's continuity when concatenating
883
- together multiple generations or to influence the speech's
884
- continuity in the current generation.
885
- next_text:
886
- type: optional<string>
887
- docs: >-
888
- The text that comes after the text of the current request. Can
889
- be used to improve the speech's continuity when concatenating
890
- together multiple generations or to influence the speech's
891
- continuity in the current generation.
892
- previous_request_ids:
893
- type: optional<list<string>>
894
- docs: >-
895
- A list of request_id of the samples that were generated before
896
- this generation. Can be used to improve the speech's continuity
897
- when splitting up a large task into multiple requests. The
898
- results will be best when the same model is used across the
899
- generations. In case both previous_text and previous_request_ids
900
- is send, previous_text will be ignored. A maximum of 3
901
- request_ids can be send.
902
- next_request_ids:
903
- type: optional<list<string>>
904
- docs: >-
905
- A list of request_id of the samples that come after this
906
- generation. next_request_ids is especially useful for
907
- maintaining the speech's continuity when regenerating a sample
908
- that has had some audio quality issues. For example, if you have
909
- generated 3 speech clips, and you want to improve clip 2,
910
- passing the request id of clip 3 as a next_request_id (and that
911
- of clip 1 as a previous_request_id) will help maintain natural
912
- flow in the combined speech. The results will be best when the
913
- same model is used across the generations. In case both
914
- next_text and next_request_ids is send, next_text will be
915
- ignored. A maximum of 3 request_ids can be send.
916
- use_pvc_as_ivc:
917
- type: optional<boolean>
918
- docs: >-
919
- If true, we won't use PVC version of the voice for the
920
- generation but the IVC version. This is a temporary workaround
921
- for higher latency in PVC versions.
922
- default: false
923
- availability: deprecated
924
- apply_text_normalization:
925
- type: >-
926
- optional<BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization>
927
- docs: >-
928
- This parameter controls text normalization with three modes:
929
- 'auto', 'on', and 'off'. When set to 'auto', the system will
930
- automatically decide whether to apply text normalization (e.g.,
931
- spelling out numbers). With 'on', text normalization will always
932
- be applied, while with 'off', it will be skipped. Cannot be
933
- turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
934
- default: auto
935
- apply_language_text_normalization:
936
- type: optional<boolean>
937
- docs: >-
938
- This parameter controls language text normalization. This helps
939
- with proper pronunciation of text in some supported languages.
940
- WARNING: This parameter can heavily increase the latency of the
941
- request. Currently only supported for Japanese.
942
- default: false
943
- content-type: application/json
944
- response-stream:
945
- docs: Stream of transcription chunks
946
- type: root.StreamingAudioChunkWithTimestampsResponse
947
- format: json
948
- errors:
949
- - root.UnprocessableEntityError
950
- examples:
951
- - path-parameters:
952
- voice_id: JBFqnCBsd6RMkjVDRZzb
953
- query-parameters:
954
- output_format: mp3_44100_128
955
- request:
956
- text: The first move is what sets everything in motion.
957
- model_id: eleven_multilingual_v2
958
- source:
959
- openapi: openapi.json