@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
@@ -36,10 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.McpApprovalRequiredModel = void 0;
39
+ exports.WebhookUsageType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.McpApprovalRequiredModel = core.serialization.enum_([
42
- "user_approval_always_given",
43
- "user_approval_never_given",
44
- "user_approval_required_per_tool",
41
+ exports.WebhookUsageType = core.serialization.enum_([
42
+ "ConvAI Agent Settings",
43
+ "ConvAI Settings",
44
+ "Voice Library Removal Notices",
45
+ "Speech to Text",
45
46
  ]);
@@ -10,6 +10,7 @@ import { WidgetExpandable } from "./WidgetExpandable";
10
10
  import { WidgetConfigOutputAvatar } from "./WidgetConfigOutputAvatar";
11
11
  import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
12
12
  import { WidgetTextContents } from "./WidgetTextContents";
13
+ import { WidgetStyles } from "./WidgetStyles";
13
14
  import { WidgetLanguagePreset } from "./WidgetLanguagePreset";
14
15
  export declare const WidgetConfig: core.serialization.ObjectSchema<serializers.WidgetConfig.Raw, ElevenLabs.WidgetConfig>;
15
16
  export declare namespace WidgetConfig {
@@ -45,6 +46,7 @@ export declare namespace WidgetConfig {
45
46
  transcript_enabled?: boolean | null;
46
47
  text_input_enabled?: boolean | null;
47
48
  text_contents?: WidgetTextContents.Raw | null;
49
+ styles?: WidgetStyles.Raw | null;
48
50
  language_selector?: boolean | null;
49
51
  supports_text_only?: boolean | null;
50
52
  custom_avatar_path?: string | null;
@@ -44,6 +44,7 @@ const WidgetExpandable_1 = require("./WidgetExpandable");
44
44
  const WidgetConfigOutputAvatar_1 = require("./WidgetConfigOutputAvatar");
45
45
  const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
46
46
  const WidgetTextContents_1 = require("./WidgetTextContents");
47
+ const WidgetStyles_1 = require("./WidgetStyles");
47
48
  const WidgetLanguagePreset_1 = require("./WidgetLanguagePreset");
48
49
  exports.WidgetConfig = core.serialization.object({
49
50
  variant: EmbedVariant_1.EmbedVariant.optional(),
@@ -77,6 +78,7 @@ exports.WidgetConfig = core.serialization.object({
77
78
  transcriptEnabled: core.serialization.property("transcript_enabled", core.serialization.boolean().optional()),
78
79
  textInputEnabled: core.serialization.property("text_input_enabled", core.serialization.boolean().optional()),
79
80
  textContents: core.serialization.property("text_contents", WidgetTextContents_1.WidgetTextContents.optional()),
81
+ styles: WidgetStyles_1.WidgetStyles.optional(),
80
82
  languageSelector: core.serialization.property("language_selector", core.serialization.boolean().optional()),
81
83
  supportsTextOnly: core.serialization.property("supports_text_only", core.serialization.boolean().optional()),
82
84
  customAvatarPath: core.serialization.property("custom_avatar_path", core.serialization.string().optional()),
@@ -10,6 +10,7 @@ import { WidgetExpandable } from "./WidgetExpandable";
10
10
  import { WidgetConfigResponseModelAvatar } from "./WidgetConfigResponseModelAvatar";
11
11
  import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
12
12
  import { WidgetTextContents } from "./WidgetTextContents";
13
+ import { WidgetStyles } from "./WidgetStyles";
13
14
  import { WidgetLanguagePresetResponse } from "./WidgetLanguagePresetResponse";
14
15
  export declare const WidgetConfigResponse: core.serialization.ObjectSchema<serializers.WidgetConfigResponse.Raw, ElevenLabs.WidgetConfigResponse>;
15
16
  export declare namespace WidgetConfigResponse {
@@ -45,6 +46,7 @@ export declare namespace WidgetConfigResponse {
45
46
  transcript_enabled?: boolean | null;
46
47
  text_input_enabled?: boolean | null;
47
48
  text_contents?: WidgetTextContents.Raw | null;
49
+ styles?: WidgetStyles.Raw | null;
48
50
  language: string;
49
51
  supported_language_overrides?: string[] | null;
50
52
  language_presets?: Record<string, WidgetLanguagePresetResponse.Raw> | null;
@@ -44,6 +44,7 @@ const WidgetExpandable_1 = require("./WidgetExpandable");
44
44
  const WidgetConfigResponseModelAvatar_1 = require("./WidgetConfigResponseModelAvatar");
45
45
  const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
46
46
  const WidgetTextContents_1 = require("./WidgetTextContents");
47
+ const WidgetStyles_1 = require("./WidgetStyles");
47
48
  const WidgetLanguagePresetResponse_1 = require("./WidgetLanguagePresetResponse");
48
49
  exports.WidgetConfigResponse = core.serialization.object({
49
50
  variant: EmbedVariant_1.EmbedVariant.optional(),
@@ -77,6 +78,7 @@ exports.WidgetConfigResponse = core.serialization.object({
77
78
  transcriptEnabled: core.serialization.property("transcript_enabled", core.serialization.boolean().optional()),
78
79
  textInputEnabled: core.serialization.property("text_input_enabled", core.serialization.boolean().optional()),
79
80
  textContents: core.serialization.property("text_contents", WidgetTextContents_1.WidgetTextContents.optional()),
81
+ styles: WidgetStyles_1.WidgetStyles.optional(),
80
82
  language: core.serialization.string(),
81
83
  supportedLanguageOverrides: core.serialization.property("supported_language_overrides", core.serialization.list(core.serialization.string()).optional()),
82
84
  languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), WidgetLanguagePresetResponse_1.WidgetLanguagePresetResponse).optional()),
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const WidgetStyles: core.serialization.ObjectSchema<serializers.WidgetStyles.Raw, ElevenLabs.WidgetStyles>;
8
+ export declare namespace WidgetStyles {
9
+ interface Raw {
10
+ base?: string | null;
11
+ base_hover?: string | null;
12
+ base_active?: string | null;
13
+ base_border?: string | null;
14
+ base_subtle?: string | null;
15
+ base_primary?: string | null;
16
+ base_error?: string | null;
17
+ accent?: string | null;
18
+ accent_hover?: string | null;
19
+ accent_active?: string | null;
20
+ accent_border?: string | null;
21
+ accent_subtle?: string | null;
22
+ accent_primary?: string | null;
23
+ overlay_padding?: number | null;
24
+ button_radius?: number | null;
25
+ input_radius?: number | null;
26
+ bubble_radius?: number | null;
27
+ sheet_radius?: number | null;
28
+ compact_sheet_radius?: number | null;
29
+ dropdown_sheet_radius?: number | null;
30
+ }
31
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WidgetStyles = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.WidgetStyles = core.serialization.object({
42
+ base: core.serialization.string().optional(),
43
+ baseHover: core.serialization.property("base_hover", core.serialization.string().optional()),
44
+ baseActive: core.serialization.property("base_active", core.serialization.string().optional()),
45
+ baseBorder: core.serialization.property("base_border", core.serialization.string().optional()),
46
+ baseSubtle: core.serialization.property("base_subtle", core.serialization.string().optional()),
47
+ basePrimary: core.serialization.property("base_primary", core.serialization.string().optional()),
48
+ baseError: core.serialization.property("base_error", core.serialization.string().optional()),
49
+ accent: core.serialization.string().optional(),
50
+ accentHover: core.serialization.property("accent_hover", core.serialization.string().optional()),
51
+ accentActive: core.serialization.property("accent_active", core.serialization.string().optional()),
52
+ accentBorder: core.serialization.property("accent_border", core.serialization.string().optional()),
53
+ accentSubtle: core.serialization.property("accent_subtle", core.serialization.string().optional()),
54
+ accentPrimary: core.serialization.property("accent_primary", core.serialization.string().optional()),
55
+ overlayPadding: core.serialization.property("overlay_padding", core.serialization.number().optional()),
56
+ buttonRadius: core.serialization.property("button_radius", core.serialization.number().optional()),
57
+ inputRadius: core.serialization.property("input_radius", core.serialization.number().optional()),
58
+ bubbleRadius: core.serialization.property("bubble_radius", core.serialization.number().optional()),
59
+ sheetRadius: core.serialization.property("sheet_radius", core.serialization.number().optional()),
60
+ compactSheetRadius: core.serialization.property("compact_sheet_radius", core.serialization.number().optional()),
61
+ dropdownSheetRadius: core.serialization.property("dropdown_sheet_radius", core.serialization.number().optional()),
62
+ });
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const WorkspaceResourceType: core.serialization.Schema<serializers.WorkspaceResourceType.Raw, ElevenLabs.WorkspaceResourceType>;
8
8
  export declare namespace WorkspaceResourceType {
9
- type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "music_latent" | "convai_phone_numbers" | "convai_mcps" | "convai_batch_calls";
9
+ type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "music_latent" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls";
10
10
  }
@@ -51,6 +51,6 @@ exports.WorkspaceResourceType = core.serialization.enum_([
51
51
  "convai_secrets",
52
52
  "music_latent",
53
53
  "convai_phone_numbers",
54
- "convai_mcps",
54
+ "convai_mcp_servers",
55
55
  "convai_batch_calls",
56
56
  ]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WorkspaceWebhookResponseModel } from "./WorkspaceWebhookResponseModel";
8
+ export declare const WorkspaceWebhookListResponseModel: core.serialization.ObjectSchema<serializers.WorkspaceWebhookListResponseModel.Raw, ElevenLabs.WorkspaceWebhookListResponseModel>;
9
+ export declare namespace WorkspaceWebhookListResponseModel {
10
+ interface Raw {
11
+ webhooks: WorkspaceWebhookResponseModel.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkspaceWebhookListResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const WorkspaceWebhookResponseModel_1 = require("./WorkspaceWebhookResponseModel");
42
+ exports.WorkspaceWebhookListResponseModel = core.serialization.object({
43
+ webhooks: core.serialization.list(WorkspaceWebhookResponseModel_1.WorkspaceWebhookResponseModel),
44
+ });
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WebhookAuthMethodType } from "./WebhookAuthMethodType";
8
+ import { WorkspaceWebhookUsageResponseModel } from "./WorkspaceWebhookUsageResponseModel";
9
+ export declare const WorkspaceWebhookResponseModel: core.serialization.ObjectSchema<serializers.WorkspaceWebhookResponseModel.Raw, ElevenLabs.WorkspaceWebhookResponseModel>;
10
+ export declare namespace WorkspaceWebhookResponseModel {
11
+ interface Raw {
12
+ name: string;
13
+ webhook_id: string;
14
+ webhook_url: string;
15
+ is_disabled: boolean;
16
+ is_auto_disabled: boolean;
17
+ created_at_unix: number;
18
+ auth_type: WebhookAuthMethodType.Raw;
19
+ usage?: WorkspaceWebhookUsageResponseModel.Raw[] | null;
20
+ most_recent_failure_error_code?: number | null;
21
+ most_recent_failure_timestamp?: number | null;
22
+ }
23
+ }
@@ -36,17 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.NativeMcpToolConfigOutput = void 0;
40
- const serializers = __importStar(require("../index"));
39
+ exports.WorkspaceWebhookResponseModel = void 0;
41
40
  const core = __importStar(require("../../core"));
42
- const McpApprovalRequiredModel_1 = require("./McpApprovalRequiredModel");
43
- exports.NativeMcpToolConfigOutput = core.serialization.object({
44
- id: core.serialization.string().optional(),
41
+ const WebhookAuthMethodType_1 = require("./WebhookAuthMethodType");
42
+ const WorkspaceWebhookUsageResponseModel_1 = require("./WorkspaceWebhookUsageResponseModel");
43
+ exports.WorkspaceWebhookResponseModel = core.serialization.object({
45
44
  name: core.serialization.string(),
46
- description: core.serialization.string(),
47
- responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
48
- parameters: core.serialization.lazyObject(() => serializers.ObjectJsonSchemaPropertyOutput).optional(),
49
- mcpToolName: core.serialization.property("mcp_tool_name", core.serialization.string()),
50
- mcpServerId: core.serialization.property("mcp_server_id", core.serialization.string()),
51
- approvalMode: core.serialization.property("approval_mode", McpApprovalRequiredModel_1.McpApprovalRequiredModel.optional()),
45
+ webhookId: core.serialization.property("webhook_id", core.serialization.string()),
46
+ webhookUrl: core.serialization.property("webhook_url", core.serialization.string()),
47
+ isDisabled: core.serialization.property("is_disabled", core.serialization.boolean()),
48
+ isAutoDisabled: core.serialization.property("is_auto_disabled", core.serialization.boolean()),
49
+ createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
50
+ authType: core.serialization.property("auth_type", WebhookAuthMethodType_1.WebhookAuthMethodType),
51
+ usage: core.serialization.list(WorkspaceWebhookUsageResponseModel_1.WorkspaceWebhookUsageResponseModel).optional(),
52
+ mostRecentFailureErrorCode: core.serialization.property("most_recent_failure_error_code", core.serialization.number().optional()),
53
+ mostRecentFailureTimestamp: core.serialization.property("most_recent_failure_timestamp", core.serialization.number().optional()),
52
54
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WebhookUsageType } from "./WebhookUsageType";
8
+ export declare const WorkspaceWebhookUsageResponseModel: core.serialization.ObjectSchema<serializers.WorkspaceWebhookUsageResponseModel.Raw, ElevenLabs.WorkspaceWebhookUsageResponseModel>;
9
+ export declare namespace WorkspaceWebhookUsageResponseModel {
10
+ interface Raw {
11
+ usage_type: WebhookUsageType.Raw;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkspaceWebhookUsageResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const WebhookUsageType_1 = require("./WebhookUsageType");
42
+ exports.WorkspaceWebhookUsageResponseModel = core.serialization.object({
43
+ usageType: core.serialization.property("usage_type", WebhookUsageType_1.WebhookUsageType),
44
+ });
@@ -69,6 +69,7 @@ export * from "./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnaps
69
69
  export * from "./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost";
70
70
  export * from "./UpdatePronunciationDictionariesRequest";
71
71
  export * from "./BreakdownTypes";
72
+ export * from "./BuiltInTools";
72
73
  export * from "./ChapterContentBlockExtendableNodeResponseModel";
73
74
  export * from "./ChapterContentBlockInputModelSubType";
74
75
  export * from "./ChapterContentBlockInputModel";
@@ -96,6 +97,7 @@ export * from "./ConvAiSecretLocator";
96
97
  export * from "./ConvAiStoredSecretDependenciesToolsItem";
97
98
  export * from "./ConvAiStoredSecretDependenciesAgentToolsItem";
98
99
  export * from "./ConvAiStoredSecretDependencies";
100
+ export * from "./ConvAiUserSecretDbModel";
99
101
  export * from "./ConvAiWebhooks";
100
102
  export * from "./ConvAiWorkspaceStoredSecretConfig";
101
103
  export * from "./ConversationChargingCommonModel";
@@ -141,6 +143,7 @@ export * from "./ConversationInitiationClientDataRequestOutput";
141
143
  export * from "./ConversationInitiationClientDataWebhookRequestHeadersValue";
142
144
  export * from "./ConversationInitiationClientDataWebhook";
143
145
  export * from "./ConversationSignedUrlResponseModel";
146
+ export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
144
147
  export * from "./ConversationSimulationSpecification";
145
148
  export * from "./ConversationSummaryResponseModelStatus";
146
149
  export * from "./ConversationSummaryResponseModel";
@@ -250,7 +253,6 @@ export * from "./GetProjectsResponse";
250
253
  export * from "./GetPronunciationDictionariesMetadataResponseModel";
251
254
  export * from "./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource";
252
255
  export * from "./GetPronunciationDictionaryMetadataResponse";
253
- export * from "./GetSharedSoundGenerationsResponseModel";
254
256
  export * from "./GetSpeechHistoryResponse";
255
257
  export * from "./GetVoicesResponse";
256
258
  export * from "./GetVoicesV2Response";
@@ -260,6 +262,7 @@ export * from "./HistoryAlignmentResponseModel";
260
262
  export * from "./HistoryAlignmentsResponseModel";
261
263
  export * from "./HtmlExportOptions";
262
264
  export * from "./ImageAvatar";
265
+ export * from "./IntegrationType";
263
266
  export * from "./InvoiceResponse";
264
267
  export * from "./KnowledgeBaseDocumentChunkResponseModel";
265
268
  export * from "./KnowledgeBaseDocumentMetadataResponseModel";
@@ -281,10 +284,26 @@ export * from "./LanguagePresetTranslation";
281
284
  export * from "./LanguageResponse";
282
285
  export * from "./LibraryVoiceResponseModelCategory";
283
286
  export * from "./LibraryVoiceResponse";
287
+ export * from "./ListMcpToolsResponseModel";
284
288
  export * from "./LiteralJsonSchemaPropertyType";
285
289
  export * from "./LiteralJsonSchemaPropertyConstantValue";
286
290
  export * from "./LiteralJsonSchemaProperty";
287
- export * from "./McpApprovalRequiredModel";
291
+ export * from "./McpApprovalPolicy";
292
+ export * from "./McpServerConfigInputUrl";
293
+ export * from "./McpServerConfigInputSecretToken";
294
+ export * from "./McpServerConfigInputRequestHeadersValue";
295
+ export * from "./McpServerConfigInput";
296
+ export * from "./McpServerConfigOutputUrl";
297
+ export * from "./McpServerConfigOutputSecretToken";
298
+ export * from "./McpServerConfigOutputRequestHeadersValue";
299
+ export * from "./McpServerConfigOutput";
300
+ export * from "./McpServerMetadataResponseModel";
301
+ export * from "./McpServerResponseModelDependentAgentsItem";
302
+ export * from "./McpServerResponseModel";
303
+ export * from "./McpServerTransport";
304
+ export * from "./McpServersResponseModel";
305
+ export * from "./McpToolApprovalHash";
306
+ export * from "./McpToolApprovalPolicy";
288
307
  export * from "./McpToolConfigInput";
289
308
  export * from "./McpToolConfigOutput";
290
309
  export * from "./ManualVerificationFileResponse";
@@ -298,8 +317,6 @@ export * from "./ModelSettingsResponseModel";
298
317
  export * from "./ModerationStatusResponseModelSafetyStatus";
299
318
  export * from "./ModerationStatusResponseModelWarningStatus";
300
319
  export * from "./ModerationStatusResponseModel";
301
- export * from "./NativeMcpToolConfigInput";
302
- export * from "./NativeMcpToolConfigOutput";
303
320
  export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
304
321
  export * from "./ObjectJsonSchemaPropertyInput";
305
322
  export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
@@ -395,7 +412,6 @@ export * from "./SegmentUpdateResponse";
395
412
  export * from "./SegmentedJsonExportOptions";
396
413
  export * from "./ShareOptionResponseModelType";
397
414
  export * from "./ShareOptionResponseModel";
398
- export * from "./SharedSoundGenerationResponseModel";
399
415
  export * from "./SimilarVoiceCategory";
400
416
  export * from "./SimilarVoice";
401
417
  export * from "./SimilarVoicesForSpeakerResponse";
@@ -439,6 +455,8 @@ export * from "./TtsModelFamily";
439
455
  export * from "./TtsOptimizeStreamingLatency";
440
456
  export * from "./TtsOutputFormat";
441
457
  export * from "./TelephonyProvider";
458
+ export * from "./Tool";
459
+ export * from "./ToolAnnotations";
442
460
  export * from "./ToolMockConfig";
443
461
  export * from "./TransferToAgentToolConfig";
444
462
  export * from "./TransferToNumberToolConfig";
@@ -475,6 +493,7 @@ export * from "./VoiceSharingResponseModelCategory";
475
493
  export * from "./ReviewStatus";
476
494
  export * from "./VoiceSharingResponse";
477
495
  export * from "./VoiceVerificationResponse";
496
+ export * from "./WebhookAuthMethodType";
478
497
  export * from "./WebhookToolApiSchemaConfigInputMethod";
479
498
  export * from "./WebhookToolApiSchemaConfigInputRequestHeadersValue";
480
499
  export * from "./WebhookToolApiSchemaConfigInput";
@@ -483,6 +502,7 @@ export * from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
483
502
  export * from "./WebhookToolApiSchemaConfigOutput";
484
503
  export * from "./WebhookToolConfigInput";
485
504
  export * from "./WebhookToolConfigOutput";
505
+ export * from "./WebhookUsageType";
486
506
  export * from "./WidgetConfigInputAvatar";
487
507
  export * from "./WidgetConfig";
488
508
  export * from "./WidgetConfigOutputAvatar";
@@ -493,10 +513,14 @@ export * from "./WidgetFeedbackMode";
493
513
  export * from "./WidgetLanguagePreset";
494
514
  export * from "./WidgetLanguagePresetResponse";
495
515
  export * from "./WidgetPlacement";
516
+ export * from "./WidgetStyles";
496
517
  export * from "./WidgetTextContents";
497
518
  export * from "./WorkspaceBatchCallsResponse";
498
519
  export * from "./WorkspaceGroupByNameResponseModel";
499
520
  export * from "./WorkspaceResourceType";
521
+ export * from "./WorkspaceWebhookListResponseModel";
522
+ export * from "./WorkspaceWebhookResponseModel";
523
+ export * from "./WorkspaceWebhookUsageResponseModel";
500
524
  export * from "./OutputFormat";
501
525
  export * from "./HistoryItemResponse";
502
526
  export * from "./Age";
@@ -85,6 +85,7 @@ __exportStar(require("./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapter
85
85
  __exportStar(require("./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost"), exports);
86
86
  __exportStar(require("./UpdatePronunciationDictionariesRequest"), exports);
87
87
  __exportStar(require("./BreakdownTypes"), exports);
88
+ __exportStar(require("./BuiltInTools"), exports);
88
89
  __exportStar(require("./ChapterContentBlockExtendableNodeResponseModel"), exports);
89
90
  __exportStar(require("./ChapterContentBlockInputModelSubType"), exports);
90
91
  __exportStar(require("./ChapterContentBlockInputModel"), exports);
@@ -112,6 +113,7 @@ __exportStar(require("./ConvAiSecretLocator"), exports);
112
113
  __exportStar(require("./ConvAiStoredSecretDependenciesToolsItem"), exports);
113
114
  __exportStar(require("./ConvAiStoredSecretDependenciesAgentToolsItem"), exports);
114
115
  __exportStar(require("./ConvAiStoredSecretDependencies"), exports);
116
+ __exportStar(require("./ConvAiUserSecretDbModel"), exports);
115
117
  __exportStar(require("./ConvAiWebhooks"), exports);
116
118
  __exportStar(require("./ConvAiWorkspaceStoredSecretConfig"), exports);
117
119
  __exportStar(require("./ConversationChargingCommonModel"), exports);
@@ -157,6 +159,7 @@ __exportStar(require("./ConversationInitiationClientDataRequestOutput"), exports
157
159
  __exportStar(require("./ConversationInitiationClientDataWebhookRequestHeadersValue"), exports);
158
160
  __exportStar(require("./ConversationInitiationClientDataWebhook"), exports);
159
161
  __exportStar(require("./ConversationSignedUrlResponseModel"), exports);
162
+ __exportStar(require("./ConversationSimulationSpecificationDynamicVariablesValue"), exports);
160
163
  __exportStar(require("./ConversationSimulationSpecification"), exports);
161
164
  __exportStar(require("./ConversationSummaryResponseModelStatus"), exports);
162
165
  __exportStar(require("./ConversationSummaryResponseModel"), exports);
@@ -266,7 +269,6 @@ __exportStar(require("./GetProjectsResponse"), exports);
266
269
  __exportStar(require("./GetPronunciationDictionariesMetadataResponseModel"), exports);
267
270
  __exportStar(require("./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource"), exports);
268
271
  __exportStar(require("./GetPronunciationDictionaryMetadataResponse"), exports);
269
- __exportStar(require("./GetSharedSoundGenerationsResponseModel"), exports);
270
272
  __exportStar(require("./GetSpeechHistoryResponse"), exports);
271
273
  __exportStar(require("./GetVoicesResponse"), exports);
272
274
  __exportStar(require("./GetVoicesV2Response"), exports);
@@ -276,6 +278,7 @@ __exportStar(require("./HistoryAlignmentResponseModel"), exports);
276
278
  __exportStar(require("./HistoryAlignmentsResponseModel"), exports);
277
279
  __exportStar(require("./HtmlExportOptions"), exports);
278
280
  __exportStar(require("./ImageAvatar"), exports);
281
+ __exportStar(require("./IntegrationType"), exports);
279
282
  __exportStar(require("./InvoiceResponse"), exports);
280
283
  __exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
281
284
  __exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
@@ -297,10 +300,26 @@ __exportStar(require("./LanguagePresetTranslation"), exports);
297
300
  __exportStar(require("./LanguageResponse"), exports);
298
301
  __exportStar(require("./LibraryVoiceResponseModelCategory"), exports);
299
302
  __exportStar(require("./LibraryVoiceResponse"), exports);
303
+ __exportStar(require("./ListMcpToolsResponseModel"), exports);
300
304
  __exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
301
305
  __exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
302
306
  __exportStar(require("./LiteralJsonSchemaProperty"), exports);
303
- __exportStar(require("./McpApprovalRequiredModel"), exports);
307
+ __exportStar(require("./McpApprovalPolicy"), exports);
308
+ __exportStar(require("./McpServerConfigInputUrl"), exports);
309
+ __exportStar(require("./McpServerConfigInputSecretToken"), exports);
310
+ __exportStar(require("./McpServerConfigInputRequestHeadersValue"), exports);
311
+ __exportStar(require("./McpServerConfigInput"), exports);
312
+ __exportStar(require("./McpServerConfigOutputUrl"), exports);
313
+ __exportStar(require("./McpServerConfigOutputSecretToken"), exports);
314
+ __exportStar(require("./McpServerConfigOutputRequestHeadersValue"), exports);
315
+ __exportStar(require("./McpServerConfigOutput"), exports);
316
+ __exportStar(require("./McpServerMetadataResponseModel"), exports);
317
+ __exportStar(require("./McpServerResponseModelDependentAgentsItem"), exports);
318
+ __exportStar(require("./McpServerResponseModel"), exports);
319
+ __exportStar(require("./McpServerTransport"), exports);
320
+ __exportStar(require("./McpServersResponseModel"), exports);
321
+ __exportStar(require("./McpToolApprovalHash"), exports);
322
+ __exportStar(require("./McpToolApprovalPolicy"), exports);
304
323
  __exportStar(require("./McpToolConfigInput"), exports);
305
324
  __exportStar(require("./McpToolConfigOutput"), exports);
306
325
  __exportStar(require("./ManualVerificationFileResponse"), exports);
@@ -314,8 +333,6 @@ __exportStar(require("./ModelSettingsResponseModel"), exports);
314
333
  __exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
315
334
  __exportStar(require("./ModerationStatusResponseModelWarningStatus"), exports);
316
335
  __exportStar(require("./ModerationStatusResponseModel"), exports);
317
- __exportStar(require("./NativeMcpToolConfigInput"), exports);
318
- __exportStar(require("./NativeMcpToolConfigOutput"), exports);
319
336
  __exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports);
320
337
  __exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
321
338
  __exportStar(require("./ObjectJsonSchemaPropertyOutputPropertiesValue"), exports);
@@ -411,7 +428,6 @@ __exportStar(require("./SegmentUpdateResponse"), exports);
411
428
  __exportStar(require("./SegmentedJsonExportOptions"), exports);
412
429
  __exportStar(require("./ShareOptionResponseModelType"), exports);
413
430
  __exportStar(require("./ShareOptionResponseModel"), exports);
414
- __exportStar(require("./SharedSoundGenerationResponseModel"), exports);
415
431
  __exportStar(require("./SimilarVoiceCategory"), exports);
416
432
  __exportStar(require("./SimilarVoice"), exports);
417
433
  __exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
@@ -455,6 +471,8 @@ __exportStar(require("./TtsModelFamily"), exports);
455
471
  __exportStar(require("./TtsOptimizeStreamingLatency"), exports);
456
472
  __exportStar(require("./TtsOutputFormat"), exports);
457
473
  __exportStar(require("./TelephonyProvider"), exports);
474
+ __exportStar(require("./Tool"), exports);
475
+ __exportStar(require("./ToolAnnotations"), exports);
458
476
  __exportStar(require("./ToolMockConfig"), exports);
459
477
  __exportStar(require("./TransferToAgentToolConfig"), exports);
460
478
  __exportStar(require("./TransferToNumberToolConfig"), exports);
@@ -491,6 +509,7 @@ __exportStar(require("./VoiceSharingResponseModelCategory"), exports);
491
509
  __exportStar(require("./ReviewStatus"), exports);
492
510
  __exportStar(require("./VoiceSharingResponse"), exports);
493
511
  __exportStar(require("./VoiceVerificationResponse"), exports);
512
+ __exportStar(require("./WebhookAuthMethodType"), exports);
494
513
  __exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
495
514
  __exportStar(require("./WebhookToolApiSchemaConfigInputRequestHeadersValue"), exports);
496
515
  __exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
@@ -499,6 +518,7 @@ __exportStar(require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue"), e
499
518
  __exportStar(require("./WebhookToolApiSchemaConfigOutput"), exports);
500
519
  __exportStar(require("./WebhookToolConfigInput"), exports);
501
520
  __exportStar(require("./WebhookToolConfigOutput"), exports);
521
+ __exportStar(require("./WebhookUsageType"), exports);
502
522
  __exportStar(require("./WidgetConfigInputAvatar"), exports);
503
523
  __exportStar(require("./WidgetConfig"), exports);
504
524
  __exportStar(require("./WidgetConfigOutputAvatar"), exports);
@@ -509,10 +529,14 @@ __exportStar(require("./WidgetFeedbackMode"), exports);
509
529
  __exportStar(require("./WidgetLanguagePreset"), exports);
510
530
  __exportStar(require("./WidgetLanguagePresetResponse"), exports);
511
531
  __exportStar(require("./WidgetPlacement"), exports);
532
+ __exportStar(require("./WidgetStyles"), exports);
512
533
  __exportStar(require("./WidgetTextContents"), exports);
513
534
  __exportStar(require("./WorkspaceBatchCallsResponse"), exports);
514
535
  __exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
515
536
  __exportStar(require("./WorkspaceResourceType"), exports);
537
+ __exportStar(require("./WorkspaceWebhookListResponseModel"), exports);
538
+ __exportStar(require("./WorkspaceWebhookResponseModel"), exports);
539
+ __exportStar(require("./WorkspaceWebhookUsageResponseModel"), exports);
516
540
  __exportStar(require("./OutputFormat"), exports);
517
541
  __exportStar(require("./HistoryItemResponse"), exports);
518
542
  __exportStar(require("./Age"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.2.0";
1
+ export declare const SDK_VERSION = "v2.3.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v2.2.0";
4
+ exports.SDK_VERSION = "v2.3.0";