@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
@@ -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()),
@@ -5,5 +5,6 @@ export declare const DependentUnknownAgentIdentifier: core.serialization.ObjectS
5
5
  export declare namespace DependentUnknownAgentIdentifier {
6
6
  interface Raw {
7
7
  referenced_resource_ids?: string[] | null;
8
+ id: string;
8
9
  }
9
10
  }
@@ -38,4 +38,5 @@ exports.DependentUnknownAgentIdentifier = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  exports.DependentUnknownAgentIdentifier = core.serialization.object({
40
40
  referencedResourceIds: core.serialization.property("referenced_resource_ids", core.serialization.list(core.serialization.string()).optional()),
41
+ id: core.serialization.string(),
41
42
  });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const DirectPublishingReadResponseModelGenreItem: core.serialization.Schema<serializers.DirectPublishingReadResponseModelGenreItem.Raw, ElevenLabs.DirectPublishingReadResponseModelGenreItem>;
5
5
  export declare namespace DirectPublishingReadResponseModelGenreItem {
6
- type Raw = "Fantasy" | "Romance" | "Science Fiction" | "Mystery and Thriller" | "Action and Adventure" | "Dystopia" | "Business and Economics" | "Technology" | "Detective and Crime" | "Horror" | "Biography and Memoir" | "Education and Learning" | "History" | "Children's Literature" | "Fairy Tales and Folklore" | "Fan Fiction" | "General Fiction" | "Health and Wellness" | "Historical Fiction" | "Humor" | "Literary Classics" | "Philosophy" | "Poetry" | "Politics and Government" | "Psychology" | "Science and Nature" | "Self-Help" | "Spirituality and Religion" | "Travel" | "True Crime" | "Other" | "Adult Romance";
6
+ type Raw = "Fantasy" | "Romance" | "Science Fiction" | "Mystery and Thriller" | "Action and Adventure" | "Dystopia" | "Business and Economics" | "Technology" | "Christian & Inspirational" | "Horror" | "Biography and Memoir" | "Education and Learning" | "History" | "Children's Literature" | "Young Adult" | "Fairy Tales and Folklore" | "Fan Fiction" | "General Fiction" | "Health and Wellness" | "Historical Fiction" | "Humor" | "Literary Classics" | "Philosophy" | "Poetry" | "Politics and Government" | "Psychology" | "Science and Nature" | "Self-Help" | "Spirituality and Religion" | "Travel" | "True Crime" | "Other";
7
7
  }
@@ -45,12 +45,13 @@ exports.DirectPublishingReadResponseModelGenreItem = core.serialization.enum_([
45
45
  "Dystopia",
46
46
  "Business and Economics",
47
47
  "Technology",
48
- "Detective and Crime",
48
+ "Christian & Inspirational",
49
49
  "Horror",
50
50
  "Biography and Memoir",
51
51
  "Education and Learning",
52
52
  "History",
53
53
  "Children's Literature",
54
+ "Young Adult",
54
55
  "Fairy Tales and Folklore",
55
56
  "Fan Fiction",
56
57
  "General Fiction",
@@ -68,5 +69,4 @@ exports.DirectPublishingReadResponseModelGenreItem = core.serialization.enum_([
68
69
  "Travel",
69
70
  "True Crime",
70
71
  "Other",
71
- "Adult Romance",
72
72
  ]);
@@ -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
+ import { AgentTopicResponseModel } from "./AgentTopicResponseModel";
5
+ export declare const GetAgentTopicsResponseModel: core.serialization.ObjectSchema<serializers.GetAgentTopicsResponseModel.Raw, ElevenLabs.GetAgentTopicsResponseModel>;
6
+ export declare namespace GetAgentTopicsResponseModel {
7
+ interface Raw {
8
+ topics: AgentTopicResponseModel.Raw[];
9
+ window_start_unix_secs: number;
10
+ window_end_unix_secs: 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.GetAgentTopicsResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AgentTopicResponseModel_1 = require("./AgentTopicResponseModel");
40
+ exports.GetAgentTopicsResponseModel = core.serialization.object({
41
+ topics: core.serialization.list(AgentTopicResponseModel_1.AgentTopicResponseModel),
42
+ windowStartUnixSecs: core.serialization.property("window_start_unix_secs", core.serialization.number()),
43
+ windowEndUnixSecs: core.serialization.property("window_end_unix_secs", core.serialization.number()),
44
+ });
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { GetSecretDependenciesResponseModelDependencies } from "./GetSecretDependenciesResponseModelDependencies";
5
+ export declare const GetSecretDependenciesResponseModel: core.serialization.ObjectSchema<serializers.GetSecretDependenciesResponseModel.Raw, ElevenLabs.GetSecretDependenciesResponseModel>;
6
+ export declare namespace GetSecretDependenciesResponseModel {
7
+ interface Raw {
8
+ dependencies: GetSecretDependenciesResponseModelDependencies.Raw;
9
+ next_cursor?: string | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GetSecretDependenciesResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const GetSecretDependenciesResponseModelDependencies_1 = require("./GetSecretDependenciesResponseModelDependencies");
40
+ exports.GetSecretDependenciesResponseModel = core.serialization.object({
41
+ dependencies: GetSecretDependenciesResponseModelDependencies_1.GetSecretDependenciesResponseModelDependencies,
42
+ nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
43
+ });
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { DependentPhoneNumberIdentifier } from "./DependentPhoneNumberIdentifier";
5
+ import { GetSecretDependenciesResponseModelDependenciesOneItem } from "./GetSecretDependenciesResponseModelDependenciesOneItem";
6
+ import { GetSecretDependenciesResponseModelDependenciesZeroItem } from "./GetSecretDependenciesResponseModelDependenciesZeroItem";
7
+ export declare const GetSecretDependenciesResponseModelDependencies: core.serialization.Schema<serializers.GetSecretDependenciesResponseModelDependencies.Raw, ElevenLabs.GetSecretDependenciesResponseModelDependencies>;
8
+ export declare namespace GetSecretDependenciesResponseModelDependencies {
9
+ type Raw = GetSecretDependenciesResponseModelDependenciesZeroItem.Raw[] | GetSecretDependenciesResponseModelDependenciesOneItem.Raw[] | DependentPhoneNumberIdentifier.Raw[];
10
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GetSecretDependenciesResponseModelDependencies = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DependentPhoneNumberIdentifier_1 = require("./DependentPhoneNumberIdentifier");
40
+ const GetSecretDependenciesResponseModelDependenciesOneItem_1 = require("./GetSecretDependenciesResponseModelDependenciesOneItem");
41
+ const GetSecretDependenciesResponseModelDependenciesZeroItem_1 = require("./GetSecretDependenciesResponseModelDependenciesZeroItem");
42
+ exports.GetSecretDependenciesResponseModelDependencies = core.serialization.undiscriminatedUnion([
43
+ core.serialization.list(GetSecretDependenciesResponseModelDependenciesZeroItem_1.GetSecretDependenciesResponseModelDependenciesZeroItem),
44
+ core.serialization.list(GetSecretDependenciesResponseModelDependenciesOneItem_1.GetSecretDependenciesResponseModelDependenciesOneItem),
45
+ core.serialization.list(DependentPhoneNumberIdentifier_1.DependentPhoneNumberIdentifier),
46
+ ]);
@@ -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 { DependentAvailableAgentIdentifier } from "./DependentAvailableAgentIdentifier";
5
+ import { DependentUnknownAgentIdentifier } from "./DependentUnknownAgentIdentifier";
6
+ export declare const GetSecretDependenciesResponseModelDependenciesOneItem: core.serialization.Schema<serializers.GetSecretDependenciesResponseModelDependenciesOneItem.Raw, ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem>;
7
+ export declare namespace GetSecretDependenciesResponseModelDependenciesOneItem {
8
+ type Raw = GetSecretDependenciesResponseModelDependenciesOneItem.Available | GetSecretDependenciesResponseModelDependenciesOneItem.Unknown;
9
+ interface Available extends DependentAvailableAgentIdentifier.Raw {
10
+ type: "available";
11
+ }
12
+ interface Unknown extends DependentUnknownAgentIdentifier.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.GetSecretDependenciesResponseModelDependenciesOneItem = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DependentAvailableAgentIdentifier_1 = require("./DependentAvailableAgentIdentifier");
40
+ const DependentUnknownAgentIdentifier_1 = require("./DependentUnknownAgentIdentifier");
41
+ exports.GetSecretDependenciesResponseModelDependenciesOneItem = core.serialization
42
+ .union("type", {
43
+ available: DependentAvailableAgentIdentifier_1.DependentAvailableAgentIdentifier,
44
+ unknown: DependentUnknownAgentIdentifier_1.DependentUnknownAgentIdentifier,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -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 { DependentAvailableToolIdentifier } from "./DependentAvailableToolIdentifier";
5
+ import { DependentUnknownToolIdentifier } from "./DependentUnknownToolIdentifier";
6
+ export declare const GetSecretDependenciesResponseModelDependenciesZeroItem: core.serialization.Schema<serializers.GetSecretDependenciesResponseModelDependenciesZeroItem.Raw, ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem>;
7
+ export declare namespace GetSecretDependenciesResponseModelDependenciesZeroItem {
8
+ type Raw = GetSecretDependenciesResponseModelDependenciesZeroItem.Available | GetSecretDependenciesResponseModelDependenciesZeroItem.Unknown;
9
+ interface Available extends DependentAvailableToolIdentifier.Raw {
10
+ type: "available";
11
+ }
12
+ interface Unknown extends DependentUnknownToolIdentifier.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.GetSecretDependenciesResponseModelDependenciesZeroItem = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DependentAvailableToolIdentifier_1 = require("./DependentAvailableToolIdentifier");
40
+ const DependentUnknownToolIdentifier_1 = require("./DependentUnknownToolIdentifier");
41
+ exports.GetSecretDependenciesResponseModelDependenciesZeroItem = core.serialization
42
+ .union("type", {
43
+ available: DependentAvailableToolIdentifier_1.DependentAvailableToolIdentifier,
44
+ unknown: DependentUnknownToolIdentifier_1.DependentUnknownToolIdentifier,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -7,6 +7,5 @@ export declare namespace GetWorkspaceSecretsResponseModel {
7
7
  interface Raw {
8
8
  secrets: ConvAiWorkspaceStoredSecretConfig.Raw[];
9
9
  next_cursor?: string | null;
10
- has_more?: boolean | null;
11
10
  }
12
11
  }
@@ -40,5 +40,4 @@ const ConvAiWorkspaceStoredSecretConfig_1 = require("./ConvAiWorkspaceStoredSecr
40
40
  exports.GetWorkspaceSecretsResponseModel = core.serialization.object({
41
41
  secrets: core.serialization.list(ConvAiWorkspaceStoredSecretConfig_1.ConvAiWorkspaceStoredSecretConfig),
42
42
  nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
43
- hasMore: core.serialization.property("has_more", core.serialization.boolean().optional()),
44
43
  });
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { KnowledgeBaseContentSearchResult } from "./KnowledgeBaseContentSearchResult";
5
+ export declare const KnowledgeBaseContentSearchResponseModel: core.serialization.ObjectSchema<serializers.KnowledgeBaseContentSearchResponseModel.Raw, ElevenLabs.KnowledgeBaseContentSearchResponseModel>;
6
+ export declare namespace KnowledgeBaseContentSearchResponseModel {
7
+ interface Raw {
8
+ results: KnowledgeBaseContentSearchResult.Raw[];
9
+ next_cursor?: string | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.KnowledgeBaseContentSearchResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const KnowledgeBaseContentSearchResult_1 = require("./KnowledgeBaseContentSearchResult");
40
+ exports.KnowledgeBaseContentSearchResponseModel = core.serialization.object({
41
+ results: core.serialization.list(KnowledgeBaseContentSearchResult_1.KnowledgeBaseContentSearchResult),
42
+ nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
43
+ });
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { KnowledgeBaseContentSearchResultDocument } from "./KnowledgeBaseContentSearchResultDocument";
5
+ import { SearchHighlightSegment } from "./SearchHighlightSegment";
6
+ export declare const KnowledgeBaseContentSearchResult: core.serialization.ObjectSchema<serializers.KnowledgeBaseContentSearchResult.Raw, ElevenLabs.KnowledgeBaseContentSearchResult>;
7
+ export declare namespace KnowledgeBaseContentSearchResult {
8
+ interface Raw {
9
+ document: KnowledgeBaseContentSearchResultDocument.Raw;
10
+ search_snippet?: SearchHighlightSegment.Raw[] | null;
11
+ score: number;
12
+ }
13
+ }