@elevenlabs/elevenlabs-js 2.51.0 → 2.52.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 (436) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/.fern/replay.lock +8 -2
  3. package/BaseClient.js +2 -2
  4. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  5. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  6. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +4 -4
  7. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +4 -4
  8. package/api/resources/dubbing/client/Client.js +0 -3
  9. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
  10. package/api/resources/index.d.ts +2 -0
  11. package/api/resources/index.js +3 -1
  12. package/api/resources/speechEngineUpstream/index.d.ts +1 -0
  13. package/api/resources/speechEngineUpstream/index.js +17 -0
  14. package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  15. package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  16. package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  17. package/api/resources/speechEngineUpstream/types/index.js +18 -0
  18. package/api/resources/textToDialogue/client/Client.d.ts +1 -0
  19. package/api/resources/textToDialogue/client/Client.js +17 -4
  20. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  21. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  22. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  23. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  24. package/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  25. package/api/resources/voices/client/Client.d.ts +29 -29
  26. package/api/resources/voices/client/Client.js +105 -105
  27. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  28. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  29. package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +1 -1
  30. package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -1
  31. package/api/types/AgentResponsePayload.d.ts +25 -0
  32. package/api/types/AnalysisProperty.d.ts +6 -4
  33. package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  34. package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  35. package/api/types/AsrProvider.d.ts +2 -0
  36. package/api/types/AsrProvider.js +2 -0
  37. package/api/types/BaseTurnConfig.d.ts +1 -0
  38. package/api/types/ClosePayload.d.ts +7 -0
  39. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  40. package/api/types/ErrorPayload.d.ts +9 -0
  41. package/api/types/ExternalFileSyncInfo.d.ts +20 -0
  42. package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  43. package/api/types/ExternalFolderSyncInfo.js +3 -0
  44. package/api/types/ExternalSyncType.d.ts +1 -0
  45. package/api/types/ExternalSyncType.js +3 -0
  46. package/api/types/GetConversationResponseModel.d.ts +1 -0
  47. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  48. package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  49. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  50. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  51. package/api/types/InitPayload.d.ts +9 -0
  52. package/api/types/InitPayload.js +3 -0
  53. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  54. package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  55. package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  56. package/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  57. package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  58. package/api/types/OmitSchemaOverride.d.ts +1 -0
  59. package/api/types/OmitSchemaOverride.js +3 -0
  60. package/api/types/PingPayload.d.ts +7 -0
  61. package/api/types/PingPayload.js +3 -0
  62. package/api/types/PongPayload.d.ts +7 -0
  63. package/api/types/PongPayload.js +3 -0
  64. package/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +2 -1
  65. package/api/types/ProcedureAtVersionInput.js +3 -0
  66. package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  67. package/api/types/ProcedureAtVersionOutput.js +3 -0
  68. package/api/types/SoftTimeoutConfig.d.ts +5 -1
  69. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  70. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -1
  71. package/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  72. package/api/types/StartProcedureToolConfigInput.js +3 -0
  73. package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  74. package/api/types/StartProcedureToolConfigOutput.js +3 -0
  75. package/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  76. package/api/types/{LoadProcedureToolErrorStatus.js → StartProcedureToolErrorStatus.js} +2 -2
  77. package/api/types/SystemToolConfigInputParams.d.ts +4 -4
  78. package/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  79. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  80. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  81. package/api/types/TranscriptMessage.d.ts +10 -0
  82. package/api/types/TranscriptMessage.js +3 -0
  83. package/api/types/TranscriptMessageRole.d.ts +6 -0
  84. package/api/types/TranscriptMessageRole.js +9 -0
  85. package/api/types/TurnConfig.d.ts +1 -0
  86. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  87. package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  88. package/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  89. package/api/types/UrlSecretAuthResponse.d.ts +7 -0
  90. package/api/types/UrlSecretAuthResponse.js +3 -0
  91. package/api/types/UserTranscriptPayload.d.ts +20 -0
  92. package/api/types/UserTranscriptPayload.js +3 -0
  93. package/api/types/WebhookUsageType.d.ts +1 -0
  94. package/api/types/WebhookUsageType.js +1 -0
  95. package/api/types/index.d.ts +21 -4
  96. package/api/types/index.js +21 -4
  97. package/dist/BaseClient.js +2 -2
  98. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  99. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  100. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +4 -4
  101. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +4 -4
  102. package/dist/api/resources/dubbing/client/Client.js +0 -3
  103. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
  104. package/dist/api/resources/index.d.ts +2 -0
  105. package/dist/api/resources/index.js +3 -1
  106. package/dist/api/resources/speechEngineUpstream/index.d.ts +1 -0
  107. package/dist/api/resources/speechEngineUpstream/index.js +17 -0
  108. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  109. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
  110. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  111. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
  112. package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  113. package/dist/api/resources/speechEngineUpstream/types/index.js +18 -0
  114. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -0
  115. package/dist/api/resources/textToDialogue/client/Client.js +17 -4
  116. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  117. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  118. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  119. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  120. package/dist/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  121. package/dist/api/resources/voices/client/Client.d.ts +29 -29
  122. package/dist/api/resources/voices/client/Client.js +105 -105
  123. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  124. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  125. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +1 -1
  126. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -1
  127. package/dist/api/types/AgentResponsePayload.d.ts +25 -0
  128. package/dist/api/types/AgentResponsePayload.js +3 -0
  129. package/dist/api/types/AnalysisProperty.d.ts +6 -4
  130. package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  131. package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  132. package/dist/api/types/AsrProvider.d.ts +2 -0
  133. package/dist/api/types/AsrProvider.js +2 -0
  134. package/dist/api/types/BaseTurnConfig.d.ts +1 -0
  135. package/dist/api/types/ClosePayload.d.ts +7 -0
  136. package/dist/api/types/ClosePayload.js +3 -0
  137. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  138. package/dist/api/types/ErrorPayload.d.ts +9 -0
  139. package/dist/api/types/ErrorPayload.js +3 -0
  140. package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
  141. package/dist/api/types/ExternalFileSyncInfo.js +3 -0
  142. package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  143. package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
  144. package/dist/api/types/ExternalSyncType.d.ts +1 -0
  145. package/dist/api/types/ExternalSyncType.js +3 -0
  146. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  147. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  148. package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  149. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  150. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  151. package/dist/api/types/InitPayload.d.ts +9 -0
  152. package/dist/api/types/InitPayload.js +3 -0
  153. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  154. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  155. package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  156. package/dist/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  157. package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  158. package/dist/api/types/OmitSchemaOverride.d.ts +1 -0
  159. package/dist/api/types/OmitSchemaOverride.js +3 -0
  160. package/dist/api/types/PingPayload.d.ts +7 -0
  161. package/dist/api/types/PingPayload.js +3 -0
  162. package/dist/api/types/PongPayload.d.ts +7 -0
  163. package/dist/api/types/PongPayload.js +3 -0
  164. package/dist/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +2 -1
  165. package/dist/api/types/ProcedureAtVersionInput.js +3 -0
  166. package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  167. package/dist/api/types/ProcedureAtVersionOutput.js +3 -0
  168. package/dist/api/types/SoftTimeoutConfig.d.ts +5 -1
  169. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  170. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -1
  171. package/dist/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  172. package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
  173. package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  174. package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
  175. package/dist/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  176. package/dist/api/types/{LoadProcedureToolErrorStatus.js → StartProcedureToolErrorStatus.js} +2 -2
  177. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -4
  178. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  179. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  180. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  181. package/dist/api/types/TranscriptMessage.d.ts +10 -0
  182. package/dist/api/types/TranscriptMessage.js +3 -0
  183. package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
  184. package/dist/api/types/TranscriptMessageRole.js +9 -0
  185. package/dist/api/types/TurnConfig.d.ts +1 -0
  186. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  187. package/dist/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  188. package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  189. package/dist/api/types/UrlSecretAuthResponse.d.ts +7 -0
  190. package/dist/api/types/UrlSecretAuthResponse.js +3 -0
  191. package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
  192. package/dist/api/types/UserTranscriptPayload.js +3 -0
  193. package/dist/api/types/WebhookUsageType.d.ts +1 -0
  194. package/dist/api/types/WebhookUsageType.js +1 -0
  195. package/dist/api/types/index.d.ts +21 -4
  196. package/dist/api/types/index.js +21 -4
  197. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  198. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  199. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  200. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  201. package/dist/serialization/resources/index.d.ts +2 -0
  202. package/dist/serialization/resources/index.js +3 -1
  203. package/dist/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  204. package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
  205. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  206. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  207. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  208. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  209. package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  210. package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  211. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  212. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  213. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  214. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  215. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  216. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  217. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  218. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  219. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  220. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  221. package/dist/serialization/types/AgentResponsePayload.d.ts +12 -0
  222. package/dist/serialization/types/AgentResponsePayload.js +44 -0
  223. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  224. package/dist/serialization/types/AnalysisProperty.js +1 -0
  225. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  226. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  227. package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
  228. package/dist/serialization/types/BaseTurnConfig.js +2 -0
  229. package/dist/serialization/types/ClosePayload.d.ts +9 -0
  230. package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/ClosePayload.js} +4 -2
  231. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  232. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  233. package/dist/serialization/types/ErrorPayload.d.ts +10 -0
  234. package/dist/serialization/types/ErrorPayload.js +42 -0
  235. package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  236. package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
  237. package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  238. package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
  239. package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
  240. package/dist/serialization/types/{LoadProcedureToolErrorStatus.js → ExternalSyncType.js} +2 -2
  241. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  242. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  243. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  244. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  245. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  246. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  247. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  248. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  249. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  250. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  251. package/dist/serialization/types/InitPayload.d.ts +10 -0
  252. package/dist/serialization/types/InitPayload.js +42 -0
  253. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  254. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  255. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  256. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  257. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  258. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  259. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  260. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  261. package/dist/serialization/types/OmitSchemaOverride.d.ts +7 -0
  262. package/dist/serialization/types/OmitSchemaOverride.js +39 -0
  263. package/dist/serialization/types/PingPayload.d.ts +9 -0
  264. package/dist/serialization/types/PingPayload.js +41 -0
  265. package/dist/serialization/types/PongPayload.d.ts +9 -0
  266. package/dist/serialization/types/PongPayload.js +41 -0
  267. package/{serialization/types/ProcedureAtVersion.d.ts → dist/serialization/types/ProcedureAtVersionInput.d.ts} +4 -2
  268. package/{serialization/types/ProcedureAtVersion.js → dist/serialization/types/ProcedureAtVersionInput.js} +4 -2
  269. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  270. package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -0
  271. package/dist/serialization/types/SoftTimeoutConfig.d.ts +2 -0
  272. package/dist/serialization/types/SoftTimeoutConfig.js +2 -0
  273. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  274. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
  275. package/dist/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  276. package/dist/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
  277. package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  278. package/dist/serialization/types/{LoadProcedureToolConfigInput.js → StartProcedureToolConfigOutput.js} +4 -4
  279. package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  280. package/dist/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  281. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  282. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
  283. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  284. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
  285. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  286. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  287. package/dist/serialization/types/TranscriptMessage.d.ts +11 -0
  288. package/dist/serialization/types/TranscriptMessage.js +43 -0
  289. package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
  290. package/dist/serialization/types/TranscriptMessageRole.js +39 -0
  291. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  292. package/dist/serialization/types/TurnConfig.js +2 -0
  293. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  294. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  295. package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  296. package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  297. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  298. package/dist/serialization/types/UrlSecretAuthResponse.js +45 -0
  299. package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
  300. package/dist/serialization/types/UserTranscriptPayload.js +44 -0
  301. package/dist/serialization/types/WebhookUsageType.d.ts +1 -1
  302. package/dist/serialization/types/WebhookUsageType.js +1 -0
  303. package/dist/serialization/types/index.d.ts +21 -4
  304. package/dist/serialization/types/index.js +21 -4
  305. package/dist/version.d.ts +1 -1
  306. package/dist/version.js +1 -1
  307. package/package.json +1 -1
  308. package/reference.md +45 -43
  309. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  310. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  311. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  312. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  313. package/serialization/resources/index.d.ts +2 -0
  314. package/serialization/resources/index.js +3 -1
  315. package/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  316. package/serialization/resources/speechEngineUpstream/index.js +17 -0
  317. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  318. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  319. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  320. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  321. package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  322. package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  323. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  324. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  325. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  326. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  327. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  328. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  329. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  330. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  331. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  332. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  333. package/serialization/types/AgentResponsePayload.d.ts +12 -0
  334. package/serialization/types/AgentResponsePayload.js +44 -0
  335. package/serialization/types/AnalysisProperty.d.ts +1 -0
  336. package/serialization/types/AnalysisProperty.js +1 -0
  337. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  338. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  339. package/serialization/types/BaseTurnConfig.d.ts +2 -0
  340. package/serialization/types/BaseTurnConfig.js +2 -0
  341. package/serialization/types/ClosePayload.d.ts +9 -0
  342. package/serialization/types/ClosePayload.js +41 -0
  343. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  344. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  345. package/serialization/types/ErrorPayload.d.ts +10 -0
  346. package/serialization/types/ErrorPayload.js +42 -0
  347. package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  348. package/serialization/types/ExternalFileSyncInfo.js +48 -0
  349. package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  350. package/serialization/types/ExternalFolderSyncInfo.js +47 -0
  351. package/serialization/types/ExternalSyncType.d.ts +7 -0
  352. package/serialization/types/ExternalSyncType.js +39 -0
  353. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  354. package/serialization/types/GetConversationResponseModel.js +1 -0
  355. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  356. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  357. package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  358. package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  359. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  360. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  361. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  362. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  363. package/serialization/types/InitPayload.d.ts +10 -0
  364. package/serialization/types/InitPayload.js +42 -0
  365. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  366. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  367. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  368. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  369. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  370. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  371. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  372. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  373. package/serialization/types/OmitSchemaOverride.d.ts +7 -0
  374. package/serialization/types/OmitSchemaOverride.js +39 -0
  375. package/serialization/types/PingPayload.d.ts +9 -0
  376. package/serialization/types/PingPayload.js +41 -0
  377. package/serialization/types/PongPayload.d.ts +9 -0
  378. package/serialization/types/PongPayload.js +41 -0
  379. package/{dist/serialization/types/ProcedureAtVersion.d.ts → serialization/types/ProcedureAtVersionInput.d.ts} +4 -2
  380. package/{dist/serialization/types/ProcedureAtVersion.js → serialization/types/ProcedureAtVersionInput.js} +4 -2
  381. package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  382. package/serialization/types/ProcedureAtVersionOutput.js +49 -0
  383. package/serialization/types/SoftTimeoutConfig.d.ts +2 -0
  384. package/serialization/types/SoftTimeoutConfig.js +2 -0
  385. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  386. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
  387. package/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  388. package/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
  389. package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  390. package/serialization/types/{LoadProcedureToolConfigInput.js → StartProcedureToolConfigOutput.js} +4 -4
  391. package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  392. package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  393. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  394. package/serialization/types/SystemToolConfigInputParams.js +2 -2
  395. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  396. package/serialization/types/SystemToolConfigOutputParams.js +2 -2
  397. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  398. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  399. package/serialization/types/TranscriptMessage.d.ts +11 -0
  400. package/serialization/types/TranscriptMessage.js +43 -0
  401. package/serialization/types/TranscriptMessageRole.d.ts +7 -0
  402. package/serialization/types/TranscriptMessageRole.js +39 -0
  403. package/serialization/types/TurnConfig.d.ts +2 -0
  404. package/serialization/types/TurnConfig.js +2 -0
  405. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  406. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  407. package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  408. package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  409. package/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  410. package/serialization/types/UrlSecretAuthResponse.js +45 -0
  411. package/serialization/types/UserTranscriptPayload.d.ts +12 -0
  412. package/serialization/types/UserTranscriptPayload.js +44 -0
  413. package/serialization/types/WebhookUsageType.d.ts +1 -1
  414. package/serialization/types/WebhookUsageType.js +1 -0
  415. package/serialization/types/index.d.ts +21 -4
  416. package/serialization/types/index.js +21 -4
  417. package/version.d.ts +1 -1
  418. package/version.js +1 -1
  419. package/api/types/LoadProcedureToolConfigInput.d.ts +0 -4
  420. package/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
  421. package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  422. package/dist/api/types/LoadProcedureToolConfigInput.d.ts +0 -4
  423. package/dist/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
  424. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  425. package/dist/serialization/types/LoadProcedureToolConfigInput.d.ts +0 -10
  426. package/dist/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
  427. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  428. package/serialization/types/LoadProcedureToolConfigInput.d.ts +0 -10
  429. package/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
  430. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  431. /package/api/{types/LoadProcedureToolConfigInput.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
  432. /package/api/{types/LoadProcedureToolConfigOutput.js → resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
  433. /package/api/types/{ProcedureAtVersion.js → AgentResponsePayload.js} +0 -0
  434. /package/{dist/api/types/LoadProcedureToolConfigInput.js → api/types/ClosePayload.js} +0 -0
  435. /package/{dist/api/types/LoadProcedureToolConfigOutput.js → api/types/ErrorPayload.js} +0 -0
  436. /package/{dist/api/types/ProcedureAtVersion.js → api/types/ExternalFileSyncInfo.js} +0 -0
@@ -11,10 +11,11 @@ import { OAuth2ClientCredsResponse } from "../../../../../types/OAuth2ClientCred
11
11
  import { OAuth2JwtResponse } from "../../../../../types/OAuth2JwtResponse";
12
12
  import { PrivateKeyJwtResponse } from "../../../../../types/PrivateKeyJwtResponse";
13
13
  import { SlackBotAuthResponse } from "../../../../../types/SlackBotAuthResponse";
14
+ import { UrlSecretAuthResponse } from "../../../../../types/UrlSecretAuthResponse";
14
15
  import { WhatsAppAuthResponse } from "../../../../../types/WhatsAppAuthResponse";
15
16
  export declare const AuthConnectionsUpdateResponse: core.serialization.Schema<serializers.workspace.AuthConnectionsUpdateResponse.Raw, ElevenLabs.workspace.AuthConnectionsUpdateResponse>;
16
17
  export declare namespace AuthConnectionsUpdateResponse {
17
- type Raw = AuthConnectionsUpdateResponse.Oauth2ClientCredentials | AuthConnectionsUpdateResponse.BasicAuth | AuthConnectionsUpdateResponse.BearerAuth | AuthConnectionsUpdateResponse.Oauth2Jwt | AuthConnectionsUpdateResponse.PrivateKeyJwt | AuthConnectionsUpdateResponse.Mtls | AuthConnectionsUpdateResponse.CustomHeaderAuth | AuthConnectionsUpdateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsUpdateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsUpdateResponse.WhatsappAuth | AuthConnectionsUpdateResponse.SlackBotAuth;
18
+ type Raw = AuthConnectionsUpdateResponse.Oauth2ClientCredentials | AuthConnectionsUpdateResponse.BasicAuth | AuthConnectionsUpdateResponse.BearerAuth | AuthConnectionsUpdateResponse.Oauth2Jwt | AuthConnectionsUpdateResponse.PrivateKeyJwt | AuthConnectionsUpdateResponse.Mtls | AuthConnectionsUpdateResponse.CustomHeaderAuth | AuthConnectionsUpdateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsUpdateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsUpdateResponse.WhatsappAuth | AuthConnectionsUpdateResponse.SlackBotAuth | AuthConnectionsUpdateResponse.UrlSecret;
18
19
  interface Oauth2ClientCredentials extends OAuth2ClientCredsResponse.Raw {
19
20
  auth_type: "oauth2_client_credentials";
20
21
  }
@@ -48,4 +49,7 @@ export declare namespace AuthConnectionsUpdateResponse {
48
49
  interface SlackBotAuth extends SlackBotAuthResponse.Raw {
49
50
  auth_type: "slack_bot_auth";
50
51
  }
52
+ interface UrlSecret extends UrlSecretAuthResponse.Raw {
53
+ auth_type: "url_secret";
54
+ }
51
55
  }
@@ -46,6 +46,7 @@ const OAuth2ClientCredsResponse_1 = require("../../../../../types/OAuth2ClientCr
46
46
  const OAuth2JwtResponse_1 = require("../../../../../types/OAuth2JwtResponse");
47
47
  const PrivateKeyJwtResponse_1 = require("../../../../../types/PrivateKeyJwtResponse");
48
48
  const SlackBotAuthResponse_1 = require("../../../../../types/SlackBotAuthResponse");
49
+ const UrlSecretAuthResponse_1 = require("../../../../../types/UrlSecretAuthResponse");
49
50
  const WhatsAppAuthResponse_1 = require("../../../../../types/WhatsAppAuthResponse");
50
51
  exports.AuthConnectionsUpdateResponse = core.serialization
51
52
  .union(core.serialization.discriminant("authType", "auth_type"), {
@@ -60,6 +61,7 @@ exports.AuthConnectionsUpdateResponse = core.serialization
60
61
  api_integration_oauth2_custom_app: ApiIntegrationOAuth2CustomAppResponse_1.ApiIntegrationOAuth2CustomAppResponse,
61
62
  whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
62
63
  slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
64
+ url_secret: UrlSecretAuthResponse_1.UrlSecretAuthResponse,
63
65
  })
64
66
  .transform({
65
67
  transform: (value) => value,
@@ -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 AgentResponsePayload: core.serialization.ObjectSchema<serializers.AgentResponsePayload.Raw, ElevenLabs.AgentResponsePayload>;
5
+ export declare namespace AgentResponsePayload {
6
+ interface Raw {
7
+ type: "agent_response";
8
+ content: string;
9
+ event_id?: number | null;
10
+ is_final: boolean;
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.AgentResponsePayload = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.AgentResponsePayload = core.serialization.object({
40
+ type: core.serialization.stringLiteral("agent_response"),
41
+ content: core.serialization.string(),
42
+ eventId: core.serialization.property("event_id", core.serialization.number().optional()),
43
+ isFinal: core.serialization.property("is_final", core.serialization.boolean()),
44
+ });
@@ -13,6 +13,7 @@ export declare namespace AnalysisProperty {
13
13
  is_system_provided?: boolean | null;
14
14
  dynamic_variable?: string | null;
15
15
  constant_value?: AnalysisPropertyConstantValue.Raw | null;
16
+ is_omitted?: boolean | null;
16
17
  llm?: Llm.Raw | null;
17
18
  }
18
19
  }
@@ -46,5 +46,6 @@ exports.AnalysisProperty = core.serialization.object({
46
46
  isSystemProvided: core.serialization.property("is_system_provided", core.serialization.boolean().optional()),
47
47
  dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
48
48
  constantValue: core.serialization.property("constant_value", AnalysisPropertyConstantValue_1.AnalysisPropertyConstantValue.optional()),
49
+ isOmitted: core.serialization.property("is_omitted", core.serialization.boolean().optional()),
49
50
  llm: Llm_1.Llm.optional(),
50
51
  });
@@ -4,9 +4,10 @@ import type * as serializers from "../index";
4
4
  import { ConstantSchemaOverride } from "./ConstantSchemaOverride";
5
5
  import { DynamicVariableSchemaOverride } from "./DynamicVariableSchemaOverride";
6
6
  import { LlmSchemaOverride } from "./LlmSchemaOverride";
7
+ import { OmitSchemaOverride } from "./OmitSchemaOverride";
7
8
  export declare const ApiIntegrationWebhookOverridesSchemaOverridesValue: core.serialization.Schema<serializers.ApiIntegrationWebhookOverridesSchemaOverridesValue.Raw, ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue>;
8
9
  export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
9
- type Raw = ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm;
10
+ type Raw = ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm | ApiIntegrationWebhookOverridesSchemaOverridesValue.Omit;
10
11
  interface Constant extends ConstantSchemaOverride.Raw {
11
12
  source: "constant";
12
13
  }
@@ -16,4 +17,7 @@ export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
16
17
  interface Llm extends LlmSchemaOverride.Raw {
17
18
  source: "llm";
18
19
  }
20
+ interface Omit extends OmitSchemaOverride.Raw {
21
+ source: "omit";
22
+ }
19
23
  }
@@ -39,11 +39,13 @@ const core = __importStar(require("../../core"));
39
39
  const ConstantSchemaOverride_1 = require("./ConstantSchemaOverride");
40
40
  const DynamicVariableSchemaOverride_1 = require("./DynamicVariableSchemaOverride");
41
41
  const LlmSchemaOverride_1 = require("./LlmSchemaOverride");
42
+ const OmitSchemaOverride_1 = require("./OmitSchemaOverride");
42
43
  exports.ApiIntegrationWebhookOverridesSchemaOverridesValue = core.serialization
43
44
  .union("source", {
44
45
  constant: ConstantSchemaOverride_1.ConstantSchemaOverride,
45
46
  dynamic_variable: DynamicVariableSchemaOverride_1.DynamicVariableSchemaOverride,
46
47
  llm: LlmSchemaOverride_1.LlmSchemaOverride,
48
+ omit: OmitSchemaOverride_1.OmitSchemaOverride,
47
49
  })
48
50
  .transform({
49
51
  transform: (value) => value,
@@ -3,6 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { SpellingPatience } from "./SpellingPatience";
5
5
  import { TurnEagerness } from "./TurnEagerness";
6
+ import { TurnModel } from "./TurnModel";
6
7
  export declare const BaseTurnConfig: core.serialization.ObjectSchema<serializers.BaseTurnConfig.Raw, ElevenLabs.BaseTurnConfig>;
7
8
  export declare namespace BaseTurnConfig {
8
9
  interface Raw {
@@ -13,5 +14,6 @@ export declare namespace BaseTurnConfig {
13
14
  spelling_patience?: SpellingPatience.Raw | null;
14
15
  speculative_turn?: boolean | null;
15
16
  retranscribe_on_turn_timeout?: boolean | null;
17
+ turn_model?: TurnModel.Raw | null;
16
18
  }
17
19
  }
@@ -38,6 +38,7 @@ exports.BaseTurnConfig = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const SpellingPatience_1 = require("./SpellingPatience");
40
40
  const TurnEagerness_1 = require("./TurnEagerness");
41
+ const TurnModel_1 = require("./TurnModel");
41
42
  exports.BaseTurnConfig = core.serialization.object({
42
43
  turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
43
44
  initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
@@ -46,4 +47,5 @@ exports.BaseTurnConfig = core.serialization.object({
46
47
  spellingPatience: core.serialization.property("spelling_patience", SpellingPatience_1.SpellingPatience.optional()),
47
48
  speculativeTurn: core.serialization.property("speculative_turn", core.serialization.boolean().optional()),
48
49
  retranscribeOnTurnTimeout: core.serialization.property("retranscribe_on_turn_timeout", core.serialization.boolean().optional()),
50
+ turnModel: core.serialization.property("turn_model", TurnModel_1.TurnModel.optional()),
49
51
  });
@@ -0,0 +1,9 @@
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 ClosePayload: core.serialization.ObjectSchema<serializers.ClosePayload.Raw, ElevenLabs.ClosePayload>;
5
+ export declare namespace ClosePayload {
6
+ interface Raw {
7
+ type: "close";
8
+ }
9
+ }
@@ -0,0 +1,41 @@
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.ClosePayload = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ClosePayload = core.serialization.object({
40
+ type: core.serialization.stringLiteral("close"),
41
+ });
@@ -33,6 +33,7 @@ export declare namespace DirectPublishingReadResponseModel {
33
33
  original_file_type?: string | null;
34
34
  target_audience?: DirectPublishingReadResponseModelTargetAudience.Raw | null;
35
35
  mature_content?: boolean | null;
36
+ safesearch_adult?: boolean | null;
36
37
  origin?: string | null;
37
38
  publication_date?: string | null;
38
39
  isbn?: string | null;
@@ -66,6 +66,7 @@ exports.DirectPublishingReadResponseModel = core.serialization.object({
66
66
  originalFileType: core.serialization.property("original_file_type", core.serialization.string().optional()),
67
67
  targetAudience: core.serialization.property("target_audience", DirectPublishingReadResponseModelTargetAudience_1.DirectPublishingReadResponseModelTargetAudience.optional()),
68
68
  matureContent: core.serialization.property("mature_content", core.serialization.boolean().optional()),
69
+ safesearchAdult: core.serialization.property("safesearch_adult", core.serialization.boolean().optional()),
69
70
  origin: core.serialization.string().optional(),
70
71
  publicationDate: core.serialization.property("publication_date", core.serialization.string().optional()),
71
72
  isbn: core.serialization.string().optional(),
@@ -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
+ export declare const ErrorPayload: core.serialization.ObjectSchema<serializers.ErrorPayload.Raw, ElevenLabs.ErrorPayload>;
5
+ export declare namespace ErrorPayload {
6
+ interface Raw {
7
+ type: "error";
8
+ message: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.ErrorPayload = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ErrorPayload = core.serialization.object({
40
+ type: core.serialization.stringLiteral("error"),
41
+ message: core.serialization.string(),
42
+ });
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { ExternalSyncType } from "./ExternalSyncType";
5
+ export declare const ExternalFileSyncInfo: core.serialization.ObjectSchema<serializers.ExternalFileSyncInfo.Raw, ElevenLabs.ExternalFileSyncInfo>;
6
+ export declare namespace ExternalFileSyncInfo {
7
+ interface Raw {
8
+ type: ExternalSyncType.Raw;
9
+ source_entity_id: string;
10
+ integration_connection_id: string;
11
+ source_parent_entity_id: string;
12
+ source_mime_type: string;
13
+ source_modified_time: string;
14
+ root_folder_id?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,48 @@
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.ExternalFileSyncInfo = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ExternalSyncType_1 = require("./ExternalSyncType");
40
+ exports.ExternalFileSyncInfo = core.serialization.object({
41
+ type: ExternalSyncType_1.ExternalSyncType,
42
+ sourceEntityId: core.serialization.property("source_entity_id", core.serialization.string()),
43
+ integrationConnectionId: core.serialization.property("integration_connection_id", core.serialization.string()),
44
+ sourceParentEntityId: core.serialization.property("source_parent_entity_id", core.serialization.string()),
45
+ sourceMimeType: core.serialization.property("source_mime_type", core.serialization.string()),
46
+ sourceModifiedTime: core.serialization.property("source_modified_time", core.serialization.date()),
47
+ rootFolderId: core.serialization.property("root_folder_id", core.serialization.string().optional()),
48
+ });
@@ -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 { ExternalSyncType } from "./ExternalSyncType";
5
+ export declare const ExternalFolderSyncInfo: core.serialization.ObjectSchema<serializers.ExternalFolderSyncInfo.Raw, ElevenLabs.ExternalFolderSyncInfo>;
6
+ export declare namespace ExternalFolderSyncInfo {
7
+ interface Raw {
8
+ type: ExternalSyncType.Raw;
9
+ source_entity_id: string;
10
+ integration_connection_id: string;
11
+ root_folder_id?: string | null;
12
+ sync_cursor?: string | null;
13
+ last_sync_at?: number | null;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
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.ExternalFolderSyncInfo = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ExternalSyncType_1 = require("./ExternalSyncType");
40
+ exports.ExternalFolderSyncInfo = core.serialization.object({
41
+ type: ExternalSyncType_1.ExternalSyncType,
42
+ sourceEntityId: core.serialization.property("source_entity_id", core.serialization.string()),
43
+ integrationConnectionId: core.serialization.property("integration_connection_id", core.serialization.string()),
44
+ rootFolderId: core.serialization.property("root_folder_id", core.serialization.string().optional()),
45
+ syncCursor: core.serialization.property("sync_cursor", core.serialization.string().optional()),
46
+ lastSyncAt: core.serialization.property("last_sync_at", core.serialization.number().optional()),
47
+ });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ExternalSyncType: core.serialization.Schema<serializers.ExternalSyncType.Raw, ElevenLabs.ExternalSyncType>;
5
+ export declare namespace ExternalSyncType {
6
+ type Raw = "google_drive";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ExternalSyncType = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ExternalSyncType = core.serialization.stringLiteral("google_drive");
@@ -12,6 +12,7 @@ export declare namespace GetConversationResponseModel {
12
12
  interface Raw {
13
13
  agent_id: string;
14
14
  agent_name?: string | null;
15
+ conversation_product?: string | null;
15
16
  status: GetConversationResponseModelStatus.Raw;
16
17
  user_id?: string | null;
17
18
  branch_id?: string | null;
@@ -45,6 +45,7 @@ const VisitedAgentRef_1 = require("./VisitedAgentRef");
45
45
  exports.GetConversationResponseModel = core.serialization.object({
46
46
  agentId: core.serialization.property("agent_id", core.serialization.string()),
47
47
  agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
48
+ conversationProduct: core.serialization.property("conversation_product", core.serialization.string().optional()),
48
49
  status: GetConversationResponseModelStatus_1.GetConversationResponseModelStatus,
49
50
  userId: core.serialization.property("user_id", core.serialization.string().optional()),
50
51
  branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
@@ -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 { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
5
+ import { ExternalFileSyncInfo } from "./ExternalFileSyncInfo";
5
6
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
6
7
  import { KnowledgeBaseFolderPathSegmentResponseModel } from "./KnowledgeBaseFolderPathSegmentResponseModel";
7
8
  import { ResourceAccessInfo } from "./ResourceAccessInfo";
@@ -17,5 +18,7 @@ export declare namespace GetKnowledgeBaseFileResponseModel {
17
18
  folder_path?: KnowledgeBaseFolderPathSegmentResponseModel.Raw[] | null;
18
19
  extracted_inner_html: string;
19
20
  filename: string;
21
+ external_sync_info?: ExternalFileSyncInfo.Raw | null;
22
+ is_frozen?: boolean | null;
20
23
  }
21
24
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GetKnowledgeBaseFileResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
40
+ const ExternalFileSyncInfo_1 = require("./ExternalFileSyncInfo");
40
41
  const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
41
42
  const KnowledgeBaseFolderPathSegmentResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentResponseModel");
42
43
  const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
@@ -50,4 +51,6 @@ exports.GetKnowledgeBaseFileResponseModel = core.serialization.object({
50
51
  folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentResponseModel_1.KnowledgeBaseFolderPathSegmentResponseModel).optional()),
51
52
  extractedInnerHtml: core.serialization.property("extracted_inner_html", core.serialization.string()),
52
53
  filename: core.serialization.string(),
54
+ externalSyncInfo: core.serialization.property("external_sync_info", ExternalFileSyncInfo_1.ExternalFileSyncInfo.optional()),
55
+ isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
53
56
  });
@@ -3,6 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { AutoSyncInfo } from "./AutoSyncInfo";
5
5
  import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
6
+ import { ExternalFolderSyncInfo } from "./ExternalFolderSyncInfo";
6
7
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
7
8
  import { KnowledgeBaseFolderPathSegmentResponseModel } from "./KnowledgeBaseFolderPathSegmentResponseModel";
8
9
  import { ResourceAccessInfo } from "./ResourceAccessInfo";
@@ -18,5 +19,7 @@ export declare namespace GetKnowledgeBaseFolderResponseModel {
18
19
  folder_path?: KnowledgeBaseFolderPathSegmentResponseModel.Raw[] | null;
19
20
  children_count: number;
20
21
  auto_sync_info?: AutoSyncInfo.Raw | null;
22
+ external_sync_info?: ExternalFolderSyncInfo.Raw | null;
23
+ is_frozen?: boolean | null;
21
24
  }
22
25
  }
@@ -38,6 +38,7 @@ exports.GetKnowledgeBaseFolderResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const AutoSyncInfo_1 = require("./AutoSyncInfo");
40
40
  const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
41
+ const ExternalFolderSyncInfo_1 = require("./ExternalFolderSyncInfo");
41
42
  const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
42
43
  const KnowledgeBaseFolderPathSegmentResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentResponseModel");
43
44
  const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
@@ -51,4 +52,6 @@ exports.GetKnowledgeBaseFolderResponseModel = core.serialization.object({
51
52
  folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentResponseModel_1.KnowledgeBaseFolderPathSegmentResponseModel).optional()),
52
53
  childrenCount: core.serialization.property("children_count", core.serialization.number()),
53
54
  autoSyncInfo: core.serialization.property("auto_sync_info", AutoSyncInfo_1.AutoSyncInfo.optional()),
55
+ externalSyncInfo: core.serialization.property("external_sync_info", ExternalFolderSyncInfo_1.ExternalFolderSyncInfo.optional()),
56
+ isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
54
57
  });
@@ -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 { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
5
+ import { ExternalFileSyncInfo } from "./ExternalFileSyncInfo";
5
6
  import { GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem";
6
7
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
7
8
  import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
@@ -17,5 +18,7 @@ export declare namespace GetKnowledgeBaseSummaryFileResponseModel {
17
18
  folder_parent_id?: string | null;
18
19
  folder_path?: KnowledgeBaseFolderPathSegmentSummaryResponseModel.Raw[] | null;
19
20
  dependent_agents: GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem.Raw[];
21
+ external_sync_info?: ExternalFileSyncInfo.Raw | null;
22
+ is_frozen?: boolean | null;
20
23
  }
21
24
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GetKnowledgeBaseSummaryFileResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
40
+ const ExternalFileSyncInfo_1 = require("./ExternalFileSyncInfo");
40
41
  const GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem_1 = require("./GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem");
41
42
  const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
42
43
  const KnowledgeBaseFolderPathSegmentSummaryResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel");
@@ -50,4 +51,6 @@ exports.GetKnowledgeBaseSummaryFileResponseModel = core.serialization.object({
50
51
  folderParentId: core.serialization.property("folder_parent_id", core.serialization.string().optional()),
51
52
  folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentSummaryResponseModel_1.KnowledgeBaseFolderPathSegmentSummaryResponseModel).optional()),
52
53
  dependentAgents: core.serialization.property("dependent_agents", core.serialization.list(GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem_1.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem)),
54
+ externalSyncInfo: core.serialization.property("external_sync_info", ExternalFileSyncInfo_1.ExternalFileSyncInfo.optional()),
55
+ isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
53
56
  });
@@ -3,6 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { AutoSyncInfo } from "./AutoSyncInfo";
5
5
  import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
6
+ import { ExternalFolderSyncInfo } from "./ExternalFolderSyncInfo";
6
7
  import { GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem";
7
8
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
8
9
  import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
@@ -20,5 +21,7 @@ export declare namespace GetKnowledgeBaseSummaryFolderResponseModel {
20
21
  dependent_agents: GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.Raw[];
21
22
  children_count: number;
22
23
  auto_sync_info?: AutoSyncInfo.Raw | null;
24
+ external_sync_info?: ExternalFolderSyncInfo.Raw | null;
25
+ is_frozen?: boolean | null;
23
26
  }
24
27
  }