@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,289 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- list:
8
- path: /v1/studio/projects/{project_id}/chapters
9
- method: GET
10
- auth: false
11
- docs: Returns a list of a Studio project's chapters.
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- project_id:
16
- type: string
17
- docs: The ID of the Studio project.
18
- display-name: List Chapters
19
- response:
20
- docs: Successful Response
21
- type: root.GetChaptersResponse
22
- status-code: 200
23
- errors:
24
- - root.UnprocessableEntityError
25
- examples:
26
- - path-parameters:
27
- project_id: 21m00Tcm4TlvDq8ikWAM
28
- response:
29
- body:
30
- chapters:
31
- - chapter_id: aw1NgEzBg83R7vgmiJt6
32
- name: Chapter 1
33
- last_conversion_date_unix: 1714204800
34
- conversion_progress: 0.5
35
- can_be_downloaded: true
36
- state: converting
37
- statistics:
38
- characters_unconverted: 1000
39
- characters_converted: 500
40
- paragraphs_converted: 20
41
- paragraphs_unconverted: 10
42
- last_conversion_error: Error message
43
- create:
44
- path: /v1/studio/projects/{project_id}/chapters
45
- method: POST
46
- auth: false
47
- docs: Creates a new chapter either as blank or from a URL.
48
- source:
49
- openapi: openapi.json
50
- path-parameters:
51
- project_id:
52
- type: string
53
- docs: The ID of the Studio project.
54
- display-name: Create Chapter
55
- request:
56
- name: BodyCreateChapterV1StudioProjectsProjectIdChaptersPost
57
- body:
58
- properties:
59
- name:
60
- type: string
61
- docs: The name of the chapter, used for identification only.
62
- from_url:
63
- type: optional<string>
64
- docs: >-
65
- An optional URL from which we will extract content to initialize
66
- the Studio project. If this is set, 'from_url' must be null. If
67
- neither 'from_url' or 'from_document' are provided we will
68
- initialize the Studio project as blank.
69
- content-type: application/json
70
- response:
71
- docs: Successful Response
72
- type: root.AddChapterResponseModel
73
- status-code: 200
74
- errors:
75
- - root.UnprocessableEntityError
76
- examples:
77
- - path-parameters:
78
- project_id: 21m00Tcm4TlvDq8ikWAM
79
- request:
80
- name: Chapter 1
81
- response:
82
- body:
83
- chapter:
84
- chapter_id: aw1NgEzBg83R7vgmiJt6
85
- name: Chapter 1
86
- last_conversion_date_unix: 1714204800
87
- conversion_progress: 0.5
88
- can_be_downloaded: true
89
- state: converting
90
- statistics:
91
- characters_unconverted: 1000
92
- characters_converted: 500
93
- paragraphs_converted: 20
94
- paragraphs_unconverted: 10
95
- last_conversion_error: Error message
96
- content:
97
- blocks:
98
- - block_id: block_id
99
- nodes:
100
- - voice_id: voice_id
101
- text: text
102
- type: tts_node
103
- get:
104
- path: /v1/studio/projects/{project_id}/chapters/{chapter_id}
105
- method: GET
106
- auth: false
107
- docs: Returns information about a specific chapter.
108
- source:
109
- openapi: openapi.json
110
- path-parameters:
111
- project_id:
112
- type: string
113
- docs: >-
114
- The ID of the project to be used. You can use the [List
115
- projects](/docs/api-reference/studio/get-projects) endpoint to list
116
- all the available projects.
117
- chapter_id:
118
- type: string
119
- docs: >-
120
- The ID of the chapter to be used. You can use the [List project
121
- chapters](/docs/api-reference/studio/get-chapters) endpoint to list
122
- all the available chapters.
123
- display-name: Get Chapter
124
- response:
125
- docs: Successful Response
126
- type: root.ChapterWithContentResponseModel
127
- status-code: 200
128
- errors:
129
- - root.UnprocessableEntityError
130
- examples:
131
- - path-parameters:
132
- project_id: 21m00Tcm4TlvDq8ikWAM
133
- chapter_id: 21m00Tcm4TlvDq8ikWAM
134
- response:
135
- body:
136
- chapter_id: aw1NgEzBg83R7vgmiJt6
137
- name: Chapter 1
138
- last_conversion_date_unix: 1714204800
139
- conversion_progress: 0.5
140
- can_be_downloaded: true
141
- state: converting
142
- statistics:
143
- characters_unconverted: 1000
144
- characters_converted: 500
145
- paragraphs_converted: 20
146
- paragraphs_unconverted: 10
147
- last_conversion_error: Error message
148
- content:
149
- blocks:
150
- - block_id: block_id
151
- nodes:
152
- - voice_id: voice_id
153
- text: text
154
- type: tts_node
155
- update:
156
- path: /v1/studio/projects/{project_id}/chapters/{chapter_id}
157
- method: POST
158
- auth: false
159
- docs: Updates a chapter.
160
- source:
161
- openapi: openapi.json
162
- path-parameters:
163
- project_id:
164
- type: string
165
- docs: >-
166
- The ID of the project to be used. You can use the [List
167
- projects](/docs/api-reference/studio/get-projects) endpoint to list
168
- all the available projects.
169
- chapter_id:
170
- type: string
171
- docs: >-
172
- The ID of the chapter to be used. You can use the [List project
173
- chapters](/docs/api-reference/studio/get-chapters) endpoint to list
174
- all the available chapters.
175
- display-name: Update Chapter
176
- request:
177
- name: BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost
178
- body:
179
- properties:
180
- name:
181
- type: optional<string>
182
- docs: The name of the chapter, used for identification only.
183
- content:
184
- type: optional<root.ChapterContentInputModel>
185
- docs: The chapter content to use.
186
- content-type: application/json
187
- response:
188
- docs: Successful Response
189
- type: root.EditChapterResponseModel
190
- status-code: 200
191
- errors:
192
- - root.UnprocessableEntityError
193
- examples:
194
- - path-parameters:
195
- project_id: 21m00Tcm4TlvDq8ikWAM
196
- chapter_id: 21m00Tcm4TlvDq8ikWAM
197
- request: {}
198
- response:
199
- body:
200
- chapter:
201
- chapter_id: aw1NgEzBg83R7vgmiJt6
202
- name: Chapter 1
203
- last_conversion_date_unix: 1714204800
204
- conversion_progress: 0.5
205
- can_be_downloaded: true
206
- state: converting
207
- statistics:
208
- characters_unconverted: 1000
209
- characters_converted: 500
210
- paragraphs_converted: 20
211
- paragraphs_unconverted: 10
212
- last_conversion_error: Error message
213
- content:
214
- blocks:
215
- - block_id: block_id
216
- nodes:
217
- - voice_id: voice_id
218
- text: text
219
- type: tts_node
220
- delete:
221
- path: /v1/studio/projects/{project_id}/chapters/{chapter_id}
222
- method: DELETE
223
- auth: false
224
- docs: Deletes a chapter.
225
- source:
226
- openapi: openapi.json
227
- path-parameters:
228
- project_id:
229
- type: string
230
- docs: >-
231
- The ID of the project to be used. You can use the [List
232
- projects](/docs/api-reference/studio/get-projects) endpoint to list
233
- all the available projects.
234
- chapter_id:
235
- type: string
236
- docs: >-
237
- The ID of the chapter to be used. You can use the [List project
238
- chapters](/docs/api-reference/studio/get-chapters) endpoint to list
239
- all the available chapters.
240
- display-name: Delete Chapter
241
- response:
242
- docs: Successful Response
243
- type: root.DeleteChapterResponseModel
244
- status-code: 200
245
- errors:
246
- - root.UnprocessableEntityError
247
- examples:
248
- - path-parameters:
249
- project_id: 21m00Tcm4TlvDq8ikWAM
250
- chapter_id: 21m00Tcm4TlvDq8ikWAM
251
- response:
252
- body:
253
- status: ok
254
- convert:
255
- path: /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert
256
- method: POST
257
- auth: false
258
- docs: Starts conversion of a specific chapter.
259
- source:
260
- openapi: openapi.json
261
- path-parameters:
262
- project_id:
263
- type: string
264
- docs: >-
265
- The ID of the project to be used. You can use the [List
266
- projects](/docs/api-reference/studio/get-projects) endpoint to list
267
- all the available projects.
268
- chapter_id:
269
- type: string
270
- docs: >-
271
- The ID of the chapter to be used. You can use the [List project
272
- chapters](/docs/api-reference/studio/get-chapters) endpoint to list
273
- all the available chapters.
274
- display-name: Convert Chapter
275
- response:
276
- docs: Successful Response
277
- type: root.ConvertChapterResponseModel
278
- status-code: 200
279
- errors:
280
- - root.UnprocessableEntityError
281
- examples:
282
- - path-parameters:
283
- project_id: 21m00Tcm4TlvDq8ikWAM
284
- chapter_id: 21m00Tcm4TlvDq8ikWAM
285
- response:
286
- body:
287
- status: ok
288
- source:
289
- openapi: openapi.json
@@ -1,94 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- update:
8
- path: /v1/studio/projects/{project_id}/content
9
- method: POST
10
- auth: false
11
- docs: Updates Studio project content.
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- project_id:
16
- type: string
17
- docs: >-
18
- The ID of the project to be used. You can use the [List
19
- projects](/docs/api-reference/studio/get-projects) endpoint to list
20
- all the available projects.
21
- display-name: Update Studio Project Content
22
- request:
23
- name: >-
24
- Body_Update_Studio_project_content_v1_studio_projects__project_id__content_post
25
- body:
26
- properties:
27
- from_url:
28
- type: optional<string>
29
- docs: >-
30
- An optional URL from which we will extract content to initialize
31
- the Studio project. If this is set, 'from_url' must be null. If
32
- neither 'from_url' or 'from_document' are provided we will
33
- initialize the Studio project as blank.
34
- from_document:
35
- type: optional<file>
36
- docs: >-
37
- An optional .epub, .pdf, .txt or similar file can be provided.
38
- If provided, we will initialize the Studio project with its
39
- content. If this is set, 'from_url' must be null. If neither
40
- 'from_url' or 'from_document' are provided we will initialize
41
- the Studio project as blank.
42
- auto_convert:
43
- type: optional<boolean>
44
- docs: Whether to auto convert the Studio project to audio or not.
45
- default: false
46
- content-type: multipart/form-data
47
- response:
48
- docs: Successful Response
49
- type: root.EditProjectResponseModel
50
- status-code: 200
51
- errors:
52
- - root.UnprocessableEntityError
53
- examples:
54
- - path-parameters:
55
- project_id: 21m00Tcm4TlvDq8ikWAM
56
- request: {}
57
- response:
58
- body:
59
- project:
60
- project_id: aw1NgEzBg83R7vgmiJt6
61
- name: My Project
62
- create_date_unix: 1714204800
63
- default_title_voice_id: JBFqnCBsd6RMkjVDRZzb
64
- default_paragraph_voice_id: JBFqnCBsd6RMkjVDRZzb
65
- default_model_id: eleven_multilingual_v2
66
- last_conversion_date_unix: 1714204800
67
- can_be_downloaded: true
68
- title: My Project
69
- author: John Doe
70
- description: This is a description of my project.
71
- genres:
72
- - Novel
73
- - Short Story
74
- cover_image_url: https://example.com/cover.jpg
75
- target_audience: children
76
- language: en
77
- content_type: Novel
78
- original_publication_date: '2025-01-01'
79
- mature_content: false
80
- isbn_number: 978-90-274-3964-2
81
- volume_normalization: true
82
- state: default
83
- access_level: viewer
84
- fiction: fiction
85
- quality_check_on: false
86
- quality_check_on_when_bulk_convert: false
87
- creation_meta:
88
- creation_progress: 0.5
89
- status: pending
90
- type: blank
91
- source_type: blank
92
- chapters_enabled: true
93
- source:
94
- openapi: openapi.json
@@ -1,70 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- create:
8
- path: /v1/studio/projects/{project_id}/pronunciation-dictionaries
9
- method: POST
10
- auth: false
11
- docs: >-
12
- Create a set of pronunciation dictionaries acting on a project. This
13
- will automatically mark text within this project as requiring
14
- reconverting where the new dictionary would apply or the old one no
15
- longer does.
16
- source:
17
- openapi: openapi.json
18
- path-parameters:
19
- project_id:
20
- type: string
21
- docs: >-
22
- The ID of the project to be used. You can use the [List
23
- projects](/docs/api-reference/studio/get-projects) endpoint to list
24
- all the available projects.
25
- display-name: Create Pronunciation Dictionaries
26
- request:
27
- name: >-
28
- BodyCreatePronunciationDictionariesV1StudioProjectsProjectIdPronunciationDictionariesPost
29
- body:
30
- properties:
31
- pronunciation_dictionary_locators:
32
- docs: >-
33
- A list of pronunciation dictionary locators
34
- (pronunciation_dictionary_id, version_id) encoded as a list of
35
- JSON strings for pronunciation dictionaries to be applied to the
36
- text. A list of json encoded strings is required as adding
37
- projects may occur through formData as opposed to jsonBody. To
38
- specify multiple dictionaries use multiple --form lines in your
39
- curl, such as --form
40
- 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"'
41
- --form
42
- 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'.
43
- Note that multiple dictionaries are not currently supported by
44
- our UI which will only show the first.
45
- type: list<root.PronunciationDictionaryVersionLocator>
46
- invalidate_affected_text:
47
- type: optional<boolean>
48
- docs: >-
49
- This will automatically mark text in this project for
50
- reconversion when the new dictionary applies or the old one no
51
- longer does.
52
- default: true
53
- content-type: application/json
54
- response:
55
- docs: Successful Response
56
- type: root.CreatePronunciationDictionaryResponseModel
57
- status-code: 200
58
- errors:
59
- - root.UnprocessableEntityError
60
- examples:
61
- - path-parameters:
62
- project_id: 21m00Tcm4TlvDq8ikWAM
63
- request:
64
- pronunciation_dictionary_locators:
65
- - pronunciation_dictionary_id: pronunciation_dictionary_id
66
- response:
67
- body:
68
- status: ok
69
- source:
70
- openapi: openapi.json
@@ -1,140 +0,0 @@
1
- imports:
2
- root: ../../__package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- list:
8
- path: /v1/studio/projects/{project_id}/snapshots
9
- method: GET
10
- auth: false
11
- docs: Retrieves a list of snapshots for a Studio project.
12
- source:
13
- openapi: openapi.json
14
- path-parameters:
15
- project_id:
16
- type: string
17
- docs: The ID of the Studio project.
18
- display-name: List Studio Project Snapshots
19
- response:
20
- docs: Successful Response
21
- type: root.ProjectSnapshotsResponse
22
- status-code: 200
23
- errors:
24
- - root.UnprocessableEntityError
25
- examples:
26
- - path-parameters:
27
- project_id: 21m00Tcm4TlvDq8ikWAM
28
- response:
29
- body:
30
- snapshots:
31
- - project_snapshot_id: aw1NgEzBg83R7vgmiJt6
32
- project_id: aw1NgEzBg83R7vgmiJt6
33
- created_at_unix: 1714204800
34
- name: My Project Snapshot
35
- audio_upload:
36
- key: value
37
- zip_upload:
38
- key: value
39
- get:
40
- path: /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}
41
- method: GET
42
- auth: false
43
- docs: Returns the project snapshot.
44
- source:
45
- openapi: openapi.json
46
- path-parameters:
47
- project_id:
48
- type: string
49
- docs: The ID of the Studio project.
50
- project_snapshot_id:
51
- type: string
52
- docs: The ID of the Studio project snapshot.
53
- display-name: Get Project Snapshot
54
- response:
55
- docs: Successful Response
56
- type: root.ProjectSnapshotExtendedResponseModel
57
- status-code: 200
58
- errors:
59
- - root.UnprocessableEntityError
60
- examples:
61
- - path-parameters:
62
- project_id: 21m00Tcm4TlvDq8ikWAM
63
- project_snapshot_id: 21m00Tcm4TlvDq8ikWAM
64
- response:
65
- body:
66
- project_snapshot_id: aw1NgEzBg83R7vgmiJt6
67
- project_id: aw1NgEzBg83R7vgmiJt6
68
- created_at_unix: 1714204800
69
- name: My Project Snapshot
70
- audio_upload:
71
- key: value
72
- zip_upload:
73
- key: value
74
- character_alignments:
75
- - characters:
76
- - characters
77
- character_start_times_seconds:
78
- - 1.1
79
- character_end_times_seconds:
80
- - 1.1
81
- stream:
82
- path: /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream
83
- method: POST
84
- auth: false
85
- docs: Stream the audio from a Studio project snapshot.
86
- source:
87
- openapi: openapi.json
88
- path-parameters:
89
- project_id:
90
- type: string
91
- docs: >-
92
- The ID of the project to be used. You can use the [List
93
- projects](/docs/api-reference/studio/get-projects) endpoint to list
94
- all the available projects.
95
- project_snapshot_id:
96
- type: string
97
- docs: The ID of the Studio project snapshot.
98
- display-name: Stream Studio Project Audio
99
- request:
100
- name: >-
101
- BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost
102
- body:
103
- properties:
104
- convert_to_mpeg:
105
- type: optional<boolean>
106
- docs: Whether to convert the audio to mpeg format.
107
- default: false
108
- content-type: application/json
109
- response:
110
- docs: Successful Response
111
- type: file
112
- status-code: 200
113
- errors:
114
- - root.UnprocessableEntityError
115
- stream_archive:
116
- path: /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive
117
- method: POST
118
- auth: false
119
- docs: Returns a compressed archive of the Studio project's audio.
120
- source:
121
- openapi: openapi.json
122
- path-parameters:
123
- project_id:
124
- type: string
125
- docs: >-
126
- The ID of the project to be used. You can use the [List
127
- projects](/docs/api-reference/studio/get-projects) endpoint to list
128
- all the available projects.
129
- project_snapshot_id:
130
- type: string
131
- docs: The ID of the Studio project snapshot.
132
- display-name: Stream Archive With Studio Project Audio
133
- response:
134
- docs: Streaming archive data
135
- type: file
136
- status-code: 200
137
- errors:
138
- - root.UnprocessableEntityError
139
- source:
140
- openapi: openapi.json