@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
@@ -4,15 +4,15 @@ import type * as serializers from "../index";
4
4
  import { EndCallToolConfig } from "./EndCallToolConfig";
5
5
  import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
6
6
  import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
7
- import { LoadProcedureToolConfigInput } from "./LoadProcedureToolConfigInput";
8
7
  import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
9
8
  import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
9
+ import { StartProcedureToolConfigInput } from "./StartProcedureToolConfigInput";
10
10
  import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
11
11
  import { TransferToNumberToolConfigInput } from "./TransferToNumberToolConfigInput";
12
12
  import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
13
13
  export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
14
14
  export declare namespace SystemToolConfigInputParams {
15
- type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.LoadProcedure | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
15
+ type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.StartProcedure | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
16
16
  interface EndCall extends EndCallToolConfig.Raw {
17
17
  system_tool_type: "end_call";
18
18
  }
@@ -22,15 +22,15 @@ export declare namespace SystemToolConfigInputParams {
22
22
  interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
23
23
  system_tool_type: "language_detection";
24
24
  }
25
- interface LoadProcedure extends LoadProcedureToolConfigInput.Raw {
26
- system_tool_type: "load_procedure";
27
- }
28
25
  interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
29
26
  system_tool_type: "play_keypad_touch_tone";
30
27
  }
31
28
  interface SkipTurn extends SkipTurnToolConfig.Raw {
32
29
  system_tool_type: "skip_turn";
33
30
  }
31
+ interface StartProcedure extends StartProcedureToolConfigInput.Raw {
32
+ system_tool_type: "start_procedure";
33
+ }
34
34
  interface TransferToAgent extends TransferToAgentToolConfig.Raw {
35
35
  system_tool_type: "transfer_to_agent";
36
36
  }
@@ -39,9 +39,9 @@ const core = __importStar(require("../../core"));
39
39
  const EndCallToolConfig_1 = require("./EndCallToolConfig");
40
40
  const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
41
41
  const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
42
- const LoadProcedureToolConfigInput_1 = require("./LoadProcedureToolConfigInput");
43
42
  const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
44
43
  const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
44
+ const StartProcedureToolConfigInput_1 = require("./StartProcedureToolConfigInput");
45
45
  const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
46
46
  const TransferToNumberToolConfigInput_1 = require("./TransferToNumberToolConfigInput");
47
47
  const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
@@ -50,9 +50,9 @@ exports.SystemToolConfigInputParams = core.serialization
50
50
  end_call: EndCallToolConfig_1.EndCallToolConfig,
51
51
  knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
52
52
  language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
53
- load_procedure: LoadProcedureToolConfigInput_1.LoadProcedureToolConfigInput,
54
53
  play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
55
54
  skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
55
+ start_procedure: StartProcedureToolConfigInput_1.StartProcedureToolConfigInput,
56
56
  transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
57
57
  transfer_to_number: TransferToNumberToolConfigInput_1.TransferToNumberToolConfigInput,
58
58
  voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
@@ -4,15 +4,15 @@ import type * as serializers from "../index";
4
4
  import { EndCallToolConfig } from "./EndCallToolConfig";
5
5
  import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
6
6
  import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
7
- import { LoadProcedureToolConfigOutput } from "./LoadProcedureToolConfigOutput";
8
7
  import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
9
8
  import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
9
+ import { StartProcedureToolConfigOutput } from "./StartProcedureToolConfigOutput";
10
10
  import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
11
11
  import { TransferToNumberToolConfigOutput } from "./TransferToNumberToolConfigOutput";
12
12
  import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
13
13
  export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
14
14
  export declare namespace SystemToolConfigOutputParams {
15
- type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.LoadProcedure | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
15
+ type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.StartProcedure | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
16
16
  interface EndCall extends EndCallToolConfig.Raw {
17
17
  system_tool_type: "end_call";
18
18
  }
@@ -22,15 +22,15 @@ export declare namespace SystemToolConfigOutputParams {
22
22
  interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
23
23
  system_tool_type: "language_detection";
24
24
  }
25
- interface LoadProcedure extends LoadProcedureToolConfigOutput.Raw {
26
- system_tool_type: "load_procedure";
27
- }
28
25
  interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
29
26
  system_tool_type: "play_keypad_touch_tone";
30
27
  }
31
28
  interface SkipTurn extends SkipTurnToolConfig.Raw {
32
29
  system_tool_type: "skip_turn";
33
30
  }
31
+ interface StartProcedure extends StartProcedureToolConfigOutput.Raw {
32
+ system_tool_type: "start_procedure";
33
+ }
34
34
  interface TransferToAgent extends TransferToAgentToolConfig.Raw {
35
35
  system_tool_type: "transfer_to_agent";
36
36
  }
@@ -39,9 +39,9 @@ const core = __importStar(require("../../core"));
39
39
  const EndCallToolConfig_1 = require("./EndCallToolConfig");
40
40
  const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
41
41
  const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
42
- const LoadProcedureToolConfigOutput_1 = require("./LoadProcedureToolConfigOutput");
43
42
  const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
44
43
  const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
44
+ const StartProcedureToolConfigOutput_1 = require("./StartProcedureToolConfigOutput");
45
45
  const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
46
46
  const TransferToNumberToolConfigOutput_1 = require("./TransferToNumberToolConfigOutput");
47
47
  const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
@@ -50,9 +50,9 @@ exports.SystemToolConfigOutputParams = core.serialization
50
50
  end_call: EndCallToolConfig_1.EndCallToolConfig,
51
51
  knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
52
52
  language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
53
- load_procedure: LoadProcedureToolConfigOutput_1.LoadProcedureToolConfigOutput,
54
53
  play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
55
54
  skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
55
+ start_procedure: StartProcedureToolConfigOutput_1.StartProcedureToolConfigOutput,
56
56
  transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
57
57
  transfer_to_number: TransferToNumberToolConfigOutput_1.TransferToNumberToolConfigOutput,
58
58
  voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
@@ -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 TextToDialogueWebsocketFinalAudioForTurn: core.serialization.ObjectSchema<serializers.TextToDialogueWebsocketFinalAudioForTurn.Raw, ElevenLabs.TextToDialogueWebsocketFinalAudioForTurn>;
5
+ export declare namespace TextToDialogueWebsocketFinalAudioForTurn {
6
+ interface Raw {
7
+ is_final_audio_for_turn?: boolean | null;
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.TextToDialogueWebsocketFinalAudioForTurn = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.TextToDialogueWebsocketFinalAudioForTurn = core.serialization.object({
40
+ isFinalAudioForTurn: core.serialization.property("is_final_audio_for_turn", core.serialization.boolean().optional()),
41
+ });
@@ -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 { TranscriptMessageRole } from "./TranscriptMessageRole";
5
+ export declare const TranscriptMessage: core.serialization.ObjectSchema<serializers.TranscriptMessage.Raw, ElevenLabs.TranscriptMessage>;
6
+ export declare namespace TranscriptMessage {
7
+ interface Raw {
8
+ role: TranscriptMessageRole.Raw;
9
+ content: string;
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.TranscriptMessage = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const TranscriptMessageRole_1 = require("./TranscriptMessageRole");
40
+ exports.TranscriptMessage = core.serialization.object({
41
+ role: TranscriptMessageRole_1.TranscriptMessageRole,
42
+ content: core.serialization.string(),
43
+ });
@@ -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 TranscriptMessageRole: core.serialization.Schema<serializers.TranscriptMessageRole.Raw, ElevenLabs.TranscriptMessageRole>;
5
+ export declare namespace TranscriptMessageRole {
6
+ type Raw = "user" | "agent";
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.TranscriptMessageRole = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.TranscriptMessageRole = core.serialization.enum_(["user", "agent"]);
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { SoftTimeoutConfig } from "./SoftTimeoutConfig";
5
5
  import { SpellingPatience } from "./SpellingPatience";
6
6
  import { TurnEagerness } from "./TurnEagerness";
7
+ import { TurnModel } from "./TurnModel";
7
8
  export declare const TurnConfig: core.serialization.ObjectSchema<serializers.TurnConfig.Raw, ElevenLabs.TurnConfig>;
8
9
  export declare namespace TurnConfig {
9
10
  interface Raw {
@@ -14,6 +15,7 @@ export declare namespace TurnConfig {
14
15
  spelling_patience?: SpellingPatience.Raw | null;
15
16
  speculative_turn?: boolean | null;
16
17
  retranscribe_on_turn_timeout?: boolean | null;
18
+ turn_model?: TurnModel.Raw | null;
17
19
  soft_timeout_config?: SoftTimeoutConfig.Raw | null;
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const SoftTimeoutConfig_1 = require("./SoftTimeoutConfig");
40
40
  const SpellingPatience_1 = require("./SpellingPatience");
41
41
  const TurnEagerness_1 = require("./TurnEagerness");
42
+ const TurnModel_1 = require("./TurnModel");
42
43
  exports.TurnConfig = core.serialization.object({
43
44
  turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
44
45
  initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
@@ -47,5 +48,6 @@ exports.TurnConfig = core.serialization.object({
47
48
  spellingPatience: core.serialization.property("spelling_patience", SpellingPatience_1.SpellingPatience.optional()),
48
49
  speculativeTurn: core.serialization.property("speculative_turn", core.serialization.boolean().optional()),
49
50
  retranscribeOnTurnTimeout: core.serialization.property("retranscribe_on_turn_timeout", core.serialization.boolean().optional()),
51
+ turnModel: core.serialization.property("turn_model", TurnModel_1.TurnModel.optional()),
50
52
  softTimeoutConfig: core.serialization.property("soft_timeout_config", SoftTimeoutConfig_1.SoftTimeoutConfig.optional()),
51
53
  });
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { SoftTimeoutConfigWorkflowOverride } from "./SoftTimeoutConfigWorkflowOverride";
5
5
  import { SpellingPatience } from "./SpellingPatience";
6
6
  import { TurnEagerness } from "./TurnEagerness";
7
+ import { TurnModel } from "./TurnModel";
7
8
  export declare const TurnConfigWorkflowOverride: core.serialization.ObjectSchema<serializers.TurnConfigWorkflowOverride.Raw, ElevenLabs.TurnConfigWorkflowOverride>;
8
9
  export declare namespace TurnConfigWorkflowOverride {
9
10
  interface Raw {
@@ -14,6 +15,7 @@ export declare namespace TurnConfigWorkflowOverride {
14
15
  spelling_patience?: SpellingPatience.Raw | null;
15
16
  speculative_turn?: boolean | null;
16
17
  retranscribe_on_turn_timeout?: boolean | null;
18
+ turn_model?: TurnModel.Raw | null;
17
19
  soft_timeout_config?: SoftTimeoutConfigWorkflowOverride.Raw | null;
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const SoftTimeoutConfigWorkflowOverride_1 = require("./SoftTimeoutConfigWorkflowOverride");
40
40
  const SpellingPatience_1 = require("./SpellingPatience");
41
41
  const TurnEagerness_1 = require("./TurnEagerness");
42
+ const TurnModel_1 = require("./TurnModel");
42
43
  exports.TurnConfigWorkflowOverride = core.serialization.object({
43
44
  turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
44
45
  initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
@@ -47,5 +48,6 @@ exports.TurnConfigWorkflowOverride = core.serialization.object({
47
48
  spellingPatience: core.serialization.property("spelling_patience", SpellingPatience_1.SpellingPatience.optional()),
48
49
  speculativeTurn: core.serialization.property("speculative_turn", core.serialization.boolean().optional()),
49
50
  retranscribeOnTurnTimeout: core.serialization.property("retranscribe_on_turn_timeout", core.serialization.boolean().optional()),
51
+ turnModel: core.serialization.property("turn_model", TurnModel_1.TurnModel.optional()),
50
52
  softTimeoutConfig: core.serialization.property("soft_timeout_config", SoftTimeoutConfigWorkflowOverride_1.SoftTimeoutConfigWorkflowOverride.optional()),
51
53
  });
@@ -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 UpdateBookingPageAppearanceParams: core.serialization.ObjectSchema<serializers.UpdateBookingPageAppearanceParams.Raw, ElevenLabs.UpdateBookingPageAppearanceParams>;
5
+ export declare namespace UpdateBookingPageAppearanceParams {
6
+ interface Raw {
7
+ smb_tool_type?: "update_booking_page_appearance" | null;
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.UpdateBookingPageAppearanceParams = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.UpdateBookingPageAppearanceParams = core.serialization.object({
40
+ smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("update_booking_page_appearance").optional()),
41
+ });
@@ -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 { AuthConnectionDependencies } from "./AuthConnectionDependencies";
5
+ export declare const UrlSecretAuthResponse: core.serialization.ObjectSchema<serializers.UrlSecretAuthResponse.Raw, ElevenLabs.UrlSecretAuthResponse>;
6
+ export declare namespace UrlSecretAuthResponse {
7
+ interface Raw {
8
+ name: string;
9
+ provider: string;
10
+ id: string;
11
+ used_by?: AuthConnectionDependencies.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
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.UrlSecretAuthResponse = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AuthConnectionDependencies_1 = require("./AuthConnectionDependencies");
40
+ exports.UrlSecretAuthResponse = core.serialization.object({
41
+ name: core.serialization.string(),
42
+ provider: core.serialization.string(),
43
+ id: core.serialization.string(),
44
+ usedBy: core.serialization.property("used_by", AuthConnectionDependencies_1.AuthConnectionDependencies.optional()),
45
+ });
@@ -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 { TranscriptMessage } from "./TranscriptMessage";
5
+ export declare const UserTranscriptPayload: core.serialization.ObjectSchema<serializers.UserTranscriptPayload.Raw, ElevenLabs.UserTranscriptPayload>;
6
+ export declare namespace UserTranscriptPayload {
7
+ interface Raw {
8
+ type: "user_transcript";
9
+ user_transcript: TranscriptMessage.Raw[];
10
+ event_id?: number | null;
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.UserTranscriptPayload = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const TranscriptMessage_1 = require("./TranscriptMessage");
40
+ exports.UserTranscriptPayload = core.serialization.object({
41
+ type: core.serialization.stringLiteral("user_transcript"),
42
+ userTranscript: core.serialization.property("user_transcript", core.serialization.list(TranscriptMessage_1.TranscriptMessage)),
43
+ eventId: core.serialization.property("event_id", core.serialization.number().optional()),
44
+ });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const WebhookUsageType: core.serialization.Schema<serializers.WebhookUsageType.Raw, ElevenLabs.WebhookUsageType>;
5
5
  export declare namespace WebhookUsageType {
6
- type Raw = "ConvAI Agent Settings" | "ConvAI Settings" | "Voice Library Removal Notices" | "Speech to Text";
6
+ type Raw = "ConvAI Agent Settings" | "ConvAI Settings" | "Voice Library Removal Notices" | "Speech to Text" | "Agent QA Evaluations";
7
7
  }
@@ -41,4 +41,5 @@ exports.WebhookUsageType = core.serialization.enum_([
41
41
  "ConvAI Settings",
42
42
  "Voice Library Removal Notices",
43
43
  "Speech to Text",
44
+ "Agent QA Evaluations",
44
45
  ]);