@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
@@ -0,0 +1,48 @@
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.BuiltInTools = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
42
+ exports.BuiltInTools = core.serialization.object({
43
+ endCall: core.serialization.property("end_call", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
44
+ languageDetection: core.serialization.property("language_detection", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
45
+ transferToAgent: core.serialization.property("transfer_to_agent", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
46
+ transferToNumber: core.serialization.property("transfer_to_number", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
47
+ skipTurn: core.serialization.property("skip_turn", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
48
+ });
@@ -10,7 +10,7 @@ export declare const ChapterContentBlockInputModel: core.serialization.ObjectSch
10
10
  export declare namespace ChapterContentBlockInputModel {
11
11
  interface Raw {
12
12
  sub_type?: ChapterContentBlockInputModelSubType.Raw | null;
13
- block_id?: string | null;
14
13
  nodes: ChapterContentParagraphTtsNodeInputModel.Raw[];
14
+ block_id?: string | null;
15
15
  }
16
16
  }
@@ -42,6 +42,6 @@ const ChapterContentBlockInputModelSubType_1 = require("./ChapterContentBlockInp
42
42
  const ChapterContentParagraphTtsNodeInputModel_1 = require("./ChapterContentParagraphTtsNodeInputModel");
43
43
  exports.ChapterContentBlockInputModel = core.serialization.object({
44
44
  subType: core.serialization.property("sub_type", ChapterContentBlockInputModelSubType_1.ChapterContentBlockInputModelSubType.optional()),
45
- blockId: core.serialization.property("block_id", core.serialization.string().optional()),
46
45
  nodes: core.serialization.list(ChapterContentParagraphTtsNodeInputModel_1.ChapterContentParagraphTtsNodeInputModel),
46
+ blockId: core.serialization.property("block_id", core.serialization.string().optional()),
47
47
  });
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ClientEvent: core.serialization.Schema<serializers.ClientEvent.Raw, ElevenLabs.ClientEvent>;
8
8
  export declare namespace ClientEvent {
9
- type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response" | "internal_native_mcp_tool_call";
9
+ type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_response" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response";
10
10
  }
@@ -48,8 +48,10 @@ exports.ClientEvent = core.serialization.enum_([
48
48
  "agent_response",
49
49
  "agent_response_correction",
50
50
  "client_tool_call",
51
+ "mcp_tool_call",
52
+ "mcp_connection_status",
53
+ "agent_tool_response",
51
54
  "vad_score",
52
55
  "internal_turn_probability",
53
56
  "internal_tentative_agent_response",
54
- "internal_native_mcp_tool_call",
55
57
  ]);
@@ -0,0 +1,15 @@
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 ConvAiUserSecretDbModel: core.serialization.ObjectSchema<serializers.ConvAiUserSecretDbModel.Raw, ElevenLabs.ConvAiUserSecretDbModel>;
8
+ export declare namespace ConvAiUserSecretDbModel {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ encrypted_value: string;
13
+ nonce: string;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ConvAiUserSecretDbModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ConvAiUserSecretDbModel = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ name: core.serialization.string(),
44
+ encryptedValue: core.serialization.property("encrypted_value", core.serialization.string()),
45
+ nonce: core.serialization.string(),
46
+ });
@@ -9,6 +9,7 @@ export declare const ConversationChargingCommonModel: core.serialization.ObjectS
9
9
  export declare namespace ConversationChargingCommonModel {
10
10
  interface Raw {
11
11
  dev_discount?: boolean | null;
12
+ is_burst?: boolean | null;
12
13
  tier?: string | null;
13
14
  llm_usage?: LlmCategoryUsage.Raw | null;
14
15
  llm_price?: number | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const LlmCategoryUsage_1 = require("./LlmCategoryUsage");
42
42
  exports.ConversationChargingCommonModel = core.serialization.object({
43
43
  devDiscount: core.serialization.property("dev_discount", core.serialization.boolean().optional()),
44
+ isBurst: core.serialization.property("is_burst", core.serialization.boolean().optional()),
44
45
  tier: core.serialization.string().optional(),
45
46
  llmUsage: core.serialization.property("llm_usage", LlmCategoryUsage_1.LlmCategoryUsage.optional()),
46
47
  llmPrice: core.serialization.property("llm_price", core.serialization.number().optional()),
@@ -7,11 +7,13 @@ import * as core from "../../core";
7
7
  import { AgentConfig } from "./AgentConfig";
8
8
  import { ToolMockConfig } from "./ToolMockConfig";
9
9
  import { ConversationHistoryTranscriptCommonModelInput } from "./ConversationHistoryTranscriptCommonModelInput";
10
+ import { ConversationSimulationSpecificationDynamicVariablesValue } from "./ConversationSimulationSpecificationDynamicVariablesValue";
10
11
  export declare const ConversationSimulationSpecification: core.serialization.ObjectSchema<serializers.ConversationSimulationSpecification.Raw, ElevenLabs.ConversationSimulationSpecification>;
11
12
  export declare namespace ConversationSimulationSpecification {
12
13
  interface Raw {
13
14
  simulated_user_config: AgentConfig.Raw;
14
15
  tool_mock_config?: Record<string, ToolMockConfig.Raw> | null;
15
16
  partial_conversation_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
17
+ dynamic_variables?: Record<string, ConversationSimulationSpecificationDynamicVariablesValue.Raw | null | undefined> | null;
16
18
  }
17
19
  }
@@ -41,8 +41,12 @@ const core = __importStar(require("../../core"));
41
41
  const AgentConfig_1 = require("./AgentConfig");
42
42
  const ToolMockConfig_1 = require("./ToolMockConfig");
43
43
  const ConversationHistoryTranscriptCommonModelInput_1 = require("./ConversationHistoryTranscriptCommonModelInput");
44
+ const ConversationSimulationSpecificationDynamicVariablesValue_1 = require("./ConversationSimulationSpecificationDynamicVariablesValue");
44
45
  exports.ConversationSimulationSpecification = core.serialization.object({
45
46
  simulatedUserConfig: core.serialization.property("simulated_user_config", AgentConfig_1.AgentConfig),
46
47
  toolMockConfig: core.serialization.property("tool_mock_config", core.serialization.record(core.serialization.string(), ToolMockConfig_1.ToolMockConfig).optional()),
47
48
  partialConversationHistory: core.serialization.property("partial_conversation_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
49
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization
50
+ .record(core.serialization.string(), ConversationSimulationSpecificationDynamicVariablesValue_1.ConversationSimulationSpecificationDynamicVariablesValue.optional())
51
+ .optional()),
48
52
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ConversationSimulationSpecificationDynamicVariablesValue: core.serialization.Schema<serializers.ConversationSimulationSpecificationDynamicVariablesValue.Raw, ElevenLabs.ConversationSimulationSpecificationDynamicVariablesValue>;
8
+ export declare namespace ConversationSimulationSpecificationDynamicVariablesValue {
9
+ type Raw = string | number | number | boolean;
10
+ }
@@ -0,0 +1,46 @@
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.ConversationSimulationSpecificationDynamicVariablesValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ConversationSimulationSpecificationDynamicVariablesValue = core.serialization.undiscriminatedUnion([
42
+ core.serialization.string(),
43
+ core.serialization.number(),
44
+ core.serialization.number(),
45
+ core.serialization.boolean(),
46
+ ]);
@@ -16,6 +16,7 @@ export declare namespace CreateSipTrunkPhoneNumberRequest {
16
16
  address?: string | null;
17
17
  transport?: SipTrunkTransportEnum.Raw | null;
18
18
  media_encryption?: SipMediaEncryptionEnum.Raw | null;
19
+ inbound_media_encryption?: SipMediaEncryptionEnum.Raw | null;
19
20
  headers?: Record<string, string> | null;
20
21
  credentials?: SipTrunkCredentials.Raw | null;
21
22
  }
@@ -48,6 +48,7 @@ exports.CreateSipTrunkPhoneNumberRequest = core.serialization.object({
48
48
  address: core.serialization.string().optional(),
49
49
  transport: SipTrunkTransportEnum_1.SipTrunkTransportEnum.optional(),
50
50
  mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
51
+ inboundMediaEncryption: core.serialization.property("inbound_media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
51
52
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
52
53
  credentials: SipTrunkCredentials_1.SipTrunkCredentials.optional(),
53
54
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const IntegrationType: core.serialization.Schema<serializers.IntegrationType.Raw, ElevenLabs.IntegrationType>;
8
+ export declare namespace IntegrationType {
9
+ type Raw = "mcp_server" | "mcp_integration";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.IntegrationType = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.IntegrationType = core.serialization.enum_(["mcp_server", "mcp_integration"]);
@@ -9,6 +9,7 @@ export declare namespace InvoiceResponse {
9
9
  interface Raw {
10
10
  amount_due_cents: number;
11
11
  discount_percent_off?: number | null;
12
+ discount_amount_off?: number | null;
12
13
  next_payment_attempt_unix: number;
13
14
  }
14
15
  }
@@ -41,5 +41,6 @@ const core = __importStar(require("../../core"));
41
41
  exports.InvoiceResponse = core.serialization.object({
42
42
  amountDueCents: core.serialization.property("amount_due_cents", core.serialization.number()),
43
43
  discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
44
+ discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
44
45
  nextPaymentAttemptUnix: core.serialization.property("next_payment_attempt_unix", core.serialization.number()),
45
46
  });
@@ -0,0 +1,15 @@
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 { Tool } from "./Tool";
8
+ export declare const ListMcpToolsResponseModel: core.serialization.ObjectSchema<serializers.ListMcpToolsResponseModel.Raw, ElevenLabs.ListMcpToolsResponseModel>;
9
+ export declare namespace ListMcpToolsResponseModel {
10
+ interface Raw {
11
+ success: boolean;
12
+ tools: Tool.Raw[];
13
+ error_message?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ListMcpToolsResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const Tool_1 = require("./Tool");
42
+ exports.ListMcpToolsResponseModel = core.serialization.object({
43
+ success: core.serialization.boolean(),
44
+ tools: core.serialization.list(Tool_1.Tool),
45
+ errorMessage: core.serialization.property("error_message", core.serialization.string().optional()),
46
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const McpApprovalPolicy: core.serialization.Schema<serializers.McpApprovalPolicy.Raw, ElevenLabs.McpApprovalPolicy>;
8
+ export declare namespace McpApprovalPolicy {
9
+ type Raw = "auto_approve_all" | "require_approval_all" | "require_approval_per_tool";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.McpApprovalPolicy = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.McpApprovalPolicy = core.serialization.enum_(["auto_approve_all", "require_approval_all", "require_approval_per_tool"]);
@@ -0,0 +1,25 @@
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 { McpApprovalPolicy } from "./McpApprovalPolicy";
8
+ import { McpToolApprovalHash } from "./McpToolApprovalHash";
9
+ import { McpServerTransport } from "./McpServerTransport";
10
+ import { McpServerConfigInputUrl } from "./McpServerConfigInputUrl";
11
+ import { McpServerConfigInputSecretToken } from "./McpServerConfigInputSecretToken";
12
+ import { McpServerConfigInputRequestHeadersValue } from "./McpServerConfigInputRequestHeadersValue";
13
+ export declare const McpServerConfigInput: core.serialization.ObjectSchema<serializers.McpServerConfigInput.Raw, ElevenLabs.McpServerConfigInput>;
14
+ export declare namespace McpServerConfigInput {
15
+ interface Raw {
16
+ approval_policy?: McpApprovalPolicy.Raw | null;
17
+ tool_approval_hashes?: McpToolApprovalHash.Raw[] | null;
18
+ transport?: McpServerTransport.Raw | null;
19
+ url: McpServerConfigInputUrl.Raw;
20
+ secret_token?: McpServerConfigInputSecretToken.Raw | null;
21
+ request_headers?: Record<string, McpServerConfigInputRequestHeadersValue.Raw> | null;
22
+ name: string;
23
+ description?: string | null;
24
+ }
25
+ }
@@ -0,0 +1,56 @@
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.McpServerConfigInput = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const McpApprovalPolicy_1 = require("./McpApprovalPolicy");
42
+ const McpToolApprovalHash_1 = require("./McpToolApprovalHash");
43
+ const McpServerTransport_1 = require("./McpServerTransport");
44
+ const McpServerConfigInputUrl_1 = require("./McpServerConfigInputUrl");
45
+ const McpServerConfigInputSecretToken_1 = require("./McpServerConfigInputSecretToken");
46
+ const McpServerConfigInputRequestHeadersValue_1 = require("./McpServerConfigInputRequestHeadersValue");
47
+ exports.McpServerConfigInput = core.serialization.object({
48
+ approvalPolicy: core.serialization.property("approval_policy", McpApprovalPolicy_1.McpApprovalPolicy.optional()),
49
+ toolApprovalHashes: core.serialization.property("tool_approval_hashes", core.serialization.list(McpToolApprovalHash_1.McpToolApprovalHash).optional()),
50
+ transport: McpServerTransport_1.McpServerTransport.optional(),
51
+ url: McpServerConfigInputUrl_1.McpServerConfigInputUrl,
52
+ secretToken: core.serialization.property("secret_token", McpServerConfigInputSecretToken_1.McpServerConfigInputSecretToken.optional()),
53
+ requestHeaders: core.serialization.property("request_headers", core.serialization.record(core.serialization.string(), McpServerConfigInputRequestHeadersValue_1.McpServerConfigInputRequestHeadersValue).optional()),
54
+ name: core.serialization.string(),
55
+ description: core.serialization.string().optional(),
56
+ });
@@ -0,0 +1,11 @@
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 { ConvAiSecretLocator } from "./ConvAiSecretLocator";
8
+ export declare const McpServerConfigInputRequestHeadersValue: core.serialization.Schema<serializers.McpServerConfigInputRequestHeadersValue.Raw, ElevenLabs.McpServerConfigInputRequestHeadersValue>;
9
+ export declare namespace McpServerConfigInputRequestHeadersValue {
10
+ type Raw = string | ConvAiSecretLocator.Raw;
11
+ }
@@ -0,0 +1,42 @@
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.McpServerConfigInputRequestHeadersValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ConvAiSecretLocator_1 = require("./ConvAiSecretLocator");
42
+ exports.McpServerConfigInputRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiSecretLocator_1.ConvAiSecretLocator]);
@@ -0,0 +1,12 @@
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 { ConvAiSecretLocator } from "./ConvAiSecretLocator";
8
+ import { ConvAiUserSecretDbModel } from "./ConvAiUserSecretDbModel";
9
+ export declare const McpServerConfigInputSecretToken: core.serialization.Schema<serializers.McpServerConfigInputSecretToken.Raw, ElevenLabs.McpServerConfigInputSecretToken>;
10
+ export declare namespace McpServerConfigInputSecretToken {
11
+ type Raw = ConvAiSecretLocator.Raw | ConvAiUserSecretDbModel.Raw;
12
+ }