@elevenlabs/elevenlabs-js 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1465) hide show
  1. package/Client.d.ts +9 -4
  2. package/Client.js +60 -12
  3. package/README.md +4 -11
  4. package/api/resources/audioIsolation/client/Client.d.ts +5 -4
  5. package/api/resources/audioIsolation/client/Client.js +5 -8
  6. package/api/resources/audioIsolation/client/index.d.ts +1 -0
  7. package/api/resources/audioNative/client/Client.d.ts +3 -1
  8. package/api/resources/audioNative/client/Client.js +7 -14
  9. package/api/resources/audioNative/client/index.d.ts +1 -0
  10. package/api/resources/conversationalAi/client/Client.d.ts +9 -1
  11. package/api/resources/conversationalAi/client/Client.js +31 -36
  12. package/api/resources/conversationalAi/client/index.d.ts +1 -0
  13. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
  14. package/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
  15. package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  17. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  19. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  20. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  22. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  23. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  24. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  26. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  27. package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  29. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  30. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  32. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  33. package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  35. package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  36. package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  37. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  38. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  39. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  40. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  41. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  43. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  44. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  45. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  46. package/api/resources/conversationalAi/resources/index.d.ts +4 -0
  47. package/api/resources/conversationalAi/resources/index.js +5 -1
  48. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  49. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  50. package/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  55. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  56. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  57. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  58. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  59. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  60. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  61. package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  62. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  63. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  64. package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  65. package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  66. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  67. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  68. package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  69. package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  70. package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  71. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  72. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  73. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  74. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  75. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  76. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  77. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  78. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  79. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  80. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  81. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  82. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  83. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  84. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  85. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  86. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  87. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  88. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  89. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  90. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  91. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  92. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  93. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  94. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  95. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  96. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  97. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  98. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  99. package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  100. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  101. package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  102. package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  103. package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  104. package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  105. package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  106. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  107. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  108. package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  109. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  110. package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  111. package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  112. package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  113. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  114. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  115. package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  116. package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  117. package/api/resources/conversationalAi/resources/tools/index.js +17 -0
  118. package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  119. package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  120. package/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  121. package/api/resources/dubbing/client/Client.d.ts +3 -1
  122. package/api/resources/dubbing/client/Client.js +10 -16
  123. package/api/resources/dubbing/client/index.d.ts +1 -0
  124. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  125. package/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  126. package/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  127. package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  128. package/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  129. package/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  130. package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  131. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  132. package/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  133. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  134. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  135. package/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  136. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  137. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  138. package/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  139. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  140. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  141. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  142. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  143. package/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  144. package/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  145. package/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  146. package/api/resources/forcedAlignment/client/Client.js +3 -4
  147. package/api/resources/forcedAlignment/client/index.d.ts +1 -0
  148. package/api/resources/history/client/Client.d.ts +5 -4
  149. package/api/resources/history/client/Client.js +11 -28
  150. package/api/resources/history/client/index.d.ts +1 -0
  151. package/api/resources/index.d.ts +3 -0
  152. package/api/resources/index.js +4 -1
  153. package/api/resources/models/client/Client.d.ts +3 -1
  154. package/api/resources/models/client/Client.js +3 -6
  155. package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  156. package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  157. package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  158. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  159. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  160. package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  161. package/api/resources/samples/client/Client.d.ts +3 -1
  162. package/api/resources/samples/client/Client.js +3 -6
  163. package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  164. package/api/resources/speechToSpeech/client/Client.js +5 -8
  165. package/api/resources/speechToSpeech/client/index.d.ts +1 -0
  166. package/api/resources/speechToText/client/Client.d.ts +4 -4
  167. package/api/resources/speechToText/client/Client.js +46 -10
  168. package/api/resources/speechToText/client/index.d.ts +1 -0
  169. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  170. package/api/resources/studio/client/Client.d.ts +4 -2
  171. package/api/resources/studio/client/Client.js +4 -5
  172. package/api/resources/studio/client/index.d.ts +1 -0
  173. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  174. package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  175. package/api/resources/studio/resources/projects/client/Client.js +16 -32
  176. package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  177. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  178. package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  179. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  180. package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  181. package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  182. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  183. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  184. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  185. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  186. package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  187. package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  188. package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  189. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  190. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  191. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  192. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  193. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  194. package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  195. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  196. package/api/resources/textToDialogue/client/Client.d.ts +5 -4
  197. package/api/resources/textToDialogue/client/Client.js +5 -8
  198. package/api/resources/textToDialogue/client/index.d.ts +1 -0
  199. package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  200. package/api/resources/textToSoundEffects/client/Client.js +3 -4
  201. package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  202. package/api/resources/textToSpeech/client/Client.d.ts +5 -4
  203. package/api/resources/textToSpeech/client/Client.js +9 -16
  204. package/api/resources/textToSpeech/client/index.d.ts +1 -0
  205. package/api/resources/textToVoice/client/Client.d.ts +35 -1
  206. package/api/resources/textToVoice/client/Client.js +167 -8
  207. package/api/resources/textToVoice/client/index.d.ts +1 -0
  208. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  209. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  210. package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  211. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  212. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  213. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  214. package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  215. package/api/resources/textToVoice/types/index.d.ts +2 -0
  216. package/api/resources/textToVoice/types/index.js +2 -0
  217. package/api/resources/usage/client/Client.d.ts +3 -1
  218. package/api/resources/usage/client/Client.js +3 -6
  219. package/api/resources/usage/client/index.d.ts +1 -0
  220. package/api/resources/user/client/Client.d.ts +3 -1
  221. package/api/resources/user/client/Client.js +3 -6
  222. package/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  223. package/api/resources/user/resources/subscription/client/Client.js +3 -6
  224. package/api/resources/voices/client/Client.d.ts +4 -2
  225. package/api/resources/voices/client/Client.js +18 -43
  226. package/api/resources/voices/client/index.d.ts +1 -0
  227. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  228. package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  229. package/api/resources/voices/resources/ivc/client/Client.js +3 -4
  230. package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  231. package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  232. package/api/resources/voices/resources/pvc/client/Client.js +7 -12
  233. package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  234. package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  235. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  236. package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  237. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  238. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  239. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  240. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  241. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  242. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  243. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  244. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  245. package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  246. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  247. package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  248. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  249. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  250. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  251. package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  252. package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  253. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  254. package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  255. package/api/resources/voices/resources/settings/client/Client.js +7 -16
  256. package/api/resources/webhooks/client/Client.d.ts +48 -0
  257. package/api/resources/webhooks/client/Client.js +142 -0
  258. package/api/resources/webhooks/client/index.d.ts +2 -0
  259. package/api/resources/webhooks/client/index.js +17 -0
  260. package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  261. package/api/resources/webhooks/client/requests/index.d.ts +1 -0
  262. package/api/resources/webhooks/client/requests/index.js +2 -0
  263. package/api/resources/webhooks/index.d.ts +1 -0
  264. package/api/resources/webhooks/index.js +17 -0
  265. package/api/resources/workspace/client/Client.d.ts +69 -0
  266. package/api/resources/workspace/client/Client.js +326 -0
  267. package/api/resources/workspace/client/index.d.ts +1 -0
  268. package/api/resources/workspace/client/index.js +15 -0
  269. package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  270. package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  271. package/api/resources/workspace/client/requests/index.d.ts +2 -0
  272. package/api/resources/workspace/client/requests/index.js +2 -0
  273. package/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  274. package/api/resources/workspace/resources/groups/client/Client.js +3 -6
  275. package/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  276. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  277. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  278. package/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  279. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  280. package/api/resources/workspace/resources/invites/client/Client.js +7 -12
  281. package/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  282. package/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  283. package/api/resources/workspace/resources/members/client/Client.js +5 -8
  284. package/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  285. package/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  286. package/api/resources/workspace/resources/resources/client/Client.js +7 -14
  287. package/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  288. package/api/types/AddProjectRequest.d.ts +60 -3
  289. package/api/types/AgentCallLimits.d.ts +2 -0
  290. package/api/types/AgentConfigOverride.d.ts +1 -1
  291. package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  292. package/api/types/AsrProvider.d.ts +5 -1
  293. package/api/types/AsrProvider.js +5 -0
  294. package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  295. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  296. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  297. package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  298. package/api/types/BuiltInToolsInput.d.ts +16 -0
  299. package/api/types/BuiltInToolsOutput.d.ts +16 -0
  300. package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  301. package/api/types/ClientEvent.d.ts +4 -2
  302. package/api/types/ClientEvent.js +3 -1
  303. package/api/types/ClientToolConfigInput.d.ts +0 -1
  304. package/api/types/ClientToolConfigOutput.d.ts +0 -1
  305. package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  306. package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  307. package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  308. package/api/types/ConversationChargingCommonModel.d.ts +3 -0
  309. package/api/types/ConversationSimulationSpecification.d.ts +1 -0
  310. package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  311. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  312. package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  313. package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  314. package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  315. package/api/types/IntegrationType.d.ts +8 -0
  316. package/api/types/IntegrationType.js +10 -0
  317. package/api/types/InvoiceResponse.d.ts +2 -0
  318. package/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  319. package/api/types/McpApprovalPolicy.d.ts +12 -0
  320. package/api/types/McpApprovalPolicy.js +11 -0
  321. package/api/types/McpServerConfigInput.d.ts +19 -0
  322. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  323. package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  324. package/api/types/McpServerConfigInputUrl.d.ts +8 -0
  325. package/api/types/McpServerConfigOutput.d.ts +19 -0
  326. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  327. package/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  328. package/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  329. package/api/types/McpServerConfigOutputSecretToken.js +5 -0
  330. package/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  331. package/api/types/McpServerConfigOutputUrl.js +5 -0
  332. package/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  333. package/api/types/McpServerMetadataResponseModel.js +5 -0
  334. package/api/types/McpServerResponseModel.d.ts +17 -0
  335. package/api/types/McpServerResponseModel.js +5 -0
  336. package/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  337. package/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  338. package/api/types/McpServerTransport.d.ts +11 -0
  339. package/api/types/McpServerTransport.js +10 -0
  340. package/api/types/McpServersResponseModel.d.ts +10 -0
  341. package/api/types/McpServersResponseModel.js +5 -0
  342. package/api/types/McpToolApprovalHash.d.ts +15 -0
  343. package/api/types/McpToolApprovalHash.js +5 -0
  344. package/api/types/McpToolApprovalPolicy.d.ts +11 -0
  345. package/api/types/McpToolApprovalPolicy.js +10 -0
  346. package/api/types/McpToolConfigInput.d.ts +11 -4
  347. package/api/types/McpToolConfigOutput.d.ts +11 -4
  348. package/api/types/PromptAgent.d.ts +1 -27
  349. package/api/types/PromptAgentApiModelInput.d.ts +32 -0
  350. package/api/types/PromptAgentApiModelInput.js +5 -0
  351. package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
  352. package/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
  353. package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  354. package/api/types/PromptAgentApiModelOutput.js +5 -0
  355. package/api/types/{PromptAgentOutputToolsItem.d.ts → PromptAgentApiModelOutputToolsItem.d.ts} +2 -5
  356. package/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
  357. package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  358. package/api/types/PromptAgentApiModelOverride.js +5 -0
  359. package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  360. package/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
  361. package/api/types/PromptAgentDbModel.d.ts +3 -2
  362. package/api/types/SubscriptionStatusType.d.ts +2 -3
  363. package/api/types/SubscriptionStatusType.js +1 -2
  364. package/api/types/SupportedVoice.d.ts +4 -0
  365. package/api/types/SystemToolConfigInput.d.ts +0 -1
  366. package/api/types/SystemToolConfigOutput.d.ts +0 -1
  367. package/api/types/Tool.d.ts +15 -0
  368. package/api/types/Tool.js +5 -0
  369. package/api/types/ToolAnnotations.d.ts +22 -0
  370. package/api/types/ToolAnnotations.js +5 -0
  371. package/api/types/ToolRequestModel.d.ts +8 -0
  372. package/api/types/ToolRequestModel.js +5 -0
  373. package/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
  374. package/api/types/ToolRequestModelToolConfig.js +5 -0
  375. package/api/types/ToolResponseModel.d.ts +10 -0
  376. package/api/types/ToolResponseModel.js +5 -0
  377. package/{dist/api/types/PromptAgentOutputToolsItem.d.ts → api/types/ToolResponseModelToolConfig.d.ts} +2 -5
  378. package/api/types/ToolResponseModelToolConfig.js +5 -0
  379. package/api/types/ToolsResponseModel.d.ts +7 -0
  380. package/api/types/ToolsResponseModel.js +5 -0
  381. package/api/types/TransferToNumberToolConfig.d.ts +2 -0
  382. package/api/types/User.d.ts +1 -1
  383. package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  384. package/api/types/VoicePreviewResponseModel.d.ts +4 -0
  385. package/api/types/WebhookAuthMethodType.d.ts +8 -0
  386. package/api/types/WebhookAuthMethodType.js +10 -0
  387. package/api/types/WebhookToolConfigInput.d.ts +0 -1
  388. package/api/types/WebhookToolConfigOutput.d.ts +0 -1
  389. package/api/types/WebhookUsageType.d.ts +10 -0
  390. package/api/types/WebhookUsageType.js +12 -0
  391. package/api/types/WidgetConfig.d.ts +2 -0
  392. package/api/types/WidgetConfigResponse.d.ts +2 -0
  393. package/api/types/WidgetStyles.d.ts +45 -0
  394. package/api/types/WidgetStyles.js +5 -0
  395. package/api/types/WorkspaceGroupPermission.d.ts +22 -0
  396. package/api/types/WorkspaceGroupPermission.js +24 -0
  397. package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  398. package/api/types/WorkspaceGroupResponseModel.js +5 -0
  399. package/api/types/WorkspaceResourceType.d.ts +2 -2
  400. package/api/types/WorkspaceResourceType.js +1 -1
  401. package/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  402. package/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  403. package/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  404. package/api/types/WorkspaceWebhookResponseModel.js +5 -0
  405. package/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  406. package/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  407. package/api/types/index.d.ts +48 -15
  408. package/api/types/index.js +48 -15
  409. package/core/fetcher/Fetcher.d.ts +2 -1
  410. package/core/fetcher/Fetcher.js +22 -9
  411. package/core/form-data-utils/FormDataWrapper.js +5 -4
  412. package/core/form-data-utils/toReadableStream.d.ts +1 -0
  413. package/core/form-data-utils/toReadableStream.js +28 -0
  414. package/core/headers.d.ts +3 -0
  415. package/core/headers.js +29 -0
  416. package/core/index.d.ts +1 -1
  417. package/core/index.js +1 -1
  418. package/core/runtime/runtime.js +0 -1
  419. package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
  420. package/dist/Client.d.ts +9 -4
  421. package/dist/Client.js +60 -12
  422. package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
  423. package/dist/api/resources/audioIsolation/client/Client.js +5 -8
  424. package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
  425. package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
  426. package/dist/api/resources/audioNative/client/Client.js +7 -14
  427. package/dist/api/resources/audioNative/client/index.d.ts +1 -0
  428. package/dist/api/resources/conversationalAi/client/Client.d.ts +9 -1
  429. package/dist/api/resources/conversationalAi/client/Client.js +31 -36
  430. package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
  431. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
  432. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
  433. package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
  434. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
  435. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
  436. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  437. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
  438. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
  439. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
  440. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
  441. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
  442. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
  443. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  444. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  445. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
  446. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
  447. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
  448. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
  449. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
  450. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
  451. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
  452. package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
  453. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  454. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
  455. package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
  456. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
  457. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
  458. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
  459. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
  460. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
  461. package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
  462. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
  463. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
  464. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
  465. package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
  466. package/dist/api/resources/conversationalAi/resources/index.js +5 -1
  467. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
  468. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
  469. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
  470. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
  471. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
  472. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
  473. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
  474. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
  475. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
  476. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
  477. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
  478. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
  479. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
  480. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  481. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
  482. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
  483. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
  484. package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  485. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
  486. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
  487. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  488. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
  489. package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  490. package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  491. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
  492. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
  493. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
  494. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  495. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
  496. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
  497. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  498. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
  499. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  500. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  501. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
  502. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
  503. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
  504. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
  505. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
  506. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  507. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
  508. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
  509. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  510. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
  511. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  512. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  513. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
  514. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
  515. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
  516. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
  517. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
  518. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
  519. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
  520. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
  521. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
  522. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
  523. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
  524. package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
  525. package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
  526. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
  527. package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
  528. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
  529. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
  530. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
  531. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
  532. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
  533. package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
  534. package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
  535. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
  536. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
  537. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  538. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
  539. package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
  540. package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
  541. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
  542. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
  543. package/dist/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
  544. package/dist/api/resources/dubbing/client/Client.d.ts +3 -1
  545. package/dist/api/resources/dubbing/client/Client.js +10 -16
  546. package/dist/api/resources/dubbing/client/index.d.ts +1 -0
  547. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  548. package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
  549. package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -6
  550. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
  551. package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -22
  552. package/dist/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
  553. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
  554. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
  555. package/dist/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
  556. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
  557. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
  558. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
  559. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
  560. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
  561. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
  562. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
  563. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
  564. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
  565. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
  566. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
  567. package/dist/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
  568. package/dist/api/resources/forcedAlignment/client/Client.d.ts +3 -1
  569. package/dist/api/resources/forcedAlignment/client/Client.js +3 -4
  570. package/dist/api/resources/forcedAlignment/client/index.d.ts +1 -0
  571. package/dist/api/resources/history/client/Client.d.ts +5 -4
  572. package/dist/api/resources/history/client/Client.js +11 -28
  573. package/dist/api/resources/history/client/index.d.ts +1 -0
  574. package/dist/api/resources/index.d.ts +3 -0
  575. package/dist/api/resources/index.js +4 -1
  576. package/dist/api/resources/models/client/Client.d.ts +3 -1
  577. package/dist/api/resources/models/client/Client.js +3 -6
  578. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
  579. package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
  580. package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  581. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
  582. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
  583. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
  584. package/dist/api/resources/samples/client/Client.d.ts +3 -1
  585. package/dist/api/resources/samples/client/Client.js +3 -6
  586. package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
  587. package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
  588. package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
  589. package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
  590. package/dist/api/resources/speechToText/client/Client.js +46 -10
  591. package/dist/api/resources/speechToText/client/index.d.ts +1 -0
  592. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  593. package/dist/api/resources/studio/client/Client.d.ts +4 -2
  594. package/dist/api/resources/studio/client/Client.js +4 -5
  595. package/dist/api/resources/studio/client/index.d.ts +1 -0
  596. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
  597. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  598. package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
  599. package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
  600. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
  601. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
  602. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
  603. package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
  604. package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
  605. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
  606. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
  607. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
  608. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
  609. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
  610. package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
  611. package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
  612. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
  613. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
  614. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
  615. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
  616. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
  617. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
  618. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
  619. package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
  620. package/dist/api/resources/textToDialogue/client/Client.js +5 -8
  621. package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
  622. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
  623. package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
  624. package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
  625. package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
  626. package/dist/api/resources/textToSpeech/client/Client.js +9 -16
  627. package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
  628. package/dist/api/resources/textToVoice/client/Client.d.ts +35 -1
  629. package/dist/api/resources/textToVoice/client/Client.js +167 -8
  630. package/dist/api/resources/textToVoice/client/index.d.ts +1 -0
  631. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
  632. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
  633. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
  634. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
  635. package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
  636. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
  637. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
  638. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
  639. package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
  640. package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
  641. package/dist/api/resources/textToVoice/types/index.js +2 -0
  642. package/dist/api/resources/usage/client/Client.d.ts +3 -1
  643. package/dist/api/resources/usage/client/Client.js +3 -6
  644. package/dist/api/resources/usage/client/index.d.ts +1 -0
  645. package/dist/api/resources/user/client/Client.d.ts +3 -1
  646. package/dist/api/resources/user/client/Client.js +3 -6
  647. package/dist/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
  648. package/dist/api/resources/user/resources/subscription/client/Client.js +3 -6
  649. package/dist/api/resources/voices/client/Client.d.ts +4 -2
  650. package/dist/api/resources/voices/client/Client.js +18 -43
  651. package/dist/api/resources/voices/client/index.d.ts +1 -0
  652. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  653. package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
  654. package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
  655. package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
  656. package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
  657. package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
  658. package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
  659. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
  660. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
  661. package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
  662. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
  663. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
  664. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
  665. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
  666. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
  667. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
  668. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
  669. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
  670. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
  671. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
  672. package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
  673. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
  674. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
  675. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
  676. package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
  677. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
  678. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
  679. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
  680. package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
  681. package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
  682. package/dist/api/resources/webhooks/client/Client.js +142 -0
  683. package/dist/api/resources/webhooks/client/index.d.ts +2 -0
  684. package/dist/api/resources/webhooks/client/index.js +17 -0
  685. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
  686. package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
  687. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  688. package/dist/api/resources/webhooks/client/requests/index.js +2 -0
  689. package/dist/api/resources/webhooks/index.d.ts +1 -0
  690. package/dist/api/resources/webhooks/index.js +17 -0
  691. package/dist/api/resources/workspace/client/Client.d.ts +69 -0
  692. package/dist/api/resources/workspace/client/Client.js +326 -0
  693. package/dist/api/resources/workspace/client/index.d.ts +1 -0
  694. package/dist/api/resources/workspace/client/index.js +15 -0
  695. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
  696. package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
  697. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  698. package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +5 -0
  699. package/dist/api/resources/workspace/client/requests/index.d.ts +2 -0
  700. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  701. package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
  702. package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -6
  703. package/dist/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
  704. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
  705. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
  706. package/dist/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
  707. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
  708. package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -12
  709. package/dist/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
  710. package/dist/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
  711. package/dist/api/resources/workspace/resources/members/client/Client.js +5 -8
  712. package/dist/api/resources/workspace/resources/members/client/index.d.ts +1 -0
  713. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
  714. package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -14
  715. package/dist/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
  716. package/dist/api/types/AddProjectRequest.d.ts +60 -3
  717. package/dist/api/types/AgentCallLimits.d.ts +2 -0
  718. package/dist/api/types/AgentConfigOverride.d.ts +1 -1
  719. package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
  720. package/dist/api/types/AsrProvider.d.ts +5 -1
  721. package/dist/api/types/AsrProvider.js +5 -0
  722. package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
  723. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
  724. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
  725. package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
  726. package/dist/api/types/BuiltInToolsInput.d.ts +16 -0
  727. package/dist/api/types/BuiltInToolsInput.js +5 -0
  728. package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
  729. package/dist/api/types/BuiltInToolsOutput.js +5 -0
  730. package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
  731. package/dist/api/types/ClientEvent.d.ts +4 -2
  732. package/dist/api/types/ClientEvent.js +3 -1
  733. package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
  734. package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
  735. package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
  736. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
  737. package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
  738. package/dist/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
  739. package/dist/api/types/ConvAiUserSecretDbModel.js +5 -0
  740. package/dist/api/types/ConversationChargingCommonModel.d.ts +3 -0
  741. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -0
  742. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
  743. package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
  744. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  745. package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
  746. package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
  747. package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
  748. package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
  749. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
  750. package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
  751. package/dist/api/types/IntegrationType.d.ts +8 -0
  752. package/dist/api/types/IntegrationType.js +10 -0
  753. package/dist/api/types/InvoiceResponse.d.ts +2 -0
  754. package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
  755. package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
  756. package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
  757. package/dist/api/types/McpApprovalPolicy.js +11 -0
  758. package/dist/api/types/McpServerConfigInput.d.ts +19 -0
  759. package/dist/api/types/McpServerConfigInput.js +5 -0
  760. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
  761. package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
  762. package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
  763. package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
  764. package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
  765. package/dist/api/types/McpServerConfigInputUrl.js +5 -0
  766. package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
  767. package/dist/api/types/McpServerConfigOutput.js +5 -0
  768. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
  769. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
  770. package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
  771. package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
  772. package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
  773. package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
  774. package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
  775. package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
  776. package/dist/api/types/McpServerResponseModel.d.ts +17 -0
  777. package/dist/api/types/McpServerResponseModel.js +5 -0
  778. package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
  779. package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
  780. package/dist/api/types/McpServerTransport.d.ts +11 -0
  781. package/dist/api/types/McpServerTransport.js +10 -0
  782. package/dist/api/types/McpServersResponseModel.d.ts +10 -0
  783. package/dist/api/types/McpServersResponseModel.js +5 -0
  784. package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
  785. package/dist/api/types/McpToolApprovalHash.js +5 -0
  786. package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
  787. package/dist/api/types/McpToolApprovalPolicy.js +10 -0
  788. package/dist/api/types/McpToolConfigInput.d.ts +11 -4
  789. package/dist/api/types/McpToolConfigOutput.d.ts +11 -4
  790. package/dist/api/types/PromptAgent.d.ts +1 -27
  791. package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
  792. package/dist/api/types/PromptAgentApiModelInput.js +5 -0
  793. package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
  794. package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
  795. package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
  796. package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
  797. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
  798. package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
  799. package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
  800. package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
  801. package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
  802. package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
  803. package/dist/api/types/PromptAgentDbModel.d.ts +3 -2
  804. package/dist/api/types/SubscriptionStatusType.d.ts +2 -3
  805. package/dist/api/types/SubscriptionStatusType.js +1 -2
  806. package/dist/api/types/SupportedVoice.d.ts +4 -0
  807. package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
  808. package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
  809. package/dist/api/types/Tool.d.ts +15 -0
  810. package/dist/api/types/Tool.js +5 -0
  811. package/dist/api/types/ToolAnnotations.d.ts +22 -0
  812. package/dist/api/types/ToolAnnotations.js +5 -0
  813. package/dist/api/types/ToolRequestModel.d.ts +8 -0
  814. package/dist/api/types/ToolRequestModel.js +5 -0
  815. package/dist/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
  816. package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
  817. package/dist/api/types/ToolResponseModel.d.ts +10 -0
  818. package/dist/api/types/ToolResponseModel.js +5 -0
  819. package/dist/api/types/ToolResponseModelToolConfig.d.ts +22 -0
  820. package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
  821. package/dist/api/types/ToolsResponseModel.d.ts +7 -0
  822. package/dist/api/types/ToolsResponseModel.js +5 -0
  823. package/dist/api/types/TransferToNumberToolConfig.d.ts +2 -0
  824. package/dist/api/types/User.d.ts +1 -1
  825. package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
  826. package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
  827. package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
  828. package/dist/api/types/WebhookAuthMethodType.js +10 -0
  829. package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
  830. package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
  831. package/dist/api/types/WebhookUsageType.d.ts +10 -0
  832. package/dist/api/types/WebhookUsageType.js +12 -0
  833. package/dist/api/types/WidgetConfig.d.ts +2 -0
  834. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  835. package/dist/api/types/WidgetStyles.d.ts +45 -0
  836. package/dist/api/types/WidgetStyles.js +5 -0
  837. package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
  838. package/dist/api/types/WorkspaceGroupPermission.js +24 -0
  839. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
  840. package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
  841. package/dist/api/types/WorkspaceResourceType.d.ts +2 -2
  842. package/dist/api/types/WorkspaceResourceType.js +1 -1
  843. package/dist/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
  844. package/dist/api/types/WorkspaceWebhookListResponseModel.js +5 -0
  845. package/dist/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
  846. package/dist/api/types/WorkspaceWebhookResponseModel.js +5 -0
  847. package/dist/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
  848. package/dist/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
  849. package/dist/api/types/index.d.ts +48 -15
  850. package/dist/api/types/index.js +48 -15
  851. package/dist/core/fetcher/Fetcher.d.ts +2 -1
  852. package/dist/core/fetcher/Fetcher.js +22 -9
  853. package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
  854. package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
  855. package/dist/core/form-data-utils/toReadableStream.js +28 -0
  856. package/dist/core/headers.d.ts +3 -0
  857. package/dist/core/headers.js +29 -0
  858. package/dist/core/index.d.ts +1 -1
  859. package/dist/core/index.js +1 -1
  860. package/dist/core/runtime/runtime.js +0 -1
  861. package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
  862. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  863. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  864. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  865. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  866. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  867. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  868. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  869. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  870. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  871. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  872. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  873. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  874. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  875. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  876. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  877. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  878. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  879. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  880. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  881. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  882. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  883. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  884. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  885. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  886. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  887. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  888. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  889. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  890. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  891. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  892. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  893. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  894. package/dist/serialization/resources/index.d.ts +1 -0
  895. package/dist/serialization/resources/index.js +1 -0
  896. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  897. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  898. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  899. package/dist/serialization/{types/NativeMcpToolConfigInput.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -13
  900. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  901. package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
  902. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  903. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  904. package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  905. package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
  906. package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
  907. package/dist/serialization/resources/textToVoice/types/index.js +2 -0
  908. package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  909. package/dist/serialization/resources/workspace/client/getShareOptions.js +42 -0
  910. package/dist/serialization/resources/workspace/client/index.d.ts +2 -0
  911. package/dist/serialization/resources/workspace/client/index.js +41 -0
  912. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  913. package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  914. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  915. package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  916. package/dist/serialization/resources/workspace/client/requests/index.d.ts +2 -0
  917. package/dist/serialization/resources/workspace/client/requests/index.js +7 -0
  918. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  919. package/dist/serialization/resources/workspace/index.js +1 -0
  920. package/dist/serialization/types/AddProjectRequest.d.ts +1 -0
  921. package/dist/serialization/types/AddProjectRequest.js +1 -0
  922. package/dist/serialization/types/AgentCallLimits.d.ts +1 -0
  923. package/dist/serialization/types/AgentCallLimits.js +1 -0
  924. package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
  925. package/dist/serialization/types/AgentConfigOverride.js +2 -2
  926. package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  927. package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
  928. package/dist/serialization/types/AsrProvider.d.ts +1 -1
  929. package/dist/serialization/types/AsrProvider.js +1 -1
  930. package/dist/serialization/types/BuiltInToolsInput.d.ts +17 -0
  931. package/dist/serialization/types/BuiltInToolsInput.js +48 -0
  932. package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  933. package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
  934. package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  935. package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
  936. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  937. package/dist/serialization/types/ClientEvent.js +3 -1
  938. package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
  939. package/dist/serialization/types/ClientToolConfigInput.js +0 -1
  940. package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  941. package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
  942. package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  943. package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  944. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  945. package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
  946. package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  947. package/dist/serialization/types/ConvAiUserSecretDbModel.js +46 -0
  948. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
  949. package/dist/serialization/types/ConversationChargingCommonModel.js +3 -0
  950. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  951. package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
  952. package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  953. package/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +6 -5
  954. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  955. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  956. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  957. package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  958. package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  959. package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
  960. package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  961. package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
  962. package/dist/serialization/types/IntegrationType.d.ts +10 -0
  963. package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/types/IntegrationType.js} +2 -2
  964. package/dist/serialization/types/InvoiceResponse.d.ts +1 -0
  965. package/dist/serialization/types/InvoiceResponse.js +1 -0
  966. package/dist/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  967. package/dist/serialization/types/ListMcpToolsResponseModel.js +46 -0
  968. package/dist/serialization/types/McpApprovalPolicy.d.ts +10 -0
  969. package/dist/serialization/types/McpApprovalPolicy.js +41 -0
  970. package/dist/serialization/types/McpServerConfigInput.d.ts +25 -0
  971. package/{serialization/types/NativeMcpToolConfigInput.js → dist/serialization/types/McpServerConfigInput.js} +15 -11
  972. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  973. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  974. package/dist/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  975. package/dist/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  976. package/dist/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  977. package/dist/serialization/types/{McpApprovalRequiredModel.js → McpServerConfigInputUrl.js} +3 -6
  978. package/dist/serialization/types/McpServerConfigOutput.d.ts +25 -0
  979. package/dist/serialization/types/McpServerConfigOutput.js +56 -0
  980. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  981. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  982. package/dist/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  983. package/dist/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  984. package/dist/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  985. package/dist/serialization/types/McpServerConfigOutputUrl.js +42 -0
  986. package/dist/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  987. package/dist/serialization/types/McpServerMetadataResponseModel.js +44 -0
  988. package/dist/serialization/types/McpServerResponseModel.d.ts +20 -0
  989. package/dist/serialization/types/McpServerResponseModel.js +51 -0
  990. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  991. package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  992. package/dist/serialization/types/McpServerTransport.d.ts +10 -0
  993. package/dist/serialization/types/{DependentUnknownAgentToolIdentifier.js → McpServerTransport.js} +2 -2
  994. package/dist/serialization/types/McpServersResponseModel.d.ts +13 -0
  995. package/dist/serialization/types/McpServersResponseModel.js +44 -0
  996. package/dist/serialization/types/McpToolApprovalHash.d.ts +15 -0
  997. package/dist/serialization/types/McpToolApprovalHash.js +46 -0
  998. package/dist/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  999. package/dist/serialization/types/McpToolApprovalPolicy.js +41 -0
  1000. package/dist/serialization/types/McpToolConfigInput.d.ts +7 -3
  1001. package/dist/serialization/types/McpToolConfigInput.js +7 -3
  1002. package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -3
  1003. package/dist/serialization/types/McpToolConfigOutput.js +7 -3
  1004. package/dist/serialization/types/PromptAgent.d.ts +2 -20
  1005. package/dist/serialization/types/PromptAgent.js +1 -19
  1006. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  1007. package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
  1008. package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → PromptAgentApiModelInputToolsItem.d.ts} +3 -7
  1009. package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
  1010. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  1011. package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
  1012. package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts} +3 -7
  1013. package/dist/serialization/types/{PromptAgentOutputToolsItem.js → PromptAgentApiModelOutputToolsItem.js} +2 -4
  1014. package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  1015. package/{serialization/types/PromptAgentOverride.js → dist/serialization/types/PromptAgentApiModelOverride.js} +2 -2
  1016. package/{serialization/types/PromptAgentOverrideConfig.d.ts → dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  1017. package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  1018. package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -2
  1019. package/dist/serialization/types/PromptAgentDbModel.js +3 -2
  1020. package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
  1021. package/dist/serialization/types/SubscriptionStatusType.js +1 -2
  1022. package/dist/serialization/types/SupportedVoice.d.ts +5 -0
  1023. package/dist/serialization/types/SupportedVoice.js +5 -0
  1024. package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
  1025. package/dist/serialization/types/SystemToolConfigInput.js +0 -1
  1026. package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  1027. package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
  1028. package/dist/serialization/types/Tool.d.ts +17 -0
  1029. package/dist/serialization/types/Tool.js +49 -0
  1030. package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
  1031. package/dist/serialization/types/ToolAnnotations.js +49 -0
  1032. package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
  1033. package/dist/serialization/types/ToolRequestModel.js +44 -0
  1034. package/{serialization/types/PromptAgentInputToolsItem.d.ts → dist/serialization/types/ToolRequestModelToolConfig.d.ts} +3 -7
  1035. package/dist/serialization/types/{PromptAgentInputToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
  1036. package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
  1037. package/dist/serialization/types/ToolResponseModel.js +47 -0
  1038. package/dist/serialization/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +3 -7
  1039. package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -4
  1040. package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
  1041. package/dist/serialization/types/ToolsResponseModel.js +44 -0
  1042. package/dist/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  1043. package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
  1044. package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  1045. package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
  1046. package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  1047. package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
  1048. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  1049. package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
  1050. package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
  1051. package/dist/serialization/types/{DependentAvailableAgentToolIdentifierAccessLevel.js → WebhookUsageType.js} +7 -2
  1052. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  1053. package/dist/serialization/types/WidgetConfig.js +2 -0
  1054. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1055. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  1056. package/dist/serialization/types/WidgetStyles.d.ts +31 -0
  1057. package/dist/serialization/types/WidgetStyles.js +62 -0
  1058. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  1059. package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
  1060. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  1061. package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  1062. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1063. package/dist/serialization/types/WorkspaceResourceType.js +1 -1
  1064. package/dist/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  1065. package/dist/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  1066. package/dist/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  1067. package/dist/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
  1068. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  1069. package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  1070. package/dist/serialization/types/index.d.ts +48 -15
  1071. package/dist/serialization/types/index.js +48 -15
  1072. package/dist/version.d.ts +1 -1
  1073. package/dist/version.js +1 -1
  1074. package/dist/wrapper/ElevenLabsClient.d.ts +4 -3
  1075. package/dist/wrapper/ElevenLabsClient.js +6 -1
  1076. package/dist/wrapper/webhooks.d.ts +4 -3
  1077. package/dist/wrapper/webhooks.js +68 -46
  1078. package/jest.config.mjs +1 -0
  1079. package/package.json +6 -4
  1080. package/reference.md +1868 -479
  1081. package/scripts/rename-to-esm-files.js +10 -2
  1082. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
  1083. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
  1084. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  1085. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  1086. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  1087. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  1088. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
  1089. package/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
  1090. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
  1091. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
  1092. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
  1093. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
  1094. package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
  1095. package/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
  1096. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
  1097. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
  1098. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
  1099. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
  1100. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
  1101. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
  1102. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
  1103. package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
  1104. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
  1105. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
  1106. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
  1107. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
  1108. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
  1109. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
  1110. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
  1111. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
  1112. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
  1113. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
  1114. package/serialization/resources/index.d.ts +1 -0
  1115. package/serialization/resources/index.js +1 -0
  1116. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
  1117. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
  1118. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
  1119. package/{dist/serialization/types/DependentAvailableAgentToolIdentifier.js → serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
  1120. package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
  1121. package/serialization/resources/textToVoice/client/requests/index.js +5 -1
  1122. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
  1123. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
  1124. package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
  1125. package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
  1126. package/serialization/resources/textToVoice/types/index.d.ts +2 -0
  1127. package/serialization/resources/textToVoice/types/index.js +2 -0
  1128. package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
  1129. package/serialization/resources/workspace/client/getShareOptions.js +42 -0
  1130. package/serialization/resources/workspace/client/index.d.ts +2 -0
  1131. package/serialization/resources/workspace/client/index.js +41 -0
  1132. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
  1133. package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
  1134. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
  1135. package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
  1136. package/serialization/resources/workspace/client/requests/index.d.ts +2 -0
  1137. package/serialization/resources/workspace/client/requests/index.js +7 -0
  1138. package/serialization/resources/workspace/index.d.ts +1 -0
  1139. package/serialization/resources/workspace/index.js +1 -0
  1140. package/serialization/types/AddProjectRequest.d.ts +1 -0
  1141. package/serialization/types/AddProjectRequest.js +1 -0
  1142. package/serialization/types/AgentCallLimits.d.ts +1 -0
  1143. package/serialization/types/AgentCallLimits.js +1 -0
  1144. package/serialization/types/AgentConfigOverride.d.ts +2 -2
  1145. package/serialization/types/AgentConfigOverride.js +2 -2
  1146. package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
  1147. package/serialization/types/AgentConfigOverrideConfig.js +2 -2
  1148. package/serialization/types/AsrProvider.d.ts +1 -1
  1149. package/serialization/types/AsrProvider.js +1 -1
  1150. package/serialization/types/BuiltInToolsInput.d.ts +17 -0
  1151. package/serialization/types/BuiltInToolsInput.js +48 -0
  1152. package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
  1153. package/serialization/types/BuiltInToolsOutput.js +48 -0
  1154. package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
  1155. package/serialization/types/ChapterContentBlockInputModel.js +1 -1
  1156. package/serialization/types/ClientEvent.d.ts +1 -1
  1157. package/serialization/types/ClientEvent.js +3 -1
  1158. package/serialization/types/ClientToolConfigInput.d.ts +0 -1
  1159. package/serialization/types/ClientToolConfigInput.js +0 -1
  1160. package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
  1161. package/serialization/types/ClientToolConfigOutput.js +0 -1
  1162. package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
  1163. package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
  1164. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
  1165. package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
  1166. package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
  1167. package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
  1168. package/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
  1169. package/serialization/types/ConversationChargingCommonModel.js +3 -0
  1170. package/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
  1171. package/serialization/types/ConversationSimulationSpecification.js +4 -0
  1172. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
  1173. package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
  1174. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  1175. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  1176. package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
  1177. package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
  1178. package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
  1179. package/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
  1180. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
  1181. package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
  1182. package/serialization/types/IntegrationType.d.ts +10 -0
  1183. package/serialization/types/IntegrationType.js +41 -0
  1184. package/serialization/types/InvoiceResponse.d.ts +1 -0
  1185. package/serialization/types/InvoiceResponse.js +1 -0
  1186. package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
  1187. package/serialization/types/ListMcpToolsResponseModel.js +46 -0
  1188. package/serialization/types/McpApprovalPolicy.d.ts +10 -0
  1189. package/serialization/types/McpApprovalPolicy.js +41 -0
  1190. package/serialization/types/McpServerConfigInput.d.ts +25 -0
  1191. package/serialization/types/McpServerConfigInput.js +56 -0
  1192. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
  1193. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
  1194. package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
  1195. package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
  1196. package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
  1197. package/serialization/types/McpServerConfigInputUrl.js +42 -0
  1198. package/serialization/types/McpServerConfigOutput.d.ts +25 -0
  1199. package/serialization/types/McpServerConfigOutput.js +56 -0
  1200. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
  1201. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
  1202. package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
  1203. package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
  1204. package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
  1205. package/serialization/types/McpServerConfigOutputUrl.js +42 -0
  1206. package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
  1207. package/serialization/types/McpServerMetadataResponseModel.js +44 -0
  1208. package/serialization/types/McpServerResponseModel.d.ts +20 -0
  1209. package/serialization/types/McpServerResponseModel.js +51 -0
  1210. package/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
  1211. package/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
  1212. package/serialization/types/McpServerTransport.d.ts +10 -0
  1213. package/serialization/types/McpServerTransport.js +41 -0
  1214. package/serialization/types/McpServersResponseModel.d.ts +13 -0
  1215. package/serialization/types/McpServersResponseModel.js +44 -0
  1216. package/serialization/types/McpToolApprovalHash.d.ts +15 -0
  1217. package/serialization/types/McpToolApprovalHash.js +46 -0
  1218. package/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
  1219. package/serialization/types/McpToolApprovalPolicy.js +41 -0
  1220. package/serialization/types/McpToolConfigInput.d.ts +7 -3
  1221. package/serialization/types/McpToolConfigInput.js +7 -3
  1222. package/serialization/types/McpToolConfigOutput.d.ts +7 -3
  1223. package/serialization/types/McpToolConfigOutput.js +7 -3
  1224. package/serialization/types/PromptAgent.d.ts +2 -20
  1225. package/serialization/types/PromptAgent.js +1 -19
  1226. package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
  1227. package/serialization/types/PromptAgentApiModelInput.js +61 -0
  1228. package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -7
  1229. package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
  1230. package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
  1231. package/serialization/types/PromptAgentApiModelOutput.js +61 -0
  1232. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
  1233. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
  1234. package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
  1235. package/{dist/serialization/types/PromptAgentOverride.js → serialization/types/PromptAgentApiModelOverride.js} +2 -2
  1236. package/{dist/serialization/types/PromptAgentOverrideConfig.d.ts → serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
  1237. package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
  1238. package/serialization/types/PromptAgentDbModel.d.ts +3 -2
  1239. package/serialization/types/PromptAgentDbModel.js +3 -2
  1240. package/serialization/types/SubscriptionStatusType.d.ts +1 -1
  1241. package/serialization/types/SubscriptionStatusType.js +1 -2
  1242. package/serialization/types/SupportedVoice.d.ts +5 -0
  1243. package/serialization/types/SupportedVoice.js +5 -0
  1244. package/serialization/types/SystemToolConfigInput.d.ts +0 -1
  1245. package/serialization/types/SystemToolConfigInput.js +0 -1
  1246. package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
  1247. package/serialization/types/SystemToolConfigOutput.js +0 -1
  1248. package/serialization/types/Tool.d.ts +17 -0
  1249. package/serialization/types/Tool.js +49 -0
  1250. package/serialization/types/ToolAnnotations.d.ts +17 -0
  1251. package/serialization/types/ToolAnnotations.js +49 -0
  1252. package/serialization/types/ToolRequestModel.d.ts +13 -0
  1253. package/serialization/types/ToolRequestModel.js +44 -0
  1254. package/serialization/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -7
  1255. package/serialization/types/{PromptAgentDbModelToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
  1256. package/serialization/types/ToolResponseModel.d.ts +16 -0
  1257. package/serialization/types/ToolResponseModel.js +47 -0
  1258. package/serialization/types/ToolResponseModelToolConfig.d.ts +26 -0
  1259. package/serialization/types/ToolResponseModelToolConfig.js +55 -0
  1260. package/serialization/types/ToolsResponseModel.d.ts +13 -0
  1261. package/serialization/types/ToolsResponseModel.js +44 -0
  1262. package/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
  1263. package/serialization/types/TransferToNumberToolConfig.js +1 -0
  1264. package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
  1265. package/serialization/types/WebhookAuthMethodType.js +41 -0
  1266. package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
  1267. package/serialization/types/WebhookToolConfigInput.js +0 -1
  1268. package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
  1269. package/serialization/types/WebhookToolConfigOutput.js +0 -1
  1270. package/serialization/types/WebhookUsageType.d.ts +10 -0
  1271. package/serialization/types/WebhookUsageType.js +46 -0
  1272. package/serialization/types/WidgetConfig.d.ts +2 -0
  1273. package/serialization/types/WidgetConfig.js +2 -0
  1274. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1275. package/serialization/types/WidgetConfigResponse.js +2 -0
  1276. package/serialization/types/WidgetStyles.d.ts +31 -0
  1277. package/serialization/types/WidgetStyles.js +62 -0
  1278. package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
  1279. package/serialization/types/WorkspaceGroupPermission.js +58 -0
  1280. package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  1281. package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
  1282. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1283. package/serialization/types/WorkspaceResourceType.js +1 -1
  1284. package/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
  1285. package/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
  1286. package/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
  1287. package/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
  1288. package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
  1289. package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
  1290. package/serialization/types/index.d.ts +48 -15
  1291. package/serialization/types/index.js +48 -15
  1292. package/version.d.ts +1 -1
  1293. package/version.js +1 -1
  1294. package/wrapper/ElevenLabsClient.d.ts +4 -3
  1295. package/wrapper/ElevenLabsClient.js +6 -1
  1296. package/wrapper/webhooks.d.ts +4 -3
  1297. package/wrapper/webhooks.js +68 -46
  1298. package/.mock/asyncapi.yml +0 -856
  1299. package/.mock/definition/__package__.yml +0 -8340
  1300. package/.mock/definition/api.yml +0 -24
  1301. package/.mock/definition/audioIsolation.yml +0 -83
  1302. package/.mock/definition/audioNative.yml +0 -198
  1303. package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
  1304. package/.mock/definition/conversationalAi/agents/link.yml +0 -40
  1305. package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
  1306. package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
  1307. package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
  1308. package/.mock/definition/conversationalAi/agents.yml +0 -671
  1309. package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
  1310. package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
  1311. package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
  1312. package/.mock/definition/conversationalAi/conversations.yml +0 -165
  1313. package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
  1314. package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
  1315. package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
  1316. package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
  1317. package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
  1318. package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
  1319. package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
  1320. package/.mock/definition/conversationalAi/secrets.yml +0 -100
  1321. package/.mock/definition/conversationalAi/settings.yml +0 -81
  1322. package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
  1323. package/.mock/definition/conversationalAi/twilio.yml +0 -45
  1324. package/.mock/definition/conversationalAi.yml +0 -192
  1325. package/.mock/definition/dubbing/audio.yml +0 -35
  1326. package/.mock/definition/dubbing/resource/language.yml +0 -43
  1327. package/.mock/definition/dubbing/resource/segment.yml +0 -83
  1328. package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
  1329. package/.mock/definition/dubbing/resource/speaker.yml +0 -91
  1330. package/.mock/definition/dubbing/resource.yml +0 -271
  1331. package/.mock/definition/dubbing/transcript.yml +0 -48
  1332. package/.mock/definition/dubbing.yml +0 -170
  1333. package/.mock/definition/forcedAlignment.yml +0 -60
  1334. package/.mock/definition/history.yml +0 -270
  1335. package/.mock/definition/models.yml +0 -49
  1336. package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
  1337. package/.mock/definition/pronunciationDictionaries.yml +0 -262
  1338. package/.mock/definition/samples.yml +0 -46
  1339. package/.mock/definition/speechToSpeech.yml +0 -324
  1340. package/.mock/definition/speechToText.yml +0 -189
  1341. package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
  1342. package/.mock/definition/studio/projects/chapters.yml +0 -289
  1343. package/.mock/definition/studio/projects/content.yml +0 -94
  1344. package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
  1345. package/.mock/definition/studio/projects/snapshots.yml +0 -140
  1346. package/.mock/definition/studio/projects.yml +0 -579
  1347. package/.mock/definition/studio.yml +0 -216
  1348. package/.mock/definition/textToDialogue.yml +0 -213
  1349. package/.mock/definition/textToSoundEffects.yml +0 -92
  1350. package/.mock/definition/textToSpeech.yml +0 -959
  1351. package/.mock/definition/textToVoice.yml +0 -355
  1352. package/.mock/definition/usage.yml +0 -73
  1353. package/.mock/definition/user/subscription.yml +0 -50
  1354. package/.mock/definition/user.yml +0 -86
  1355. package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
  1356. package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
  1357. package/.mock/definition/voices/ivc.yml +0 -57
  1358. package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
  1359. package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
  1360. package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
  1361. package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
  1362. package/.mock/definition/voices/pvc/samples.yml +0 -159
  1363. package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
  1364. package/.mock/definition/voices/pvc/verification.yml +0 -47
  1365. package/.mock/definition/voices/pvc.yml +0 -137
  1366. package/.mock/definition/voices/samples/audio.yml +0 -35
  1367. package/.mock/definition/voices/settings.yml +0 -105
  1368. package/.mock/definition/voices.yml +0 -907
  1369. package/.mock/definition/workspace/groups/members.yml +0 -80
  1370. package/.mock/definition/workspace/groups.yml +0 -40
  1371. package/.mock/definition/workspace/invites.yml +0 -141
  1372. package/.mock/definition/workspace/members.yml +0 -83
  1373. package/.mock/definition/workspace/resources.yml +0 -184
  1374. package/.mock/fern.config.json +0 -4
  1375. package/.mock/openapi.json +0 -39184
  1376. package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  1377. package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  1378. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  1379. package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  1380. package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  1381. package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1382. package/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1383. package/api/types/McpApprovalRequiredModel.js +0 -11
  1384. package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1385. package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1386. package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1387. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1388. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1389. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1390. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1391. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1392. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1393. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1394. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1395. package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
  1396. package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
  1397. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
  1398. package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
  1399. package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
  1400. package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
  1401. package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
  1402. package/dist/api/types/McpApprovalRequiredModel.js +0 -11
  1403. package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
  1404. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
  1405. package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
  1406. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1407. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1408. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1409. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1410. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1411. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1412. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1413. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1414. package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  1415. package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  1416. package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  1417. package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  1418. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1419. package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1420. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1421. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1422. package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1423. package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1424. package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
  1425. package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
  1426. package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
  1427. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
  1428. package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
  1429. package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
  1430. package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
  1431. package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
  1432. package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
  1433. package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
  1434. package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
  1435. package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
  1436. /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
  1437. /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
  1438. /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
  1439. /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
  1440. /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
  1441. /package/api/{types/NativeMcpToolConfigOutput.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
  1442. /package/api/{types/PromptAgentDbModelToolsItem.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
  1443. /package/api/{types/PromptAgentInputToolsItem.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
  1444. /package/api/{types/PromptAgentOutputToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
  1445. /package/api/{types/PromptAgentOverride.js → resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
  1446. /package/api/types/{PromptAgentOverrideConfig.js → BuiltInToolsInput.js} +0 -0
  1447. /package/api/types/{SharedSoundGenerationResponseModel.js → BuiltInToolsOutput.js} +0 -0
  1448. /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
  1449. /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
  1450. /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
  1451. /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/types/DefaultSharingPreferencesResponseModel.js} +0 -0
  1452. /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
  1453. /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
  1454. /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/ListMcpToolsResponseModel.js} +0 -0
  1455. /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/McpServerConfigInput.js} +0 -0
  1456. /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/McpServerConfigInputRequestHeadersValue.js} +0 -0
  1457. /package/{dist/api/types/PromptAgentOverride.js → api/types/McpServerConfigInputSecretToken.js} +0 -0
  1458. /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/McpServerConfigInputUrl.js} +0 -0
  1459. /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/McpServerConfigOutput.js} +0 -0
  1460. /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1461. /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1462. /package/core/{streaming-fetcher → stream}/index.js +0 -0
  1463. /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
  1464. /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
  1465. /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
@@ -1,24 +0,0 @@
1
- name: api
2
- error-discrimination:
3
- strategy: status-code
4
- display-name: ElevenLabs API Documentation
5
- environments:
6
- Production:
7
- urls:
8
- Base: https://api.elevenlabs.io/
9
- WSS: wss://api.elevenlabs.io
10
- Production US:
11
- urls:
12
- Base: https://api.us.elevenlabs.io/
13
- WSS: wss://api.elevenlabs.io
14
- Production EU:
15
- urls:
16
- Base: https://api.eu.residency.elevenlabs.io
17
- WSS: wss://api.elevenlabs.io
18
- default-environment: Production
19
- default-url: Base
20
- headers:
21
- xi-api-key:
22
- name: api-key
23
- env: ELEVENLABS_API_KEY
24
- type: optional<string>
@@ -1,83 +0,0 @@
1
- types:
2
- AudioIsolationConvertRequestFileFormat:
3
- enum:
4
- - pcm_s16le_16
5
- - other
6
- inline: true
7
- source:
8
- openapi: openapi.json
9
- AudioIsolationStreamRequestFileFormat:
10
- enum:
11
- - pcm_s16le_16
12
- - other
13
- inline: true
14
- source:
15
- openapi: openapi.json
16
- imports:
17
- root: __package__.yml
18
- service:
19
- auth: false
20
- base-path: ''
21
- endpoints:
22
- convert:
23
- path: /v1/audio-isolation
24
- method: POST
25
- auth: false
26
- docs: Removes background noise from audio.
27
- source:
28
- openapi: openapi.json
29
- display-name: Audio isolation
30
- request:
31
- name: Body_Audio_Isolation_v1_audio_isolation_post
32
- body:
33
- properties:
34
- audio:
35
- type: file
36
- docs: The audio file from which vocals/speech will be isolated from.
37
- file_format:
38
- type: optional<AudioIsolationConvertRequestFileFormat>
39
- docs: >-
40
- The format of input audio. Options are 'pcm_s16le_16' or 'other'
41
- For `pcm_s16le_16`, the input audio must be 16-bit PCM at a
42
- 16kHz sample rate, single channel (mono), and little-endian byte
43
- order. Latency will be lower than with passing an encoded
44
- waveform.
45
- content-type: multipart/form-data
46
- response:
47
- docs: Successful Response
48
- type: file
49
- status-code: 200
50
- errors:
51
- - root.UnprocessableEntityError
52
- stream:
53
- path: /v1/audio-isolation/stream
54
- method: POST
55
- auth: false
56
- docs: Removes background noise from audio.
57
- source:
58
- openapi: openapi.json
59
- display-name: Audio isolation stream
60
- request:
61
- name: Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post
62
- body:
63
- properties:
64
- audio:
65
- type: file
66
- docs: The audio file from which vocals/speech will be isolated from.
67
- file_format:
68
- type: optional<AudioIsolationStreamRequestFileFormat>
69
- docs: >-
70
- The format of input audio. Options are 'pcm_s16le_16' or 'other'
71
- For `pcm_s16le_16`, the input audio must be 16-bit PCM at a
72
- 16kHz sample rate, single channel (mono), and little-endian byte
73
- order. Latency will be lower than with passing an encoded
74
- waveform.
75
- content-type: multipart/form-data
76
- response:
77
- docs: Successful Response
78
- type: file
79
- status-code: 200
80
- errors:
81
- - root.UnprocessableEntityError
82
- source:
83
- openapi: openapi.json
@@ -1,198 +0,0 @@
1
- imports:
2
- root: __package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- create:
8
- path: /v1/audio-native
9
- method: POST
10
- auth: false
11
- docs: >-
12
- Creates Audio Native enabled project, optionally starts conversion and
13
- returns project ID and embeddable HTML snippet.
14
- source:
15
- openapi: openapi.json
16
- display-name: Create audio native project
17
- request:
18
- name: Body_Creates_Audio_Native_enabled_project__v1_audio_native_post
19
- body:
20
- properties:
21
- name:
22
- type: string
23
- docs: Project name.
24
- image:
25
- type: optional<string>
26
- docs: >-
27
- (Deprecated) Image URL used in the player. If not provided,
28
- default image set in the Player settings is used.
29
- availability: deprecated
30
- author:
31
- type: optional<string>
32
- docs: >-
33
- Author used in the player and inserted at the start of the
34
- uploaded article. If not provided, the default author set in the
35
- Player settings is used.
36
- title:
37
- type: optional<string>
38
- docs: >-
39
- Title used in the player and inserted at the top of the uploaded
40
- article. If not provided, the default title set in the Player
41
- settings is used.
42
- small:
43
- type: optional<boolean>
44
- docs: >-
45
- (Deprecated) Whether to use small player or not. If not
46
- provided, default value set in the Player settings is used.
47
- default: false
48
- availability: deprecated
49
- text_color:
50
- type: optional<string>
51
- docs: >-
52
- Text color used in the player. If not provided, default text
53
- color set in the Player settings is used.
54
- background_color:
55
- type: optional<string>
56
- docs: >-
57
- Background color used in the player. If not provided, default
58
- background color set in the Player settings is used.
59
- sessionization:
60
- type: optional<integer>
61
- docs: >-
62
- (Deprecated) Specifies for how many minutes to persist the
63
- session across page reloads. If not provided, default
64
- sessionization set in the Player settings is used.
65
- default: 0
66
- availability: deprecated
67
- voice_id:
68
- type: optional<string>
69
- docs: >-
70
- Voice ID used to voice the content. If not provided, default
71
- voice ID set in the Player settings is used.
72
- model_id:
73
- type: optional<string>
74
- docs: >-
75
- TTS Model ID used in the player. If not provided, default model
76
- ID set in the Player settings is used.
77
- file:
78
- type: optional<file>
79
- docs: >-
80
- Either txt or HTML input file containing the article content.
81
- HTML should be formatted as follows
82
- '&lt;html&gt;&lt;body&gt;&lt;div&gt;&lt;p&gt;Your
83
- content&lt;/p&gt;&lt;h3&gt;More of your
84
- content&lt;/h3&gt;&lt;p&gt;Some more of your
85
- content&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;'
86
- auto_convert:
87
- type: optional<boolean>
88
- docs: Whether to auto convert the project to audio or not.
89
- default: false
90
- content-type: multipart/form-data
91
- response:
92
- docs: Successful Response
93
- type: root.AudioNativeCreateProjectResponseModel
94
- status-code: 200
95
- errors:
96
- - root.UnprocessableEntityError
97
- examples:
98
- - request:
99
- name: name
100
- response:
101
- body:
102
- project_id: JBFqnCBsd6RMkjVDRZzb
103
- converting: false
104
- html_snippet: <div id='audio-native-player'></div>
105
- get_settings:
106
- path: /v1/audio-native/{project_id}/settings
107
- method: GET
108
- auth: false
109
- docs: Get player settings for the specific project.
110
- source:
111
- openapi: openapi.json
112
- path-parameters:
113
- project_id:
114
- type: string
115
- docs: The ID of the Studio project.
116
- display-name: Get Audio Native Project Settings
117
- response:
118
- docs: Successful Response
119
- type: root.GetAudioNativeProjectSettingsResponseModel
120
- status-code: 200
121
- errors:
122
- - root.UnprocessableEntityError
123
- examples:
124
- - path-parameters:
125
- project_id: 21m00Tcm4TlvDq8ikWAM
126
- response:
127
- body:
128
- enabled: true
129
- snapshot_id: JBFqnCBsd6RMkjVDRZzb
130
- settings:
131
- title: My Project
132
- image: https://example.com/image.jpg
133
- author: John Doe
134
- small: false
135
- text_color: '#000000'
136
- background_color: '#FFFFFF'
137
- sessionization: 1
138
- audio_path: audio/my_project.mp3
139
- audio_url: https://example.com/audio/my_project.mp3
140
- status: ready
141
- update:
142
- path: /v1/audio-native/{project_id}/content
143
- method: POST
144
- auth: false
145
- docs: Updates content for the specific AudioNative Project.
146
- source:
147
- openapi: openapi.json
148
- path-parameters:
149
- project_id:
150
- type: string
151
- docs: >-
152
- The ID of the project to be used. You can use the [List
153
- projects](/docs/api-reference/studio/get-projects) endpoint to list
154
- all the available projects.
155
- display-name: Update audio native project
156
- request:
157
- name: >-
158
- Body_Update_audio_native_Project_content_v1_audio_native__project_id__content_post
159
- body:
160
- properties:
161
- file:
162
- type: optional<file>
163
- docs: >-
164
- Either txt or HTML input file containing the article content.
165
- HTML should be formatted as follows
166
- '&lt;html&gt;&lt;body&gt;&lt;div&gt;&lt;p&gt;Your
167
- content&lt;/p&gt;&lt;h5&gt;More of your
168
- content&lt;/h5&gt;&lt;p&gt;Some more of your
169
- content&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;'
170
- auto_convert:
171
- type: optional<boolean>
172
- docs: Whether to auto convert the project to audio or not.
173
- default: false
174
- auto_publish:
175
- type: optional<boolean>
176
- docs: >-
177
- Whether to auto publish the new project snapshot after it's
178
- converted.
179
- default: false
180
- content-type: multipart/form-data
181
- response:
182
- docs: Successful Response
183
- type: root.AudioNativeEditContentResponseModel
184
- status-code: 200
185
- errors:
186
- - root.UnprocessableEntityError
187
- examples:
188
- - path-parameters:
189
- project_id: 21m00Tcm4TlvDq8ikWAM
190
- request: {}
191
- response:
192
- body:
193
- project_id: JBFqnCBsd6RMkjVDRZzb
194
- converting: false
195
- publishing: false
196
- html_snippet: <div id='audio-native-player'></div>
197
- source:
198
- openapi: openapi.json
@@ -1,32 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- size:
8
- path: /v1/convai/agent/{agent_id}/knowledge-base/size
9
- method: GET
10
- auth: false
11
- docs: Returns the number of pages in the agent's knowledge base.
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- agent_id: string
16
- display-name: Returns The Size Of The Agent'S Knowledge Base
17
- response:
18
- docs: Successful Response
19
- type: root.GetAgentKnowledgebaseSizeResponseModel
20
- status-code: 200
21
- errors:
22
- - root.UnprocessableEntityError
23
- examples:
24
- - path-parameters:
25
- agent_id: agent_id
26
- response:
27
- body:
28
- number_of_pages: 1.1
29
- audiences:
30
- - convai
31
- source:
32
- openapi: openapi.json
@@ -1,40 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- get:
8
- path: /v1/convai/agents/{agent_id}/link
9
- method: GET
10
- auth: false
11
- docs: Get the current link used to share the agent with others
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- agent_id:
16
- type: string
17
- docs: The id of an agent. This is returned on agent creation.
18
- display-name: Get Shareable Agent Link
19
- response:
20
- docs: Successful Response
21
- type: root.GetAgentLinkResponseModel
22
- status-code: 200
23
- errors:
24
- - root.UnprocessableEntityError
25
- examples:
26
- - path-parameters:
27
- agent_id: 21m00Tcm4TlvDq8ikWAM
28
- response:
29
- body:
30
- agent_id: J3Pbu5gP6NNKBscdCdwB
31
- token:
32
- agent_id: agent_J3Pbu5gP6NNKBscdCdwB
33
- conversation_token: '1234567890'
34
- expiration_time_unix_secs: 1716153600
35
- conversation_id: conv_J3Pbu5gP6NNKBscdCdwB
36
- purpose: signed_url
37
- audiences:
38
- - convai
39
- source:
40
- openapi: openapi.json
@@ -1,51 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- calculate:
8
- path: /v1/convai/agent/{agent_id}/llm-usage/calculate
9
- method: POST
10
- auth: false
11
- docs: Calculates expected number of LLM tokens needed for the specified agent.
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- agent_id: string
16
- display-name: Calculate Expected Llm Usage For An Agent
17
- request:
18
- name: LlmUsageCalculatorRequestModel
19
- body:
20
- properties:
21
- prompt_length:
22
- type: optional<integer>
23
- docs: Length of the prompt in characters.
24
- number_of_pages:
25
- type: optional<integer>
26
- docs: >-
27
- Pages of content in pdf documents OR urls in agent's Knowledge
28
- Base.
29
- rag_enabled:
30
- type: optional<boolean>
31
- docs: Whether RAG is enabled.
32
- content-type: application/json
33
- response:
34
- docs: Successful Response
35
- type: root.LlmUsageCalculatorResponseModel
36
- status-code: 200
37
- errors:
38
- - root.UnprocessableEntityError
39
- examples:
40
- - path-parameters:
41
- agent_id: agent_id
42
- request: {}
43
- response:
44
- body:
45
- llm_prices:
46
- - llm: gpt-4o-mini
47
- price_per_minute: 1.1
48
- audiences:
49
- - convai
50
- source:
51
- openapi: openapi.json
@@ -1,44 +0,0 @@
1
- imports:
2
- root: ../../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- create:
8
- path: /v1/convai/agents/{agent_id}/avatar
9
- method: POST
10
- auth: false
11
- docs: Sets the avatar for an agent displayed in the widget
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- agent_id:
16
- type: string
17
- docs: The id of an agent. This is returned on agent creation.
18
- display-name: Post Agent Avatar
19
- request:
20
- name: Body_Post_Agent_avatar_v1_convai_agents__agent_id__avatar_post
21
- body:
22
- properties:
23
- avatar_file:
24
- type: file
25
- docs: An image file to be used as the agent's avatar.
26
- content-type: multipart/form-data
27
- response:
28
- docs: Successful Response
29
- type: root.PostAgentAvatarResponseModel
30
- status-code: 200
31
- errors:
32
- - root.UnprocessableEntityError
33
- examples:
34
- - path-parameters:
35
- agent_id: 21m00Tcm4TlvDq8ikWAM
36
- request: {}
37
- response:
38
- body:
39
- agent_id: agent_id
40
- avatar_url: avatar_url
41
- audiences:
42
- - convai
43
- source:
44
- openapi: openapi.json
@@ -1,107 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- get:
8
- path: /v1/convai/agents/{agent_id}/widget
9
- method: GET
10
- auth: false
11
- docs: Retrieve the widget configuration for an agent
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- agent_id:
16
- type: string
17
- docs: The id of an agent. This is returned on agent creation.
18
- display-name: Get Agent Widget Config
19
- request:
20
- name: WidgetGetRequest
21
- query-parameters:
22
- conversation_signature:
23
- type: optional<string>
24
- docs: >-
25
- An expiring token that enables a websocket conversation to start.
26
- These can be generated for an agent using the
27
- /v1/convai/conversation/get-signed-url endpoint
28
- response:
29
- docs: Successful Response
30
- type: root.GetAgentEmbedResponseModel
31
- status-code: 200
32
- errors:
33
- - root.UnprocessableEntityError
34
- examples:
35
- - path-parameters:
36
- agent_id: 21m00Tcm4TlvDq8ikWAM
37
- response:
38
- body:
39
- agent_id: agent_id
40
- widget_config:
41
- variant: full
42
- placement: top-left
43
- expandable: never
44
- avatar:
45
- color_1: '#2792dc'
46
- color_2: '#9ce6e6'
47
- type: orb
48
- feedback_mode: none
49
- bg_color: '#ffffff'
50
- text_color: '#000000'
51
- btn_color: '#000000'
52
- btn_text_color: '#ffffff'
53
- border_color: '#e1e1e1'
54
- focus_color: '#000000'
55
- border_radius: 10
56
- btn_radius: 10
57
- action_text: Call
58
- start_call_text: Start Call
59
- end_call_text: End Call
60
- expand_text: Expand
61
- listening_text: Listening...
62
- speaking_text: Speaking...
63
- shareable_page_text: Share
64
- shareable_page_show_terms: true
65
- terms_text: Terms and Conditions
66
- terms_html: <p>Terms and Conditions</p>
67
- terms_key: terms
68
- show_avatar_when_collapsed: true
69
- disable_banner: false
70
- override_link: override_link
71
- mic_muting_enabled: false
72
- transcript_enabled: true
73
- text_input_enabled: true
74
- text_contents:
75
- main_label: main_label
76
- start_call: start_call
77
- new_call: new_call
78
- end_call: end_call
79
- mute_microphone: mute_microphone
80
- change_language: change_language
81
- collapse: collapse
82
- expand: expand
83
- copied: copied
84
- accept_terms: accept_terms
85
- dismiss_terms: dismiss_terms
86
- listening_status: listening_status
87
- speaking_status: speaking_status
88
- connecting_status: connecting_status
89
- input_label: input_label
90
- input_placeholder: input_placeholder
91
- user_ended_conversation: user_ended_conversation
92
- agent_ended_conversation: agent_ended_conversation
93
- conversation_id: conversation_id
94
- error_occurred: error_occurred
95
- copy_id: copy_id
96
- language: language
97
- supported_language_overrides:
98
- - supported_language_overrides
99
- language_presets:
100
- key: {}
101
- text_only: true
102
- supports_text_only: true
103
- first_message: first_message
104
- audiences:
105
- - convai
106
- source:
107
- openapi: openapi.json