@elevenlabs/elevenlabs-js 2.46.0 → 2.47.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 (568) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +3 -0
  4. package/Client.js +31 -26
  5. package/README.md +92 -0
  6. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -2
  7. package/api/resources/conversationalAi/resources/conversations/client/Client.js +2 -2
  8. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  9. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  10. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +1 -1
  11. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  12. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +1 -1
  13. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  14. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  15. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  16. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  17. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  18. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  20. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  21. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  22. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  23. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  24. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  25. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  27. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  28. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  29. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  30. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  31. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  33. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  34. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  35. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
  36. package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  37. package/api/resources/index.d.ts +2 -0
  38. package/api/resources/index.js +3 -1
  39. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  40. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  41. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  42. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  43. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  44. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  45. package/api/resources/speechEngine/client/Client.d.ts +89 -0
  46. package/api/resources/speechEngine/client/Client.js +363 -0
  47. package/api/resources/speechEngine/client/index.d.ts +1 -0
  48. package/api/resources/speechEngine/client/index.js +17 -0
  49. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  50. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  51. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  52. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  53. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  54. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  55. package/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  56. package/api/resources/speechEngine/client/requests/index.js +2 -0
  57. package/api/resources/speechEngine/index.d.ts +1 -0
  58. package/api/resources/speechEngine/index.js +17 -0
  59. package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  60. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  61. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  62. package/api/resources/voices/client/Client.js +3 -0
  63. package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  64. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  65. package/api/resources/workspace/client/Client.d.ts +3 -0
  66. package/api/resources/workspace/client/Client.js +19 -14
  67. package/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  68. package/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  69. package/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  70. package/api/resources/workspace/resources/analytics/client/index.js +2 -0
  71. package/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  72. package/api/resources/workspace/resources/analytics/index.js +18 -0
  73. package/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  74. package/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  75. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  76. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  77. package/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  78. package/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  79. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  80. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  81. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  82. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  83. package/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  84. package/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  85. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  86. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  87. package/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  88. package/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  89. package/api/resources/workspace/resources/index.d.ts +1 -0
  90. package/api/resources/workspace/resources/index.js +2 -1
  91. package/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
  92. package/api/types/AgentAlertingMonitorConfig.js +3 -0
  93. package/api/types/AgentAlertingSettings.d.ts +5 -0
  94. package/api/types/AgentAlertingSettings.js +3 -0
  95. package/api/types/AgentMetadataDbModel.d.ts +7 -0
  96. package/api/types/AgentMetadataDbModel.js +3 -0
  97. package/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  98. package/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  99. package/api/types/AgentTopicResponseModel.d.ts +3 -0
  100. package/api/types/BackgroundMusicPresetId.d.ts +4 -0
  101. package/api/types/BackgroundMusicPresetId.js +4 -0
  102. package/api/types/BaseTurnConfig.d.ts +17 -0
  103. package/api/types/BaseTurnConfig.js +3 -0
  104. package/api/types/ClientEvent.d.ts +1 -0
  105. package/api/types/ClientEvent.js +1 -0
  106. package/api/types/CodeToolAllowedDomain.d.ts +6 -0
  107. package/api/types/CodeToolAllowedDomain.js +3 -0
  108. package/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  109. package/api/types/ConversationTokenResponseModel.js +3 -0
  110. package/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  111. package/api/types/CreateSpeechEngineResponse.js +3 -0
  112. package/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  113. package/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  114. package/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  115. package/api/types/ListSpeechEnginesResponse.d.ts +8 -0
  116. package/api/types/ListSpeechEnginesResponse.js +3 -0
  117. package/api/types/Llm.d.ts +4 -0
  118. package/api/types/Llm.js +4 -0
  119. package/api/types/LlmInfoModelInput.d.ts +2 -0
  120. package/api/types/LlmInfoModelOutput.d.ts +2 -0
  121. package/api/types/Monitor.d.ts +5 -0
  122. package/api/types/Monitor.js +8 -0
  123. package/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  124. package/api/types/ProcedureCompilerMode.d.ts +1 -5
  125. package/api/types/ProcedureCompilerMode.js +0 -5
  126. package/api/types/PromptAgentApiModelInput.d.ts +1 -1
  127. package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  128. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  129. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  130. package/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  131. package/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  132. package/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  133. package/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  134. package/api/types/ReportKnowledgeGapParams.js +3 -0
  135. package/api/types/SpeechEngineResponse.d.ts +16 -0
  136. package/api/types/SpeechEngineResponse.js +3 -0
  137. package/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
  138. package/api/types/SpeechEngineSummaryResponse.js +3 -0
  139. package/api/types/TurnConfig.d.ts +2 -2
  140. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  141. package/api/types/WebhookHmacSettings.d.ts +2 -0
  142. package/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  143. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  144. package/api/types/WorkspaceGroupPermission.js +2 -0
  145. package/api/types/index.d.ts +14 -1
  146. package/api/types/index.js +14 -1
  147. package/dist/BaseClient.js +2 -2
  148. package/dist/Client.d.ts +3 -0
  149. package/dist/Client.js +31 -26
  150. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -2
  151. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +2 -2
  152. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  153. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  154. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +1 -1
  155. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  156. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +1 -1
  157. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  158. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  159. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  160. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js +3 -0
  161. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  162. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  163. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +3 -0
  164. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  165. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  166. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  167. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  168. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  169. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  170. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  171. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  172. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  173. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  174. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  175. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  176. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  177. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  178. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  179. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  180. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  181. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
  182. package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  183. package/dist/api/resources/index.d.ts +2 -0
  184. package/dist/api/resources/index.js +3 -1
  185. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  186. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  187. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  188. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  189. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  190. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  191. package/dist/api/resources/speechEngine/client/Client.d.ts +89 -0
  192. package/dist/api/resources/speechEngine/client/Client.js +363 -0
  193. package/dist/api/resources/speechEngine/client/index.d.ts +1 -0
  194. package/dist/api/resources/speechEngine/client/index.js +17 -0
  195. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  196. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  197. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  198. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  199. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  200. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  201. package/dist/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  202. package/dist/api/resources/speechEngine/client/requests/index.js +2 -0
  203. package/dist/api/resources/speechEngine/index.d.ts +1 -0
  204. package/dist/api/resources/speechEngine/index.js +17 -0
  205. package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  206. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  207. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  208. package/dist/api/resources/voices/client/Client.js +3 -0
  209. package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  210. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  211. package/dist/api/resources/workspace/client/Client.d.ts +3 -0
  212. package/dist/api/resources/workspace/client/Client.js +19 -14
  213. package/dist/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  214. package/dist/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  215. package/dist/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  216. package/dist/api/resources/workspace/resources/analytics/client/index.js +2 -0
  217. package/dist/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  218. package/dist/api/resources/workspace/resources/analytics/index.js +18 -0
  219. package/dist/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  220. package/dist/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  221. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  222. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  223. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  224. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  225. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  226. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  227. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  228. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  229. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  230. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  231. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  232. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  233. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  234. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  235. package/dist/api/resources/workspace/resources/index.d.ts +1 -0
  236. package/dist/api/resources/workspace/resources/index.js +2 -1
  237. package/dist/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
  238. package/dist/api/types/AgentAlertingMonitorConfig.js +3 -0
  239. package/dist/api/types/AgentAlertingSettings.d.ts +5 -0
  240. package/dist/api/types/AgentAlertingSettings.js +3 -0
  241. package/dist/api/types/AgentMetadataDbModel.d.ts +7 -0
  242. package/dist/api/types/AgentMetadataDbModel.js +3 -0
  243. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  244. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  245. package/dist/api/types/AgentTopicResponseModel.d.ts +3 -0
  246. package/dist/api/types/BackgroundMusicPresetId.d.ts +4 -0
  247. package/dist/api/types/BackgroundMusicPresetId.js +4 -0
  248. package/dist/api/types/BaseTurnConfig.d.ts +17 -0
  249. package/dist/api/types/BaseTurnConfig.js +3 -0
  250. package/dist/api/types/ClientEvent.d.ts +1 -0
  251. package/dist/api/types/ClientEvent.js +1 -0
  252. package/dist/api/types/CodeToolAllowedDomain.d.ts +6 -0
  253. package/dist/api/types/CodeToolAllowedDomain.js +3 -0
  254. package/dist/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  255. package/dist/api/types/ConversationTokenResponseModel.js +3 -0
  256. package/dist/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  257. package/dist/api/types/CreateSpeechEngineResponse.js +3 -0
  258. package/dist/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  259. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  260. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  261. package/dist/api/types/ListSpeechEnginesResponse.d.ts +8 -0
  262. package/dist/api/types/ListSpeechEnginesResponse.js +3 -0
  263. package/dist/api/types/Llm.d.ts +4 -0
  264. package/dist/api/types/Llm.js +4 -0
  265. package/dist/api/types/LlmInfoModelInput.d.ts +2 -0
  266. package/dist/api/types/LlmInfoModelOutput.d.ts +2 -0
  267. package/dist/api/types/Monitor.d.ts +5 -0
  268. package/dist/api/types/Monitor.js +8 -0
  269. package/dist/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  270. package/dist/api/types/ProcedureCompilerMode.d.ts +1 -5
  271. package/dist/api/types/ProcedureCompilerMode.js +0 -5
  272. package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
  273. package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  274. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  275. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  276. package/dist/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  277. package/dist/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  278. package/dist/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  279. package/dist/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  280. package/dist/api/types/ReportKnowledgeGapParams.js +3 -0
  281. package/dist/api/types/SpeechEngineResponse.d.ts +16 -0
  282. package/dist/api/types/SpeechEngineResponse.js +3 -0
  283. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
  284. package/dist/api/types/SpeechEngineSummaryResponse.js +3 -0
  285. package/dist/api/types/TurnConfig.d.ts +2 -2
  286. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  287. package/dist/api/types/WebhookHmacSettings.d.ts +2 -0
  288. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  289. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  290. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  291. package/dist/api/types/index.d.ts +14 -1
  292. package/dist/api/types/index.js +14 -1
  293. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  294. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  295. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  296. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  297. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  298. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  299. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +2 -0
  300. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +2 -0
  301. package/dist/serialization/resources/index.d.ts +2 -0
  302. package/dist/serialization/resources/index.js +3 -1
  303. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  304. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  305. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  306. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  307. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  308. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  309. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  310. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  311. package/dist/serialization/resources/speechEngine/client/index.d.ts +1 -0
  312. package/dist/serialization/resources/speechEngine/client/index.js +17 -0
  313. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  314. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  315. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  316. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  317. package/dist/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  318. package/dist/serialization/resources/speechEngine/client/requests/index.js +7 -0
  319. package/dist/serialization/resources/speechEngine/index.d.ts +1 -0
  320. package/dist/serialization/resources/speechEngine/index.js +17 -0
  321. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  322. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  323. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  324. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  325. package/dist/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  326. package/dist/serialization/resources/workspace/resources/analytics/index.js +17 -0
  327. package/dist/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  328. package/dist/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  329. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  330. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  331. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  332. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  333. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  334. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  335. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  336. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  337. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  338. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  339. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  340. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  341. package/dist/serialization/resources/workspace/resources/index.d.ts +1 -0
  342. package/dist/serialization/resources/workspace/resources/index.js +2 -1
  343. package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
  344. package/dist/serialization/types/AgentAlertingMonitorConfig.js +41 -0
  345. package/dist/serialization/types/AgentAlertingSettings.d.ts +10 -0
  346. package/dist/serialization/types/AgentAlertingSettings.js +42 -0
  347. package/dist/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  348. package/dist/serialization/types/AgentMetadataDbModel.js +45 -0
  349. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  350. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  351. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  352. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  353. package/dist/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  354. package/dist/serialization/types/AgentTopicResponseModel.js +3 -0
  355. package/dist/serialization/types/BackgroundMusicPresetId.d.ts +1 -1
  356. package/dist/serialization/types/BackgroundMusicPresetId.js +11 -1
  357. package/dist/serialization/types/BaseTurnConfig.d.ts +17 -0
  358. package/dist/serialization/types/BaseTurnConfig.js +49 -0
  359. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  360. package/dist/serialization/types/ClientEvent.js +1 -0
  361. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  362. package/dist/serialization/types/CodeToolAllowedDomain.js +42 -0
  363. package/dist/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  364. package/dist/serialization/types/{ConversationTokenDbModel.js → ConversationTokenResponseModel.js} +3 -3
  365. package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  366. package/dist/serialization/types/CreateSpeechEngineResponse.js +41 -0
  367. package/dist/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  368. package/dist/serialization/types/GetAgentLinkResponseModel.js +2 -2
  369. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  370. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  371. package/dist/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  372. package/dist/serialization/types/ListSpeechEnginesResponse.js +44 -0
  373. package/dist/serialization/types/Llm.d.ts +1 -1
  374. package/dist/serialization/types/Llm.js +4 -0
  375. package/dist/serialization/types/LlmInfoModelInput.d.ts +2 -0
  376. package/dist/serialization/types/LlmInfoModelInput.js +2 -0
  377. package/dist/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  378. package/dist/serialization/types/LlmInfoModelOutput.js +2 -0
  379. package/dist/serialization/types/Monitor.d.ts +7 -0
  380. package/dist/serialization/types/Monitor.js +39 -0
  381. package/dist/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  382. package/dist/serialization/types/PhoneNumberAgentInfo.js +2 -0
  383. package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  384. package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
  385. package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  386. package/dist/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  387. package/dist/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  388. package/dist/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  389. package/dist/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  390. package/dist/serialization/types/ReportKnowledgeGapParams.js +41 -0
  391. package/dist/serialization/types/SpeechEngineResponse.d.ts +28 -0
  392. package/dist/serialization/types/SpeechEngineResponse.js +60 -0
  393. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  394. package/dist/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  395. package/dist/serialization/types/TurnConfig.d.ts +1 -1
  396. package/dist/serialization/types/TurnConfig.js +1 -1
  397. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  398. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  399. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -0
  400. package/dist/serialization/types/WebhookHmacSettings.js +1 -0
  401. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  402. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  403. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  404. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  405. package/dist/serialization/types/index.d.ts +14 -1
  406. package/dist/serialization/types/index.js +14 -1
  407. package/dist/version.d.ts +1 -1
  408. package/dist/version.js +1 -1
  409. package/dist/wrapper/ElevenLabsClient.d.ts +5 -2
  410. package/dist/wrapper/ElevenLabsClient.js +9 -1
  411. package/dist/wrapper/index.d.ts +1 -0
  412. package/dist/wrapper/index.js +8 -1
  413. package/dist/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  414. package/dist/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  415. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  416. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  417. package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  418. package/dist/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  419. package/dist/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  420. package/dist/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  421. package/dist/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  422. package/dist/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  423. package/dist/wrapper/speech-engine/index.d.ts +7 -0
  424. package/dist/wrapper/speech-engine/index.js +47 -0
  425. package/dist/wrapper/speech-engine/namespace.d.ts +27 -0
  426. package/dist/wrapper/speech-engine/namespace.js +37 -0
  427. package/dist/wrapper/speech-engine/types.d.ts +67 -0
  428. package/dist/wrapper/speech-engine/types.js +15 -0
  429. package/package.json +1 -1
  430. package/reference.md +551 -6
  431. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  432. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  433. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  434. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  435. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  436. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  437. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +2 -0
  438. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +2 -0
  439. package/serialization/resources/index.d.ts +2 -0
  440. package/serialization/resources/index.js +3 -1
  441. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  442. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  443. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  444. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  445. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  446. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  447. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  448. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  449. package/serialization/resources/speechEngine/client/index.d.ts +1 -0
  450. package/serialization/resources/speechEngine/client/index.js +17 -0
  451. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  452. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  453. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  454. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  455. package/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  456. package/serialization/resources/speechEngine/client/requests/index.js +7 -0
  457. package/serialization/resources/speechEngine/index.d.ts +1 -0
  458. package/serialization/resources/speechEngine/index.js +17 -0
  459. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  460. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  461. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  462. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  463. package/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  464. package/serialization/resources/workspace/resources/analytics/index.js +17 -0
  465. package/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  466. package/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  467. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  468. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  469. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  470. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  471. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  472. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  473. package/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  474. package/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  475. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  476. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  477. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  478. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  479. package/serialization/resources/workspace/resources/index.d.ts +1 -0
  480. package/serialization/resources/workspace/resources/index.js +2 -1
  481. package/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
  482. package/serialization/types/AgentAlertingMonitorConfig.js +41 -0
  483. package/serialization/types/AgentAlertingSettings.d.ts +10 -0
  484. package/serialization/types/AgentAlertingSettings.js +42 -0
  485. package/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  486. package/serialization/types/AgentMetadataDbModel.js +45 -0
  487. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  488. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  489. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  490. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  491. package/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  492. package/serialization/types/AgentTopicResponseModel.js +3 -0
  493. package/serialization/types/BackgroundMusicPresetId.d.ts +1 -1
  494. package/serialization/types/BackgroundMusicPresetId.js +11 -1
  495. package/serialization/types/BaseTurnConfig.d.ts +17 -0
  496. package/serialization/types/BaseTurnConfig.js +49 -0
  497. package/serialization/types/ClientEvent.d.ts +1 -1
  498. package/serialization/types/ClientEvent.js +1 -0
  499. package/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  500. package/serialization/types/CodeToolAllowedDomain.js +42 -0
  501. package/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  502. package/serialization/types/{ConversationTokenDbModel.js → ConversationTokenResponseModel.js} +3 -3
  503. package/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  504. package/serialization/types/CreateSpeechEngineResponse.js +41 -0
  505. package/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  506. package/serialization/types/GetAgentLinkResponseModel.js +2 -2
  507. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  508. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  509. package/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  510. package/serialization/types/ListSpeechEnginesResponse.js +44 -0
  511. package/serialization/types/Llm.d.ts +1 -1
  512. package/serialization/types/Llm.js +4 -0
  513. package/serialization/types/LlmInfoModelInput.d.ts +2 -0
  514. package/serialization/types/LlmInfoModelInput.js +2 -0
  515. package/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  516. package/serialization/types/LlmInfoModelOutput.js +2 -0
  517. package/serialization/types/Monitor.d.ts +7 -0
  518. package/serialization/types/Monitor.js +39 -0
  519. package/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  520. package/serialization/types/PhoneNumberAgentInfo.js +2 -0
  521. package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  522. package/serialization/types/ProcedureCompilerMode.js +1 -1
  523. package/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  524. package/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  525. package/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  526. package/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  527. package/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  528. package/serialization/types/ReportKnowledgeGapParams.js +41 -0
  529. package/serialization/types/SpeechEngineResponse.d.ts +28 -0
  530. package/serialization/types/SpeechEngineResponse.js +60 -0
  531. package/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  532. package/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  533. package/serialization/types/TurnConfig.d.ts +1 -1
  534. package/serialization/types/TurnConfig.js +1 -1
  535. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  536. package/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  537. package/serialization/types/WebhookHmacSettings.d.ts +1 -0
  538. package/serialization/types/WebhookHmacSettings.js +1 -0
  539. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  540. package/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  541. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  542. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  543. package/serialization/types/index.d.ts +14 -1
  544. package/serialization/types/index.js +14 -1
  545. package/version.d.ts +1 -1
  546. package/version.js +1 -1
  547. package/wrapper/ElevenLabsClient.d.ts +5 -2
  548. package/wrapper/ElevenLabsClient.js +9 -1
  549. package/wrapper/index.d.ts +1 -0
  550. package/wrapper/index.js +8 -1
  551. package/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  552. package/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  553. package/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  554. package/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  555. package/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  556. package/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  557. package/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  558. package/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  559. package/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  560. package/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  561. package/wrapper/speech-engine/index.d.ts +7 -0
  562. package/wrapper/speech-engine/index.js +47 -0
  563. package/wrapper/speech-engine/namespace.d.ts +27 -0
  564. package/wrapper/speech-engine/namespace.js +37 -0
  565. package/wrapper/speech-engine/types.d.ts +67 -0
  566. package/wrapper/speech-engine/types.js +15 -0
  567. /package/api/{types/ConversationTokenDbModel.js → resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js} +0 -0
  568. /package/{dist/api/types/ConversationTokenDbModel.js → api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export interface ConversationTokenDbModel {
2
+ export interface ConversationTokenResponseModel {
3
3
  /** The ID of the agent */
4
4
  agentId: string;
5
5
  /** The token for the agent */
@@ -9,7 +9,7 @@ export interface ConversationTokenDbModel {
9
9
  /** The ID of the conversation */
10
10
  conversationId?: string;
11
11
  /** The purpose of the token */
12
- purpose?: ElevenLabs.ConversationTokenPurpose;
12
+ purpose: ElevenLabs.ConversationTokenPurpose;
13
13
  /** The user ID of the entity who requested the token */
14
14
  tokenRequesterUserId?: string;
15
15
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface CreateSpeechEngineResponse {
2
+ /** The speech engine resource ID */
3
+ speechEngineId: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,5 +3,5 @@ export interface GetAgentLinkResponseModel {
3
3
  /** The ID of the agent */
4
4
  agentId: string;
5
5
  /** The token data for the agent */
6
- token?: ElevenLabs.ConversationTokenDbModel;
6
+ token?: ElevenLabs.ConversationTokenResponseModel;
7
7
  }
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface KnowledgeBaseDocumentChunksResponseModel {
3
+ chunks: ElevenLabs.KnowledgeBaseDocumentChunkResponseModel[];
4
+ nextCursor?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ListSpeechEnginesResponse {
3
+ speechEngines: ElevenLabs.SpeechEngineSummaryResponse[];
4
+ /** Cursor for fetching the next page */
5
+ nextCursor?: string;
6
+ /** Whether there are more results */
7
+ hasMore: boolean;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,6 +11,8 @@ export declare const Llm: {
11
11
  readonly Gpt52: "gpt-5.2";
12
12
  readonly Gpt52ChatLatest: "gpt-5.2-chat-latest";
13
13
  readonly Gpt54: "gpt-5.4";
14
+ readonly Gpt54Mini: "gpt-5.4-mini";
15
+ readonly Gpt54Nano: "gpt-5.4-nano";
14
16
  readonly Gpt55: "gpt-5.5";
15
17
  readonly Gpt5Mini: "gpt-5-mini";
16
18
  readonly Gpt5Nano: "gpt-5-nano";
@@ -64,6 +66,8 @@ export declare const Llm: {
64
66
  readonly Gpt5120251113: "gpt-5.1-2025-11-13";
65
67
  readonly Gpt5220251211: "gpt-5.2-2025-12-11";
66
68
  readonly Gpt5420260305: "gpt-5.4-2026-03-05";
69
+ readonly Gpt54Mini20260317: "gpt-5.4-mini-2026-03-17";
70
+ readonly Gpt54Nano20260317: "gpt-5.4-nano-2026-03-17";
67
71
  readonly Gpt5520260423: "gpt-5.5-2026-04-23";
68
72
  readonly Gpt5Mini20250807: "gpt-5-mini-2025-08-07";
69
73
  readonly Gpt5Nano20250807: "gpt-5-nano-2025-08-07";
@@ -15,6 +15,8 @@ exports.Llm = {
15
15
  Gpt52: "gpt-5.2",
16
16
  Gpt52ChatLatest: "gpt-5.2-chat-latest",
17
17
  Gpt54: "gpt-5.4",
18
+ Gpt54Mini: "gpt-5.4-mini",
19
+ Gpt54Nano: "gpt-5.4-nano",
18
20
  Gpt55: "gpt-5.5",
19
21
  Gpt5Mini: "gpt-5-mini",
20
22
  Gpt5Nano: "gpt-5-nano",
@@ -68,6 +70,8 @@ exports.Llm = {
68
70
  Gpt5120251113: "gpt-5.1-2025-11-13",
69
71
  Gpt5220251211: "gpt-5.2-2025-12-11",
70
72
  Gpt5420260305: "gpt-5.4-2026-03-05",
73
+ Gpt54Mini20260317: "gpt-5.4-mini-2026-03-17",
74
+ Gpt54Nano20260317: "gpt-5.4-nano-2026-03-17",
71
75
  Gpt5520260423: "gpt-5.5-2026-04-23",
72
76
  Gpt5Mini20250807: "gpt-5-mini-2025-08-07",
73
77
  Gpt5Nano20250807: "gpt-5-nano-2025-08-07",
@@ -18,4 +18,6 @@ export interface LlmInfoModelInput {
18
18
  availableReasoningEfforts?: ElevenLabs.LlmReasoningEffort[];
19
19
  /** Deprecation information if this model is deprecated or scheduled for deprecation. Null if the model is not affected. */
20
20
  deprecationInfo?: ElevenLabs.LlmDeprecationInfoModel;
21
+ /** Regional processing surcharge details if this model has additional costs in the current deployment region. Null if no surcharge applies. */
22
+ regionalProcessingSurcharge?: ElevenLabs.RegionalProcessingSurchargeInfo;
21
23
  }
@@ -18,4 +18,6 @@ export interface LlmInfoModelOutput {
18
18
  availableReasoningEfforts?: ElevenLabs.LlmReasoningEffort[];
19
19
  /** Deprecation information if this model is deprecated or scheduled for deprecation. Null if the model is not affected. */
20
20
  deprecationInfo?: ElevenLabs.LlmDeprecationInfoModel;
21
+ /** Regional processing surcharge details if this model has additional costs in the current deployment region. Null if no surcharge applies. */
22
+ regionalProcessingSurcharge?: ElevenLabs.RegionalProcessingSurchargeInfo;
21
23
  }
@@ -0,0 +1,5 @@
1
+ export declare const Monitor: {
2
+ readonly ElevatedConversationFailureRate: "elevated_conversation_failure_rate";
3
+ readonly ElevatedToolFailureRate: "elevated_tool_failure_rate";
4
+ };
5
+ export type Monitor = (typeof Monitor)[keyof typeof Monitor];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Monitor = void 0;
5
+ exports.Monitor = {
6
+ ElevatedConversationFailureRate: "elevated_conversation_failure_rate",
7
+ ElevatedToolFailureRate: "elevated_tool_failure_rate",
8
+ };
@@ -3,4 +3,8 @@ export interface PhoneNumberAgentInfo {
3
3
  agentId: string;
4
4
  /** The name of the agent */
5
5
  agentName: string;
6
+ /** Environment to use for resolving environment variables on calls to this number. */
7
+ environment?: string;
8
+ /** Agent branch to use for calls to this number. */
9
+ branchId?: string;
6
10
  }
@@ -1,5 +1 @@
1
- export declare const ProcedureCompilerMode: {
2
- readonly Deterministic: "deterministic";
3
- readonly Append: "append";
4
- };
5
- export type ProcedureCompilerMode = (typeof ProcedureCompilerMode)[keyof typeof ProcedureCompilerMode];
1
+ export type ProcedureCompilerMode = "append";
@@ -1,8 +1,3 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ProcedureCompilerMode = void 0;
5
- exports.ProcedureCompilerMode = {
6
- Deterministic: "deterministic",
7
- Append: "append",
8
- };
@@ -28,7 +28,7 @@ export interface PromptAgentApiModelInput {
28
28
  ignoreDefaultPersonality?: boolean;
29
29
  /** Configuration for RAG */
30
30
  rag?: ElevenLabs.RagConfig;
31
- /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
31
+ /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). Recommended for accurate time-aware responses; without this, the agent has no knowledge of the current date/time unless you provide it via dynamic variables or tools, which can lead to incorrect or hallucinated time references. */
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelInputBackupLlmConfig;
@@ -28,7 +28,7 @@ export interface PromptAgentApiModelOutput {
28
28
  ignoreDefaultPersonality?: boolean;
29
29
  /** Configuration for RAG */
30
30
  rag?: ElevenLabs.RagConfig;
31
- /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
31
+ /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). Recommended for accurate time-aware responses; without this, the agent has no knowledge of the current date/time unless you provide it via dynamic variables or tools, which can lead to incorrect or hallucinated time references. */
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelOutputBackupLlmConfig;
@@ -28,7 +28,7 @@ export interface PromptAgentApiModelWorkflowOverrideInput {
28
28
  ignoreDefaultPersonality?: boolean;
29
29
  /** Configuration for RAG */
30
30
  rag?: ElevenLabs.RagConfigWorkflowOverride;
31
- /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
31
+ /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). Recommended for accurate time-aware responses; without this, the agent has no knowledge of the current date/time unless you provide it via dynamic variables or tools, which can lead to incorrect or hallucinated time references. */
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig;
@@ -28,7 +28,7 @@ export interface PromptAgentApiModelWorkflowOverrideOutput {
28
28
  ignoreDefaultPersonality?: boolean;
29
29
  /** Configuration for RAG */
30
30
  rag?: ElevenLabs.RagConfigWorkflowOverride;
31
- /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
31
+ /** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). Recommended for accurate time-aware responses; without this, the agent has no knowledge of the current date/time unless you provide it via dynamic variables or tools, which can lead to incorrect or hallucinated time references. */
32
32
  timezone?: string;
33
33
  /** Configuration for backup LLM cascading. Can be disabled, use system defaults, or specify custom order. */
34
34
  backupLlmConfig?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig;
@@ -7,4 +7,5 @@ export interface ReadMetadataChapterDbModel {
7
7
  hasSummary?: boolean;
8
8
  durationSeconds?: number;
9
9
  fileNumber?: string;
10
+ isFallbackName?: boolean;
10
11
  }
@@ -0,0 +1,4 @@
1
+ export interface RegionalProcessingSurchargeInfo {
2
+ /** The surcharge multiplier applied to this model's pricing (e.g. 1.1 for a 10% surcharge). */
3
+ multiplier: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface ReportKnowledgeGapParams {
2
+ smbToolType?: "report_knowledge_gap";
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface SpeechEngineResponse {
3
+ /** The speech engine resource ID */
4
+ speechEngineId: string;
5
+ name: string;
6
+ speechEngine: ElevenLabs.SpeechEngineConfig;
7
+ asr: ElevenLabs.AsrConversationalConfig;
8
+ tts: ElevenLabs.TtsConversationalConfigOutput;
9
+ turn: ElevenLabs.BaseTurnConfig;
10
+ conversation: ElevenLabs.ConversationConfigOutput;
11
+ privacy: ElevenLabs.PrivacyConfigOutput;
12
+ callLimits: ElevenLabs.AgentCallLimits;
13
+ language: string;
14
+ tags: string[];
15
+ metadata: ElevenLabs.AgentMetadataDbModel;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface SpeechEngineSummaryResponse {
2
+ /** The speech engine resource ID */
3
+ speechEngineId: string;
4
+ name: string;
5
+ /** Creation time in unix seconds */
6
+ createdAtUnixSecs: number;
7
+ tags: string[];
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,8 +6,6 @@ export interface TurnConfig {
6
6
  initialWaitTime?: number;
7
7
  /** Maximum wait time since the user last spoke before terminating the call */
8
8
  silenceEndCallTimeout?: number;
9
- /** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
10
- softTimeoutConfig?: ElevenLabs.SoftTimeoutConfig;
11
9
  /** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
12
10
  turnEagerness?: ElevenLabs.TurnEagerness;
13
11
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
@@ -16,4 +14,6 @@ export interface TurnConfig {
16
14
  speculativeTurn?: boolean;
17
15
  /** When enabled, if VAD detects no speech, attempts to re-transcribe accumulated audio at turn timeout. Disables silence discount billing for affected turns. */
18
16
  retranscribeOnTurnTimeout?: boolean;
17
+ /** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
18
+ softTimeoutConfig?: ElevenLabs.SoftTimeoutConfig;
19
19
  }
@@ -6,8 +6,6 @@ export interface TurnConfigWorkflowOverride {
6
6
  initialWaitTime?: number;
7
7
  /** Maximum wait time since the user last spoke before terminating the call */
8
8
  silenceEndCallTimeout?: number;
9
- /** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
10
- softTimeoutConfig?: ElevenLabs.SoftTimeoutConfigWorkflowOverride;
11
9
  /** Controls how eager the agent is to respond. Low = less eager (waits longer), Standard = default eagerness, High = more eager (responds sooner) */
12
10
  turnEagerness?: ElevenLabs.TurnEagerness;
13
11
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
@@ -16,4 +14,6 @@ export interface TurnConfigWorkflowOverride {
16
14
  speculativeTurn?: boolean;
17
15
  /** When enabled, if VAD detects no speech, attempts to re-transcribe accumulated audio at turn timeout. Disables silence discount billing for affected turns. */
18
16
  retranscribeOnTurnTimeout?: boolean;
17
+ /** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
18
+ softTimeoutConfig?: ElevenLabs.SoftTimeoutConfigWorkflowOverride;
19
19
  }
@@ -8,4 +8,6 @@ export interface WebhookHmacSettings {
8
8
  name: string;
9
9
  /** The HTTPS callback URL that will be called when this webhook is triggered */
10
10
  webhookUrl: string;
11
+ /** Optional custom request headers to include with each webhook delivery */
12
+ requestHeaders?: Record<string, string | undefined>;
11
13
  }
@@ -10,4 +10,5 @@ export interface WorkspaceApiKeyResponseModel {
10
10
  characterLimit?: number;
11
11
  characterCount?: number;
12
12
  hashedXiApiKey: string;
13
+ allowedIps?: string[];
13
14
  }
@@ -9,6 +9,7 @@ export declare const WorkspaceGroupPermission: {
9
9
  readonly Dubbing: "dubbing";
10
10
  readonly AudioNative: "audio_native";
11
11
  readonly ConversationalAi: "conversational_ai";
12
+ readonly ConversationalAiRead: "conversational_ai_read";
12
13
  readonly VoiceIsolator: "voice_isolator";
13
14
  readonly AiSpeechClassifier: "ai_speech_classifier";
14
15
  readonly AddVoiceFromVoiceLibrary: "add_voice_from_voice_library";
@@ -30,5 +31,6 @@ export declare const WorkspaceGroupPermission: {
30
31
  readonly TermsOfServiceAccept: "terms_of_service_accept";
31
32
  readonly AuditLogRead: "audit_log_read";
32
33
  readonly CopyResourcesCrossWorkspace: "copy_resources_cross_workspace";
34
+ readonly VoiceDesign: "voice_design";
33
35
  };
34
36
  export type WorkspaceGroupPermission = (typeof WorkspaceGroupPermission)[keyof typeof WorkspaceGroupPermission];
@@ -13,6 +13,7 @@ exports.WorkspaceGroupPermission = {
13
13
  Dubbing: "dubbing",
14
14
  AudioNative: "audio_native",
15
15
  ConversationalAi: "conversational_ai",
16
+ ConversationalAiRead: "conversational_ai_read",
16
17
  VoiceIsolator: "voice_isolator",
17
18
  AiSpeechClassifier: "ai_speech_classifier",
18
19
  AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
@@ -34,4 +35,5 @@ exports.WorkspaceGroupPermission = {
34
35
  TermsOfServiceAccept: "terms_of_service_accept",
35
36
  AuditLogRead: "audit_log_read",
36
37
  CopyResourcesCrossWorkspace: "copy_resources_cross_workspace",
38
+ VoiceDesign: "voice_design",
37
39
  };
@@ -15,6 +15,8 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
15
15
  export * from "./AddWorkspaceInviteResponseModel";
16
16
  export * from "./AdhocAgentConfigOverrideForTestRequestModel";
17
17
  export * from "./Age";
18
+ export * from "./AgentAlertingMonitorConfig";
19
+ export * from "./AgentAlertingSettings";
18
20
  export * from "./AgentBranchBasicInfo";
19
21
  export * from "./AgentBranchResponse";
20
22
  export * from "./AgentBranchSummary";
@@ -32,6 +34,7 @@ export * from "./AgentDeploymentRequestItem";
32
34
  export * from "./AgentDeploymentResponse";
33
35
  export * from "./AgentFailureResponseExample";
34
36
  export * from "./AgentMetadata";
37
+ export * from "./AgentMetadataDbModel";
35
38
  export * from "./AgentMetadataResponseModel";
36
39
  export * from "./AgentPlatformSettingsRequestModel";
37
40
  export * from "./AgentPlatformSettingsResponseModel";
@@ -161,6 +164,7 @@ export * from "./BackupLlmDefault";
161
164
  export * from "./BackupLlmDisabled";
162
165
  export * from "./BackupLlmOverride";
163
166
  export * from "./BadRequestErrorBody";
167
+ export * from "./BaseTurnConfig";
164
168
  export * from "./BasicAuthResponse";
165
169
  export * from "./BatchCallDetailedResponse";
166
170
  export * from "./BatchCallRecipientStatus";
@@ -234,6 +238,7 @@ export * from "./CloseContext";
234
238
  export * from "./CloseSocket";
235
239
  export * from "./CoachedAgentSettings";
236
240
  export * from "./CoachingAgentSettings";
241
+ export * from "./CodeToolAllowedDomain";
237
242
  export * from "./ColumnFilter";
238
243
  export * from "./ColumnFilterOperation";
239
244
  export * from "./ColumnFilterValuesItem";
@@ -338,8 +343,8 @@ export * from "./ConversationSource";
338
343
  export * from "./ConversationSummaryResponseModel";
339
344
  export * from "./ConversationSummaryResponseModelStatus";
340
345
  export * from "./ConversationTagResponseModel";
341
- export * from "./ConversationTokenDbModel";
342
346
  export * from "./ConversationTokenPurpose";
347
+ export * from "./ConversationTokenResponseModel";
343
348
  export * from "./ConversationTtsUsageModel";
344
349
  export * from "./ConversationTurnMetrics";
345
350
  export * from "./ConversationUserResponseModel";
@@ -378,6 +383,7 @@ export * from "./CreateSecretEnvironmentVariableRequest";
378
383
  export * from "./CreateServiceParams";
379
384
  export * from "./CreateSimulationTestRequest";
380
385
  export * from "./CreateSipTrunkPhoneNumberRequest";
386
+ export * from "./CreateSpeechEngineResponse";
381
387
  export * from "./CreateStaffParams";
382
388
  export * from "./CreateStringEnvironmentVariableRequest";
383
389
  export * from "./CreateToolCallUnitTestRequest";
@@ -640,6 +646,7 @@ export * from "./KnowledgeBaseContentSearchResult";
640
646
  export * from "./KnowledgeBaseContentSearchResultDocument";
641
647
  export * from "./KnowledgeBaseDependentType";
642
648
  export * from "./KnowledgeBaseDocumentChunkResponseModel";
649
+ export * from "./KnowledgeBaseDocumentChunksResponseModel";
643
650
  export * from "./KnowledgeBaseDocumentMetadataResponseModel";
644
651
  export * from "./KnowledgeBaseDocumentType";
645
652
  export * from "./KnowledgeBaseFolderPathSegmentResponseModel";
@@ -678,6 +685,7 @@ export * from "./ListResponseAgentBranchSummary";
678
685
  export * from "./ListResponseApiIntegrationDocResponse";
679
686
  export * from "./ListResponseMeta";
680
687
  export * from "./ListServicesParams";
688
+ export * from "./ListSpeechEnginesResponse";
681
689
  export * from "./ListStaffParams";
682
690
  export * from "./ListWhatsAppAccountsResponse";
683
691
  export * from "./LiteralJsonSchemaProperty";
@@ -744,6 +752,7 @@ export * from "./ModelSettingsResponseModel";
744
752
  export * from "./ModerationConfig";
745
753
  export * from "./ModerationGuardrailInput";
746
754
  export * from "./ModerationGuardrailOutput";
755
+ export * from "./Monitor";
747
756
  export * from "./MtlsAuthResponse";
748
757
  export * from "./MultichannelSpeechToTextResponseModel";
749
758
  export * from "./MultipartMusicResponse";
@@ -893,12 +902,14 @@ export * from "./ReferencedToolCommonModel";
893
902
  export * from "./ReferencedToolCommonModelType";
894
903
  export * from "./ReferenceVideo";
895
904
  export * from "./RegexParameterEvaluationStrategy";
905
+ export * from "./RegionalProcessingSurchargeInfo";
896
906
  export * from "./RegionConfigRequest";
897
907
  export * from "./RegisterForGroupSessionParams";
898
908
  export * from "./RemoveMemberFromGroupRequest";
899
909
  export * from "./Render";
900
910
  export * from "./RenderStatus";
901
911
  export * from "./RenderType";
912
+ export * from "./ReportKnowledgeGapParams";
902
913
  export * from "./RequestPvcManualVerificationResponseModel";
903
914
  export * from "./RequiredConstraint";
904
915
  export * from "./RequiredConstraints";
@@ -1003,6 +1014,8 @@ export * from "./SpeakerTrack";
1003
1014
  export * from "./SpeakerUpdatedResponse";
1004
1015
  export * from "./SpeechEngineConfig";
1005
1016
  export * from "./SpeechEngineConfigRequestHeadersValue";
1017
+ export * from "./SpeechEngineResponse";
1018
+ export * from "./SpeechEngineSummaryResponse";
1006
1019
  export * from "./SpeechHistoryItemResponse";
1007
1020
  export * from "./SpeechHistoryItemResponseModelSource";
1008
1021
  export * from "./SpeechHistoryItemResponseModelVoiceCategory";
@@ -31,6 +31,8 @@ __exportStar(require("./AddWorkspaceGroupMemberResponseModel"), exports);
31
31
  __exportStar(require("./AddWorkspaceInviteResponseModel"), exports);
32
32
  __exportStar(require("./AdhocAgentConfigOverrideForTestRequestModel"), exports);
33
33
  __exportStar(require("./Age"), exports);
34
+ __exportStar(require("./AgentAlertingMonitorConfig"), exports);
35
+ __exportStar(require("./AgentAlertingSettings"), exports);
34
36
  __exportStar(require("./AgentBranchBasicInfo"), exports);
35
37
  __exportStar(require("./AgentBranchResponse"), exports);
36
38
  __exportStar(require("./AgentBranchSummary"), exports);
@@ -48,6 +50,7 @@ __exportStar(require("./AgentDeploymentRequestItem"), exports);
48
50
  __exportStar(require("./AgentDeploymentResponse"), exports);
49
51
  __exportStar(require("./AgentFailureResponseExample"), exports);
50
52
  __exportStar(require("./AgentMetadata"), exports);
53
+ __exportStar(require("./AgentMetadataDbModel"), exports);
51
54
  __exportStar(require("./AgentMetadataResponseModel"), exports);
52
55
  __exportStar(require("./AgentPlatformSettingsRequestModel"), exports);
53
56
  __exportStar(require("./AgentPlatformSettingsResponseModel"), exports);
@@ -177,6 +180,7 @@ __exportStar(require("./BackupLlmDefault"), exports);
177
180
  __exportStar(require("./BackupLlmDisabled"), exports);
178
181
  __exportStar(require("./BackupLlmOverride"), exports);
179
182
  __exportStar(require("./BadRequestErrorBody"), exports);
183
+ __exportStar(require("./BaseTurnConfig"), exports);
180
184
  __exportStar(require("./BasicAuthResponse"), exports);
181
185
  __exportStar(require("./BatchCallDetailedResponse"), exports);
182
186
  __exportStar(require("./BatchCallRecipientStatus"), exports);
@@ -250,6 +254,7 @@ __exportStar(require("./CloseContext"), exports);
250
254
  __exportStar(require("./CloseSocket"), exports);
251
255
  __exportStar(require("./CoachedAgentSettings"), exports);
252
256
  __exportStar(require("./CoachingAgentSettings"), exports);
257
+ __exportStar(require("./CodeToolAllowedDomain"), exports);
253
258
  __exportStar(require("./ColumnFilter"), exports);
254
259
  __exportStar(require("./ColumnFilterOperation"), exports);
255
260
  __exportStar(require("./ColumnFilterValuesItem"), exports);
@@ -354,8 +359,8 @@ __exportStar(require("./ConversationSource"), exports);
354
359
  __exportStar(require("./ConversationSummaryResponseModel"), exports);
355
360
  __exportStar(require("./ConversationSummaryResponseModelStatus"), exports);
356
361
  __exportStar(require("./ConversationTagResponseModel"), exports);
357
- __exportStar(require("./ConversationTokenDbModel"), exports);
358
362
  __exportStar(require("./ConversationTokenPurpose"), exports);
363
+ __exportStar(require("./ConversationTokenResponseModel"), exports);
359
364
  __exportStar(require("./ConversationTtsUsageModel"), exports);
360
365
  __exportStar(require("./ConversationTurnMetrics"), exports);
361
366
  __exportStar(require("./ConversationUserResponseModel"), exports);
@@ -394,6 +399,7 @@ __exportStar(require("./CreateSecretEnvironmentVariableRequest"), exports);
394
399
  __exportStar(require("./CreateServiceParams"), exports);
395
400
  __exportStar(require("./CreateSimulationTestRequest"), exports);
396
401
  __exportStar(require("./CreateSipTrunkPhoneNumberRequest"), exports);
402
+ __exportStar(require("./CreateSpeechEngineResponse"), exports);
397
403
  __exportStar(require("./CreateStaffParams"), exports);
398
404
  __exportStar(require("./CreateStringEnvironmentVariableRequest"), exports);
399
405
  __exportStar(require("./CreateToolCallUnitTestRequest"), exports);
@@ -656,6 +662,7 @@ __exportStar(require("./KnowledgeBaseContentSearchResult"), exports);
656
662
  __exportStar(require("./KnowledgeBaseContentSearchResultDocument"), exports);
657
663
  __exportStar(require("./KnowledgeBaseDependentType"), exports);
658
664
  __exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
665
+ __exportStar(require("./KnowledgeBaseDocumentChunksResponseModel"), exports);
659
666
  __exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
660
667
  __exportStar(require("./KnowledgeBaseDocumentType"), exports);
661
668
  __exportStar(require("./KnowledgeBaseFolderPathSegmentResponseModel"), exports);
@@ -694,6 +701,7 @@ __exportStar(require("./ListResponseAgentBranchSummary"), exports);
694
701
  __exportStar(require("./ListResponseApiIntegrationDocResponse"), exports);
695
702
  __exportStar(require("./ListResponseMeta"), exports);
696
703
  __exportStar(require("./ListServicesParams"), exports);
704
+ __exportStar(require("./ListSpeechEnginesResponse"), exports);
697
705
  __exportStar(require("./ListStaffParams"), exports);
698
706
  __exportStar(require("./ListWhatsAppAccountsResponse"), exports);
699
707
  __exportStar(require("./LiteralJsonSchemaProperty"), exports);
@@ -760,6 +768,7 @@ __exportStar(require("./ModelSettingsResponseModel"), exports);
760
768
  __exportStar(require("./ModerationConfig"), exports);
761
769
  __exportStar(require("./ModerationGuardrailInput"), exports);
762
770
  __exportStar(require("./ModerationGuardrailOutput"), exports);
771
+ __exportStar(require("./Monitor"), exports);
763
772
  __exportStar(require("./MtlsAuthResponse"), exports);
764
773
  __exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
765
774
  __exportStar(require("./MultipartMusicResponse"), exports);
@@ -909,12 +918,14 @@ __exportStar(require("./ReferencedToolCommonModel"), exports);
909
918
  __exportStar(require("./ReferencedToolCommonModelType"), exports);
910
919
  __exportStar(require("./ReferenceVideo"), exports);
911
920
  __exportStar(require("./RegexParameterEvaluationStrategy"), exports);
921
+ __exportStar(require("./RegionalProcessingSurchargeInfo"), exports);
912
922
  __exportStar(require("./RegionConfigRequest"), exports);
913
923
  __exportStar(require("./RegisterForGroupSessionParams"), exports);
914
924
  __exportStar(require("./RemoveMemberFromGroupRequest"), exports);
915
925
  __exportStar(require("./Render"), exports);
916
926
  __exportStar(require("./RenderStatus"), exports);
917
927
  __exportStar(require("./RenderType"), exports);
928
+ __exportStar(require("./ReportKnowledgeGapParams"), exports);
918
929
  __exportStar(require("./RequestPvcManualVerificationResponseModel"), exports);
919
930
  __exportStar(require("./RequiredConstraint"), exports);
920
931
  __exportStar(require("./RequiredConstraints"), exports);
@@ -1019,6 +1030,8 @@ __exportStar(require("./SpeakerTrack"), exports);
1019
1030
  __exportStar(require("./SpeakerUpdatedResponse"), exports);
1020
1031
  __exportStar(require("./SpeechEngineConfig"), exports);
1021
1032
  __exportStar(require("./SpeechEngineConfigRequestHeadersValue"), exports);
1033
+ __exportStar(require("./SpeechEngineResponse"), exports);
1034
+ __exportStar(require("./SpeechEngineSummaryResponse"), exports);
1022
1035
  __exportStar(require("./SpeechHistoryItemResponse"), exports);
1023
1036
  __exportStar(require("./SpeechHistoryItemResponseModelSource"), exports);
1024
1037
  __exportStar(require("./SpeechHistoryItemResponseModelVoiceCategory"), exports);
@@ -0,0 +1,23 @@
1
+ import type * as ElevenLabs from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { GetKnowledgeBaseFileResponseModel } from "../../../../../../../types/GetKnowledgeBaseFileResponseModel";
5
+ import { GetKnowledgeBaseFolderResponseModel } from "../../../../../../../types/GetKnowledgeBaseFolderResponseModel";
6
+ import { GetKnowledgeBaseTextResponseModel } from "../../../../../../../types/GetKnowledgeBaseTextResponseModel";
7
+ import { GetKnowledgeBaseUrlResponseModel } from "../../../../../../../types/GetKnowledgeBaseUrlResponseModel";
8
+ export declare const DocumentUpdateFileResponse: core.serialization.Schema<serializers.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.Raw, ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse>;
9
+ export declare namespace DocumentUpdateFileResponse {
10
+ type Raw = DocumentUpdateFileResponse.Url | DocumentUpdateFileResponse.File | DocumentUpdateFileResponse.Text | DocumentUpdateFileResponse.Folder;
11
+ interface Url extends GetKnowledgeBaseUrlResponseModel.Raw {
12
+ type: "url";
13
+ }
14
+ interface File extends GetKnowledgeBaseFileResponseModel.Raw {
15
+ type: "file";
16
+ }
17
+ interface Text extends GetKnowledgeBaseTextResponseModel.Raw {
18
+ type: "text";
19
+ }
20
+ interface Folder extends GetKnowledgeBaseFolderResponseModel.Raw {
21
+ type: "folder";
22
+ }
23
+ }