@elevenlabs/elevenlabs-js 2.42.0 → 2.43.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 (338) hide show
  1. package/.fern/metadata.json +3 -2
  2. package/AGENTS.md +7 -0
  3. package/BaseClient.js +2 -2
  4. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +1 -1
  5. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +1 -1
  6. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +3 -1
  7. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
  8. package/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -1
  9. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  10. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  11. package/api/resources/conversationalAi/resources/conversations/resources/index.js +2 -1
  12. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +26 -0
  13. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +115 -0
  14. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +2 -0
  16. package/api/resources/conversationalAi/resources/conversations/resources/topics/index.d.ts +1 -0
  17. package/api/resources/conversationalAi/resources/conversations/resources/topics/index.js +17 -0
  18. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +17 -0
  19. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +78 -0
  20. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +19 -0
  21. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.js +3 -0
  22. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -2
  24. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +3 -2
  25. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +19 -0
  26. package/api/resources/conversationalAi/resources/secrets/client/Client.js +73 -1
  27. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.d.ts +13 -0
  28. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.js +3 -0
  29. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +3 -0
  30. package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
  32. package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -1
  33. package/api/resources/music/client/Client.d.ts +1 -1
  34. package/api/resources/music/client/Client.js +1 -1
  35. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  36. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  37. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +1 -1
  38. package/api/resources/studio/client/Client.d.ts +0 -1
  39. package/api/resources/studio/client/Client.js +0 -1
  40. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +0 -1
  41. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  42. package/api/types/AgentBranchSummary.d.ts +2 -0
  43. package/api/types/AgentTopicResponseModel.d.ts +6 -0
  44. package/api/types/AgentTopicResponseModel.js +3 -0
  45. package/api/types/AgentVersionParents.d.ts +1 -0
  46. package/api/types/ChatSourceMedium.d.ts +0 -1
  47. package/api/types/ChatSourceMedium.js +0 -1
  48. package/api/types/ConvAiStoredSecretDependencies.d.ts +8 -1
  49. package/api/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +10 -0
  50. package/api/types/ConvAiStoredSecretDependenciesMcpServersItem.js +3 -0
  51. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
  52. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
  53. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  54. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
  55. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
  56. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  57. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  58. package/api/types/DependentUnknownAgentIdentifier.d.ts +1 -0
  59. package/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +2 -2
  60. package/api/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
  61. package/api/types/GetAgentTopicsResponseModel.d.ts +6 -0
  62. package/api/types/GetAgentTopicsResponseModel.js +3 -0
  63. package/api/types/GetSecretDependenciesResponseModel.d.ts +6 -0
  64. package/api/types/GetSecretDependenciesResponseModel.js +3 -0
  65. package/api/types/GetSecretDependenciesResponseModelDependencies.d.ts +2 -0
  66. package/api/types/GetSecretDependenciesResponseModelDependencies.js +3 -0
  67. package/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +10 -0
  68. package/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +3 -0
  69. package/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +10 -0
  70. package/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +3 -0
  71. package/api/types/GetWorkspaceSecretsResponseModel.d.ts +0 -2
  72. package/api/types/KnowledgeBaseContentSearchResponseModel.d.ts +5 -0
  73. package/api/types/KnowledgeBaseContentSearchResponseModel.js +3 -0
  74. package/api/types/KnowledgeBaseContentSearchResult.d.ts +6 -0
  75. package/api/types/KnowledgeBaseContentSearchResult.js +3 -0
  76. package/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +16 -0
  77. package/api/types/KnowledgeBaseContentSearchResultDocument.js +3 -0
  78. package/api/types/Llm.d.ts +3 -0
  79. package/api/types/Llm.js +3 -0
  80. package/api/types/ModelRatesResponseModel.d.ts +2 -0
  81. package/api/types/PermissionType.d.ts +1 -0
  82. package/api/types/PermissionType.js +1 -0
  83. package/api/types/SearchHighlightSegment.d.ts +4 -0
  84. package/api/types/SearchHighlightSegment.js +3 -0
  85. package/api/types/SecretDependencyResourceType.d.ts +6 -0
  86. package/api/types/SecretDependencyResourceType.js +9 -0
  87. package/api/types/TurnConfig.d.ts +2 -0
  88. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  89. package/api/types/WorkspaceGroupPermission.d.ts +1 -0
  90. package/api/types/WorkspaceGroupPermission.js +1 -0
  91. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  92. package/api/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +1 -0
  93. package/api/types/WorkspaceGroupResponseModelGroupPvcLimit.js +3 -0
  94. package/api/types/index.d.ts +13 -0
  95. package/api/types/index.js +13 -0
  96. package/dist/BaseClient.js +2 -2
  97. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +1 -1
  98. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +1 -1
  99. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +3 -1
  100. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
  101. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -1
  102. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  103. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  104. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +2 -1
  105. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +26 -0
  106. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +115 -0
  107. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -0
  108. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +2 -0
  109. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/index.d.ts +1 -0
  110. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/index.js +17 -0
  111. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +17 -0
  112. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +78 -0
  113. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +19 -0
  114. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.js +3 -0
  115. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
  116. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -2
  117. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +3 -2
  118. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +19 -0
  119. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +73 -1
  120. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.d.ts +13 -0
  121. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.js +3 -0
  122. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +3 -0
  123. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  124. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
  125. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -1
  126. package/dist/api/resources/music/client/Client.d.ts +1 -1
  127. package/dist/api/resources/music/client/Client.js +1 -1
  128. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  129. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  130. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +1 -1
  131. package/dist/api/resources/studio/client/Client.d.ts +0 -1
  132. package/dist/api/resources/studio/client/Client.js +0 -1
  133. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +0 -1
  134. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  135. package/dist/api/types/AgentBranchSummary.d.ts +2 -0
  136. package/dist/api/types/AgentTopicResponseModel.d.ts +6 -0
  137. package/dist/api/types/AgentTopicResponseModel.js +3 -0
  138. package/dist/api/types/AgentVersionParents.d.ts +1 -0
  139. package/dist/api/types/ChatSourceMedium.d.ts +0 -1
  140. package/dist/api/types/ChatSourceMedium.js +0 -1
  141. package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +8 -1
  142. package/dist/api/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +10 -0
  143. package/dist/api/types/ConvAiStoredSecretDependenciesMcpServersItem.js +3 -0
  144. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
  145. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
  146. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  147. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
  148. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
  149. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  150. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  151. package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +1 -0
  152. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +2 -2
  153. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
  154. package/dist/api/types/GetAgentTopicsResponseModel.d.ts +6 -0
  155. package/dist/api/types/GetAgentTopicsResponseModel.js +3 -0
  156. package/dist/api/types/GetSecretDependenciesResponseModel.d.ts +6 -0
  157. package/dist/api/types/GetSecretDependenciesResponseModel.js +3 -0
  158. package/dist/api/types/GetSecretDependenciesResponseModelDependencies.d.ts +2 -0
  159. package/dist/api/types/GetSecretDependenciesResponseModelDependencies.js +3 -0
  160. package/dist/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +10 -0
  161. package/dist/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +3 -0
  162. package/dist/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +10 -0
  163. package/dist/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +3 -0
  164. package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +0 -2
  165. package/dist/api/types/KnowledgeBaseContentSearchResponseModel.d.ts +5 -0
  166. package/dist/api/types/KnowledgeBaseContentSearchResponseModel.js +3 -0
  167. package/dist/api/types/KnowledgeBaseContentSearchResult.d.ts +6 -0
  168. package/dist/api/types/KnowledgeBaseContentSearchResult.js +3 -0
  169. package/dist/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +16 -0
  170. package/dist/api/types/KnowledgeBaseContentSearchResultDocument.js +3 -0
  171. package/dist/api/types/Llm.d.ts +3 -0
  172. package/dist/api/types/Llm.js +3 -0
  173. package/dist/api/types/ModelRatesResponseModel.d.ts +2 -0
  174. package/dist/api/types/PermissionType.d.ts +1 -0
  175. package/dist/api/types/PermissionType.js +1 -0
  176. package/dist/api/types/SearchHighlightSegment.d.ts +4 -0
  177. package/dist/api/types/SearchHighlightSegment.js +3 -0
  178. package/dist/api/types/SecretDependencyResourceType.d.ts +6 -0
  179. package/dist/api/types/SecretDependencyResourceType.js +9 -0
  180. package/dist/api/types/TurnConfig.d.ts +2 -0
  181. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  182. package/dist/api/types/WorkspaceGroupPermission.d.ts +1 -0
  183. package/dist/api/types/WorkspaceGroupPermission.js +1 -0
  184. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  185. package/dist/api/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +1 -0
  186. package/dist/api/types/WorkspaceGroupResponseModelGroupPvcLimit.js +3 -0
  187. package/dist/api/types/index.d.ts +13 -0
  188. package/dist/api/types/index.js +13 -0
  189. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +1 -0
  190. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +1 -0
  191. package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
  192. package/dist/serialization/types/AgentBranchSummary.js +1 -0
  193. package/dist/serialization/types/AgentTopicResponseModel.d.ts +12 -0
  194. package/dist/serialization/types/AgentTopicResponseModel.js +44 -0
  195. package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
  196. package/dist/serialization/types/AgentVersionParents.js +1 -0
  197. package/dist/serialization/types/ChatSourceMedium.d.ts +1 -1
  198. package/dist/serialization/types/ChatSourceMedium.js +1 -1
  199. package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +6 -1
  200. package/dist/serialization/types/ConvAiStoredSecretDependencies.js +6 -1
  201. package/dist/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +15 -0
  202. package/dist/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.js +49 -0
  203. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
  204. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +1 -0
  205. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
  206. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +1 -0
  207. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  208. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  209. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
  210. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +1 -0
  211. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
  212. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +1 -0
  213. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  214. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  215. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  216. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  217. package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +1 -0
  218. package/dist/serialization/types/DependentUnknownAgentIdentifier.js +1 -0
  219. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +1 -1
  220. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
  221. package/dist/serialization/types/GetAgentTopicsResponseModel.d.ts +12 -0
  222. package/dist/serialization/types/GetAgentTopicsResponseModel.js +44 -0
  223. package/dist/serialization/types/GetSecretDependenciesResponseModel.d.ts +11 -0
  224. package/dist/serialization/types/GetSecretDependenciesResponseModel.js +43 -0
  225. package/dist/serialization/types/GetSecretDependenciesResponseModelDependencies.d.ts +10 -0
  226. package/dist/serialization/types/GetSecretDependenciesResponseModelDependencies.js +46 -0
  227. package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +15 -0
  228. package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +49 -0
  229. package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +15 -0
  230. package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +49 -0
  231. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +0 -1
  232. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +0 -1
  233. package/dist/serialization/types/KnowledgeBaseContentSearchResponseModel.d.ts +11 -0
  234. package/dist/serialization/types/KnowledgeBaseContentSearchResponseModel.js +43 -0
  235. package/dist/serialization/types/KnowledgeBaseContentSearchResult.d.ts +13 -0
  236. package/dist/serialization/types/KnowledgeBaseContentSearchResult.js +45 -0
  237. package/dist/serialization/types/KnowledgeBaseContentSearchResultDocument.d.ts +23 -0
  238. package/dist/serialization/types/KnowledgeBaseContentSearchResultDocument.js +53 -0
  239. package/dist/serialization/types/Llm.d.ts +1 -1
  240. package/dist/serialization/types/Llm.js +3 -0
  241. package/dist/serialization/types/ModelRatesResponseModel.d.ts +1 -0
  242. package/dist/serialization/types/ModelRatesResponseModel.js +1 -0
  243. package/dist/serialization/types/PermissionType.d.ts +1 -1
  244. package/dist/serialization/types/PermissionType.js +1 -0
  245. package/dist/serialization/types/SearchHighlightSegment.d.ts +10 -0
  246. package/dist/serialization/types/SearchHighlightSegment.js +42 -0
  247. package/dist/serialization/types/SecretDependencyResourceType.d.ts +7 -0
  248. package/dist/serialization/types/SecretDependencyResourceType.js +39 -0
  249. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  250. package/dist/serialization/types/TurnConfig.js +1 -0
  251. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  252. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  253. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  254. package/dist/serialization/types/WorkspaceGroupPermission.js +1 -0
  255. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  256. package/dist/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  257. package/dist/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +7 -0
  258. package/dist/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.js +42 -0
  259. package/dist/serialization/types/index.d.ts +13 -0
  260. package/dist/serialization/types/index.js +13 -0
  261. package/dist/version.d.ts +1 -1
  262. package/dist/version.js +1 -1
  263. package/package.json +1 -1
  264. package/reference.md +219 -6
  265. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +1 -0
  266. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +1 -0
  267. package/serialization/types/AgentBranchSummary.d.ts +1 -0
  268. package/serialization/types/AgentBranchSummary.js +1 -0
  269. package/serialization/types/AgentTopicResponseModel.d.ts +12 -0
  270. package/serialization/types/AgentTopicResponseModel.js +44 -0
  271. package/serialization/types/AgentVersionParents.d.ts +1 -0
  272. package/serialization/types/AgentVersionParents.js +1 -0
  273. package/serialization/types/ChatSourceMedium.d.ts +1 -1
  274. package/serialization/types/ChatSourceMedium.js +1 -1
  275. package/serialization/types/ConvAiStoredSecretDependencies.d.ts +6 -1
  276. package/serialization/types/ConvAiStoredSecretDependencies.js +6 -1
  277. package/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +15 -0
  278. package/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.js +49 -0
  279. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
  280. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +1 -0
  281. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
  282. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +1 -0
  283. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  284. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  285. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
  286. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +1 -0
  287. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
  288. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +1 -0
  289. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  290. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  291. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  292. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  293. package/serialization/types/DependentUnknownAgentIdentifier.d.ts +1 -0
  294. package/serialization/types/DependentUnknownAgentIdentifier.js +1 -0
  295. package/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +1 -1
  296. package/serialization/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
  297. package/serialization/types/GetAgentTopicsResponseModel.d.ts +12 -0
  298. package/serialization/types/GetAgentTopicsResponseModel.js +44 -0
  299. package/serialization/types/GetSecretDependenciesResponseModel.d.ts +11 -0
  300. package/serialization/types/GetSecretDependenciesResponseModel.js +43 -0
  301. package/serialization/types/GetSecretDependenciesResponseModelDependencies.d.ts +10 -0
  302. package/serialization/types/GetSecretDependenciesResponseModelDependencies.js +46 -0
  303. package/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +15 -0
  304. package/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +49 -0
  305. package/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +15 -0
  306. package/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +49 -0
  307. package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +0 -1
  308. package/serialization/types/GetWorkspaceSecretsResponseModel.js +0 -1
  309. package/serialization/types/KnowledgeBaseContentSearchResponseModel.d.ts +11 -0
  310. package/serialization/types/KnowledgeBaseContentSearchResponseModel.js +43 -0
  311. package/serialization/types/KnowledgeBaseContentSearchResult.d.ts +13 -0
  312. package/serialization/types/KnowledgeBaseContentSearchResult.js +45 -0
  313. package/serialization/types/KnowledgeBaseContentSearchResultDocument.d.ts +23 -0
  314. package/serialization/types/KnowledgeBaseContentSearchResultDocument.js +53 -0
  315. package/serialization/types/Llm.d.ts +1 -1
  316. package/serialization/types/Llm.js +3 -0
  317. package/serialization/types/ModelRatesResponseModel.d.ts +1 -0
  318. package/serialization/types/ModelRatesResponseModel.js +1 -0
  319. package/serialization/types/PermissionType.d.ts +1 -1
  320. package/serialization/types/PermissionType.js +1 -0
  321. package/serialization/types/SearchHighlightSegment.d.ts +10 -0
  322. package/serialization/types/SearchHighlightSegment.js +42 -0
  323. package/serialization/types/SecretDependencyResourceType.d.ts +7 -0
  324. package/serialization/types/SecretDependencyResourceType.js +39 -0
  325. package/serialization/types/TurnConfig.d.ts +1 -0
  326. package/serialization/types/TurnConfig.js +1 -0
  327. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  328. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  329. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  330. package/serialization/types/WorkspaceGroupPermission.js +1 -0
  331. package/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  332. package/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  333. package/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +7 -0
  334. package/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.js +42 -0
  335. package/serialization/types/index.d.ts +13 -0
  336. package/serialization/types/index.js +13 -0
  337. package/version.d.ts +1 -1
  338. package/version.js +1 -1
@@ -67,6 +67,7 @@ class SecretsClient {
67
67
  * @example
68
68
  * await client.conversationalAi.secrets.list({
69
69
  * pageSize: 1,
70
+ * dependencyLimit: 1,
70
71
  * cursor: "cursor"
71
72
  * })
72
73
  */
@@ -76,11 +77,14 @@ class SecretsClient {
76
77
  __list() {
77
78
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
78
79
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
79
- const { pageSize, cursor } = request;
80
+ const { pageSize, dependencyLimit, cursor } = request;
80
81
  const _queryParams = {};
81
82
  if (pageSize != null) {
82
83
  _queryParams.page_size = pageSize.toString();
83
84
  }
85
+ if (dependencyLimit != null) {
86
+ _queryParams.dependency_limit = dependencyLimit.toString();
87
+ }
84
88
  if (cursor != null) {
85
89
  _queryParams.cursor = cursor;
86
90
  }
@@ -296,5 +300,73 @@ class SecretsClient {
296
300
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/secrets/{secret_id}");
297
301
  });
298
302
  }
303
+ /**
304
+ * Get paginated list of resources that depend on a specific secret, filtered by resource type.
305
+ *
306
+ * @param {string} secret_id
307
+ * @param {ElevenLabs.SecretDependencyResourceType} resource_type
308
+ * @param {ElevenLabs.conversationalAi.SecretsGetDependenciesRequest} request
309
+ * @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
310
+ *
311
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
312
+ *
313
+ * @example
314
+ * await client.conversationalAi.secrets.getDependencies("secret_id", "tools", {
315
+ * pageSize: 1,
316
+ * cursor: "cursor"
317
+ * })
318
+ */
319
+ getDependencies(secret_id, resource_type, request = {}, requestOptions) {
320
+ return core.HttpResponsePromise.fromPromise(this.__getDependencies(secret_id, resource_type, request, requestOptions));
321
+ }
322
+ __getDependencies(secret_id_1, resource_type_1) {
323
+ return __awaiter(this, arguments, void 0, function* (secret_id, resource_type, request = {}, requestOptions) {
324
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
325
+ const { pageSize, cursor } = request;
326
+ const _queryParams = {};
327
+ if (pageSize != null) {
328
+ _queryParams.page_size = pageSize.toString();
329
+ }
330
+ if (cursor != null) {
331
+ _queryParams.cursor = cursor;
332
+ }
333
+ 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);
334
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
335
+ 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/convai/secrets/${core.url.encodePathParam(secret_id)}/dependencies/${core.url.encodePathParam(serializers.SecretDependencyResourceType.jsonOrThrow(resource_type))}`),
336
+ method: "GET",
337
+ headers: _headers,
338
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
339
+ 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,
340
+ 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,
341
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
342
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
343
+ logging: this._options.logging,
344
+ });
345
+ if (_response.ok) {
346
+ return {
347
+ data: serializers.GetSecretDependenciesResponseModel.parseOrThrow(_response.body, {
348
+ unrecognizedObjectKeys: "passthrough",
349
+ allowUnrecognizedUnionMembers: true,
350
+ allowUnrecognizedEnumValues: true,
351
+ breadcrumbsPrefix: ["response"],
352
+ }),
353
+ rawResponse: _response.rawResponse,
354
+ };
355
+ }
356
+ if (_response.error.reason === "status-code") {
357
+ switch (_response.error.statusCode) {
358
+ case 422:
359
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
360
+ default:
361
+ throw new errors.ElevenLabsError({
362
+ statusCode: _response.error.statusCode,
363
+ body: _response.error.body,
364
+ rawResponse: _response.rawResponse,
365
+ });
366
+ }
367
+ }
368
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/secrets/{secret_id}/dependencies/{resource_type}");
369
+ });
370
+ }
299
371
  }
300
372
  exports.SecretsClient = SecretsClient;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * pageSize: 1,
5
+ * cursor: "cursor"
6
+ * }
7
+ */
8
+ export interface SecretsGetDependenciesRequest {
9
+ /** How many dependency items to return per page. */
10
+ pageSize?: number;
11
+ /** Used for fetching next page. Cursor is returned in the response. */
12
+ cursor?: string;
13
+ }
@@ -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 });
@@ -2,12 +2,15 @@
2
2
  * @example
3
3
  * {
4
4
  * pageSize: 1,
5
+ * dependencyLimit: 1,
5
6
  * cursor: "cursor"
6
7
  * }
7
8
  */
8
9
  export interface SecretsListRequest {
9
10
  /** How many documents to return at maximum. Can not exceed 100. If not provided, returns all secrets. */
10
11
  pageSize?: number;
12
+ /** Maximum number of dependent resources (tools, agents, phone numbers) to return per secret. Can not exceed 100. */
13
+ dependencyLimit?: number;
11
14
  /** Used for fetching next page. Cursor is returned in the response. */
12
15
  cursor?: string;
13
16
  }
@@ -1,3 +1,4 @@
1
1
  export type { PatchWorkspaceSecretRequest } from "./PatchWorkspaceSecretRequest";
2
2
  export type { PostWorkspaceSecretRequest } from "./PostWorkspaceSecretRequest";
3
+ export type { SecretsGetDependenciesRequest } from "./SecretsGetDependenciesRequest";
3
4
  export type { SecretsListRequest } from "./SecretsListRequest";
@@ -42,6 +42,6 @@ export declare class TwilioClient {
42
42
  * toNumber: "to_number"
43
43
  * })
44
44
  */
45
- registerCall(request: ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<void>;
45
+ registerCall(request: ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<string>;
46
46
  private __registerCall;
47
47
  }
@@ -148,6 +148,7 @@ class TwilioClient {
148
148
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
149
149
  requestType: "json",
150
150
  body: serializers.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
151
+ responseType: "text",
151
152
  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,
152
153
  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,
153
154
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -155,7 +156,7 @@ class TwilioClient {
155
156
  logging: this._options.logging,
156
157
  });
157
158
  if (_response.ok) {
158
- return { data: undefined, rawResponse: _response.rawResponse };
159
+ return { data: _response.body, rawResponse: _response.rawResponse };
159
160
  }
160
161
  if (_response.error.reason === "status-code") {
161
162
  switch (_response.error.statusCode) {
@@ -39,7 +39,7 @@ export declare class MusicClient {
39
39
  stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: MusicClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
40
40
  private __stream;
41
41
  /**
42
- * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
42
+ * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
43
43
  *
44
44
  * @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
45
45
  * @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -299,7 +299,7 @@ class MusicClient {
299
299
  });
300
300
  }
301
301
  /**
302
- * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
302
+ * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
303
303
  *
304
304
  * @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
305
305
  * @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -48,18 +48,18 @@ export interface BodySpeechToTextV1SpeechToTextPost {
48
48
  temperature?: number;
49
49
  /** If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. */
50
50
  seed?: number;
51
- /** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. */
51
+ /** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. Each channel is billed independently at the full audio duration, so cost scales linearly with the number of channels. */
52
52
  useMultiChannel?: boolean;
53
53
  /** Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. */
54
54
  webhookMetadata?: ElevenLabs.SpeechToTextConvertRequestWebhookMetadata;
55
- /** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional costs. */
55
+ /** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost. */
56
56
  entityDetection?: ElevenLabs.SpeechToTextConvertRequestEntityDetection;
57
57
  /** If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model. */
58
58
  noVerbatim?: boolean;
59
- /** Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. */
59
+ /** Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost. */
60
60
  entityRedaction?: ElevenLabs.SpeechToTextConvertRequestEntityRedaction;
61
61
  /** How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set. */
62
62
  entityRedactionMode?: string;
63
- /** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur additional costs. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request. */
63
+ /** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request. */
64
64
  keyterms?: string[];
65
65
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional costs.
2
+ * Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost.
3
3
  */
4
4
  export type SpeechToTextConvertRequestEntityDetection = string | string[];
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned.
2
+ * Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost.
3
3
  */
4
4
  export type SpeechToTextConvertRequestEntityRedaction = string | string[];
@@ -23,7 +23,6 @@ export declare class StudioClient {
23
23
  *
24
24
  * @example
25
25
  * await client.studio.createPodcast({
26
- * safetyIdentifier: "safety-identifier",
27
26
  * modelId: "eleven_multilingual_v2",
28
27
  * mode: {
29
28
  * type: "conversation",
@@ -82,7 +82,6 @@ class StudioClient {
82
82
  *
83
83
  * @example
84
84
  * await client.studio.createPodcast({
85
- * safetyIdentifier: "safety-identifier",
86
85
  * modelId: "eleven_multilingual_v2",
87
86
  * mode: {
88
87
  * type: "conversation",
@@ -2,7 +2,6 @@ import type * as ElevenLabs from "../../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
5
- * safetyIdentifier: "safety-identifier",
6
5
  * modelId: "eleven_multilingual_v2",
7
6
  * mode: {
8
7
  * type: "conversation",
@@ -24,7 +24,7 @@ export interface VoicesSearchRequest {
24
24
  sort?: string;
25
25
  /** Which direction to sort the voices in. 'asc' or 'desc'. */
26
26
  sortDirection?: string;
27
- /** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'saved'. 'non-default' is equal to all but 'default'. 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
27
+ /** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'non-community', 'saved'. 'non-default' is equal to all but 'default'. 'non-community' is equal to 'personal' and 'workspace' combined (excludes library copies). 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
28
28
  voiceType?: string;
29
29
  /** Category of the voice to filter by. One of 'premade', 'cloned', 'generated', 'professional' */
30
30
  category?: string;
@@ -12,6 +12,8 @@ export interface AgentBranchSummary {
12
12
  accessInfo?: ElevenLabs.ResourceAccessInfo;
13
13
  /** Percentage of traffic live on the branch */
14
14
  currentLivePercentage?: number;
15
+ /** ID of the parent branch */
16
+ parentBranchId?: string;
15
17
  /** Whether a draft exists for the branch */
16
18
  draftExists?: boolean;
17
19
  }
@@ -0,0 +1,6 @@
1
+ export interface AgentTopicResponseModel {
2
+ topicId: string;
3
+ label: string;
4
+ description: string;
5
+ conversationCount: number;
6
+ }
@@ -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 });
@@ -3,4 +3,5 @@ export interface AgentVersionParents {
3
3
  outOfBranchParentId?: string;
4
4
  mergedIntoBranchId?: string;
5
5
  mergedFromBranchId?: string;
6
+ mergedFromVersionId?: string;
6
7
  }
@@ -1,6 +1,5 @@
1
1
  export declare const ChatSourceMedium: {
2
2
  readonly Audio: "audio";
3
- readonly Dtmf: "dtmf";
4
3
  readonly Text: "text";
5
4
  readonly Image: "image";
6
5
  readonly File: "file";
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ChatSourceMedium = void 0;
5
5
  exports.ChatSourceMedium = {
6
6
  Audio: "audio",
7
- Dtmf: "dtmf",
8
7
  Text: "text",
9
8
  Image: "image",
10
9
  File: "file",
@@ -1,7 +1,14 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface ConvAiStoredSecretDependencies {
3
3
  tools: ElevenLabs.ConvAiStoredSecretDependenciesToolsItem[];
4
+ /** Whether there are more tool dependents beyond the returned preview */
5
+ toolsHasMore?: boolean;
4
6
  agents: ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem[];
5
- others: ElevenLabs.SecretDependencyType[];
7
+ /** Whether there are more agent dependents beyond the returned preview */
8
+ agentsHasMore?: boolean;
6
9
  phoneNumbers?: ElevenLabs.DependentPhoneNumberIdentifier[];
10
+ /** Whether there are more phone number dependents beyond the returned preview */
11
+ phoneNumbersHasMore?: boolean;
12
+ mcpServers?: ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem[];
13
+ others: ElevenLabs.SecretDependencyType[];
7
14
  }
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type ConvAiStoredSecretDependenciesMcpServersItem = ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem.Available | ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem.Unknown;
3
+ export declare namespace ConvAiStoredSecretDependenciesMcpServersItem {
4
+ interface Available extends ElevenLabs.DependentAvailableMcpServerIdentifier {
5
+ type: "available";
6
+ }
7
+ interface Unknown extends ElevenLabs.DependentUnknownMcpServerIdentifier {
8
+ type: "unknown";
9
+ }
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 });
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs: number;
9
10
  errorType: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModelInput {
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModelOutput
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelInpu
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -4,6 +4,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutp
4
4
  toolName: string;
5
5
  resultValue: string;
6
6
  isError: boolean;
7
+ isBlocked?: boolean;
7
8
  toolHasBeenCalled: boolean;
8
9
  toolLatencySecs?: number;
9
10
  errorType?: string;
@@ -5,4 +5,5 @@
5
5
  export interface DependentUnknownAgentIdentifier {
6
6
  /** If the agent is a transitive dependent, contains IDs of the resources that the agent depends on directly. */
7
7
  referencedResourceIds?: string[];
8
+ id: string;
8
9
  }
@@ -7,12 +7,13 @@ export declare const DirectPublishingReadResponseModelGenreItem: {
7
7
  readonly Dystopia: "Dystopia";
8
8
  readonly BusinessAndEconomics: "Business and Economics";
9
9
  readonly Technology: "Technology";
10
- readonly DetectiveAndCrime: "Detective and Crime";
10
+ readonly ChristianInspirational: "Christian & Inspirational";
11
11
  readonly Horror: "Horror";
12
12
  readonly BiographyAndMemoir: "Biography and Memoir";
13
13
  readonly EducationAndLearning: "Education and Learning";
14
14
  readonly History: "History";
15
15
  readonly ChildrensLiterature: "Children's Literature";
16
+ readonly YoungAdult: "Young Adult";
16
17
  readonly FairyTalesAndFolklore: "Fairy Tales and Folklore";
17
18
  readonly FanFiction: "Fan Fiction";
18
19
  readonly GeneralFiction: "General Fiction";
@@ -30,6 +31,5 @@ export declare const DirectPublishingReadResponseModelGenreItem: {
30
31
  readonly Travel: "Travel";
31
32
  readonly TrueCrime: "True Crime";
32
33
  readonly Other: "Other";
33
- readonly AdultRomance: "Adult Romance";
34
34
  };
35
35
  export type DirectPublishingReadResponseModelGenreItem = (typeof DirectPublishingReadResponseModelGenreItem)[keyof typeof DirectPublishingReadResponseModelGenreItem];
@@ -11,12 +11,13 @@ exports.DirectPublishingReadResponseModelGenreItem = {
11
11
  Dystopia: "Dystopia",
12
12
  BusinessAndEconomics: "Business and Economics",
13
13
  Technology: "Technology",
14
- DetectiveAndCrime: "Detective and Crime",
14
+ ChristianInspirational: "Christian & Inspirational",
15
15
  Horror: "Horror",
16
16
  BiographyAndMemoir: "Biography and Memoir",
17
17
  EducationAndLearning: "Education and Learning",
18
18
  History: "History",
19
19
  ChildrensLiterature: "Children's Literature",
20
+ YoungAdult: "Young Adult",
20
21
  FairyTalesAndFolklore: "Fairy Tales and Folklore",
21
22
  FanFiction: "Fan Fiction",
22
23
  GeneralFiction: "General Fiction",
@@ -34,5 +35,4 @@ exports.DirectPublishingReadResponseModelGenreItem = {
34
35
  Travel: "Travel",
35
36
  TrueCrime: "True Crime",
36
37
  Other: "Other",
37
- AdultRomance: "Adult Romance",
38
38
  };
@@ -0,0 +1,6 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface GetAgentTopicsResponseModel {
3
+ topics: ElevenLabs.AgentTopicResponseModel[];
4
+ windowStartUnixSecs: number;
5
+ windowEndUnixSecs: number;
6
+ }
@@ -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
+ import type * as ElevenLabs from "../index";
2
+ export interface GetSecretDependenciesResponseModel {
3
+ dependencies: ElevenLabs.GetSecretDependenciesResponseModelDependencies;
4
+ /** Cursor for fetching the next page of dependencies */
5
+ nextCursor?: string;
6
+ }
@@ -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,2 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type GetSecretDependenciesResponseModelDependencies = ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem[] | ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem[] | ElevenLabs.DependentPhoneNumberIdentifier[];
@@ -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,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type GetSecretDependenciesResponseModelDependenciesOneItem = ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem.Available | ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem.Unknown;
3
+ export declare namespace GetSecretDependenciesResponseModelDependenciesOneItem {
4
+ interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
5
+ type: "available";
6
+ }
7
+ interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
8
+ type: "unknown";
9
+ }
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,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type GetSecretDependenciesResponseModelDependenciesZeroItem = ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem.Available | ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem.Unknown;
3
+ export declare namespace GetSecretDependenciesResponseModelDependenciesZeroItem {
4
+ interface Available extends ElevenLabs.DependentAvailableToolIdentifier {
5
+ type: "available";
6
+ }
7
+ interface Unknown extends ElevenLabs.DependentUnknownToolIdentifier {
8
+ type: "unknown";
9
+ }
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 });
@@ -3,6 +3,4 @@ export interface GetWorkspaceSecretsResponseModel {
3
3
  secrets: ElevenLabs.ConvAiWorkspaceStoredSecretConfig[];
4
4
  /** Cursor for fetching the next page of secrets */
5
5
  nextCursor?: string;
6
- /** Whether there are more secrets to fetch */
7
- hasMore?: boolean;
8
6
  }
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface KnowledgeBaseContentSearchResponseModel {
3
+ results: ElevenLabs.KnowledgeBaseContentSearchResult[];
4
+ nextCursor?: string;
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,6 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface KnowledgeBaseContentSearchResult {
3
+ document: ElevenLabs.KnowledgeBaseContentSearchResultDocument;
4
+ searchSnippet?: ElevenLabs.SearchHighlightSegment[];
5
+ score: number;
6
+ }
@@ -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,16 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type KnowledgeBaseContentSearchResultDocument = ElevenLabs.KnowledgeBaseContentSearchResultDocument.File_ | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Folder | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Text | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Url;
3
+ export declare namespace KnowledgeBaseContentSearchResultDocument {
4
+ interface File_ extends ElevenLabs.GetKnowledgeBaseSummaryFileResponseModel {
5
+ type: "file";
6
+ }
7
+ interface Folder extends ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModel {
8
+ type: "folder";
9
+ }
10
+ interface Text extends ElevenLabs.GetKnowledgeBaseSummaryTextResponseModel {
11
+ type: "text";
12
+ }
13
+ interface Url extends ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModel {
14
+ type: "url";
15
+ }
16
+ }
@@ -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 });
@@ -21,6 +21,7 @@ export declare const Llm: {
21
21
  readonly Gemini25Flash: "gemini-2.5-flash";
22
22
  readonly Gemini3ProPreview: "gemini-3-pro-preview";
23
23
  readonly Gemini3FlashPreview: "gemini-3-flash-preview";
24
+ readonly Gemini31ProPreview: "gemini-3.1-pro-preview";
24
25
  readonly Gemini31FlashLitePreview: "gemini-3.1-flash-lite-preview";
25
26
  readonly ClaudeSonnet45: "claude-sonnet-4-5";
26
27
  readonly ClaudeSonnet46: "claude-sonnet-4-6";
@@ -34,6 +35,8 @@ export declare const Llm: {
34
35
  readonly CustomLlm: "custom-llm";
35
36
  readonly Qwen34B: "qwen3-4b";
36
37
  readonly Qwen330Ba3B: "qwen3-30b-a3b";
38
+ readonly Qwen3535Ba3B: "qwen35-35b-a3b";
39
+ readonly Qwen35397Ba17B: "qwen35-397b-a17b";
37
40
  readonly GptOss20B: "gpt-oss-20b";
38
41
  readonly GptOss120B: "gpt-oss-120b";
39
42
  readonly Glm45AirFp8: "glm-45-air-fp8";