@elevenlabs/elevenlabs-js 2.20.0 → 2.21.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 (530) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +9 -4
  3. package/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
  4. package/api/resources/conversationalAi/conversation/Conversation.js +4 -0
  5. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  6. package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  7. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  8. package/api/resources/conversationalAi/resources/index.d.ts +2 -1
  9. package/api/resources/conversationalAi/resources/index.js +3 -2
  10. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  11. package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  12. package/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  13. package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
  14. package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  16. package/api/resources/dubbing/client/Client.d.ts +1 -6
  17. package/api/resources/dubbing/client/Client.js +13 -10
  18. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
  19. package/api/resources/index.d.ts +1 -0
  20. package/api/resources/index.js +2 -1
  21. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
  22. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
  23. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
  24. package/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
  25. package/api/resources/pronunciationDictionaries/client/Client.js +3 -2
  26. package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
  27. package/api/resources/speechToText/client/Client.d.ts +0 -1
  28. package/api/resources/speechToText/client/Client.js +3 -2
  29. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
  30. package/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
  31. package/api/resources/studio/resources/projects/client/Client.js +3 -2
  32. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
  33. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
  34. package/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
  35. package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
  36. package/api/resources/textToDialogue/client/Client.d.ts +27 -0
  37. package/api/resources/textToDialogue/client/Client.js +182 -0
  38. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
  39. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
  40. package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  41. package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  42. package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
  43. package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  44. package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
  45. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
  46. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
  47. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
  48. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
  49. package/api/resources/textToDialogue/types/index.d.ts +4 -0
  50. package/api/resources/textToDialogue/types/index.js +4 -0
  51. package/api/resources/tokens/client/Client.d.ts +20 -0
  52. package/api/resources/tokens/client/Client.js +15 -0
  53. package/api/resources/tokens/client/index.d.ts +1 -0
  54. package/api/resources/tokens/client/index.js +2 -0
  55. package/api/resources/tokens/index.d.ts +2 -0
  56. package/api/resources/tokens/index.js +18 -0
  57. package/api/resources/tokens/resources/index.d.ts +1 -0
  58. package/api/resources/tokens/resources/index.js +37 -0
  59. package/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
  60. package/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
  61. package/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
  62. package/api/resources/tokens/resources/singleUse/client/index.js +2 -0
  63. package/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
  64. package/api/resources/tokens/resources/singleUse/index.js +17 -0
  65. package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  66. package/api/types/ClientToolConfigInput.d.ts +4 -0
  67. package/api/types/ClientToolConfigOutput.d.ts +4 -0
  68. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
  69. package/api/types/GuardrailsV1Input.d.ts +5 -0
  70. package/api/types/GuardrailsV1Output.d.ts +5 -0
  71. package/api/types/Llm.d.ts +2 -0
  72. package/api/types/Llm.js +2 -0
  73. package/api/types/McpServerConfigInput.d.ts +2 -0
  74. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  75. package/api/types/McpServerConfigOutput.d.ts +2 -0
  76. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  77. package/api/types/MetricType.d.ts +1 -0
  78. package/api/types/MetricType.js +1 -0
  79. package/api/types/ModerationConfig.d.ts +14 -0
  80. package/api/types/ModerationConfig.js +3 -0
  81. package/api/types/ModerationGuardrailInput.d.ts +4 -0
  82. package/api/types/ModerationGuardrailInput.js +3 -0
  83. package/api/types/ModerationGuardrailOutput.d.ts +4 -0
  84. package/api/types/ModerationGuardrailOutput.js +3 -0
  85. package/api/types/ReferencedToolCommonModel.d.ts +1 -1
  86. package/api/types/ReferencedToolCommonModelType.d.ts +8 -0
  87. package/api/types/ReferencedToolCommonModelType.js +11 -0
  88. package/api/types/RegionConfigRequest.d.ts +9 -0
  89. package/api/types/RegionConfigRequest.js +3 -0
  90. package/api/types/SingleUseTokenResponseModel.d.ts +4 -0
  91. package/api/types/SingleUseTokenResponseModel.js +3 -0
  92. package/api/types/SingleUseTokenType.d.ts +1 -0
  93. package/api/types/SingleUseTokenType.js +3 -0
  94. package/api/types/SongSection.d.ts +1 -1
  95. package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  96. package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  97. package/api/types/SystemToolConfigInput.d.ts +4 -0
  98. package/api/types/SystemToolConfigOutput.d.ts +4 -0
  99. package/api/types/ThresholdGuardrail.d.ts +4 -0
  100. package/api/types/ThresholdGuardrail.js +3 -0
  101. package/api/types/ToolCallSoundBehavior.d.ts +6 -0
  102. package/api/types/ToolCallSoundBehavior.js +9 -0
  103. package/api/types/ToolCallSoundType.d.ts +9 -0
  104. package/api/types/ToolCallSoundType.js +12 -0
  105. package/api/types/ToolRequestModelToolConfig.d.ts +1 -5
  106. package/api/types/TurnConfig.d.ts +2 -2
  107. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  108. package/api/types/TurnEagerness.d.ts +7 -0
  109. package/api/types/TurnEagerness.js +10 -0
  110. package/api/types/TwilioEdgeLocation.d.ts +13 -0
  111. package/api/types/TwilioEdgeLocation.js +16 -0
  112. package/api/types/TwilioRegionId.d.ts +7 -0
  113. package/api/types/TwilioRegionId.js +10 -0
  114. package/api/types/User.d.ts +0 -2
  115. package/api/types/VadConfig.d.ts +0 -2
  116. package/api/types/VadConfigWorkflowOverride.d.ts +0 -2
  117. package/api/types/VoiceSegment.d.ts +12 -0
  118. package/api/types/VoiceSegment.js +3 -0
  119. package/api/types/WebhookToolConfigInput.d.ts +4 -0
  120. package/api/types/WebhookToolConfigOutput.d.ts +4 -0
  121. package/api/types/WorkspaceResourceType.d.ts +2 -0
  122. package/api/types/WorkspaceResourceType.js +2 -0
  123. package/api/types/index.d.ts +18 -5
  124. package/api/types/index.js +18 -5
  125. package/dist/Client.d.ts +3 -0
  126. package/dist/Client.js +9 -4
  127. package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
  128. package/dist/api/resources/conversationalAi/conversation/Conversation.js +4 -0
  129. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  130. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  131. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  132. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
  133. package/dist/api/resources/conversationalAi/resources/index.js +3 -2
  134. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  135. package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  136. package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  137. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
  138. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +3 -0
  139. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  140. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  141. package/dist/api/resources/dubbing/client/Client.d.ts +1 -6
  142. package/dist/api/resources/dubbing/client/Client.js +13 -10
  143. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
  144. package/dist/api/resources/index.d.ts +1 -0
  145. package/dist/api/resources/index.js +2 -1
  146. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
  147. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
  148. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
  149. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
  150. package/dist/api/resources/pronunciationDictionaries/client/Client.js +3 -2
  151. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
  152. package/dist/api/resources/speechToText/client/Client.d.ts +0 -1
  153. package/dist/api/resources/speechToText/client/Client.js +3 -2
  154. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
  155. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
  156. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -2
  157. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
  158. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
  159. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
  160. package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
  161. package/dist/api/resources/textToDialogue/client/Client.d.ts +27 -0
  162. package/dist/api/resources/textToDialogue/client/Client.js +182 -0
  163. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
  164. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +3 -0
  165. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
  166. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +3 -0
  167. package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  168. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  169. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
  170. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  171. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
  172. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
  173. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
  174. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
  175. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
  176. package/dist/api/resources/textToDialogue/types/index.d.ts +4 -0
  177. package/dist/api/resources/textToDialogue/types/index.js +4 -0
  178. package/dist/api/resources/tokens/client/Client.d.ts +20 -0
  179. package/dist/api/resources/tokens/client/Client.js +15 -0
  180. package/dist/api/resources/tokens/client/index.d.ts +1 -0
  181. package/dist/api/resources/tokens/client/index.js +2 -0
  182. package/dist/api/resources/tokens/index.d.ts +2 -0
  183. package/dist/api/resources/tokens/index.js +18 -0
  184. package/dist/api/resources/tokens/resources/index.d.ts +1 -0
  185. package/dist/api/resources/tokens/resources/index.js +37 -0
  186. package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
  187. package/dist/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
  188. package/dist/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
  189. package/dist/api/resources/tokens/resources/singleUse/client/index.js +2 -0
  190. package/dist/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
  191. package/dist/api/resources/tokens/resources/singleUse/index.js +17 -0
  192. package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  193. package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  194. package/dist/api/types/ClientToolConfigInput.d.ts +4 -0
  195. package/dist/api/types/ClientToolConfigOutput.d.ts +4 -0
  196. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
  197. package/dist/api/types/GuardrailsV1Input.d.ts +5 -0
  198. package/dist/api/types/GuardrailsV1Input.js +3 -0
  199. package/dist/api/types/GuardrailsV1Output.d.ts +5 -0
  200. package/dist/api/types/GuardrailsV1Output.js +3 -0
  201. package/dist/api/types/Llm.d.ts +2 -0
  202. package/dist/api/types/Llm.js +2 -0
  203. package/dist/api/types/McpServerConfigInput.d.ts +2 -0
  204. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  205. package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
  206. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  207. package/dist/api/types/MetricType.d.ts +1 -0
  208. package/dist/api/types/MetricType.js +1 -0
  209. package/dist/api/types/ModerationConfig.d.ts +14 -0
  210. package/dist/api/types/ModerationConfig.js +3 -0
  211. package/dist/api/types/ModerationGuardrailInput.d.ts +4 -0
  212. package/dist/api/types/ModerationGuardrailInput.js +3 -0
  213. package/dist/api/types/ModerationGuardrailOutput.d.ts +4 -0
  214. package/dist/api/types/ModerationGuardrailOutput.js +3 -0
  215. package/dist/api/types/ReferencedToolCommonModel.d.ts +1 -1
  216. package/dist/api/types/ReferencedToolCommonModelType.d.ts +8 -0
  217. package/dist/api/types/ReferencedToolCommonModelType.js +11 -0
  218. package/dist/api/types/RegionConfigRequest.d.ts +9 -0
  219. package/dist/api/types/RegionConfigRequest.js +3 -0
  220. package/dist/api/types/SingleUseTokenResponseModel.d.ts +4 -0
  221. package/dist/api/types/SingleUseTokenResponseModel.js +3 -0
  222. package/dist/api/types/SingleUseTokenType.d.ts +1 -0
  223. package/dist/api/types/SingleUseTokenType.js +3 -0
  224. package/dist/api/types/SongSection.d.ts +1 -1
  225. package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  226. package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  227. package/dist/api/types/SystemToolConfigInput.d.ts +4 -0
  228. package/dist/api/types/SystemToolConfigOutput.d.ts +4 -0
  229. package/dist/api/types/ThresholdGuardrail.d.ts +4 -0
  230. package/dist/api/types/ThresholdGuardrail.js +3 -0
  231. package/dist/api/types/ToolCallSoundBehavior.d.ts +6 -0
  232. package/dist/api/types/ToolCallSoundBehavior.js +9 -0
  233. package/dist/api/types/ToolCallSoundType.d.ts +9 -0
  234. package/dist/api/types/ToolCallSoundType.js +12 -0
  235. package/dist/api/types/ToolRequestModelToolConfig.d.ts +1 -5
  236. package/dist/api/types/TurnConfig.d.ts +2 -2
  237. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  238. package/dist/api/types/TurnEagerness.d.ts +7 -0
  239. package/dist/api/types/TurnEagerness.js +10 -0
  240. package/dist/api/types/TwilioEdgeLocation.d.ts +13 -0
  241. package/dist/api/types/TwilioEdgeLocation.js +16 -0
  242. package/dist/api/types/TwilioRegionId.d.ts +7 -0
  243. package/dist/api/types/TwilioRegionId.js +10 -0
  244. package/dist/api/types/User.d.ts +0 -2
  245. package/dist/api/types/VadConfig.d.ts +0 -2
  246. package/dist/api/types/VadConfigWorkflowOverride.d.ts +0 -2
  247. package/dist/api/types/VoiceSegment.d.ts +12 -0
  248. package/dist/api/types/VoiceSegment.js +3 -0
  249. package/dist/api/types/WebhookToolConfigInput.d.ts +4 -0
  250. package/dist/api/types/WebhookToolConfigOutput.d.ts +4 -0
  251. package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
  252. package/dist/api/types/WorkspaceResourceType.js +2 -0
  253. package/dist/api/types/index.d.ts +18 -5
  254. package/dist/api/types/index.js +18 -5
  255. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  256. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
  257. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  258. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +6 -0
  259. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  260. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  261. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
  262. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
  263. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  264. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  265. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
  266. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
  267. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
  268. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
  269. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
  270. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
  271. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
  272. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
  273. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
  274. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
  275. package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  276. package/dist/serialization/resources/textToDialogue/client/requests/index.js +5 -1
  277. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  278. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
  279. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  280. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
  281. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  282. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
  283. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
  284. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
  285. package/dist/serialization/resources/textToDialogue/types/index.d.ts +4 -0
  286. package/dist/serialization/resources/textToDialogue/types/index.js +4 -0
  287. package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  288. package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  289. package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
  290. package/dist/serialization/types/ClientToolConfigInput.js +4 -0
  291. package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  292. package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
  293. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  294. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  295. package/dist/serialization/types/GuardrailsV1Input.d.ts +11 -0
  296. package/dist/serialization/types/GuardrailsV1Input.js +43 -0
  297. package/dist/serialization/types/GuardrailsV1Output.d.ts +11 -0
  298. package/dist/serialization/types/GuardrailsV1Output.js +43 -0
  299. package/dist/serialization/types/Llm.d.ts +1 -1
  300. package/dist/serialization/types/Llm.js +2 -0
  301. package/dist/serialization/types/McpServerConfigInput.d.ts +2 -0
  302. package/dist/serialization/types/McpServerConfigInput.js +2 -0
  303. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  304. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
  305. package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -0
  306. package/dist/serialization/types/McpServerConfigOutput.js +2 -0
  307. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  308. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
  309. package/dist/serialization/types/MetricType.d.ts +1 -1
  310. package/dist/serialization/types/MetricType.js +1 -0
  311. package/dist/serialization/types/ModerationConfig.d.ts +20 -0
  312. package/{serialization/types/SubscriptionUsageResponseModel.js → dist/serialization/types/ModerationConfig.js} +14 -10
  313. package/dist/serialization/types/ModerationGuardrailInput.d.ts +10 -0
  314. package/dist/serialization/types/ModerationGuardrailInput.js +42 -0
  315. package/dist/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
  316. package/dist/serialization/types/ModerationGuardrailOutput.js +42 -0
  317. package/dist/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
  318. package/dist/serialization/types/ReferencedToolCommonModel.js +2 -2
  319. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
  320. package/dist/serialization/types/{ModerationStatusResponseModelWarningStatus.js → ReferencedToolCommonModelType.js} +2 -2
  321. package/dist/serialization/types/RegionConfigRequest.d.ts +13 -0
  322. package/dist/serialization/types/RegionConfigRequest.js +45 -0
  323. package/dist/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
  324. package/{serialization/types/ModerationStatusResponseModelWarningStatus.js → dist/serialization/types/SingleUseTokenResponseModel.js} +4 -2
  325. package/dist/serialization/types/SingleUseTokenType.d.ts +7 -0
  326. package/dist/serialization/types/{ModerationStatusResponseModelSafetyStatus.js → SingleUseTokenType.js} +2 -2
  327. package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  328. package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  329. package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
  330. package/dist/serialization/types/SystemToolConfigInput.js +4 -0
  331. package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  332. package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
  333. package/dist/serialization/types/ThresholdGuardrail.d.ts +10 -0
  334. package/dist/serialization/types/ThresholdGuardrail.js +42 -0
  335. package/dist/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
  336. package/{serialization/types/ModerationStatusResponseModelSafetyStatus.js → dist/serialization/types/ToolCallSoundBehavior.js} +2 -2
  337. package/dist/serialization/types/ToolCallSoundType.d.ts +7 -0
  338. package/dist/serialization/types/ToolCallSoundType.js +39 -0
  339. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +1 -5
  340. package/dist/serialization/types/ToolRequestModelToolConfig.js +0 -3
  341. package/dist/serialization/types/TurnConfig.d.ts +2 -2
  342. package/dist/serialization/types/TurnConfig.js +2 -2
  343. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
  344. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -2
  345. package/dist/serialization/types/TurnEagerness.d.ts +7 -0
  346. package/dist/serialization/types/TurnEagerness.js +39 -0
  347. package/dist/serialization/types/TwilioEdgeLocation.d.ts +7 -0
  348. package/dist/serialization/types/TwilioEdgeLocation.js +49 -0
  349. package/dist/serialization/types/TwilioRegionId.d.ts +7 -0
  350. package/dist/serialization/types/TwilioRegionId.js +39 -0
  351. package/dist/serialization/types/User.d.ts +0 -2
  352. package/dist/serialization/types/User.js +0 -2
  353. package/dist/serialization/types/VadConfig.d.ts +0 -1
  354. package/dist/serialization/types/VadConfig.js +1 -3
  355. package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
  356. package/dist/serialization/types/VadConfigWorkflowOverride.js +1 -3
  357. package/dist/serialization/types/VoiceSegment.d.ts +13 -0
  358. package/dist/serialization/types/VoiceSegment.js +45 -0
  359. package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  360. package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
  361. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  362. package/dist/serialization/types/WebhookToolConfigOutput.js +4 -0
  363. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  364. package/dist/serialization/types/WorkspaceResourceType.js +2 -0
  365. package/dist/serialization/types/index.d.ts +18 -5
  366. package/dist/serialization/types/index.js +18 -5
  367. package/dist/version.d.ts +1 -1
  368. package/dist/version.js +1 -1
  369. package/dist/wrapper/ElevenLabsClient.js +1 -1
  370. package/dist/wrapper/music.d.ts +74 -3
  371. package/dist/wrapper/music.js +127 -14
  372. package/dist/wrapper/realtime/connection.js +0 -1
  373. package/dist/wrapper/realtime/scribe.d.ts +5 -0
  374. package/dist/wrapper/realtime/scribe.js +3 -0
  375. package/package.json +3 -2
  376. package/reference.md +221 -18
  377. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  378. package/serialization/resources/conversationalAi/resources/index.js +3 -2
  379. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  380. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +6 -0
  381. package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  382. package/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  383. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
  384. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
  385. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  386. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  387. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
  388. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
  389. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
  390. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
  391. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
  392. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
  393. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
  394. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
  395. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
  396. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
  397. package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  398. package/serialization/resources/textToDialogue/client/requests/index.js +5 -1
  399. package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  400. package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
  401. package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  402. package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
  403. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  404. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
  405. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
  406. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
  407. package/serialization/resources/textToDialogue/types/index.d.ts +4 -0
  408. package/serialization/resources/textToDialogue/types/index.js +4 -0
  409. package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  410. package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  411. package/serialization/types/ClientToolConfigInput.d.ts +4 -0
  412. package/serialization/types/ClientToolConfigInput.js +4 -0
  413. package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  414. package/serialization/types/ClientToolConfigOutput.js +4 -0
  415. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  416. package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  417. package/serialization/types/GuardrailsV1Input.d.ts +11 -0
  418. package/serialization/types/GuardrailsV1Input.js +43 -0
  419. package/serialization/types/GuardrailsV1Output.d.ts +11 -0
  420. package/serialization/types/GuardrailsV1Output.js +43 -0
  421. package/serialization/types/Llm.d.ts +1 -1
  422. package/serialization/types/Llm.js +2 -0
  423. package/serialization/types/McpServerConfigInput.d.ts +2 -0
  424. package/serialization/types/McpServerConfigInput.js +2 -0
  425. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  426. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
  427. package/serialization/types/McpServerConfigOutput.d.ts +2 -0
  428. package/serialization/types/McpServerConfigOutput.js +2 -0
  429. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  430. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
  431. package/serialization/types/MetricType.d.ts +1 -1
  432. package/serialization/types/MetricType.js +1 -0
  433. package/serialization/types/ModerationConfig.d.ts +20 -0
  434. package/{dist/serialization/types/SubscriptionUsageResponseModel.js → serialization/types/ModerationConfig.js} +14 -10
  435. package/serialization/types/ModerationGuardrailInput.d.ts +10 -0
  436. package/serialization/types/ModerationGuardrailInput.js +42 -0
  437. package/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
  438. package/serialization/types/ModerationGuardrailOutput.js +42 -0
  439. package/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
  440. package/serialization/types/ReferencedToolCommonModel.js +2 -2
  441. package/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
  442. package/serialization/types/ReferencedToolCommonModelType.js +39 -0
  443. package/serialization/types/RegionConfigRequest.d.ts +13 -0
  444. package/serialization/types/RegionConfigRequest.js +45 -0
  445. package/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
  446. package/serialization/types/SingleUseTokenResponseModel.js +41 -0
  447. package/serialization/types/SingleUseTokenType.d.ts +7 -0
  448. package/serialization/types/SingleUseTokenType.js +39 -0
  449. package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  450. package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  451. package/serialization/types/SystemToolConfigInput.d.ts +4 -0
  452. package/serialization/types/SystemToolConfigInput.js +4 -0
  453. package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  454. package/serialization/types/SystemToolConfigOutput.js +4 -0
  455. package/serialization/types/ThresholdGuardrail.d.ts +10 -0
  456. package/serialization/types/ThresholdGuardrail.js +42 -0
  457. package/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
  458. package/serialization/types/ToolCallSoundBehavior.js +39 -0
  459. package/serialization/types/ToolCallSoundType.d.ts +7 -0
  460. package/serialization/types/ToolCallSoundType.js +39 -0
  461. package/serialization/types/ToolRequestModelToolConfig.d.ts +1 -5
  462. package/serialization/types/ToolRequestModelToolConfig.js +0 -3
  463. package/serialization/types/TurnConfig.d.ts +2 -2
  464. package/serialization/types/TurnConfig.js +2 -2
  465. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
  466. package/serialization/types/TurnConfigWorkflowOverride.js +2 -2
  467. package/serialization/types/TurnEagerness.d.ts +7 -0
  468. package/serialization/types/TurnEagerness.js +39 -0
  469. package/serialization/types/TwilioEdgeLocation.d.ts +7 -0
  470. package/serialization/types/TwilioEdgeLocation.js +49 -0
  471. package/serialization/types/TwilioRegionId.d.ts +7 -0
  472. package/serialization/types/TwilioRegionId.js +39 -0
  473. package/serialization/types/User.d.ts +0 -2
  474. package/serialization/types/User.js +0 -2
  475. package/serialization/types/VadConfig.d.ts +0 -1
  476. package/serialization/types/VadConfig.js +1 -3
  477. package/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
  478. package/serialization/types/VadConfigWorkflowOverride.js +1 -3
  479. package/serialization/types/VoiceSegment.d.ts +13 -0
  480. package/serialization/types/VoiceSegment.js +45 -0
  481. package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  482. package/serialization/types/WebhookToolConfigInput.js +4 -0
  483. package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  484. package/serialization/types/WebhookToolConfigOutput.js +4 -0
  485. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  486. package/serialization/types/WorkspaceResourceType.js +2 -0
  487. package/serialization/types/index.d.ts +18 -5
  488. package/serialization/types/index.js +18 -5
  489. package/version.d.ts +1 -1
  490. package/version.js +1 -1
  491. package/wrapper/ElevenLabsClient.js +1 -1
  492. package/wrapper/music.d.ts +74 -3
  493. package/wrapper/music.js +127 -14
  494. package/wrapper/realtime/connection.js +0 -1
  495. package/wrapper/realtime/scribe.d.ts +5 -0
  496. package/wrapper/realtime/scribe.js +3 -0
  497. package/api/types/ModerationStatusResponseModel.d.ts +0 -21
  498. package/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
  499. package/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
  500. package/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
  501. package/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
  502. package/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
  503. package/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
  504. package/dist/api/types/ModerationStatusResponseModel.d.ts +0 -21
  505. package/dist/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
  506. package/dist/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
  507. package/dist/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
  508. package/dist/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
  509. package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
  510. package/dist/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
  511. package/dist/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
  512. package/dist/serialization/types/ModerationStatusResponseModel.js +0 -51
  513. package/dist/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
  514. package/dist/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
  515. package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
  516. package/dist/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
  517. package/dist/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
  518. package/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
  519. package/serialization/types/ModerationStatusResponseModel.js +0 -51
  520. package/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
  521. package/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
  522. package/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
  523. package/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
  524. package/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
  525. /package/api/{types/ModerationStatusResponseModel.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js} +0 -0
  526. /package/api/{types/SubscriptionExtrasResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js} +0 -0
  527. /package/api/{types/SubscriptionUsageResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js} +0 -0
  528. /package/{dist/api/types/ModerationStatusResponseModel.js → api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js} +0 -0
  529. /package/{dist/api/types/SubscriptionExtrasResponseModel.js → api/types/GuardrailsV1Input.js} +0 -0
  530. /package/{dist/api/types/SubscriptionUsageResponseModel.js → api/types/GuardrailsV1Output.js} +0 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BodyTextToDialogueFullWithTimestampsApplyTextNormalization = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.BodyTextToDialogueFullWithTimestampsApplyTextNormalization = core.serialization.enum_(["auto", "on", "off"]);
@@ -0,0 +1,7 @@
1
+ import * as serializers from "../../../index";
2
+ import * as ElevenLabs from "../../../../api/index";
3
+ import * as core from "../../../../core";
4
+ export declare const BodyTextToDialogueStreamWithTimestampsApplyTextNormalization: core.serialization.Schema<serializers.BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.Raw, ElevenLabs.BodyTextToDialogueStreamWithTimestampsApplyTextNormalization>;
5
+ export declare namespace BodyTextToDialogueStreamWithTimestampsApplyTextNormalization {
6
+ type Raw = "auto" | "on" | "off";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BodyTextToDialogueStreamWithTimestampsApplyTextNormalization = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.BodyTextToDialogueStreamWithTimestampsApplyTextNormalization = core.serialization.enum_(["auto", "on", "off"]);
@@ -0,0 +1,7 @@
1
+ import * as serializers from "../../../index";
2
+ import * as ElevenLabs from "../../../../api/index";
3
+ import * as core from "../../../../core";
4
+ export declare const TextToDialogueConvertWithTimestampsRequestOutputFormat: core.serialization.Schema<serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.Raw, ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat>;
5
+ export declare namespace TextToDialogueConvertWithTimestampsRequestOutputFormat {
6
+ type Raw = "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
7
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = core.serialization.enum_([
40
+ "mp3_22050_32",
41
+ "mp3_24000_48",
42
+ "mp3_44100_32",
43
+ "mp3_44100_64",
44
+ "mp3_44100_96",
45
+ "mp3_44100_128",
46
+ "mp3_44100_192",
47
+ "pcm_8000",
48
+ "pcm_16000",
49
+ "pcm_22050",
50
+ "pcm_24000",
51
+ "pcm_32000",
52
+ "pcm_44100",
53
+ "pcm_48000",
54
+ "ulaw_8000",
55
+ "alaw_8000",
56
+ "opus_48000_32",
57
+ "opus_48000_64",
58
+ "opus_48000_96",
59
+ "opus_48000_128",
60
+ "opus_48000_192",
61
+ ]);
@@ -0,0 +1,7 @@
1
+ import * as serializers from "../../../index";
2
+ import * as ElevenLabs from "../../../../api/index";
3
+ import * as core from "../../../../core";
4
+ export declare const TextToDialogueStreamWithTimestampsRequestOutputFormat: core.serialization.Schema<serializers.TextToDialogueStreamWithTimestampsRequestOutputFormat.Raw, ElevenLabs.TextToDialogueStreamWithTimestampsRequestOutputFormat>;
5
+ export declare namespace TextToDialogueStreamWithTimestampsRequestOutputFormat {
6
+ type Raw = "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
7
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.TextToDialogueStreamWithTimestampsRequestOutputFormat = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.TextToDialogueStreamWithTimestampsRequestOutputFormat = core.serialization.enum_([
40
+ "mp3_22050_32",
41
+ "mp3_24000_48",
42
+ "mp3_44100_32",
43
+ "mp3_44100_64",
44
+ "mp3_44100_96",
45
+ "mp3_44100_128",
46
+ "mp3_44100_192",
47
+ "pcm_8000",
48
+ "pcm_16000",
49
+ "pcm_22050",
50
+ "pcm_24000",
51
+ "pcm_32000",
52
+ "pcm_44100",
53
+ "pcm_48000",
54
+ "ulaw_8000",
55
+ "alaw_8000",
56
+ "opus_48000_32",
57
+ "opus_48000_64",
58
+ "opus_48000_96",
59
+ "opus_48000_128",
60
+ "opus_48000_192",
61
+ ]);
@@ -2,3 +2,7 @@ export * from "./TextToDialogueConvertRequestOutputFormat";
2
2
  export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
3
3
  export * from "./TextToDialogueStreamRequestOutputFormat";
4
4
  export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
5
+ export * from "./TextToDialogueStreamWithTimestampsRequestOutputFormat";
6
+ export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
7
+ export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
8
+ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
@@ -18,3 +18,7 @@ __exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
18
18
  __exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
19
19
  __exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
20
20
  __exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
21
+ __exportStar(require("./TextToDialogueStreamWithTimestampsRequestOutputFormat"), exports);
22
+ __exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
23
+ __exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
24
+ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalization"), exports);
@@ -0,0 +1,14 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { CharacterAlignmentResponseModel } from "./CharacterAlignmentResponseModel";
5
+ import { VoiceSegment } from "./VoiceSegment";
6
+ export declare const AudioWithTimestampsAndVoiceSegmentsResponseModel: core.serialization.ObjectSchema<serializers.AudioWithTimestampsAndVoiceSegmentsResponseModel.Raw, ElevenLabs.AudioWithTimestampsAndVoiceSegmentsResponseModel>;
7
+ export declare namespace AudioWithTimestampsAndVoiceSegmentsResponseModel {
8
+ interface Raw {
9
+ audio_base64: string;
10
+ alignment?: CharacterAlignmentResponseModel.Raw | null;
11
+ normalized_alignment?: CharacterAlignmentResponseModel.Raw | null;
12
+ voice_segments: VoiceSegment.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.AudioWithTimestampsAndVoiceSegmentsResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const CharacterAlignmentResponseModel_1 = require("./CharacterAlignmentResponseModel");
40
+ const VoiceSegment_1 = require("./VoiceSegment");
41
+ exports.AudioWithTimestampsAndVoiceSegmentsResponseModel = core.serialization.object({
42
+ audioBase64: core.serialization.property("audio_base64", core.serialization.string()),
43
+ alignment: CharacterAlignmentResponseModel_1.CharacterAlignmentResponseModel.optional(),
44
+ normalizedAlignment: core.serialization.property("normalized_alignment", CharacterAlignmentResponseModel_1.CharacterAlignmentResponseModel.optional()),
45
+ voiceSegments: core.serialization.property("voice_segments", core.serialization.list(VoiceSegment_1.VoiceSegment)),
46
+ });
@@ -2,6 +2,8 @@ import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
4
  import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
5
+ import { ToolCallSoundType } from "./ToolCallSoundType";
6
+ import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
5
7
  import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
6
8
  import { ToolExecutionMode } from "./ToolExecutionMode";
7
9
  export declare const ClientToolConfigInput: core.serialization.ObjectSchema<serializers.ClientToolConfigInput.Raw, ElevenLabs.ClientToolConfigInput>;
@@ -13,6 +15,8 @@ export declare namespace ClientToolConfigInput {
13
15
  disable_interruptions?: boolean | null;
14
16
  force_pre_tool_speech?: boolean | null;
15
17
  assignments?: DynamicVariableAssignment.Raw[] | null;
18
+ tool_call_sound?: ToolCallSoundType.Raw | null;
19
+ tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
16
20
  parameters?: serializers.ObjectJsonSchemaPropertyInput.Raw | null;
17
21
  expects_response?: boolean | null;
18
22
  dynamic_variables?: DynamicVariablesConfig.Raw | null;
@@ -38,6 +38,8 @@ exports.ClientToolConfigInput = void 0;
38
38
  const serializers = __importStar(require("../index"));
39
39
  const core = __importStar(require("../../core"));
40
40
  const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
41
+ const ToolCallSoundType_1 = require("./ToolCallSoundType");
42
+ const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
41
43
  const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
42
44
  const ToolExecutionMode_1 = require("./ToolExecutionMode");
43
45
  exports.ClientToolConfigInput = core.serialization.object({
@@ -47,6 +49,8 @@ exports.ClientToolConfigInput = core.serialization.object({
47
49
  disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
48
50
  forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
49
51
  assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
52
+ toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
53
+ toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
50
54
  parameters: core.serialization.lazyObject(() => serializers.ObjectJsonSchemaPropertyInput).optional(),
51
55
  expectsResponse: core.serialization.property("expects_response", core.serialization.boolean().optional()),
52
56
  dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
@@ -2,6 +2,8 @@ import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
4
  import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
5
+ import { ToolCallSoundType } from "./ToolCallSoundType";
6
+ import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
5
7
  import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
6
8
  import { ToolExecutionMode } from "./ToolExecutionMode";
7
9
  export declare const ClientToolConfigOutput: core.serialization.ObjectSchema<serializers.ClientToolConfigOutput.Raw, ElevenLabs.ClientToolConfigOutput>;
@@ -13,6 +15,8 @@ export declare namespace ClientToolConfigOutput {
13
15
  disable_interruptions?: boolean | null;
14
16
  force_pre_tool_speech?: boolean | null;
15
17
  assignments?: DynamicVariableAssignment.Raw[] | null;
18
+ tool_call_sound?: ToolCallSoundType.Raw | null;
19
+ tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
16
20
  parameters?: serializers.ObjectJsonSchemaPropertyOutput.Raw | null;
17
21
  expects_response?: boolean | null;
18
22
  dynamic_variables?: DynamicVariablesConfig.Raw | null;
@@ -38,6 +38,8 @@ exports.ClientToolConfigOutput = void 0;
38
38
  const serializers = __importStar(require("../index"));
39
39
  const core = __importStar(require("../../core"));
40
40
  const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
41
+ const ToolCallSoundType_1 = require("./ToolCallSoundType");
42
+ const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
41
43
  const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
42
44
  const ToolExecutionMode_1 = require("./ToolExecutionMode");
43
45
  exports.ClientToolConfigOutput = core.serialization.object({
@@ -47,6 +49,8 @@ exports.ClientToolConfigOutput = core.serialization.object({
47
49
  disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
48
50
  forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
49
51
  assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
52
+ toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
53
+ toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
50
54
  parameters: core.serialization.lazyObject(() => serializers.ObjectJsonSchemaPropertyOutput).optional(),
51
55
  expectsResponse: core.serialization.property("expects_response", core.serialization.boolean().optional()),
52
56
  dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
@@ -1,6 +1,7 @@
1
1
  import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
+ import { RegionConfigRequest } from "./RegionConfigRequest";
4
5
  export declare const CreateTwilioPhoneNumberRequest: core.serialization.ObjectSchema<serializers.CreateTwilioPhoneNumberRequest.Raw, ElevenLabs.CreateTwilioPhoneNumberRequest>;
5
6
  export declare namespace CreateTwilioPhoneNumberRequest {
6
7
  interface Raw {
@@ -10,5 +11,6 @@ export declare namespace CreateTwilioPhoneNumberRequest {
10
11
  supports_outbound?: boolean | null;
11
12
  sid: string;
12
13
  token: string;
14
+ region_config?: RegionConfigRequest.Raw | null;
13
15
  }
14
16
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CreateTwilioPhoneNumberRequest = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const RegionConfigRequest_1 = require("./RegionConfigRequest");
39
40
  exports.CreateTwilioPhoneNumberRequest = core.serialization.object({
40
41
  phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
41
42
  label: core.serialization.string(),
@@ -43,4 +44,5 @@ exports.CreateTwilioPhoneNumberRequest = core.serialization.object({
43
44
  supportsOutbound: core.serialization.property("supports_outbound", core.serialization.boolean().optional()),
44
45
  sid: core.serialization.string(),
45
46
  token: core.serialization.string(),
47
+ regionConfig: core.serialization.property("region_config", RegionConfigRequest_1.RegionConfigRequest.optional()),
46
48
  });
@@ -0,0 +1,11 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ModerationGuardrailInput } from "./ModerationGuardrailInput";
5
+ export declare const GuardrailsV1Input: core.serialization.ObjectSchema<serializers.GuardrailsV1Input.Raw, ElevenLabs.GuardrailsV1Input>;
6
+ export declare namespace GuardrailsV1Input {
7
+ interface Raw {
8
+ version?: "1" | null;
9
+ moderation?: ModerationGuardrailInput.Raw | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GuardrailsV1Input = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ModerationGuardrailInput_1 = require("./ModerationGuardrailInput");
40
+ exports.GuardrailsV1Input = core.serialization.object({
41
+ version: core.serialization.stringLiteral("1").optional(),
42
+ moderation: ModerationGuardrailInput_1.ModerationGuardrailInput.optional(),
43
+ });
@@ -0,0 +1,11 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ModerationGuardrailOutput } from "./ModerationGuardrailOutput";
5
+ export declare const GuardrailsV1Output: core.serialization.ObjectSchema<serializers.GuardrailsV1Output.Raw, ElevenLabs.GuardrailsV1Output>;
6
+ export declare namespace GuardrailsV1Output {
7
+ interface Raw {
8
+ version?: "1" | null;
9
+ moderation?: ModerationGuardrailOutput.Raw | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GuardrailsV1Output = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ModerationGuardrailOutput_1 = require("./ModerationGuardrailOutput");
40
+ exports.GuardrailsV1Output = core.serialization.object({
41
+ version: core.serialization.stringLiteral("1").optional(),
42
+ moderation: ModerationGuardrailOutput_1.ModerationGuardrailOutput.optional(),
43
+ });
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
4
  export declare const Llm: core.serialization.Schema<serializers.Llm.Raw, ElevenLabs.Llm>;
5
5
  export declare namespace Llm {
6
- type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4-5" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
6
+ type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4-5" | "claude-sonnet-4" | "claude-haiku-4-5" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-haiku-4-5@20251001" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
7
7
  }
@@ -56,6 +56,7 @@ exports.Llm = core.serialization.enum_([
56
56
  "gemini-2.5-flash",
57
57
  "claude-sonnet-4-5",
58
58
  "claude-sonnet-4",
59
+ "claude-haiku-4-5",
59
60
  "claude-3-7-sonnet",
60
61
  "claude-3-5-sonnet",
61
62
  "claude-3-5-sonnet-v1",
@@ -80,6 +81,7 @@ exports.Llm = core.serialization.enum_([
80
81
  "gemini-1.5-pro-001",
81
82
  "claude-sonnet-4@20250514",
82
83
  "claude-sonnet-4-5@20250929",
84
+ "claude-haiku-4-5@20251001",
83
85
  "claude-3-7-sonnet@20250219",
84
86
  "claude-3-5-sonnet@20240620",
85
87
  "claude-3-5-sonnet-v2@20241022",
@@ -7,6 +7,7 @@ import { McpServerTransport } from "./McpServerTransport";
7
7
  import { McpServerConfigInputUrl } from "./McpServerConfigInputUrl";
8
8
  import { McpServerConfigInputSecretToken } from "./McpServerConfigInputSecretToken";
9
9
  import { McpServerConfigInputRequestHeadersValue } from "./McpServerConfigInputRequestHeadersValue";
10
+ import { ToolExecutionMode } from "./ToolExecutionMode";
10
11
  export declare const McpServerConfigInput: core.serialization.ObjectSchema<serializers.McpServerConfigInput.Raw, ElevenLabs.McpServerConfigInput>;
11
12
  export declare namespace McpServerConfigInput {
12
13
  interface Raw {
@@ -20,5 +21,6 @@ export declare namespace McpServerConfigInput {
20
21
  description?: string | null;
21
22
  force_pre_tool_speech?: boolean | null;
22
23
  disable_interruptions?: boolean | null;
24
+ execution_mode?: ToolExecutionMode.Raw | null;
23
25
  }
24
26
  }
@@ -42,6 +42,7 @@ const McpServerTransport_1 = require("./McpServerTransport");
42
42
  const McpServerConfigInputUrl_1 = require("./McpServerConfigInputUrl");
43
43
  const McpServerConfigInputSecretToken_1 = require("./McpServerConfigInputSecretToken");
44
44
  const McpServerConfigInputRequestHeadersValue_1 = require("./McpServerConfigInputRequestHeadersValue");
45
+ const ToolExecutionMode_1 = require("./ToolExecutionMode");
45
46
  exports.McpServerConfigInput = core.serialization.object({
46
47
  approvalPolicy: core.serialization.property("approval_policy", McpApprovalPolicy_1.McpApprovalPolicy.optional()),
47
48
  toolApprovalHashes: core.serialization.property("tool_approval_hashes", core.serialization.list(McpToolApprovalHash_1.McpToolApprovalHash).optional()),
@@ -53,4 +54,5 @@ exports.McpServerConfigInput = core.serialization.object({
53
54
  description: core.serialization.string().optional(),
54
55
  forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
55
56
  disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
57
+ executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
56
58
  });
@@ -2,7 +2,8 @@ import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
4
  import { ConvAiSecretLocator } from "./ConvAiSecretLocator";
5
+ import { ConvAiDynamicVariable } from "./ConvAiDynamicVariable";
5
6
  export declare const McpServerConfigInputRequestHeadersValue: core.serialization.Schema<serializers.McpServerConfigInputRequestHeadersValue.Raw, ElevenLabs.McpServerConfigInputRequestHeadersValue>;
6
7
  export declare namespace McpServerConfigInputRequestHeadersValue {
7
- type Raw = string | ConvAiSecretLocator.Raw;
8
+ type Raw = string | ConvAiSecretLocator.Raw | ConvAiDynamicVariable.Raw;
8
9
  }
@@ -37,4 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.McpServerConfigInputRequestHeadersValue = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const ConvAiSecretLocator_1 = require("./ConvAiSecretLocator");
40
- exports.McpServerConfigInputRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiSecretLocator_1.ConvAiSecretLocator]);
40
+ const ConvAiDynamicVariable_1 = require("./ConvAiDynamicVariable");
41
+ exports.McpServerConfigInputRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiSecretLocator_1.ConvAiSecretLocator, ConvAiDynamicVariable_1.ConvAiDynamicVariable]);
@@ -7,6 +7,7 @@ import { McpServerTransport } from "./McpServerTransport";
7
7
  import { McpServerConfigOutputUrl } from "./McpServerConfigOutputUrl";
8
8
  import { McpServerConfigOutputSecretToken } from "./McpServerConfigOutputSecretToken";
9
9
  import { McpServerConfigOutputRequestHeadersValue } from "./McpServerConfigOutputRequestHeadersValue";
10
+ import { ToolExecutionMode } from "./ToolExecutionMode";
10
11
  export declare const McpServerConfigOutput: core.serialization.ObjectSchema<serializers.McpServerConfigOutput.Raw, ElevenLabs.McpServerConfigOutput>;
11
12
  export declare namespace McpServerConfigOutput {
12
13
  interface Raw {
@@ -20,5 +21,6 @@ export declare namespace McpServerConfigOutput {
20
21
  description?: string | null;
21
22
  force_pre_tool_speech?: boolean | null;
22
23
  disable_interruptions?: boolean | null;
24
+ execution_mode?: ToolExecutionMode.Raw | null;
23
25
  }
24
26
  }