@elevenlabs/elevenlabs-js 2.29.0 → 2.31.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 (476) hide show
  1. package/BaseClient.js +2 -2
  2. package/LICENSE +1 -1
  3. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  4. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  5. package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  6. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
  7. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  8. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  9. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  10. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
  11. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
  12. package/api/resources/dubbing/client/Client.d.ts +3 -0
  13. package/api/resources/dubbing/client/Client.js +5 -0
  14. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  15. package/api/resources/dubbing/resources/index.d.ts +2 -0
  16. package/api/resources/dubbing/resources/index.js +3 -1
  17. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
  18. package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  19. package/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
  20. package/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
  21. package/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
  22. package/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
  23. package/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
  24. package/api/resources/dubbing/resources/transcripts/index.js +18 -0
  25. package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  26. package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
  27. package/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  28. package/{dist/serialization/resources/textToSoundEffects → api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
  29. package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  30. package/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  31. package/api/resources/index.d.ts +0 -1
  32. package/api/resources/index.js +0 -1
  33. package/api/resources/music/client/Client.js +6 -4
  34. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  35. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  36. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
  37. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  38. package/api/resources/music/types/index.d.ts +0 -4
  39. package/api/resources/music/types/index.js +0 -4
  40. package/api/resources/speechToText/client/Client.js +11 -0
  41. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  42. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  43. package/api/resources/speechToText/types/index.d.ts +1 -0
  44. package/api/resources/speechToText/types/index.js +1 -0
  45. package/api/resources/textToDialogue/client/Client.js +10 -4
  46. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  47. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  48. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  49. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  50. package/api/resources/textToDialogue/types/index.d.ts +0 -4
  51. package/api/resources/textToDialogue/types/index.js +0 -4
  52. package/api/resources/textToSoundEffects/client/Client.js +3 -1
  53. package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  54. package/api/resources/textToSoundEffects/index.d.ts +0 -1
  55. package/api/resources/textToSoundEffects/index.js +0 -1
  56. package/api/resources/textToVoice/client/Client.js +5 -3
  57. package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
  58. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  59. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  60. package/api/resources/textToVoice/types/index.d.ts +0 -3
  61. package/api/resources/textToVoice/types/index.js +0 -3
  62. package/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  63. package/api/resources/workspace/resources/resources/client/Client.js +59 -0
  64. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  65. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  66. package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → api/types/AllowedOutputFormats.d.ts} +2 -3
  67. package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.js → api/types/AllowedOutputFormats.js} +2 -3
  68. package/api/types/BatchCallDetailedResponse.d.ts +1 -0
  69. package/api/types/BatchCallResponse.d.ts +1 -0
  70. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
  71. package/api/types/ConversationInitiationSource.d.ts +1 -0
  72. package/api/types/ConversationInitiationSource.js +1 -0
  73. package/api/types/DetectedEntity.d.ts +10 -0
  74. package/api/types/DubbingTranscript.d.ts +5 -0
  75. package/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
  76. package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
  77. package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
  78. package/api/types/GetAgentResponseModel.d.ts +2 -0
  79. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  80. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  81. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  82. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  83. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  84. package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  85. package/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
  86. package/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
  87. package/api/types/ProjectVideoResponseModel.d.ts +1 -0
  88. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  89. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  90. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  91. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  92. package/api/types/SoftTimeoutConfig.d.ts +2 -0
  93. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  94. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  95. package/api/types/index.d.ts +7 -3
  96. package/api/types/index.js +7 -3
  97. package/dist/BaseClient.js +2 -2
  98. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  99. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  100. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  101. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
  102. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  103. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  104. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  105. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
  106. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
  107. package/dist/api/resources/dubbing/client/Client.d.ts +3 -0
  108. package/dist/api/resources/dubbing/client/Client.js +5 -0
  109. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  110. package/dist/api/resources/dubbing/resources/index.d.ts +2 -0
  111. package/dist/api/resources/dubbing/resources/index.js +3 -1
  112. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
  113. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  114. package/dist/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
  115. package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
  116. package/dist/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
  117. package/dist/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
  118. package/dist/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
  119. package/dist/api/resources/dubbing/resources/transcripts/index.js +18 -0
  120. package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  121. package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
  122. package/dist/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  123. package/{api/resources/textToSoundEffects → dist/api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
  124. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  125. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  126. package/dist/api/resources/index.d.ts +0 -1
  127. package/dist/api/resources/index.js +0 -1
  128. package/dist/api/resources/music/client/Client.js +6 -4
  129. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  130. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  131. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
  132. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  133. package/dist/api/resources/music/types/index.d.ts +0 -4
  134. package/dist/api/resources/music/types/index.js +0 -4
  135. package/dist/api/resources/speechToText/client/Client.js +11 -0
  136. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  137. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  138. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
  139. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  140. package/dist/api/resources/speechToText/types/index.js +1 -0
  141. package/dist/api/resources/textToDialogue/client/Client.js +10 -4
  142. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  143. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  144. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  145. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  146. package/dist/api/resources/textToDialogue/types/index.d.ts +0 -4
  147. package/dist/api/resources/textToDialogue/types/index.js +0 -4
  148. package/dist/api/resources/textToSoundEffects/client/Client.js +3 -1
  149. package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  150. package/dist/api/resources/textToSoundEffects/index.d.ts +0 -1
  151. package/dist/api/resources/textToSoundEffects/index.js +0 -1
  152. package/dist/api/resources/textToVoice/client/Client.js +5 -3
  153. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
  154. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  155. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  156. package/dist/api/resources/textToVoice/types/index.d.ts +0 -3
  157. package/dist/api/resources/textToVoice/types/index.js +0 -3
  158. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  159. package/dist/api/resources/workspace/resources/resources/client/Client.js +59 -0
  160. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  161. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
  162. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  163. package/{api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → dist/api/types/AllowedOutputFormats.d.ts} +2 -3
  164. package/{api/resources/music/types/MusicStreamRequestOutputFormat.js → dist/api/types/AllowedOutputFormats.js} +2 -3
  165. package/dist/api/types/BatchCallDetailedResponse.d.ts +1 -0
  166. package/dist/api/types/BatchCallResponse.d.ts +1 -0
  167. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
  168. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  169. package/dist/api/types/ConversationInitiationSource.js +1 -0
  170. package/dist/api/types/DetectedEntity.d.ts +10 -0
  171. package/dist/api/types/DetectedEntity.js +3 -0
  172. package/dist/api/types/DubbingTranscript.d.ts +5 -0
  173. package/dist/api/types/DubbingTranscript.js +3 -0
  174. package/dist/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
  175. package/dist/api/types/DubbingTranscriptsResponseModel.js +3 -0
  176. package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
  177. package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
  178. package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
  179. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  180. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  181. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  182. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  183. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  184. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  185. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
  186. package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
  187. package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
  188. package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
  189. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  190. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  191. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  192. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  193. package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
  194. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  195. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  196. package/dist/api/types/index.d.ts +7 -3
  197. package/dist/api/types/index.js +7 -3
  198. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  199. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
  200. package/dist/serialization/resources/dubbing/resources/index.d.ts +2 -0
  201. package/dist/serialization/resources/dubbing/resources/index.js +3 -1
  202. package/dist/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
  203. package/{serialization/resources/textToSoundEffects/types → dist/serialization/resources/dubbing/resources/transcripts}/index.js +1 -1
  204. package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  205. package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
  206. package/dist/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  207. package/dist/{api/resources/textToSoundEffects → serialization/resources/dubbing/resources/transcripts}/types/index.js +1 -1
  208. package/dist/serialization/resources/index.d.ts +0 -1
  209. package/dist/serialization/resources/index.js +0 -1
  210. package/dist/serialization/resources/music/types/index.d.ts +0 -4
  211. package/dist/serialization/resources/music/types/index.js +0 -4
  212. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  213. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
  214. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  215. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  216. package/dist/serialization/resources/textToDialogue/types/index.d.ts +0 -4
  217. package/dist/serialization/resources/textToDialogue/types/index.js +0 -4
  218. package/dist/serialization/resources/textToSoundEffects/index.d.ts +0 -1
  219. package/dist/serialization/resources/textToSoundEffects/index.js +0 -1
  220. package/dist/serialization/resources/textToVoice/types/index.d.ts +0 -3
  221. package/dist/serialization/resources/textToVoice/types/index.js +0 -3
  222. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  223. package/dist/serialization/resources/{music/types/MusicSeparateStemsRequestOutputFormat.js → workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js} +7 -25
  224. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  225. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  226. package/dist/serialization/types/AllowedOutputFormats.d.ts +7 -0
  227. package/{serialization/resources/music/types/MusicStreamRequestOutputFormat.js → dist/serialization/types/AllowedOutputFormats.js} +3 -3
  228. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
  229. package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
  230. package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
  231. package/dist/serialization/types/BatchCallResponse.js +1 -0
  232. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
  233. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
  234. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  235. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  236. package/dist/serialization/types/DetectedEntity.d.ts +12 -0
  237. package/dist/serialization/types/DetectedEntity.js +44 -0
  238. package/dist/serialization/types/DubbingTranscript.d.ts +11 -0
  239. package/dist/serialization/types/DubbingTranscript.js +43 -0
  240. package/dist/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
  241. package/dist/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
  242. package/dist/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
  243. package/dist/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
  244. package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
  245. package/dist/serialization/types/GetAgentResponseModel.js +2 -0
  246. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  247. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
  248. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  249. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  250. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  251. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  252. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  253. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  254. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  255. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  256. package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  257. package/dist/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +3 -3
  258. package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
  259. package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
  260. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  261. package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
  262. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  263. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  264. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  265. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  266. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  267. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  268. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  269. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  270. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  271. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  272. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  273. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  274. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  275. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  276. package/dist/serialization/types/index.d.ts +7 -3
  277. package/dist/serialization/types/index.js +7 -3
  278. package/dist/version.d.ts +1 -1
  279. package/dist/version.js +1 -1
  280. package/package.json +1 -1
  281. package/reference.md +221 -4
  282. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  283. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
  284. package/serialization/resources/dubbing/resources/index.d.ts +2 -0
  285. package/serialization/resources/dubbing/resources/index.js +3 -1
  286. package/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
  287. package/serialization/resources/dubbing/resources/transcripts/index.js +17 -0
  288. package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  289. package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
  290. package/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  291. package/serialization/resources/dubbing/resources/transcripts/types/index.js +17 -0
  292. package/serialization/resources/index.d.ts +0 -1
  293. package/serialization/resources/index.js +0 -1
  294. package/serialization/resources/music/types/index.d.ts +0 -4
  295. package/serialization/resources/music/types/index.js +0 -4
  296. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  297. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
  298. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  299. package/serialization/resources/speechToText/types/index.js +1 -0
  300. package/serialization/resources/textToDialogue/types/index.d.ts +0 -4
  301. package/serialization/resources/textToDialogue/types/index.js +0 -4
  302. package/serialization/resources/textToSoundEffects/index.d.ts +0 -1
  303. package/serialization/resources/textToSoundEffects/index.js +0 -1
  304. package/serialization/resources/textToVoice/types/index.d.ts +0 -3
  305. package/serialization/resources/textToVoice/types/index.js +0 -3
  306. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  307. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
  308. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  309. package/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  310. package/serialization/types/AllowedOutputFormats.d.ts +7 -0
  311. package/{dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js → serialization/types/AllowedOutputFormats.js} +3 -3
  312. package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
  313. package/serialization/types/BatchCallDetailedResponse.js +1 -0
  314. package/serialization/types/BatchCallResponse.d.ts +1 -0
  315. package/serialization/types/BatchCallResponse.js +1 -0
  316. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
  317. package/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
  318. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  319. package/serialization/types/ConversationInitiationSource.js +1 -0
  320. package/serialization/types/DetectedEntity.d.ts +12 -0
  321. package/serialization/types/DetectedEntity.js +44 -0
  322. package/serialization/types/DubbingTranscript.d.ts +11 -0
  323. package/serialization/types/DubbingTranscript.js +43 -0
  324. package/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
  325. package/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
  326. package/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
  327. package/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
  328. package/serialization/types/GetAgentResponseModel.d.ts +2 -0
  329. package/serialization/types/GetAgentResponseModel.js +2 -0
  330. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  331. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
  332. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  333. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  334. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  335. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  336. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  337. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  338. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  339. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  340. package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  341. package/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +3 -3
  342. package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
  343. package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
  344. package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  345. package/serialization/types/ProjectVideoResponseModel.js +1 -0
  346. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  347. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  348. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  349. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  350. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  351. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  352. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  353. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  354. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  355. package/serialization/types/SoftTimeoutConfig.js +1 -0
  356. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  357. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  358. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  359. package/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  360. package/serialization/types/index.d.ts +7 -3
  361. package/serialization/types/index.js +7 -3
  362. package/version.d.ts +1 -1
  363. package/version.js +1 -1
  364. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
  365. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
  366. package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
  367. package/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
  368. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
  369. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
  370. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
  371. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
  372. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
  373. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
  374. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
  375. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
  376. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
  377. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
  378. package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
  379. package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
  380. package/api/resources/textToSoundEffects/types/index.d.ts +0 -1
  381. package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
  382. package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
  383. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
  384. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
  385. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
  386. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
  387. package/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
  388. package/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
  389. package/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
  390. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
  391. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
  392. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
  393. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
  394. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
  395. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
  396. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
  397. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
  398. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
  399. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
  400. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
  401. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
  402. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
  403. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
  404. package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
  405. package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
  406. package/dist/api/resources/textToSoundEffects/types/index.d.ts +0 -1
  407. package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
  408. package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
  409. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
  410. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
  411. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
  412. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
  413. package/dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
  414. package/dist/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
  415. package/dist/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
  416. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
  417. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
  418. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
  419. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
  420. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
  421. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
  422. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
  423. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
  424. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
  425. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
  426. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
  427. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
  428. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
  429. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
  430. package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
  431. package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
  432. package/dist/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
  433. package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
  434. package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
  435. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
  436. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
  437. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
  438. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
  439. package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
  440. package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
  441. package/dist/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
  442. package/dist/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
  443. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
  444. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
  445. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
  446. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
  447. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
  448. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
  449. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
  450. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
  451. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
  452. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
  453. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
  454. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
  455. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
  456. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
  457. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
  458. package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
  459. package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
  460. package/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
  461. package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
  462. package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
  463. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
  464. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
  465. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
  466. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
  467. package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
  468. package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
  469. package/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
  470. package/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
  471. /package/api/{types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +0 -0
  472. /package/api/{types/DefaultConversationInitiationTrigger.js → resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js} +0 -0
  473. /package/api/types/{ZendeskConversationInitiationTrigger.js → DetectedEntity.js} +0 -0
  474. /package/{dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → api/types/DubbingTranscript.js} +0 -0
  475. /package/{dist/api/types/DefaultConversationInitiationTrigger.js → api/types/DubbingTranscriptsResponseModel.js} +0 -0
  476. /package/{dist/api/types/ZendeskConversationInitiationTrigger.js → api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +0 -0
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
8
8
  */
9
9
  export interface VoiceRemixRequestModel {
10
10
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
11
- outputFormat?: ElevenLabs.TextToVoiceRemixRequestOutputFormat;
11
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
12
12
  /** Description of the changes to make to the voice. */
13
13
  voiceDescription: string;
14
14
  /** Text to generate, text length has to be between 100 and 1000. */
@@ -1,4 +1 @@
1
- export * from "./TextToVoiceCreatePreviewsRequestOutputFormat";
2
- export * from "./TextToVoiceDesignRequestOutputFormat";
3
- export * from "./TextToVoiceRemixRequestOutputFormat";
4
1
  export * from "./VoiceDesignRequestModelModelId";
@@ -14,7 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
18
- __exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
19
- __exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
20
17
  __exportStar(require("./VoiceDesignRequestModelModelId"), exports);
@@ -59,4 +59,21 @@ export declare class ResourcesClient {
59
59
  */
60
60
  unshare(resource_id: string, request: ElevenLabs.workspace.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<unknown>;
61
61
  private __unshare;
62
+ /**
63
+ * Copies a workspace resource to another workspace.
64
+ *
65
+ * @param {string} resource_id - The ID of the target resource.
66
+ * @param {ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost} request
67
+ * @param {ResourcesClient.RequestOptions} requestOptions - Request-specific configuration.
68
+ *
69
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
70
+ *
71
+ * @example
72
+ * await client.workspace.resources.copyToWorkspace("resource_id", {
73
+ * resourceType: "voice",
74
+ * targetUserId: "target_user_id"
75
+ * })
76
+ */
77
+ copyToWorkspace(resource_id: string, request: ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<unknown>;
78
+ private __copyToWorkspace;
62
79
  }
@@ -241,5 +241,64 @@ class ResourcesClient {
241
241
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/unshare");
242
242
  });
243
243
  }
244
+ /**
245
+ * Copies a workspace resource to another workspace.
246
+ *
247
+ * @param {string} resource_id - The ID of the target resource.
248
+ * @param {ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost} request
249
+ * @param {ResourcesClient.RequestOptions} requestOptions - Request-specific configuration.
250
+ *
251
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
252
+ *
253
+ * @example
254
+ * await client.workspace.resources.copyToWorkspace("resource_id", {
255
+ * resourceType: "voice",
256
+ * targetUserId: "target_user_id"
257
+ * })
258
+ */
259
+ copyToWorkspace(resource_id, request, requestOptions) {
260
+ return core.HttpResponsePromise.fromPromise(this.__copyToWorkspace(resource_id, request, requestOptions));
261
+ }
262
+ __copyToWorkspace(resource_id, request, requestOptions) {
263
+ return __awaiter(this, void 0, void 0, function* () {
264
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
265
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
266
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
267
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/workspace/resources/${core.url.encodePathParam(resource_id)}/copy-to-workspace`),
268
+ method: "POST",
269
+ headers: _headers,
270
+ contentType: "application/json",
271
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
272
+ requestType: "json",
273
+ body: serializers.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
274
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
275
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
276
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
277
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
278
+ logging: this._options.logging,
279
+ });
280
+ if (_response.ok) {
281
+ return { data: _response.body, rawResponse: _response.rawResponse };
282
+ }
283
+ if (_response.error.reason === "status-code") {
284
+ switch (_response.error.statusCode) {
285
+ case 422:
286
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
287
+ unrecognizedObjectKeys: "passthrough",
288
+ allowUnrecognizedUnionMembers: true,
289
+ allowUnrecognizedEnumValues: true,
290
+ breadcrumbsPrefix: ["response"],
291
+ }), _response.rawResponse);
292
+ default:
293
+ throw new errors.ElevenLabsError({
294
+ statusCode: _response.error.statusCode,
295
+ body: _response.error.body,
296
+ rawResponse: _response.rawResponse,
297
+ });
298
+ }
299
+ }
300
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/copy-to-workspace");
301
+ });
302
+ }
244
303
  }
245
304
  exports.ResourcesClient = ResourcesClient;
@@ -0,0 +1,14 @@
1
+ import type * as ElevenLabs from "../../../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * resourceType: "voice",
6
+ * targetUserId: "target_user_id"
7
+ * }
8
+ */
9
+ export interface BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost {
10
+ /** Resource type of the target resource. */
11
+ resourceType: ElevenLabs.WorkspaceResourceType;
12
+ /** The ID of the target user. */
13
+ targetUserId: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ export type { BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost } from "./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost";
1
2
  export type { BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost } from "./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost";
2
3
  export type { BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost } from "./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost";
3
4
  export type { ResourcesGetRequest } from "./ResourcesGetRequest";
@@ -1,5 +1,4 @@
1
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
2
- export declare const MusicStreamRequestOutputFormat: {
1
+ export declare const AllowedOutputFormats: {
3
2
  readonly Mp32205032: "mp3_22050_32";
4
3
  readonly Mp32400048: "mp3_24000_48";
5
4
  readonly Mp34410032: "mp3_44100_32";
@@ -22,4 +21,4 @@ export declare const MusicStreamRequestOutputFormat: {
22
21
  readonly Opus48000128: "opus_48000_128";
23
22
  readonly Opus48000192: "opus_48000_192";
24
23
  };
25
- export type MusicStreamRequestOutputFormat = (typeof MusicStreamRequestOutputFormat)[keyof typeof MusicStreamRequestOutputFormat];
24
+ export type AllowedOutputFormats = (typeof AllowedOutputFormats)[keyof typeof AllowedOutputFormats];
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MusicStreamRequestOutputFormat = void 0;
5
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
6
- exports.MusicStreamRequestOutputFormat = {
4
+ exports.AllowedOutputFormats = void 0;
5
+ exports.AllowedOutputFormats = {
7
6
  Mp32205032: "mp3_22050_32",
8
7
  Mp32400048: "mp3_24000_48",
9
8
  Mp34410032: "mp3_44100_32",
@@ -11,6 +11,7 @@ export interface BatchCallDetailedResponse {
11
11
  agentId: string;
12
12
  createdAtUnix: number;
13
13
  scheduledTimeUnix: number;
14
+ timezone?: string;
14
15
  totalCallsDispatched: number;
15
16
  totalCallsScheduled: number;
16
17
  totalCallsFinished: number;
@@ -8,6 +8,7 @@ export interface BatchCallResponse {
8
8
  agentId: string;
9
9
  createdAtUnix: number;
10
10
  scheduledTimeUnix: number;
11
+ timezone?: string;
11
12
  totalCallsDispatched: number;
12
13
  totalCallsScheduled: number;
13
14
  totalCallsFinished: number;
@@ -22,7 +22,6 @@ export interface ConversationHistoryMetadataCommonModel {
22
22
  conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
23
23
  conversationInitiationSourceVersion?: string;
24
24
  timezone?: string;
25
- initiationTrigger?: ElevenLabs.ConversationHistoryMetadataCommonModelInitiationTrigger;
26
25
  asyncMetadata?: ElevenLabs.AsyncConversationMetadata;
27
26
  whatsapp?: ElevenLabs.WhatsAppConversationInfo;
28
27
  agentCreatedFrom?: ElevenLabs.AgentDefinitionSource;
@@ -14,5 +14,6 @@ export declare const ConversationInitiationSource: {
14
14
  readonly SwiftSdk: "swift_sdk";
15
15
  readonly Whatsapp: "whatsapp";
16
16
  readonly FlutterSdk: "flutter_sdk";
17
+ readonly ZendeskIntegration: "zendesk_integration";
17
18
  };
18
19
  export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
@@ -18,4 +18,5 @@ exports.ConversationInitiationSource = {
18
18
  SwiftSdk: "swift_sdk",
19
19
  Whatsapp: "whatsapp",
20
20
  FlutterSdk: "flutter_sdk",
21
+ ZendeskIntegration: "zendesk_integration",
21
22
  };
@@ -0,0 +1,10 @@
1
+ export interface DetectedEntity {
2
+ /** The text that was identified as an entity. */
3
+ text: string;
4
+ /** The type of entity detected (e.g., 'credit_card', 'email_address', 'person_name'). */
5
+ entityType: string;
6
+ /** Start character position in the transcript text. */
7
+ startChar: number;
8
+ /** End character position in the transcript text. */
9
+ endChar: number;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface DubbingTranscript {
3
+ language: string;
4
+ utterances: ElevenLabs.DubbingTranscriptUtterance[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface DubbingTranscriptsResponseModel {
3
+ transcriptFormat: ElevenLabs.DubbingTranscriptsResponseModelTranscriptFormat;
4
+ srt?: string;
5
+ webvtt?: string;
6
+ json?: ElevenLabs.DubbingTranscript;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare const DubbingTranscriptsResponseModelTranscriptFormat: {
2
+ readonly Srt: "srt";
3
+ readonly Webvtt: "webvtt";
4
+ readonly Json: "json";
5
+ };
6
+ export type DubbingTranscriptsResponseModelTranscriptFormat = (typeof DubbingTranscriptsResponseModelTranscriptFormat)[keyof typeof DubbingTranscriptsResponseModelTranscriptFormat];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DubbingTranscriptsResponseModelTranscriptFormat = void 0;
5
+ exports.DubbingTranscriptsResponseModelTranscriptFormat = {
6
+ Srt: "srt",
7
+ Webvtt: "webvtt",
8
+ Json: "json",
9
+ };
@@ -12,6 +12,8 @@ export interface GetAgentResponseModel {
12
12
  platformSettings?: ElevenLabs.AgentPlatformSettingsResponseModel;
13
13
  /** The phone numbers of the agent */
14
14
  phoneNumbers?: ElevenLabs.GetAgentResponseModelPhoneNumbersItem[];
15
+ /** WhatsApp accounts assigned to the agent */
16
+ whatsappAccounts?: ElevenLabs.GetWhatsAppAccountResponse[];
15
17
  /** The workflow of the agent */
16
18
  workflow?: ElevenLabs.AgentWorkflowResponseModel;
17
19
  /** The access information of the agent for the user */
@@ -10,4 +10,5 @@ export interface GetKnowledgeBaseFileResponseModel {
10
10
  /** The folder path segments leading to this entity, from root to parent folder. */
11
11
  folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentResponseModel[];
12
12
  extractedInnerHtml: string;
13
+ filename: string;
13
14
  }
@@ -7,6 +7,8 @@ export interface GetKnowledgeBaseSummaryFileResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** The folder path segments leading to this entity, from root to parent folder. */
11
+ folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
10
12
  /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
11
13
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem[];
12
14
  }
@@ -7,6 +7,8 @@ export interface GetKnowledgeBaseSummaryFolderResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** The folder path segments leading to this entity, from root to parent folder. */
11
+ folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
10
12
  /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
11
13
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem[];
12
14
  childrenCount: number;
@@ -7,6 +7,8 @@ export interface GetKnowledgeBaseSummaryTextResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** The folder path segments leading to this entity, from root to parent folder. */
11
+ folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
10
12
  /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
11
13
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem[];
12
14
  }
@@ -7,6 +7,8 @@ export interface GetKnowledgeBaseSummaryUrlResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** The folder path segments leading to this entity, from root to parent folder. */
11
+ folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
10
12
  /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
11
13
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem[];
12
14
  url: string;
@@ -0,0 +1,3 @@
1
+ export interface KnowledgeBaseFolderPathSegmentSummaryResponseModel {
2
+ id: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface KnowledgeBaseSourceFileUrlResponseModel {
2
+ /** Signed URL to download the source file directly */
3
+ signedUrl: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,6 +27,7 @@ export interface ProjectVideoResponseModel {
27
27
  pendingBlockIds: string[];
28
28
  importSpeechProgress?: number;
29
29
  speechImported?: boolean;
30
+ audioTrackReady?: boolean;
30
31
  currentSnapshotId?: string;
31
32
  canvasPlacement?: ElevenLabs.CanvasPlacement;
32
33
  trackId?: string;
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelInput {
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelInputBackupLlmConfig;
35
+ /** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
36
+ cascadeTimeoutSeconds?: number;
35
37
  /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
36
38
  tools?: ElevenLabs.PromptAgentApiModelInputToolsItem[];
37
39
  }
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelOutput {
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelOutputBackupLlmConfig;
35
+ /** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
36
+ cascadeTimeoutSeconds?: number;
35
37
  /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
36
38
  tools?: ElevenLabs.PromptAgentApiModelOutputToolsItem[];
37
39
  }
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelWorkflowOverrideInput {
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig;
35
+ /** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
36
+ cascadeTimeoutSeconds?: number;
35
37
  /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
36
38
  tools?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem[];
37
39
  }
@@ -32,6 +32,8 @@ export interface PromptAgentApiModelWorkflowOverrideOutput {
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig;
35
+ /** Time in seconds before cascading to backup LLM. Must be between 2 and 15 seconds. */
36
+ cascadeTimeoutSeconds?: number;
35
37
  /** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
36
38
  tools?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem[];
37
39
  }
@@ -6,4 +6,6 @@ export interface SoftTimeoutConfig {
6
6
  timeoutSeconds?: number;
7
7
  /** Message to show when soft timeout is reached while waiting for LLM response */
8
8
  message?: string;
9
+ /** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
10
+ useLlmGeneratedMessage?: boolean;
9
11
  }
@@ -3,4 +3,6 @@ export interface SoftTimeoutConfigWorkflowOverride {
3
3
  timeoutSeconds?: number;
4
4
  /** Message to show when soft timeout is reached while waiting for LLM response */
5
5
  message?: string;
6
+ /** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
7
+ useLlmGeneratedMessage?: boolean;
6
8
  }
@@ -17,4 +17,6 @@ export interface SpeechToTextChunkResponseModel {
17
17
  additionalFormats?: (ElevenLabs.AdditionalFormatResponseModel | undefined)[];
18
18
  /** The transcription ID of the response. */
19
19
  transcriptionId?: string;
20
+ /** List of detected entities with their text, type, and character positions in the transcript. */
21
+ entities?: ElevenLabs.DetectedEntity[];
20
22
  }
@@ -38,6 +38,7 @@ export * from "./AgentWorkflowResponseModel";
38
38
  export * from "./AgentWorkflowResponseModelNodesValue";
39
39
  export * from "./AgentWorkspaceOverridesInput";
40
40
  export * from "./AgentWorkspaceOverridesOutput";
41
+ export * from "./AllowedOutputFormats";
41
42
  export * from "./AllowlistItem";
42
43
  export * from "./ApiIntegrationWebhookOverridesInput";
43
44
  export * from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
@@ -211,7 +212,6 @@ export * from "./ConversationHistoryErrorCommonModel";
211
212
  export * from "./ConversationHistoryEvaluationCriteriaResultCommonModel";
212
213
  export * from "./ConversationHistoryFeedbackCommonModel";
213
214
  export * from "./ConversationHistoryMetadataCommonModel";
214
- export * from "./ConversationHistoryMetadataCommonModelInitiationTrigger";
215
215
  export * from "./ConversationHistoryMetadataCommonModelPhoneCall";
216
216
  export * from "./ConversationHistoryMultivoiceMessageModel";
217
217
  export * from "./ConversationHistoryMultivoiceMessagePartModel";
@@ -282,7 +282,6 @@ export * from "./DashboardCallSuccessChartModel";
282
282
  export * from "./DashboardCriteriaChartModel";
283
283
  export * from "./DashboardDataCollectionChartModel";
284
284
  export * from "./DataCollectionResultCommonModel";
285
- export * from "./DefaultConversationInitiationTrigger";
286
285
  export * from "./DeleteChapterRequest";
287
286
  export * from "./DeleteChapterResponseModel";
288
287
  export * from "./DeleteDubbingResponseModel";
@@ -303,6 +302,7 @@ export * from "./DependentPhoneNumberIdentifier";
303
302
  export * from "./DependentUnknownAgentIdentifier";
304
303
  export * from "./DependentUnknownToolIdentifier";
305
304
  export * from "./DetailedMusicResponse";
305
+ export * from "./DetectedEntity";
306
306
  export * from "./DialogueInput";
307
307
  export * from "./DialogueInputResponseModel";
308
308
  export * from "./DiscountResponseModel";
@@ -318,8 +318,11 @@ export * from "./DubbingModel";
318
318
  export * from "./DubbingReleaseChannel";
319
319
  export * from "./DubbingRenderResponseModel";
320
320
  export * from "./DubbingResource";
321
+ export * from "./DubbingTranscript";
321
322
  export * from "./DubbingTranscriptCharacter";
322
323
  export * from "./DubbingTranscriptResponseModel";
324
+ export * from "./DubbingTranscriptsResponseModel";
325
+ export * from "./DubbingTranscriptsResponseModelTranscriptFormat";
323
326
  export * from "./DubbingTranscriptUtterance";
324
327
  export * from "./DubbingTranscriptWord";
325
328
  export * from "./DynamicVariableAssignment";
@@ -433,8 +436,10 @@ export * from "./KnowledgeBaseDocumentChunkResponseModel";
433
436
  export * from "./KnowledgeBaseDocumentMetadataResponseModel";
434
437
  export * from "./KnowledgeBaseDocumentType";
435
438
  export * from "./KnowledgeBaseFolderPathSegmentResponseModel";
439
+ export * from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
436
440
  export * from "./KnowledgeBaseLocator";
437
441
  export * from "./KnowledgeBaseSortBy";
442
+ export * from "./KnowledgeBaseSourceFileUrlResponseModel";
438
443
  export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModel";
439
444
  export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModelData";
440
445
  export * from "./LanguageAddedResponse";
@@ -882,4 +887,3 @@ export * from "./WorkspaceServiceAccountResponseModel";
882
887
  export * from "./WorkspaceWebhookListResponseModel";
883
888
  export * from "./WorkspaceWebhookResponseModel";
884
889
  export * from "./WorkspaceWebhookUsageResponseModel";
885
- export * from "./ZendeskConversationInitiationTrigger";
@@ -54,6 +54,7 @@ __exportStar(require("./AgentWorkflowResponseModel"), exports);
54
54
  __exportStar(require("./AgentWorkflowResponseModelNodesValue"), exports);
55
55
  __exportStar(require("./AgentWorkspaceOverridesInput"), exports);
56
56
  __exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
57
+ __exportStar(require("./AllowedOutputFormats"), exports);
57
58
  __exportStar(require("./AllowlistItem"), exports);
58
59
  __exportStar(require("./ApiIntegrationWebhookOverridesInput"), exports);
59
60
  __exportStar(require("./ApiIntegrationWebhookOverridesInputRequestHeadersValue"), exports);
@@ -227,7 +228,6 @@ __exportStar(require("./ConversationHistoryErrorCommonModel"), exports);
227
228
  __exportStar(require("./ConversationHistoryEvaluationCriteriaResultCommonModel"), exports);
228
229
  __exportStar(require("./ConversationHistoryFeedbackCommonModel"), exports);
229
230
  __exportStar(require("./ConversationHistoryMetadataCommonModel"), exports);
230
- __exportStar(require("./ConversationHistoryMetadataCommonModelInitiationTrigger"), exports);
231
231
  __exportStar(require("./ConversationHistoryMetadataCommonModelPhoneCall"), exports);
232
232
  __exportStar(require("./ConversationHistoryMultivoiceMessageModel"), exports);
233
233
  __exportStar(require("./ConversationHistoryMultivoiceMessagePartModel"), exports);
@@ -298,7 +298,6 @@ __exportStar(require("./DashboardCallSuccessChartModel"), exports);
298
298
  __exportStar(require("./DashboardCriteriaChartModel"), exports);
299
299
  __exportStar(require("./DashboardDataCollectionChartModel"), exports);
300
300
  __exportStar(require("./DataCollectionResultCommonModel"), exports);
301
- __exportStar(require("./DefaultConversationInitiationTrigger"), exports);
302
301
  __exportStar(require("./DeleteChapterRequest"), exports);
303
302
  __exportStar(require("./DeleteChapterResponseModel"), exports);
304
303
  __exportStar(require("./DeleteDubbingResponseModel"), exports);
@@ -319,6 +318,7 @@ __exportStar(require("./DependentPhoneNumberIdentifier"), exports);
319
318
  __exportStar(require("./DependentUnknownAgentIdentifier"), exports);
320
319
  __exportStar(require("./DependentUnknownToolIdentifier"), exports);
321
320
  __exportStar(require("./DetailedMusicResponse"), exports);
321
+ __exportStar(require("./DetectedEntity"), exports);
322
322
  __exportStar(require("./DialogueInput"), exports);
323
323
  __exportStar(require("./DialogueInputResponseModel"), exports);
324
324
  __exportStar(require("./DiscountResponseModel"), exports);
@@ -334,8 +334,11 @@ __exportStar(require("./DubbingModel"), exports);
334
334
  __exportStar(require("./DubbingReleaseChannel"), exports);
335
335
  __exportStar(require("./DubbingRenderResponseModel"), exports);
336
336
  __exportStar(require("./DubbingResource"), exports);
337
+ __exportStar(require("./DubbingTranscript"), exports);
337
338
  __exportStar(require("./DubbingTranscriptCharacter"), exports);
338
339
  __exportStar(require("./DubbingTranscriptResponseModel"), exports);
340
+ __exportStar(require("./DubbingTranscriptsResponseModel"), exports);
341
+ __exportStar(require("./DubbingTranscriptsResponseModelTranscriptFormat"), exports);
339
342
  __exportStar(require("./DubbingTranscriptUtterance"), exports);
340
343
  __exportStar(require("./DubbingTranscriptWord"), exports);
341
344
  __exportStar(require("./DynamicVariableAssignment"), exports);
@@ -449,8 +452,10 @@ __exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
449
452
  __exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
450
453
  __exportStar(require("./KnowledgeBaseDocumentType"), exports);
451
454
  __exportStar(require("./KnowledgeBaseFolderPathSegmentResponseModel"), exports);
455
+ __exportStar(require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel"), exports);
452
456
  __exportStar(require("./KnowledgeBaseLocator"), exports);
453
457
  __exportStar(require("./KnowledgeBaseSortBy"), exports);
458
+ __exportStar(require("./KnowledgeBaseSourceFileUrlResponseModel"), exports);
454
459
  __exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModel"), exports);
455
460
  __exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModelData"), exports);
456
461
  __exportStar(require("./LanguageAddedResponse"), exports);
@@ -898,4 +903,3 @@ __exportStar(require("./WorkspaceServiceAccountResponseModel"), exports);
898
903
  __exportStar(require("./WorkspaceWebhookListResponseModel"), exports);
899
904
  __exportStar(require("./WorkspaceWebhookResponseModel"), exports);
900
905
  __exportStar(require("./WorkspaceWebhookUsageResponseModel"), exports);
901
- __exportStar(require("./ZendeskConversationInitiationTrigger"), exports);
@@ -12,5 +12,6 @@ export declare namespace BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPo
12
12
  scheduled_time_unix?: number | null;
13
13
  agent_phone_number_id?: string | null;
14
14
  whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
15
+ timezone?: string | null;
15
16
  }
16
17
  }
@@ -45,4 +45,5 @@ exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.seriali
45
45
  scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number().optional()),
46
46
  agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string().optional()),
47
47
  whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
48
+ timezone: core.serialization.string().optional(),
48
49
  });
@@ -2,3 +2,5 @@ export * as resource from "./resource";
2
2
  export * from "./resource/client/requests";
3
3
  export * as transcript from "./transcript";
4
4
  export * from "./transcript/types";
5
+ export * as transcripts from "./transcripts";
6
+ export * from "./transcripts/types";
@@ -36,8 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.transcript = exports.resource = void 0;
39
+ exports.transcripts = exports.transcript = exports.resource = void 0;
40
40
  exports.resource = __importStar(require("./resource"));
41
41
  __exportStar(require("./resource/client/requests"), exports);
42
42
  exports.transcript = __importStar(require("./transcript"));
43
43
  __exportStar(require("./transcript/types"), exports);
44
+ exports.transcripts = __importStar(require("./transcripts"));
45
+ __exportStar(require("./transcripts/types"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TextToSoundEffectsConvertRequestOutputFormat"), exports);
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ export declare const TranscriptsGetRequestFormatType: core.serialization.Schema<serializers.dubbing.TranscriptsGetRequestFormatType.Raw, ElevenLabs.dubbing.TranscriptsGetRequestFormatType>;
5
+ export declare namespace TranscriptsGetRequestFormatType {
6
+ type Raw = "srt" | "webvtt" | "json";
7
+ }