@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
package/reference.md CHANGED
@@ -2200,7 +2200,6 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
2200
2200
 
2201
2201
  ```typescript
2202
2202
  await client.studio.createPodcast({
2203
- safetyIdentifier: "safety-identifier",
2204
2203
  modelId: "eleven_multilingual_v2",
2205
2204
  mode: {
2206
2205
  type: "conversation",
@@ -2451,7 +2450,7 @@ await client.music.stream();
2451
2450
  <dl>
2452
2451
  <dd>
2453
2452
 
2454
- Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
2453
+ 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.
2455
2454
  </dd>
2456
2455
  </dl>
2457
2456
  </dd>
@@ -4971,7 +4970,7 @@ await client.conversationalAi.twilio.outboundCall({
4971
4970
  </dl>
4972
4971
  </details>
4973
4972
 
4974
- <details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">registerCall</a>({ ...params }) -> void</code></summary>
4973
+ <details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">registerCall</a>({ ...params }) -> string</code></summary>
4975
4974
  <dl>
4976
4975
  <dd>
4977
4976
 
@@ -6963,6 +6962,73 @@ await client.conversationalAi.knowledgeBase.getOrCreateRagIndexes({
6963
6962
  </dl>
6964
6963
 
6965
6964
 
6965
+ </dd>
6966
+ </dl>
6967
+ </details>
6968
+
6969
+ <details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">search</a>({ ...params }) -> ElevenLabs.KnowledgeBaseContentSearchResponseModel</code></summary>
6970
+ <dl>
6971
+ <dd>
6972
+
6973
+ #### 📝 Description
6974
+
6975
+ <dl>
6976
+ <dd>
6977
+
6978
+ <dl>
6979
+ <dd>
6980
+
6981
+ Fuzzy text search over knowledge base document content
6982
+ </dd>
6983
+ </dl>
6984
+ </dd>
6985
+ </dl>
6986
+
6987
+ #### 🔌 Usage
6988
+
6989
+ <dl>
6990
+ <dd>
6991
+
6992
+ <dl>
6993
+ <dd>
6994
+
6995
+ ```typescript
6996
+ await client.conversationalAi.knowledgeBase.search({
6997
+ query: "query",
6998
+ pageSize: 1,
6999
+ cursor: "cursor"
7000
+ });
7001
+
7002
+ ```
7003
+ </dd>
7004
+ </dl>
7005
+ </dd>
7006
+ </dl>
7007
+
7008
+ #### ⚙️ Parameters
7009
+
7010
+ <dl>
7011
+ <dd>
7012
+
7013
+ <dl>
7014
+ <dd>
7015
+
7016
+ **request:** `ElevenLabs.conversationalAi.KnowledgeBaseSearchRequest`
7017
+
7018
+ </dd>
7019
+ </dl>
7020
+
7021
+ <dl>
7022
+ <dd>
7023
+
7024
+ **requestOptions:** `KnowledgeBaseClient.RequestOptions`
7025
+
7026
+ </dd>
7027
+ </dl>
7028
+ </dd>
7029
+ </dl>
7030
+
7031
+
6966
7032
  </dd>
6967
7033
  </dl>
6968
7034
  </details>
@@ -7546,6 +7612,7 @@ Get all workspace secrets for the user
7546
7612
  ```typescript
7547
7613
  await client.conversationalAi.secrets.list({
7548
7614
  pageSize: 1,
7615
+ dependencyLimit: 1,
7549
7616
  cursor: "cursor"
7550
7617
  });
7551
7618
 
@@ -7782,6 +7849,88 @@ await client.conversationalAi.secrets.update("secret_id", {
7782
7849
  </dl>
7783
7850
 
7784
7851
 
7852
+ </dd>
7853
+ </dl>
7854
+ </details>
7855
+
7856
+ <details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">getDependencies</a>(secret_id, resource_type, { ...params }) -> ElevenLabs.GetSecretDependenciesResponseModel</code></summary>
7857
+ <dl>
7858
+ <dd>
7859
+
7860
+ #### 📝 Description
7861
+
7862
+ <dl>
7863
+ <dd>
7864
+
7865
+ <dl>
7866
+ <dd>
7867
+
7868
+ Get paginated list of resources that depend on a specific secret, filtered by resource type.
7869
+ </dd>
7870
+ </dl>
7871
+ </dd>
7872
+ </dl>
7873
+
7874
+ #### 🔌 Usage
7875
+
7876
+ <dl>
7877
+ <dd>
7878
+
7879
+ <dl>
7880
+ <dd>
7881
+
7882
+ ```typescript
7883
+ await client.conversationalAi.secrets.getDependencies("secret_id", "tools", {
7884
+ pageSize: 1,
7885
+ cursor: "cursor"
7886
+ });
7887
+
7888
+ ```
7889
+ </dd>
7890
+ </dl>
7891
+ </dd>
7892
+ </dl>
7893
+
7894
+ #### ⚙️ Parameters
7895
+
7896
+ <dl>
7897
+ <dd>
7898
+
7899
+ <dl>
7900
+ <dd>
7901
+
7902
+ **secret_id:** `string`
7903
+
7904
+ </dd>
7905
+ </dl>
7906
+
7907
+ <dl>
7908
+ <dd>
7909
+
7910
+ **resource_type:** `ElevenLabs.SecretDependencyResourceType`
7911
+
7912
+ </dd>
7913
+ </dl>
7914
+
7915
+ <dl>
7916
+ <dd>
7917
+
7918
+ **request:** `ElevenLabs.conversationalAi.SecretsGetDependenciesRequest`
7919
+
7920
+ </dd>
7921
+ </dl>
7922
+
7923
+ <dl>
7924
+ <dd>
7925
+
7926
+ **requestOptions:** `SecretsClient.RequestOptions`
7927
+
7928
+ </dd>
7929
+ </dl>
7930
+ </dd>
7931
+ </dl>
7932
+
7933
+
7785
7934
  </dd>
7786
7935
  </dl>
7787
7936
  </details>
@@ -9239,7 +9388,7 @@ await client.conversationalAi.agents.branches.list("agent_3701k3ttaq12ewp8b7qv5r
9239
9388
  <dl>
9240
9389
  <dd>
9241
9390
 
9242
- Create a new branch from a given version of main branch
9391
+ Create a new branch from a given version of any branch
9243
9392
  </dd>
9244
9393
  </dl>
9245
9394
  </dd>
@@ -10459,6 +10608,70 @@ await client.conversationalAi.conversations.files.delete("conversation_id", "fil
10459
10608
  </dl>
10460
10609
 
10461
10610
 
10611
+ </dd>
10612
+ </dl>
10613
+ </details>
10614
+
10615
+ ## ConversationalAi Conversations Topics
10616
+ <details><summary><code>client.conversationalAi.conversations.topics.<a href="/src/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.ts">get</a>(agent_id) -> ElevenLabs.GetAgentTopicsResponseModel</code></summary>
10617
+ <dl>
10618
+ <dd>
10619
+
10620
+ #### 📝 Description
10621
+
10622
+ <dl>
10623
+ <dd>
10624
+
10625
+ <dl>
10626
+ <dd>
10627
+
10628
+ Returns the latest topic discovery run results for a given agent.
10629
+ </dd>
10630
+ </dl>
10631
+ </dd>
10632
+ </dl>
10633
+
10634
+ #### 🔌 Usage
10635
+
10636
+ <dl>
10637
+ <dd>
10638
+
10639
+ <dl>
10640
+ <dd>
10641
+
10642
+ ```typescript
10643
+ await client.conversationalAi.conversations.topics.get("agent_id");
10644
+
10645
+ ```
10646
+ </dd>
10647
+ </dl>
10648
+ </dd>
10649
+ </dl>
10650
+
10651
+ #### ⚙️ Parameters
10652
+
10653
+ <dl>
10654
+ <dd>
10655
+
10656
+ <dl>
10657
+ <dd>
10658
+
10659
+ **agent_id:** `string` — ID of the agent
10660
+
10661
+ </dd>
10662
+ </dl>
10663
+
10664
+ <dl>
10665
+ <dd>
10666
+
10667
+ **requestOptions:** `TopicsClient.RequestOptions`
10668
+
10669
+ </dd>
10670
+ </dl>
10671
+ </dd>
10672
+ </dl>
10673
+
10674
+
10462
10675
  </dd>
10463
10676
  </dl>
10464
10677
  </details>
@@ -11201,7 +11414,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
11201
11414
  </dl>
11202
11415
  </details>
11203
11416
 
11204
- <details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getContent</a>(documentation_id) -> void</code></summary>
11417
+ <details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getContent</a>(documentation_id) -> string</code></summary>
11205
11418
  <dl>
11206
11419
  <dd>
11207
11420
 
@@ -11228,7 +11441,7 @@ Get the entire content of a document from the knowledge base
11228
11441
  <dd>
11229
11442
 
11230
11443
  ```typescript
11231
- await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq8ikWAM");
11444
+ await client.conversationalAi.knowledgeBase.documents.getContent("documentation_id");
11232
11445
 
11233
11446
  ```
11234
11447
  </dd>
@@ -5,5 +5,6 @@ export declare const BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranc
5
5
  export declare namespace BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost {
6
6
  interface Raw {
7
7
  archive_source_branch?: boolean | null;
8
+ force?: boolean | null;
8
9
  }
9
10
  }
@@ -38,4 +38,5 @@ exports.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBran
38
38
  const core = __importStar(require("../../../../../../../../../core"));
39
39
  exports.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost = core.serialization.object({
40
40
  archiveSourceBranch: core.serialization.property("archive_source_branch", core.serialization.boolean().optional()),
41
+ force: core.serialization.boolean().optional(),
41
42
  });
@@ -16,6 +16,7 @@ export declare namespace AgentBranchSummary {
16
16
  protection_status?: BranchProtectionStatus.Raw | null;
17
17
  access_info?: ResourceAccessInfo.Raw | null;
18
18
  current_live_percentage?: number | null;
19
+ parent_branch_id?: string | null;
19
20
  draft_exists?: boolean | null;
20
21
  }
21
22
  }
@@ -49,5 +49,6 @@ exports.AgentBranchSummary = core.serialization.object({
49
49
  protectionStatus: core.serialization.property("protection_status", BranchProtectionStatus_1.BranchProtectionStatus.optional()),
50
50
  accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
51
51
  currentLivePercentage: core.serialization.property("current_live_percentage", core.serialization.number().optional()),
52
+ parentBranchId: core.serialization.property("parent_branch_id", core.serialization.string().optional()),
52
53
  draftExists: core.serialization.property("draft_exists", core.serialization.boolean().optional()),
53
54
  });
@@ -0,0 +1,12 @@
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 AgentTopicResponseModel: core.serialization.ObjectSchema<serializers.AgentTopicResponseModel.Raw, ElevenLabs.AgentTopicResponseModel>;
5
+ export declare namespace AgentTopicResponseModel {
6
+ interface Raw {
7
+ topic_id: string;
8
+ label: string;
9
+ description: string;
10
+ conversation_count: number;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.AgentTopicResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.AgentTopicResponseModel = core.serialization.object({
40
+ topicId: core.serialization.property("topic_id", core.serialization.string()),
41
+ label: core.serialization.string(),
42
+ description: core.serialization.string(),
43
+ conversationCount: core.serialization.property("conversation_count", core.serialization.number()),
44
+ });
@@ -8,5 +8,6 @@ export declare namespace AgentVersionParents {
8
8
  out_of_branch_parent_id?: string | null;
9
9
  merged_into_branch_id?: string | null;
10
10
  merged_from_branch_id?: string | null;
11
+ merged_from_version_id?: string | null;
11
12
  }
12
13
  }
@@ -41,4 +41,5 @@ exports.AgentVersionParents = core.serialization.object({
41
41
  outOfBranchParentId: core.serialization.property("out_of_branch_parent_id", core.serialization.string().optional()),
42
42
  mergedIntoBranchId: core.serialization.property("merged_into_branch_id", core.serialization.string().optional()),
43
43
  mergedFromBranchId: core.serialization.property("merged_from_branch_id", core.serialization.string().optional()),
44
+ mergedFromVersionId: core.serialization.property("merged_from_version_id", core.serialization.string().optional()),
44
45
  });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const ChatSourceMedium: core.serialization.Schema<serializers.ChatSourceMedium.Raw, ElevenLabs.ChatSourceMedium>;
5
5
  export declare namespace ChatSourceMedium {
6
- type Raw = "audio" | "dtmf" | "text" | "image" | "file";
6
+ type Raw = "audio" | "text" | "image" | "file";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ChatSourceMedium = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.ChatSourceMedium = core.serialization.enum_(["audio", "dtmf", "text", "image", "file"]);
39
+ exports.ChatSourceMedium = core.serialization.enum_(["audio", "text", "image", "file"]);
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { ConvAiStoredSecretDependenciesAgentsItem } from "./ConvAiStoredSecretDependenciesAgentsItem";
5
+ import { ConvAiStoredSecretDependenciesMcpServersItem } from "./ConvAiStoredSecretDependenciesMcpServersItem";
5
6
  import { ConvAiStoredSecretDependenciesToolsItem } from "./ConvAiStoredSecretDependenciesToolsItem";
6
7
  import { DependentPhoneNumberIdentifier } from "./DependentPhoneNumberIdentifier";
7
8
  import { SecretDependencyType } from "./SecretDependencyType";
@@ -9,8 +10,12 @@ export declare const ConvAiStoredSecretDependencies: core.serialization.ObjectSc
9
10
  export declare namespace ConvAiStoredSecretDependencies {
10
11
  interface Raw {
11
12
  tools: ConvAiStoredSecretDependenciesToolsItem.Raw[];
13
+ tools_has_more?: boolean | null;
12
14
  agents: ConvAiStoredSecretDependenciesAgentsItem.Raw[];
13
- others: SecretDependencyType.Raw[];
15
+ agents_has_more?: boolean | null;
14
16
  phone_numbers?: DependentPhoneNumberIdentifier.Raw[] | null;
17
+ phone_numbers_has_more?: boolean | null;
18
+ mcp_servers?: ConvAiStoredSecretDependenciesMcpServersItem.Raw[] | null;
19
+ others: SecretDependencyType.Raw[];
15
20
  }
16
21
  }
@@ -37,12 +37,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ConvAiStoredSecretDependencies = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const ConvAiStoredSecretDependenciesAgentsItem_1 = require("./ConvAiStoredSecretDependenciesAgentsItem");
40
+ const ConvAiStoredSecretDependenciesMcpServersItem_1 = require("./ConvAiStoredSecretDependenciesMcpServersItem");
40
41
  const ConvAiStoredSecretDependenciesToolsItem_1 = require("./ConvAiStoredSecretDependenciesToolsItem");
41
42
  const DependentPhoneNumberIdentifier_1 = require("./DependentPhoneNumberIdentifier");
42
43
  const SecretDependencyType_1 = require("./SecretDependencyType");
43
44
  exports.ConvAiStoredSecretDependencies = core.serialization.object({
44
45
  tools: core.serialization.list(ConvAiStoredSecretDependenciesToolsItem_1.ConvAiStoredSecretDependenciesToolsItem),
46
+ toolsHasMore: core.serialization.property("tools_has_more", core.serialization.boolean().optional()),
45
47
  agents: core.serialization.list(ConvAiStoredSecretDependenciesAgentsItem_1.ConvAiStoredSecretDependenciesAgentsItem),
46
- others: core.serialization.list(SecretDependencyType_1.SecretDependencyType),
48
+ agentsHasMore: core.serialization.property("agents_has_more", core.serialization.boolean().optional()),
47
49
  phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(DependentPhoneNumberIdentifier_1.DependentPhoneNumberIdentifier).optional()),
50
+ phoneNumbersHasMore: core.serialization.property("phone_numbers_has_more", core.serialization.boolean().optional()),
51
+ mcpServers: core.serialization.property("mcp_servers", core.serialization.list(ConvAiStoredSecretDependenciesMcpServersItem_1.ConvAiStoredSecretDependenciesMcpServersItem).optional()),
52
+ others: core.serialization.list(SecretDependencyType_1.SecretDependencyType),
48
53
  });
@@ -0,0 +1,15 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { DependentAvailableMcpServerIdentifier } from "./DependentAvailableMcpServerIdentifier";
5
+ import { DependentUnknownMcpServerIdentifier } from "./DependentUnknownMcpServerIdentifier";
6
+ export declare const ConvAiStoredSecretDependenciesMcpServersItem: core.serialization.Schema<serializers.ConvAiStoredSecretDependenciesMcpServersItem.Raw, ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem>;
7
+ export declare namespace ConvAiStoredSecretDependenciesMcpServersItem {
8
+ type Raw = ConvAiStoredSecretDependenciesMcpServersItem.Available | ConvAiStoredSecretDependenciesMcpServersItem.Unknown;
9
+ interface Available extends DependentAvailableMcpServerIdentifier.Raw {
10
+ type: "available";
11
+ }
12
+ interface Unknown extends DependentUnknownMcpServerIdentifier.Raw {
13
+ type: "unknown";
14
+ }
15
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ConvAiStoredSecretDependenciesMcpServersItem = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DependentAvailableMcpServerIdentifier_1 = require("./DependentAvailableMcpServerIdentifier");
40
+ const DependentUnknownMcpServerIdentifier_1 = require("./DependentUnknownMcpServerIdentifier");
41
+ exports.ConvAiStoredSecretDependenciesMcpServersItem = core.serialization
42
+ .union("type", {
43
+ available: DependentAvailableMcpServerIdentifier_1.DependentAvailableMcpServerIdentifier,
44
+ unknown: DependentUnknownMcpServerIdentifier_1.DependentUnknownMcpServerIdentifier,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptApiIntegrationWebhookTools
9
9
  tool_name: string;
10
10
  result_value: string;
11
11
  is_error: boolean;
12
+ is_blocked?: boolean | null;
12
13
  tool_has_been_called: boolean;
13
14
  tool_latency_secs?: number | null;
14
15
  error_type?: string | null;
@@ -42,6 +42,7 @@ exports.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
42
42
  toolName: core.serialization.property("tool_name", core.serialization.string()),
43
43
  resultValue: core.serialization.property("result_value", core.serialization.string()),
44
44
  isError: core.serialization.property("is_error", core.serialization.boolean()),
45
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
45
46
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
46
47
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
47
48
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptApiIntegrationWebhookTools
9
9
  tool_name: string;
10
10
  result_value: string;
11
11
  is_error: boolean;
12
+ is_blocked: boolean;
12
13
  tool_has_been_called: boolean;
13
14
  tool_latency_secs: number;
14
15
  error_type: string;
@@ -42,6 +42,7 @@ exports.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
42
42
  toolName: core.serialization.property("tool_name", core.serialization.string()),
43
43
  resultValue: core.serialization.property("result_value", core.serialization.string()),
44
44
  isError: core.serialization.property("is_error", core.serialization.boolean()),
45
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean()),
45
46
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
46
47
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number()),
47
48
  errorType: core.serialization.property("error_type", core.serialization.string()),
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonMode
10
10
  tool_name: string;
11
11
  result_value: string;
12
12
  is_error: boolean;
13
+ is_blocked?: boolean | null;
13
14
  tool_has_been_called: boolean;
14
15
  tool_latency_secs?: number | null;
15
16
  error_type?: string | null;
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptOtherToolsResultCommonModel = core.serializ
43
43
  toolName: core.serialization.property("tool_name", core.serialization.string()),
44
44
  resultValue: core.serialization.property("result_value", core.serialization.string()),
45
45
  isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
46
47
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
47
48
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
48
49
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
10
10
  tool_name: string;
11
11
  result_value: string;
12
12
  is_error: boolean;
13
+ is_blocked?: boolean | null;
13
14
  tool_has_been_called: boolean;
14
15
  tool_latency_secs?: number | null;
15
16
  error_type?: string | null;
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelInput = core.ser
43
43
  toolName: core.serialization.property("tool_name", core.serialization.string()),
44
44
  resultValue: core.serialization.property("result_value", core.serialization.string()),
45
45
  isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
46
47
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
47
48
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
48
49
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
10
10
  tool_name: string;
11
11
  result_value: string;
12
12
  is_error: boolean;
13
+ is_blocked?: boolean | null;
13
14
  tool_has_been_called: boolean;
14
15
  tool_latency_secs?: number | null;
15
16
  error_type?: string | null;
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelOutput = core.se
43
43
  toolName: core.serialization.property("tool_name", core.serialization.string()),
44
44
  resultValue: core.serialization.property("result_value", core.serialization.string()),
45
45
  isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
46
47
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
47
48
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
48
49
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
9
9
  tool_name: string;
10
10
  result_value: string;
11
11
  is_error: boolean;
12
+ is_blocked?: boolean | null;
12
13
  tool_has_been_called: boolean;
13
14
  tool_latency_secs?: number | null;
14
15
  error_type?: string | null;
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput = core.
43
43
  toolName: core.serialization.property("tool_name", core.serialization.string()),
44
44
  resultValue: core.serialization.property("result_value", core.serialization.string()),
45
45
  isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
46
47
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
47
48
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
48
49
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
9
9
  tool_name: string;
10
10
  result_value: string;
11
11
  is_error: boolean;
12
+ is_blocked?: boolean | null;
12
13
  tool_has_been_called: boolean;
13
14
  tool_latency_secs?: number | null;
14
15
  error_type?: string | null;
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput = core
43
43
  toolName: core.serialization.property("tool_name", core.serialization.string()),
44
44
  resultValue: core.serialization.property("result_value", core.serialization.string()),
45
45
  isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
46
47
  toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
47
48
  toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
48
49
  errorType: core.serialization.property("error_type", core.serialization.string().optional()),