@elevenlabs/elevenlabs-js 2.0.1 → 2.1.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 (365) hide show
  1. package/.mock/asyncapi.yml +6 -6
  2. package/.mock/definition/__package__.yml +109 -5
  3. package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +32 -0
  4. package/.mock/definition/conversationalAi/agents/link.yml +2 -1
  5. package/.mock/definition/conversationalAi/agents/llmUsage.yml +51 -0
  6. package/.mock/definition/conversationalAi/llmUsage.yml +52 -0
  7. package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +5 -3
  8. package/.mock/openapi.json +501 -1
  9. package/README.md +2 -2
  10. package/api/resources/audioIsolation/client/Client.js +4 -4
  11. package/api/resources/audioNative/client/Client.js +6 -6
  12. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  13. package/api/resources/conversationalAi/client/Client.js +21 -16
  14. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
  15. package/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
  16. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  18. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
  19. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
  20. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
  21. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
  22. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
  24. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
  25. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
  26. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
  27. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  29. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
  30. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +5 -0
  31. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
  33. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  35. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
  36. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
  37. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -6
  38. package/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
  39. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
  40. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
  41. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
  42. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  43. package/api/resources/conversationalAi/resources/index.js +3 -1
  44. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
  45. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +2 -2
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +16 -16
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
  48. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
  49. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
  50. package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  51. package/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  52. package/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
  53. package/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +5 -0
  54. package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  55. package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
  56. package/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  57. package/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  58. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
  59. package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
  60. package/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
  61. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
  62. package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  63. package/api/resources/dubbing/client/Client.js +6 -6
  64. package/api/resources/dubbing/resources/audio/client/Client.js +2 -2
  65. package/api/resources/dubbing/resources/resource/client/Client.js +10 -10
  66. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
  67. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
  68. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
  69. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
  70. package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  71. package/api/resources/forcedAlignment/client/Client.js +2 -2
  72. package/api/resources/history/client/Client.js +10 -10
  73. package/api/resources/models/client/Client.js +2 -2
  74. package/api/resources/pronunciationDictionaries/client/Client.js +10 -10
  75. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
  76. package/api/resources/samples/client/Client.js +2 -2
  77. package/api/resources/speechToSpeech/client/Client.js +4 -4
  78. package/api/resources/studio/client/Client.js +2 -2
  79. package/api/resources/studio/resources/projects/client/Client.js +12 -12
  80. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
  81. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
  82. package/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
  83. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
  84. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
  85. package/api/resources/textToSoundEffects/client/Client.js +2 -2
  86. package/api/resources/textToSpeech/client/Client.js +8 -8
  87. package/api/resources/textToVoice/client/Client.js +4 -4
  88. package/api/resources/usage/client/Client.js +2 -2
  89. package/api/resources/user/client/Client.js +2 -2
  90. package/api/resources/user/resources/subscription/client/Client.js +2 -2
  91. package/api/resources/voices/client/Client.js +16 -16
  92. package/api/resources/voices/resources/ivc/client/Client.js +2 -2
  93. package/api/resources/voices/resources/pvc/client/Client.js +6 -6
  94. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
  95. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
  96. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
  97. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
  98. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
  99. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
  100. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
  101. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
  102. package/api/resources/voices/resources/settings/client/Client.js +6 -6
  103. package/api/resources/workspace/resources/groups/client/Client.js +2 -2
  104. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
  105. package/api/resources/workspace/resources/invites/client/Client.js +6 -6
  106. package/api/resources/workspace/resources/members/client/Client.js +4 -4
  107. package/api/resources/workspace/resources/resources/client/Client.js +6 -6
  108. package/api/types/AudioOutputMulti.d.ts +1 -1
  109. package/api/types/ChapterContentBlockInputModel.d.ts +1 -0
  110. package/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  111. package/api/types/ChapterContentBlockInputModelSubType.js +12 -0
  112. package/api/types/ConversationTokenDbModel.d.ts +2 -0
  113. package/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
  114. package/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
  115. package/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
  116. package/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
  117. package/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
  118. package/api/types/LlmUsageCalculatorResponseModel.js +5 -0
  119. package/api/types/NativeMcpToolConfigInput.d.ts +20 -0
  120. package/api/types/NativeMcpToolConfigInput.js +5 -0
  121. package/api/types/NativeMcpToolConfigOutput.d.ts +20 -0
  122. package/api/types/NativeMcpToolConfigOutput.js +5 -0
  123. package/api/types/PromptAgent.d.ts +2 -0
  124. package/api/types/PromptAgentDbModel.d.ts +2 -0
  125. package/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
  126. package/api/types/PromptAgentInputToolsItem.d.ts +4 -1
  127. package/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
  128. package/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
  129. package/api/types/index.d.ts +6 -0
  130. package/api/types/index.js +6 -0
  131. package/dist/api/resources/audioIsolation/client/Client.js +4 -4
  132. package/dist/api/resources/audioNative/client/Client.js +6 -6
  133. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  134. package/dist/api/resources/conversationalAi/client/Client.js +21 -16
  135. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
  136. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
  137. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  138. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  139. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
  140. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
  141. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
  142. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
  143. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
  144. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
  145. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
  146. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
  147. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
  148. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  149. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  150. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
  151. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +5 -0
  152. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  153. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
  154. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  155. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  156. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
  157. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
  158. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -6
  159. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
  160. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
  161. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
  162. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
  163. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  164. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  165. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
  166. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +2 -2
  167. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +16 -16
  168. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
  169. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
  170. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
  171. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  172. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  173. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
  174. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +5 -0
  175. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  176. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
  177. package/dist/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  178. package/dist/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  179. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
  180. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
  181. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
  182. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
  183. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  184. package/dist/api/resources/dubbing/client/Client.js +6 -6
  185. package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -2
  186. package/dist/api/resources/dubbing/resources/resource/client/Client.js +10 -10
  187. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
  188. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
  189. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
  190. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
  191. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  192. package/dist/api/resources/forcedAlignment/client/Client.js +2 -2
  193. package/dist/api/resources/history/client/Client.js +10 -10
  194. package/dist/api/resources/models/client/Client.js +2 -2
  195. package/dist/api/resources/pronunciationDictionaries/client/Client.js +10 -10
  196. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
  197. package/dist/api/resources/samples/client/Client.js +2 -2
  198. package/dist/api/resources/speechToSpeech/client/Client.js +4 -4
  199. package/dist/api/resources/studio/client/Client.js +2 -2
  200. package/dist/api/resources/studio/resources/projects/client/Client.js +12 -12
  201. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
  202. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
  203. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
  204. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
  205. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
  206. package/dist/api/resources/textToSoundEffects/client/Client.js +2 -2
  207. package/dist/api/resources/textToSpeech/client/Client.js +8 -8
  208. package/dist/api/resources/textToVoice/client/Client.js +4 -4
  209. package/dist/api/resources/usage/client/Client.js +2 -2
  210. package/dist/api/resources/user/client/Client.js +2 -2
  211. package/dist/api/resources/user/resources/subscription/client/Client.js +2 -2
  212. package/dist/api/resources/voices/client/Client.js +16 -16
  213. package/dist/api/resources/voices/resources/ivc/client/Client.js +2 -2
  214. package/dist/api/resources/voices/resources/pvc/client/Client.js +6 -6
  215. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
  216. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
  217. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
  218. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
  219. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
  220. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
  221. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
  222. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
  223. package/dist/api/resources/voices/resources/settings/client/Client.js +6 -6
  224. package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -2
  225. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
  226. package/dist/api/resources/workspace/resources/invites/client/Client.js +6 -6
  227. package/dist/api/resources/workspace/resources/members/client/Client.js +4 -4
  228. package/dist/api/resources/workspace/resources/resources/client/Client.js +6 -6
  229. package/dist/api/types/AudioOutputMulti.d.ts +1 -1
  230. package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -0
  231. package/dist/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  232. package/dist/api/types/ChapterContentBlockInputModelSubType.js +12 -0
  233. package/dist/api/types/ConversationTokenDbModel.d.ts +2 -0
  234. package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
  235. package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
  236. package/dist/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
  237. package/dist/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
  238. package/dist/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
  239. package/dist/api/types/LlmUsageCalculatorResponseModel.js +5 -0
  240. package/dist/api/types/NativeMcpToolConfigInput.d.ts +20 -0
  241. package/dist/api/types/NativeMcpToolConfigInput.js +5 -0
  242. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +20 -0
  243. package/dist/api/types/NativeMcpToolConfigOutput.js +5 -0
  244. package/dist/api/types/PromptAgent.d.ts +2 -0
  245. package/dist/api/types/PromptAgentDbModel.d.ts +2 -0
  246. package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
  247. package/dist/api/types/PromptAgentInputToolsItem.d.ts +4 -1
  248. package/dist/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
  249. package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
  250. package/dist/api/types/index.d.ts +6 -0
  251. package/dist/api/types/index.js +6 -0
  252. package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  253. package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  254. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  255. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
  256. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  257. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  258. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
  259. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
  260. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  261. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
  262. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  263. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  264. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  265. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  266. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  267. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  268. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
  269. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
  270. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  271. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
  272. package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  273. package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  274. package/dist/serialization/types/AudioOutputMulti.d.ts +1 -1
  275. package/dist/serialization/types/AudioOutputMulti.js +1 -1
  276. package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
  277. package/dist/serialization/types/ChapterContentBlockInputModel.js +2 -0
  278. package/dist/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  279. package/dist/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
  280. package/dist/serialization/types/ConversationTokenDbModel.d.ts +1 -0
  281. package/dist/serialization/types/ConversationTokenDbModel.js +1 -0
  282. package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
  283. package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
  284. package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
  285. package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
  286. package/dist/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
  287. package/dist/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
  288. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +18 -0
  289. package/dist/serialization/types/NativeMcpToolConfigInput.js +50 -0
  290. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +18 -0
  291. package/dist/serialization/types/NativeMcpToolConfigOutput.js +50 -0
  292. package/dist/serialization/types/PromptAgent.d.ts +1 -0
  293. package/dist/serialization/types/PromptAgent.js +1 -0
  294. package/dist/serialization/types/PromptAgentDbModel.d.ts +1 -0
  295. package/dist/serialization/types/PromptAgentDbModel.js +1 -0
  296. package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
  297. package/dist/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
  298. package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
  299. package/dist/serialization/types/PromptAgentInputToolsItem.js +2 -0
  300. package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
  301. package/dist/serialization/types/PromptAgentOutputToolsItem.js +2 -0
  302. package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
  303. package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
  304. package/dist/serialization/types/index.d.ts +6 -0
  305. package/dist/serialization/types/index.js +6 -0
  306. package/dist/version.d.ts +1 -1
  307. package/dist/version.js +1 -1
  308. package/package.json +1 -1
  309. package/reference.md +207 -0
  310. package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  311. package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  312. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  313. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
  314. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  315. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  316. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
  317. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
  318. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  319. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
  320. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  321. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  322. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  323. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  324. package/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  325. package/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  326. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
  327. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
  328. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  329. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
  330. package/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  331. package/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  332. package/serialization/types/AudioOutputMulti.d.ts +1 -1
  333. package/serialization/types/AudioOutputMulti.js +1 -1
  334. package/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
  335. package/serialization/types/ChapterContentBlockInputModel.js +2 -0
  336. package/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  337. package/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
  338. package/serialization/types/ConversationTokenDbModel.d.ts +1 -0
  339. package/serialization/types/ConversationTokenDbModel.js +1 -0
  340. package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
  341. package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
  342. package/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
  343. package/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
  344. package/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
  345. package/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
  346. package/serialization/types/NativeMcpToolConfigInput.d.ts +18 -0
  347. package/serialization/types/NativeMcpToolConfigInput.js +50 -0
  348. package/serialization/types/NativeMcpToolConfigOutput.d.ts +18 -0
  349. package/serialization/types/NativeMcpToolConfigOutput.js +50 -0
  350. package/serialization/types/PromptAgent.d.ts +1 -0
  351. package/serialization/types/PromptAgent.js +1 -0
  352. package/serialization/types/PromptAgentDbModel.d.ts +1 -0
  353. package/serialization/types/PromptAgentDbModel.js +1 -0
  354. package/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
  355. package/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
  356. package/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
  357. package/serialization/types/PromptAgentInputToolsItem.js +2 -0
  358. package/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
  359. package/serialization/types/PromptAgentOutputToolsItem.js +2 -0
  360. package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
  361. package/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
  362. package/serialization/types/index.d.ts +6 -0
  363. package/serialization/types/index.js +6 -0
  364. package/version.d.ts +1 -1
  365. package/version.js +1 -1
@@ -87,10 +87,10 @@ class Speakers {
87
87
  method: "GET",
88
88
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
89
89
  ? yield core.Supplier.get(this._options.apiKey)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  requestType: "json",
93
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
93
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
94
94
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
95
95
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
96
96
  });
@@ -162,10 +162,10 @@ class Speakers {
162
162
  method: "POST",
163
163
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
164
164
  ? yield core.Supplier.get(this._options.apiKey)
165
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
168
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
169
169
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
170
170
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
171
171
  });
@@ -83,10 +83,10 @@ class Audio {
83
83
  method: "GET",
84
84
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
85
85
  ? yield core.Supplier.get(this._options.apiKey)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
89
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
90
90
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
91
91
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
92
92
  });
@@ -82,10 +82,10 @@ class Waveform {
82
82
  method: "GET",
83
83
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
84
84
  ? yield core.Supplier.get(this._options.apiKey)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
88
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
89
89
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
90
90
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
91
91
  });
@@ -97,11 +97,11 @@ class Verification {
97
97
  method: "POST",
98
98
  headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
99
99
  ? yield core.Supplier.get(this._options.apiKey)
100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  requestType: "file",
102
102
  duplex: _maybeEncodedRequest.duplex,
103
103
  body: _maybeEncodedRequest.body,
104
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
104
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
105
105
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
106
106
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
107
107
  });
@@ -81,10 +81,10 @@ class Captcha {
81
81
  method: "GET",
82
82
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
83
83
  ? yield core.Supplier.get(this._options.apiKey)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
87
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
88
88
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
89
89
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
90
90
  });
@@ -153,11 +153,11 @@ class Captcha {
153
153
  method: "POST",
154
154
  headers: Object.assign(Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
155
155
  ? yield core.Supplier.get(this._options.apiKey)
156
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
156
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
157
  requestType: "file",
158
158
  duplex: _maybeEncodedRequest.duplex,
159
159
  body: _maybeEncodedRequest.body,
160
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
160
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
161
161
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
162
162
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
163
163
  });
@@ -74,11 +74,11 @@ class Audio {
74
74
  method: "GET",
75
75
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
76
76
  ? yield core.Supplier.get(this._options.apiKey)
77
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  responseType: "streaming",
81
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
81
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
82
82
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
83
83
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
84
84
  });
@@ -78,10 +78,10 @@ class Settings {
78
78
  method: "GET",
79
79
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
80
80
  ? yield core.Supplier.get(this._options.apiKey)
81
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
84
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
85
85
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
86
86
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
87
87
  });
@@ -142,10 +142,10 @@ class Settings {
142
142
  method: "GET",
143
143
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
144
144
  ? yield core.Supplier.get(this._options.apiKey)
145
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
145
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
148
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
149
149
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
150
150
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
151
151
  });
@@ -223,11 +223,11 @@ class Settings {
223
223
  method: "POST",
224
224
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
225
225
  ? yield core.Supplier.get(this._options.apiKey)
226
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
226
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
227
  contentType: "application/json",
228
228
  requestType: "json",
229
229
  body: serializers.VoiceSettings.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
230
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
230
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
231
231
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
232
232
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
233
233
  });
@@ -91,11 +91,11 @@ class Groups {
91
91
  method: "GET",
92
92
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
93
93
  ? yield core.Supplier.get(this._options.apiKey)
94
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
95
  contentType: "application/json",
96
96
  queryParameters: _queryParams,
97
97
  requestType: "json",
98
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
98
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
99
99
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
100
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
101
101
  });
@@ -84,11 +84,11 @@ class Members {
84
84
  method: "POST",
85
85
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
86
86
  ? yield core.Supplier.get(this._options.apiKey)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.workspace.groups.BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIdMembersRemovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
91
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
91
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
92
92
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
93
93
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
94
94
  });
@@ -162,13 +162,13 @@ class Members {
162
162
  method: "POST",
163
163
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
164
164
  ? yield core.Supplier.get(this._options.apiKey)
165
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.workspace.groups.AddMemberToGroupRequest.jsonOrThrow(request, {
169
169
  unrecognizedObjectKeys: "strip",
170
170
  }),
171
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
171
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
172
172
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
173
173
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
174
174
  });
@@ -83,11 +83,11 @@ class Invites {
83
83
  method: "POST",
84
84
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
85
85
  ? yield core.Supplier.get(this._options.apiKey)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.workspace.InviteUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
90
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
90
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
91
91
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
92
92
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
93
93
  });
@@ -160,13 +160,13 @@ class Invites {
160
160
  method: "POST",
161
161
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
162
162
  ? yield core.Supplier.get(this._options.apiKey)
163
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.workspace.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.jsonOrThrow(request, {
167
167
  unrecognizedObjectKeys: "strip",
168
168
  }),
169
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
169
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
170
170
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
171
171
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
172
172
  });
@@ -239,13 +239,13 @@ class Invites {
239
239
  method: "DELETE",
240
240
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
241
241
  ? yield core.Supplier.get(this._options.apiKey)
242
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  body: serializers.workspace.BodyDeleteExistingInvitationV1WorkspaceInvitesDelete.jsonOrThrow(request, {
246
246
  unrecognizedObjectKeys: "strip",
247
247
  }),
248
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
248
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
249
249
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
250
250
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
251
251
  });
@@ -83,11 +83,11 @@ class Members {
83
83
  method: "POST",
84
84
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
85
85
  ? yield core.Supplier.get(this._options.apiKey)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.workspace.UpdateMemberRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
90
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
90
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
91
91
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
92
92
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
93
93
  });
@@ -160,13 +160,13 @@ class Members {
160
160
  method: "DELETE",
161
161
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
162
162
  ? yield core.Supplier.get(this._options.apiKey)
163
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.workspace.BodyDeleteMemberV1WorkspaceMembersDelete.jsonOrThrow(request, {
167
167
  unrecognizedObjectKeys: "strip",
168
168
  }),
169
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
169
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
170
170
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
171
171
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
172
172
  });
@@ -89,11 +89,11 @@ class Resources {
89
89
  method: "GET",
90
90
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
91
91
  ? yield core.Supplier.get(this._options.apiKey)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
96
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
96
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
97
97
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
98
98
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
99
99
  });
@@ -168,11 +168,11 @@ class Resources {
168
168
  method: "POST",
169
169
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
170
170
  ? yield core.Supplier.get(this._options.apiKey)
171
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  body: serializers.workspace.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
175
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
176
176
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
177
177
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
178
178
  });
@@ -238,11 +238,11 @@ class Resources {
238
238
  method: "POST",
239
239
  headers: Object.assign({ "xi-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
240
240
  ? yield core.Supplier.get(this._options.apiKey)
241
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.0.1", "User-Agent": "@elevenlabs/elevenlabs-js/v2.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js", "X-Fern-SDK-Version": "v2.1.0", "User-Agent": "@elevenlabs/elevenlabs-js/v2.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  body: serializers.workspace.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
245
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
245
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
246
246
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
247
247
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
248
248
  });
@@ -10,6 +10,6 @@ export interface AudioOutputMulti {
10
10
  audio: string;
11
11
  normalizedAlignment?: ElevenLabs.NormalizedAlignment;
12
12
  alignment?: ElevenLabs.Alignment;
13
- /** The context_id for which this audio is. */
13
+ /** The contextId for which this audio is. */
14
14
  contextId?: string;
15
15
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as ElevenLabs from "../index";
5
5
  export interface ChapterContentBlockInputModel {
6
+ subType?: ElevenLabs.ChapterContentBlockInputModelSubType;
6
7
  blockId?: string;
7
8
  nodes: ElevenLabs.ChapterContentParagraphTtsNodeInputModel[];
8
9
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ChapterContentBlockInputModelSubType = "p" | "h1" | "h2" | "h3";
5
+ export declare const ChapterContentBlockInputModelSubType: {
6
+ readonly P: "p";
7
+ readonly H1: "h1";
8
+ readonly H2: "h2";
9
+ readonly H3: "h3";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ChapterContentBlockInputModelSubType = void 0;
7
+ exports.ChapterContentBlockInputModelSubType = {
8
+ P: "p",
9
+ H1: "h1",
10
+ H2: "h2",
11
+ H3: "h3",
12
+ };
@@ -9,6 +9,8 @@ export interface ConversationTokenDbModel {
9
9
  conversationToken: string;
10
10
  /** The expiration time of the token in unix seconds */
11
11
  expirationTimeUnixSecs?: number;
12
+ /** The ID of the conversation */
13
+ conversationId?: string;
12
14
  /** The purpose of the token */
13
15
  purpose?: ElevenLabs.ConversationTokenPurpose;
14
16
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface GetAgentKnowledgebaseSizeResponseModel {
5
+ numberOfPages: number;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface LlmUsageCalculatorLlmResponseModel {
6
+ llm: ElevenLabs.Llm;
7
+ pricePerMinute: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface LlmUsageCalculatorResponseModel {
6
+ llmPrices: ElevenLabs.LlmUsageCalculatorLlmResponseModel[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ /**
6
+ * A Native MCP tool is a tool that is used to call a Native MCP server
7
+ */
8
+ export interface NativeMcpToolConfigInput {
9
+ id?: string;
10
+ name: string;
11
+ description: string;
12
+ /** The maximum time in seconds to wait for the tool call to complete. */
13
+ responseTimeoutSecs?: number;
14
+ /** Schema for any parameters the LLM needs to provide to the MCP tool. */
15
+ parameters?: ElevenLabs.ObjectJsonSchemaPropertyInput;
16
+ /** The name of the MCP tool to call */
17
+ mcpToolName: string;
18
+ /** The id of the MCP server to call */
19
+ mcpServerId: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ /**
6
+ * A Native MCP tool is a tool that is used to call a Native MCP server
7
+ */
8
+ export interface NativeMcpToolConfigOutput {
9
+ id?: string;
10
+ name: string;
11
+ description: string;
12
+ /** The maximum time in seconds to wait for the tool call to complete. */
13
+ responseTimeoutSecs?: number;
14
+ /** Schema for any parameters the LLM needs to provide to the MCP tool. */
15
+ parameters?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
16
+ /** The name of the MCP tool to call */
17
+ mcpToolName: string;
18
+ /** The id of the MCP server to call */
19
+ mcpServerId: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,6 +17,8 @@ export interface PromptAgent {
17
17
  toolIds?: string[];
18
18
  /** A list of MCP server ids to be used by the agent */
19
19
  mcpServerIds?: string[];
20
+ /** A list of Native MCP server ids to be used by the agent */
21
+ nativeMcpServerIds?: string[];
20
22
  /** A list of knowledge bases to be used by the agent */
21
23
  knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
22
24
  /** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
@@ -17,6 +17,8 @@ export interface PromptAgentDbModel {
17
17
  toolIds?: string[];
18
18
  /** A list of MCP server ids to be used by the agent */
19
19
  mcpServerIds?: string[];
20
+ /** A list of Native MCP server ids to be used by the agent */
21
+ nativeMcpServerIds?: string[];
20
22
  /** A list of knowledge bases to be used by the agent */
21
23
  knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
22
24
  /** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
5
5
  /**
6
6
  * The type of tool
7
7
  */
8
- export type PromptAgentDbModelToolsItem = ElevenLabs.PromptAgentDbModelToolsItem.Client | ElevenLabs.PromptAgentDbModelToolsItem.Mcp | ElevenLabs.PromptAgentDbModelToolsItem.System | ElevenLabs.PromptAgentDbModelToolsItem.Webhook;
8
+ export type PromptAgentDbModelToolsItem = ElevenLabs.PromptAgentDbModelToolsItem.Client | ElevenLabs.PromptAgentDbModelToolsItem.Mcp | ElevenLabs.PromptAgentDbModelToolsItem.NativeMcp | ElevenLabs.PromptAgentDbModelToolsItem.System | ElevenLabs.PromptAgentDbModelToolsItem.Webhook;
9
9
  export declare namespace PromptAgentDbModelToolsItem {
10
10
  interface Client extends ElevenLabs.ClientToolConfigInput {
11
11
  type: "client";
@@ -13,6 +13,9 @@ export declare namespace PromptAgentDbModelToolsItem {
13
13
  interface Mcp extends ElevenLabs.McpToolConfigInput {
14
14
  type: "mcp";
15
15
  }
16
+ interface NativeMcp extends ElevenLabs.NativeMcpToolConfigInput {
17
+ type: "native_mcp";
18
+ }
16
19
  interface System extends ElevenLabs.SystemToolConfigInput {
17
20
  type: "system";
18
21
  }
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
5
5
  /**
6
6
  * The type of tool
7
7
  */
8
- export type PromptAgentInputToolsItem = ElevenLabs.PromptAgentInputToolsItem.Client | ElevenLabs.PromptAgentInputToolsItem.Mcp | ElevenLabs.PromptAgentInputToolsItem.System | ElevenLabs.PromptAgentInputToolsItem.Webhook;
8
+ export type PromptAgentInputToolsItem = ElevenLabs.PromptAgentInputToolsItem.Client | ElevenLabs.PromptAgentInputToolsItem.Mcp | ElevenLabs.PromptAgentInputToolsItem.NativeMcp | ElevenLabs.PromptAgentInputToolsItem.System | ElevenLabs.PromptAgentInputToolsItem.Webhook;
9
9
  export declare namespace PromptAgentInputToolsItem {
10
10
  interface Client extends ElevenLabs.ClientToolConfigInput {
11
11
  type: "client";
@@ -13,6 +13,9 @@ export declare namespace PromptAgentInputToolsItem {
13
13
  interface Mcp extends ElevenLabs.McpToolConfigInput {
14
14
  type: "mcp";
15
15
  }
16
+ interface NativeMcp extends ElevenLabs.NativeMcpToolConfigInput {
17
+ type: "native_mcp";
18
+ }
16
19
  interface System extends ElevenLabs.SystemToolConfigInput {
17
20
  type: "system";
18
21
  }
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
5
5
  /**
6
6
  * The type of tool
7
7
  */
8
- export type PromptAgentOutputToolsItem = ElevenLabs.PromptAgentOutputToolsItem.Client | ElevenLabs.PromptAgentOutputToolsItem.Mcp | ElevenLabs.PromptAgentOutputToolsItem.System | ElevenLabs.PromptAgentOutputToolsItem.Webhook;
8
+ export type PromptAgentOutputToolsItem = ElevenLabs.PromptAgentOutputToolsItem.Client | ElevenLabs.PromptAgentOutputToolsItem.Mcp | ElevenLabs.PromptAgentOutputToolsItem.NativeMcp | ElevenLabs.PromptAgentOutputToolsItem.System | ElevenLabs.PromptAgentOutputToolsItem.Webhook;
9
9
  export declare namespace PromptAgentOutputToolsItem {
10
10
  interface Client extends ElevenLabs.ClientToolConfigOutput {
11
11
  type: "client";
@@ -13,6 +13,9 @@ export declare namespace PromptAgentOutputToolsItem {
13
13
  interface Mcp extends ElevenLabs.McpToolConfigOutput {
14
14
  type: "mcp";
15
15
  }
16
+ interface NativeMcp extends ElevenLabs.NativeMcpToolConfigOutput {
17
+ type: "native_mcp";
18
+ }
16
19
  interface System extends ElevenLabs.SystemToolConfigOutput {
17
20
  type: "system";
18
21
  }