@elevenlabs/elevenlabs-js 2.41.1 → 2.42.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 (446) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +18 -0
  3. package/api/resources/conversationalAi/resources/tests/client/Client.js +59 -2
  4. package/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +12 -0
  5. package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
  6. package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.d.ts +73 -0
  7. package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +291 -0
  8. package/api/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
  10. package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +12 -0
  11. package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +10 -0
  12. package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.d.ts +10 -0
  13. package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +3 -0
  14. package/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +2 -0
  15. package/api/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
  17. package/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  18. package/api/resources/conversationalAi/resources/tests/resources/index.js +3 -1
  19. package/api/types/AgentConfigOverrideInput.d.ts +1 -1
  20. package/api/types/AgentConfigOverrideOutput.d.ts +1 -1
  21. package/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
  22. package/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
  23. package/api/types/AnalysisScope.d.ts +5 -0
  24. package/api/types/AnalysisScope.js +8 -0
  25. package/api/types/ClientEvent.d.ts +1 -0
  26. package/api/types/ClientEvent.js +1 -0
  27. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  28. package/api/types/ConversationTurnMetrics.d.ts +1 -0
  29. package/api/types/CreateAgentRuleParams.d.ts +3 -0
  30. package/api/types/CreateAgentRuleParams.js +3 -0
  31. package/api/types/CreateAgentTestFolderResponseModel.d.ts +4 -0
  32. package/api/types/CreateAgentTestFolderResponseModel.js +3 -0
  33. package/api/types/CreateClientInteractionParams.d.ts +3 -0
  34. package/api/types/CreateClientInteractionParams.js +3 -0
  35. package/api/types/CreateHolidayParams.d.ts +3 -0
  36. package/api/types/CreateHolidayParams.js +3 -0
  37. package/api/types/CreateRentalServiceParams.d.ts +3 -0
  38. package/api/types/CreateRentalServiceParams.js +3 -0
  39. package/api/types/DeleteAgentRuleParams.d.ts +3 -0
  40. package/api/types/DeleteAgentRuleParams.js +3 -0
  41. package/api/types/DeleteClientInteractionParams.d.ts +3 -0
  42. package/api/types/DeleteClientInteractionParams.js +3 -0
  43. package/api/types/DeleteHolidayParams.d.ts +3 -0
  44. package/api/types/DeleteHolidayParams.js +3 -0
  45. package/api/types/DeleteRentalServiceParams.d.ts +3 -0
  46. package/api/types/DeleteRentalServiceParams.js +3 -0
  47. package/api/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +1 -1
  48. package/api/types/EvaluationSettingsInput.js +3 -0
  49. package/api/types/EvaluationSettingsOutput.d.ts +9 -0
  50. package/api/types/EvaluationSettingsOutput.js +3 -0
  51. package/api/types/GetAgentTestFolderResponseModel.d.ts +9 -0
  52. package/api/types/GetAgentTestFolderResponseModel.js +3 -0
  53. package/api/types/GetAnalyticsSummaryParams.d.ts +6 -0
  54. package/api/types/GetAnalyticsSummaryParams.js +3 -0
  55. package/api/types/GetBookingPageSettingsParams.d.ts +3 -0
  56. package/api/types/GetBookingPageSettingsParams.js +3 -0
  57. package/api/types/GetBookingSlugStatusParams.d.ts +3 -0
  58. package/api/types/GetBookingSlugStatusParams.js +3 -0
  59. package/api/types/GetConversationResponseModel.d.ts +1 -0
  60. package/api/types/GetScheduleParams.d.ts +3 -0
  61. package/api/types/GetScheduleParams.js +3 -0
  62. package/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
  63. package/api/types/ListAgentRulesParams.d.ts +3 -0
  64. package/api/types/ListAgentRulesParams.js +3 -0
  65. package/api/types/ListClientInteractionsParams.d.ts +3 -0
  66. package/api/types/ListClientInteractionsParams.js +3 -0
  67. package/api/types/ListHolidaysParams.d.ts +3 -0
  68. package/api/types/ListHolidaysParams.js +3 -0
  69. package/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  70. package/api/types/PromptAgentApiModelOverrideConfig.d.ts +4 -0
  71. package/api/types/{PromptAgentApiModelOverride.d.ts → PromptAgentApiModelOverrideInput.d.ts} +5 -1
  72. package/api/types/PromptAgentApiModelOverrideInput.js +3 -0
  73. package/api/types/PromptAgentApiModelOverrideOutput.d.ts +13 -0
  74. package/api/types/PromptAgentApiModelOverrideOutput.js +3 -0
  75. package/api/types/PromptEvaluationCriteria.d.ts +3 -0
  76. package/api/types/ResponseFilter.d.ts +1 -1
  77. package/api/types/ResponseFilterMode.d.ts +1 -0
  78. package/api/types/ResponseFilterMode.js +1 -0
  79. package/api/types/ScopedAnalysisResult.d.ts +11 -0
  80. package/api/types/ScopedAnalysisResult.js +3 -0
  81. package/api/types/SetBookingSlugParams.d.ts +3 -0
  82. package/api/types/SetBookingSlugParams.js +3 -0
  83. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  84. package/api/types/ToDialogueSettingsResponseModel.d.ts +5 -0
  85. package/api/types/ToDialogueSettingsResponseModel.js +3 -0
  86. package/api/types/UpdateAgentRuleParams.d.ts +3 -0
  87. package/api/types/UpdateAgentRuleParams.js +3 -0
  88. package/api/types/UpdateBookingPageSettingsParams.d.ts +3 -0
  89. package/api/types/UpdateBookingPageSettingsParams.js +3 -0
  90. package/api/types/UpdateBusinessInfoParams.d.ts +3 -0
  91. package/api/types/UpdateBusinessInfoParams.js +3 -0
  92. package/api/types/UpdateCustomerFacingConfigParams.d.ts +3 -0
  93. package/api/types/UpdateCustomerFacingConfigParams.js +3 -0
  94. package/api/types/UpdateHolidayParams.d.ts +3 -0
  95. package/api/types/UpdateHolidayParams.js +3 -0
  96. package/api/types/UpdateRentalServiceParams.d.ts +3 -0
  97. package/api/types/UpdateRentalServiceParams.js +3 -0
  98. package/api/types/VisitedAgentRef.d.ts +7 -0
  99. package/api/types/VisitedAgentRef.js +3 -0
  100. package/api/types/VoiceResponseModelRecordingQuality.d.ts +2 -0
  101. package/api/types/VoiceResponseModelRecordingQuality.js +2 -0
  102. package/api/types/index.d.ts +32 -2
  103. package/api/types/index.js +32 -2
  104. package/dist/BaseClient.js +2 -2
  105. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +18 -0
  106. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +59 -2
  107. package/dist/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +12 -0
  108. package/dist/api/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +3 -0
  109. package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
  110. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.d.ts +73 -0
  111. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +291 -0
  112. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
  113. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
  114. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +12 -0
  115. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +3 -0
  116. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +10 -0
  117. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +3 -0
  118. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.d.ts +10 -0
  119. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.js +3 -0
  120. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +3 -0
  121. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +2 -0
  122. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
  123. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
  124. package/dist/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  125. package/dist/api/resources/conversationalAi/resources/tests/resources/index.js +3 -1
  126. package/dist/api/types/AgentConfigOverrideInput.d.ts +1 -1
  127. package/dist/api/types/AgentConfigOverrideOutput.d.ts +1 -1
  128. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
  129. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
  130. package/dist/api/types/AnalysisScope.d.ts +5 -0
  131. package/dist/api/types/AnalysisScope.js +8 -0
  132. package/dist/api/types/ClientEvent.d.ts +1 -0
  133. package/dist/api/types/ClientEvent.js +1 -0
  134. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  135. package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
  136. package/dist/api/types/CreateAgentRuleParams.d.ts +3 -0
  137. package/dist/api/types/CreateAgentRuleParams.js +3 -0
  138. package/dist/api/types/CreateAgentTestFolderResponseModel.d.ts +4 -0
  139. package/dist/api/types/CreateAgentTestFolderResponseModel.js +3 -0
  140. package/dist/api/types/CreateClientInteractionParams.d.ts +3 -0
  141. package/dist/api/types/CreateClientInteractionParams.js +3 -0
  142. package/dist/api/types/CreateHolidayParams.d.ts +3 -0
  143. package/dist/api/types/CreateHolidayParams.js +3 -0
  144. package/dist/api/types/CreateRentalServiceParams.d.ts +3 -0
  145. package/dist/api/types/CreateRentalServiceParams.js +3 -0
  146. package/dist/api/types/DeleteAgentRuleParams.d.ts +3 -0
  147. package/dist/api/types/DeleteAgentRuleParams.js +3 -0
  148. package/dist/api/types/DeleteClientInteractionParams.d.ts +3 -0
  149. package/dist/api/types/DeleteClientInteractionParams.js +3 -0
  150. package/dist/api/types/DeleteHolidayParams.d.ts +3 -0
  151. package/dist/api/types/DeleteHolidayParams.js +3 -0
  152. package/dist/api/types/DeleteRentalServiceParams.d.ts +3 -0
  153. package/dist/api/types/DeleteRentalServiceParams.js +3 -0
  154. package/dist/api/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +1 -1
  155. package/dist/api/types/EvaluationSettingsInput.js +3 -0
  156. package/dist/api/types/EvaluationSettingsOutput.d.ts +9 -0
  157. package/dist/api/types/EvaluationSettingsOutput.js +3 -0
  158. package/dist/api/types/GetAgentTestFolderResponseModel.d.ts +9 -0
  159. package/dist/api/types/GetAgentTestFolderResponseModel.js +3 -0
  160. package/dist/api/types/GetAnalyticsSummaryParams.d.ts +6 -0
  161. package/dist/api/types/GetAnalyticsSummaryParams.js +3 -0
  162. package/dist/api/types/GetBookingPageSettingsParams.d.ts +3 -0
  163. package/dist/api/types/GetBookingPageSettingsParams.js +3 -0
  164. package/dist/api/types/GetBookingSlugStatusParams.d.ts +3 -0
  165. package/dist/api/types/GetBookingSlugStatusParams.js +3 -0
  166. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  167. package/dist/api/types/GetScheduleParams.d.ts +3 -0
  168. package/dist/api/types/GetScheduleParams.js +3 -0
  169. package/dist/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
  170. package/dist/api/types/ListAgentRulesParams.d.ts +3 -0
  171. package/dist/api/types/ListAgentRulesParams.js +3 -0
  172. package/dist/api/types/ListClientInteractionsParams.d.ts +3 -0
  173. package/dist/api/types/ListClientInteractionsParams.js +3 -0
  174. package/dist/api/types/ListHolidaysParams.d.ts +3 -0
  175. package/dist/api/types/ListHolidaysParams.js +3 -0
  176. package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  177. package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +4 -0
  178. package/dist/api/types/{PromptAgentApiModelOverride.d.ts → PromptAgentApiModelOverrideInput.d.ts} +5 -1
  179. package/dist/api/types/PromptAgentApiModelOverrideInput.js +3 -0
  180. package/dist/api/types/PromptAgentApiModelOverrideOutput.d.ts +13 -0
  181. package/dist/api/types/PromptAgentApiModelOverrideOutput.js +3 -0
  182. package/dist/api/types/PromptEvaluationCriteria.d.ts +3 -0
  183. package/dist/api/types/ResponseFilter.d.ts +1 -1
  184. package/dist/api/types/ResponseFilterMode.d.ts +1 -0
  185. package/dist/api/types/ResponseFilterMode.js +1 -0
  186. package/dist/api/types/ScopedAnalysisResult.d.ts +11 -0
  187. package/dist/api/types/ScopedAnalysisResult.js +3 -0
  188. package/dist/api/types/SetBookingSlugParams.d.ts +3 -0
  189. package/dist/api/types/SetBookingSlugParams.js +3 -0
  190. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  191. package/dist/api/types/ToDialogueSettingsResponseModel.d.ts +5 -0
  192. package/dist/api/types/ToDialogueSettingsResponseModel.js +3 -0
  193. package/dist/api/types/UpdateAgentRuleParams.d.ts +3 -0
  194. package/dist/api/types/UpdateAgentRuleParams.js +3 -0
  195. package/dist/api/types/UpdateBookingPageSettingsParams.d.ts +3 -0
  196. package/dist/api/types/UpdateBookingPageSettingsParams.js +3 -0
  197. package/dist/api/types/UpdateBusinessInfoParams.d.ts +3 -0
  198. package/dist/api/types/UpdateBusinessInfoParams.js +3 -0
  199. package/dist/api/types/UpdateCustomerFacingConfigParams.d.ts +3 -0
  200. package/dist/api/types/UpdateCustomerFacingConfigParams.js +3 -0
  201. package/dist/api/types/UpdateHolidayParams.d.ts +3 -0
  202. package/dist/api/types/UpdateHolidayParams.js +3 -0
  203. package/dist/api/types/UpdateRentalServiceParams.d.ts +3 -0
  204. package/dist/api/types/UpdateRentalServiceParams.js +3 -0
  205. package/dist/api/types/VisitedAgentRef.d.ts +7 -0
  206. package/dist/api/types/VisitedAgentRef.js +3 -0
  207. package/dist/api/types/VoiceResponseModelRecordingQuality.d.ts +2 -0
  208. package/dist/api/types/VoiceResponseModelRecordingQuality.js +2 -0
  209. package/dist/api/types/index.d.ts +32 -2
  210. package/dist/api/types/index.js +32 -2
  211. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +10 -0
  212. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +42 -0
  213. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
  214. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +3 -1
  215. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
  216. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
  217. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +10 -0
  218. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +42 -0
  219. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +9 -0
  220. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +41 -0
  221. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +2 -0
  222. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +7 -0
  223. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
  224. package/dist/serialization/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
  225. package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  226. package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.js +3 -1
  227. package/dist/serialization/types/AgentConfigOverrideInput.d.ts +2 -2
  228. package/dist/serialization/types/AgentConfigOverrideInput.js +2 -2
  229. package/dist/serialization/types/AgentConfigOverrideOutput.d.ts +2 -2
  230. package/dist/serialization/types/AgentConfigOverrideOutput.js +2 -2
  231. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +4 -2
  232. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +4 -2
  233. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +4 -2
  234. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +4 -2
  235. package/dist/serialization/types/AnalysisScope.d.ts +7 -0
  236. package/dist/serialization/types/AnalysisScope.js +39 -0
  237. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  238. package/dist/serialization/types/ClientEvent.js +1 -0
  239. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  240. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  241. package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  242. package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
  243. package/dist/serialization/types/CreateAgentRuleParams.d.ts +9 -0
  244. package/dist/serialization/types/{PromptAgentApiModelOverride.js → CreateAgentRuleParams.js} +3 -6
  245. package/dist/serialization/types/CreateAgentTestFolderResponseModel.d.ts +10 -0
  246. package/{serialization/types/PromptAgentApiModelOverride.js → dist/serialization/types/CreateAgentTestFolderResponseModel.js} +4 -6
  247. package/dist/serialization/types/CreateClientInteractionParams.d.ts +9 -0
  248. package/dist/serialization/types/CreateClientInteractionParams.js +41 -0
  249. package/dist/serialization/types/CreateHolidayParams.d.ts +9 -0
  250. package/dist/serialization/types/CreateHolidayParams.js +41 -0
  251. package/dist/serialization/types/CreateRentalServiceParams.d.ts +9 -0
  252. package/dist/serialization/types/CreateRentalServiceParams.js +41 -0
  253. package/dist/serialization/types/DeleteAgentRuleParams.d.ts +9 -0
  254. package/dist/serialization/types/DeleteAgentRuleParams.js +41 -0
  255. package/dist/serialization/types/DeleteClientInteractionParams.d.ts +9 -0
  256. package/dist/serialization/types/DeleteClientInteractionParams.js +41 -0
  257. package/dist/serialization/types/DeleteHolidayParams.d.ts +9 -0
  258. package/dist/serialization/types/DeleteHolidayParams.js +41 -0
  259. package/dist/serialization/types/DeleteRentalServiceParams.d.ts +9 -0
  260. package/dist/serialization/types/DeleteRentalServiceParams.js +41 -0
  261. package/dist/serialization/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +2 -2
  262. package/dist/serialization/types/{EvaluationSettings.js → EvaluationSettingsInput.js} +2 -2
  263. package/dist/serialization/types/EvaluationSettingsOutput.d.ts +10 -0
  264. package/dist/serialization/types/EvaluationSettingsOutput.js +42 -0
  265. package/dist/serialization/types/GetAgentTestFolderResponseModel.d.ts +13 -0
  266. package/dist/serialization/types/GetAgentTestFolderResponseModel.js +45 -0
  267. package/dist/serialization/types/GetAnalyticsSummaryParams.d.ts +9 -0
  268. package/dist/serialization/types/GetAnalyticsSummaryParams.js +41 -0
  269. package/dist/serialization/types/GetBookingPageSettingsParams.d.ts +9 -0
  270. package/dist/serialization/types/GetBookingPageSettingsParams.js +41 -0
  271. package/dist/serialization/types/GetBookingSlugStatusParams.d.ts +9 -0
  272. package/dist/serialization/types/GetBookingSlugStatusParams.js +41 -0
  273. package/dist/serialization/types/GetConversationResponseModel.d.ts +2 -0
  274. package/dist/serialization/types/GetConversationResponseModel.js +2 -0
  275. package/dist/serialization/types/GetScheduleParams.d.ts +9 -0
  276. package/dist/serialization/types/GetScheduleParams.js +41 -0
  277. package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
  278. package/dist/serialization/types/GetWhatsAppAccountResponse.js +1 -0
  279. package/dist/serialization/types/ListAgentRulesParams.d.ts +9 -0
  280. package/dist/serialization/types/ListAgentRulesParams.js +41 -0
  281. package/dist/serialization/types/ListClientInteractionsParams.d.ts +9 -0
  282. package/dist/serialization/types/ListClientInteractionsParams.js +41 -0
  283. package/dist/serialization/types/ListHolidaysParams.d.ts +9 -0
  284. package/dist/serialization/types/ListHolidaysParams.js +41 -0
  285. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  286. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  287. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  288. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +2 -0
  289. package/dist/serialization/types/PromptAgentApiModelOverrideInput.d.ts +15 -0
  290. package/dist/serialization/types/PromptAgentApiModelOverrideInput.js +47 -0
  291. package/dist/serialization/types/PromptAgentApiModelOverrideOutput.d.ts +15 -0
  292. package/dist/serialization/types/PromptAgentApiModelOverrideOutput.js +47 -0
  293. package/dist/serialization/types/PromptEvaluationCriteria.d.ts +2 -0
  294. package/dist/serialization/types/PromptEvaluationCriteria.js +2 -0
  295. package/dist/serialization/types/ResponseFilterMode.d.ts +1 -1
  296. package/dist/serialization/types/ResponseFilterMode.js +1 -1
  297. package/dist/serialization/types/ScopedAnalysisResult.d.ts +18 -0
  298. package/dist/serialization/types/ScopedAnalysisResult.js +52 -0
  299. package/dist/serialization/types/SetBookingSlugParams.d.ts +9 -0
  300. package/dist/serialization/types/SetBookingSlugParams.js +41 -0
  301. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  302. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  303. package/dist/serialization/types/ToDialogueSettingsResponseModel.d.ts +10 -0
  304. package/dist/serialization/types/ToDialogueSettingsResponseModel.js +42 -0
  305. package/dist/serialization/types/UpdateAgentRuleParams.d.ts +9 -0
  306. package/dist/serialization/types/UpdateAgentRuleParams.js +41 -0
  307. package/dist/serialization/types/UpdateBookingPageSettingsParams.d.ts +9 -0
  308. package/dist/serialization/types/UpdateBookingPageSettingsParams.js +41 -0
  309. package/dist/serialization/types/UpdateBusinessInfoParams.d.ts +9 -0
  310. package/dist/serialization/types/UpdateBusinessInfoParams.js +41 -0
  311. package/dist/serialization/types/UpdateCustomerFacingConfigParams.d.ts +9 -0
  312. package/dist/serialization/types/UpdateCustomerFacingConfigParams.js +41 -0
  313. package/dist/serialization/types/UpdateHolidayParams.d.ts +9 -0
  314. package/dist/serialization/types/UpdateHolidayParams.js +41 -0
  315. package/dist/serialization/types/UpdateRentalServiceParams.d.ts +9 -0
  316. package/dist/serialization/types/UpdateRentalServiceParams.js +41 -0
  317. package/dist/serialization/types/VisitedAgentRef.d.ts +10 -0
  318. package/dist/serialization/types/VisitedAgentRef.js +42 -0
  319. package/dist/serialization/types/VoiceResponseModelRecordingQuality.d.ts +1 -1
  320. package/dist/serialization/types/VoiceResponseModelRecordingQuality.js +1 -1
  321. package/dist/serialization/types/index.d.ts +32 -2
  322. package/dist/serialization/types/index.js +32 -2
  323. package/dist/version.d.ts +1 -1
  324. package/dist/version.js +1 -1
  325. package/package.json +1 -1
  326. package/reference.md +340 -0
  327. package/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.d.ts +10 -0
  328. package/serialization/resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js +42 -0
  329. package/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +1 -0
  330. package/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +3 -1
  331. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.d.ts +1 -0
  332. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/index.js +17 -0
  333. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.d.ts +10 -0
  334. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js +42 -0
  335. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.d.ts +9 -0
  336. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js +41 -0
  337. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.d.ts +2 -0
  338. package/serialization/resources/conversationalAi/resources/tests/resources/folders/client/requests/index.js +7 -0
  339. package/serialization/resources/conversationalAi/resources/tests/resources/folders/index.d.ts +1 -0
  340. package/serialization/resources/conversationalAi/resources/tests/resources/folders/index.js +17 -0
  341. package/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  342. package/serialization/resources/conversationalAi/resources/tests/resources/index.js +3 -1
  343. package/serialization/types/AgentConfigOverrideInput.d.ts +2 -2
  344. package/serialization/types/AgentConfigOverrideInput.js +2 -2
  345. package/serialization/types/AgentConfigOverrideOutput.d.ts +2 -2
  346. package/serialization/types/AgentConfigOverrideOutput.js +2 -2
  347. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +4 -2
  348. package/serialization/types/AgentPlatformSettingsRequestModel.js +4 -2
  349. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +4 -2
  350. package/serialization/types/AgentPlatformSettingsResponseModel.js +4 -2
  351. package/serialization/types/AnalysisScope.d.ts +7 -0
  352. package/serialization/types/AnalysisScope.js +39 -0
  353. package/serialization/types/ClientEvent.d.ts +1 -1
  354. package/serialization/types/ClientEvent.js +1 -0
  355. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  356. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  357. package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  358. package/serialization/types/ConversationTurnMetrics.js +1 -0
  359. package/serialization/types/CreateAgentRuleParams.d.ts +9 -0
  360. package/serialization/types/CreateAgentRuleParams.js +41 -0
  361. package/serialization/types/CreateAgentTestFolderResponseModel.d.ts +10 -0
  362. package/serialization/types/CreateAgentTestFolderResponseModel.js +42 -0
  363. package/serialization/types/CreateClientInteractionParams.d.ts +9 -0
  364. package/serialization/types/CreateClientInteractionParams.js +41 -0
  365. package/serialization/types/CreateHolidayParams.d.ts +9 -0
  366. package/serialization/types/CreateHolidayParams.js +41 -0
  367. package/serialization/types/CreateRentalServiceParams.d.ts +9 -0
  368. package/serialization/types/CreateRentalServiceParams.js +41 -0
  369. package/serialization/types/DeleteAgentRuleParams.d.ts +9 -0
  370. package/serialization/types/DeleteAgentRuleParams.js +41 -0
  371. package/serialization/types/DeleteClientInteractionParams.d.ts +9 -0
  372. package/serialization/types/DeleteClientInteractionParams.js +41 -0
  373. package/serialization/types/DeleteHolidayParams.d.ts +9 -0
  374. package/serialization/types/DeleteHolidayParams.js +41 -0
  375. package/serialization/types/DeleteRentalServiceParams.d.ts +9 -0
  376. package/serialization/types/DeleteRentalServiceParams.js +41 -0
  377. package/serialization/types/{EvaluationSettings.d.ts → EvaluationSettingsInput.d.ts} +2 -2
  378. package/serialization/types/{EvaluationSettings.js → EvaluationSettingsInput.js} +2 -2
  379. package/serialization/types/EvaluationSettingsOutput.d.ts +10 -0
  380. package/serialization/types/EvaluationSettingsOutput.js +42 -0
  381. package/serialization/types/GetAgentTestFolderResponseModel.d.ts +13 -0
  382. package/serialization/types/GetAgentTestFolderResponseModel.js +45 -0
  383. package/serialization/types/GetAnalyticsSummaryParams.d.ts +9 -0
  384. package/serialization/types/GetAnalyticsSummaryParams.js +41 -0
  385. package/serialization/types/GetBookingPageSettingsParams.d.ts +9 -0
  386. package/serialization/types/GetBookingPageSettingsParams.js +41 -0
  387. package/serialization/types/GetBookingSlugStatusParams.d.ts +9 -0
  388. package/serialization/types/GetBookingSlugStatusParams.js +41 -0
  389. package/serialization/types/GetConversationResponseModel.d.ts +2 -0
  390. package/serialization/types/GetConversationResponseModel.js +2 -0
  391. package/serialization/types/GetScheduleParams.d.ts +9 -0
  392. package/serialization/types/GetScheduleParams.js +41 -0
  393. package/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
  394. package/serialization/types/GetWhatsAppAccountResponse.js +1 -0
  395. package/serialization/types/ListAgentRulesParams.d.ts +9 -0
  396. package/serialization/types/ListAgentRulesParams.js +41 -0
  397. package/serialization/types/ListClientInteractionsParams.d.ts +9 -0
  398. package/serialization/types/ListClientInteractionsParams.js +41 -0
  399. package/serialization/types/ListHolidaysParams.d.ts +9 -0
  400. package/serialization/types/ListHolidaysParams.js +41 -0
  401. package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  402. package/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  403. package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  404. package/serialization/types/PromptAgentApiModelOverrideConfig.js +2 -0
  405. package/serialization/types/PromptAgentApiModelOverrideInput.d.ts +15 -0
  406. package/serialization/types/PromptAgentApiModelOverrideInput.js +47 -0
  407. package/serialization/types/PromptAgentApiModelOverrideOutput.d.ts +15 -0
  408. package/serialization/types/PromptAgentApiModelOverrideOutput.js +47 -0
  409. package/serialization/types/PromptEvaluationCriteria.d.ts +2 -0
  410. package/serialization/types/PromptEvaluationCriteria.js +2 -0
  411. package/serialization/types/ResponseFilterMode.d.ts +1 -1
  412. package/serialization/types/ResponseFilterMode.js +1 -1
  413. package/serialization/types/ScopedAnalysisResult.d.ts +18 -0
  414. package/serialization/types/ScopedAnalysisResult.js +52 -0
  415. package/serialization/types/SetBookingSlugParams.d.ts +9 -0
  416. package/serialization/types/SetBookingSlugParams.js +41 -0
  417. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  418. package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  419. package/serialization/types/ToDialogueSettingsResponseModel.d.ts +10 -0
  420. package/serialization/types/ToDialogueSettingsResponseModel.js +42 -0
  421. package/serialization/types/UpdateAgentRuleParams.d.ts +9 -0
  422. package/serialization/types/UpdateAgentRuleParams.js +41 -0
  423. package/serialization/types/UpdateBookingPageSettingsParams.d.ts +9 -0
  424. package/serialization/types/UpdateBookingPageSettingsParams.js +41 -0
  425. package/serialization/types/UpdateBusinessInfoParams.d.ts +9 -0
  426. package/serialization/types/UpdateBusinessInfoParams.js +41 -0
  427. package/serialization/types/UpdateCustomerFacingConfigParams.d.ts +9 -0
  428. package/serialization/types/UpdateCustomerFacingConfigParams.js +41 -0
  429. package/serialization/types/UpdateHolidayParams.d.ts +9 -0
  430. package/serialization/types/UpdateHolidayParams.js +41 -0
  431. package/serialization/types/UpdateRentalServiceParams.d.ts +9 -0
  432. package/serialization/types/UpdateRentalServiceParams.js +41 -0
  433. package/serialization/types/VisitedAgentRef.d.ts +10 -0
  434. package/serialization/types/VisitedAgentRef.js +42 -0
  435. package/serialization/types/VoiceResponseModelRecordingQuality.d.ts +1 -1
  436. package/serialization/types/VoiceResponseModelRecordingQuality.js +1 -1
  437. package/serialization/types/index.d.ts +32 -2
  438. package/serialization/types/index.js +32 -2
  439. package/version.d.ts +1 -1
  440. package/version.js +1 -1
  441. package/dist/serialization/types/PromptAgentApiModelOverride.d.ts +0 -12
  442. package/serialization/types/PromptAgentApiModelOverride.d.ts +0 -12
  443. /package/api/{types/EvaluationSettings.js → resources/conversationalAi/resources/tests/client/requests/BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.js} +0 -0
  444. /package/api/{types/PromptAgentApiModelOverride.js → resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.js} +0 -0
  445. /package/{dist/api/types/EvaluationSettings.js → api/resources/conversationalAi/resources/tests/resources/folders/client/requests/BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.js} +0 -0
  446. /package/{dist/api/types/PromptAgentApiModelOverride.js → api/resources/conversationalAi/resources/tests/resources/folders/client/requests/FoldersDeleteRequest.js} +0 -0
@@ -1,11 +1,13 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface AgentPlatformSettingsRequestModel {
3
3
  /** Settings for evaluation */
4
- evaluation?: ElevenLabs.EvaluationSettings;
4
+ evaluation?: ElevenLabs.EvaluationSettingsInput;
5
5
  /** Configuration for the widget */
6
6
  widget?: ElevenLabs.WidgetConfig;
7
7
  /** Data collection settings */
8
8
  dataCollection?: Record<string, ElevenLabs.LiteralJsonSchemaProperty>;
9
+ /** Scope per data collection item ID. Missing keys default to conversation scope. */
10
+ dataCollectionScopes?: Record<string, ElevenLabs.AnalysisScope>;
9
11
  /** Additional overrides for the agent during conversation initiation */
10
12
  overrides?: ElevenLabs.ConversationInitiationClientDataConfigInput;
11
13
  /** Workspace overrides for the agent */
@@ -1,11 +1,13 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface AgentPlatformSettingsResponseModel {
3
3
  /** Settings for evaluation */
4
- evaluation?: ElevenLabs.EvaluationSettings;
4
+ evaluation?: ElevenLabs.EvaluationSettingsOutput;
5
5
  /** Configuration for the widget */
6
6
  widget?: ElevenLabs.WidgetConfig;
7
7
  /** Data collection settings */
8
8
  dataCollection?: Record<string, ElevenLabs.LiteralJsonSchemaProperty>;
9
+ /** Scope per data collection item ID. Missing keys default to conversation scope. */
10
+ dataCollectionScopes?: Record<string, ElevenLabs.AnalysisScope>;
9
11
  /** Additional overrides for the agent during conversation initiation */
10
12
  overrides?: ElevenLabs.ConversationInitiationClientDataConfigOutput;
11
13
  /** Workspace overrides for the agent */
@@ -0,0 +1,5 @@
1
+ export declare const AnalysisScope: {
2
+ readonly Conversation: "conversation";
3
+ readonly Agent: "agent";
4
+ };
5
+ export type AnalysisScope = (typeof AnalysisScope)[keyof typeof AnalysisScope];
@@ -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.AnalysisScope = void 0;
5
+ exports.AnalysisScope = {
6
+ Conversation: "conversation",
7
+ Agent: "agent",
8
+ };
@@ -18,6 +18,7 @@ export declare const ClientEvent: {
18
18
  readonly AgentChatResponsePart: "agent_chat_response_part";
19
19
  readonly ClientError: "client_error";
20
20
  readonly GuardrailTriggered: "guardrail_triggered";
21
+ readonly DtmfRequest: "dtmf_request";
21
22
  readonly InternalTurnProbability: "internal_turn_probability";
22
23
  readonly InternalTentativeAgentResponse: "internal_tentative_agent_response";
23
24
  };
@@ -22,6 +22,7 @@ exports.ClientEvent = {
22
22
  AgentChatResponsePart: "agent_chat_response_part",
23
23
  ClientError: "client_error",
24
24
  GuardrailTriggered: "guardrail_triggered",
25
+ DtmfRequest: "dtmf_request",
25
26
  InternalTurnProbability: "internal_turn_probability",
26
27
  InternalTentativeAgentResponse: "internal_tentative_agent_response",
27
28
  };
@@ -7,4 +7,5 @@ export interface ConversationHistoryAnalysisCommonModel {
7
7
  callSuccessful: ElevenLabs.EvaluationSuccessResult;
8
8
  transcriptSummary: string;
9
9
  callSummaryTitle?: string;
10
+ scoped?: ElevenLabs.ScopedAnalysisResult[];
10
11
  }
@@ -3,4 +3,5 @@ export interface ConversationTurnMetrics {
3
3
  metrics?: Record<string, ElevenLabs.MetricRecord>;
4
4
  convaiAsrProvider?: string;
5
5
  convaiTtsModel?: string;
6
+ convaiTtsCascade?: string;
6
7
  }
@@ -0,0 +1,3 @@
1
+ export interface CreateAgentRuleParams {
2
+ smbToolType?: "create_agent_rule";
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,4 @@
1
+ export interface CreateAgentTestFolderResponseModel {
2
+ id: string;
3
+ name: 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 });
@@ -0,0 +1,3 @@
1
+ export interface CreateClientInteractionParams {
2
+ smbToolType?: "create_client_interaction";
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,3 @@
1
+ export interface CreateHolidayParams {
2
+ smbToolType?: "create_holiday";
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,3 @@
1
+ export interface CreateRentalServiceParams {
2
+ smbToolType?: "create_rental_service";
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,3 @@
1
+ export interface DeleteAgentRuleParams {
2
+ smbToolType?: "delete_agent_rule";
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,3 @@
1
+ export interface DeleteClientInteractionParams {
2
+ smbToolType?: "delete_client_interaction";
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,3 @@
1
+ export interface DeleteHolidayParams {
2
+ smbToolType?: "delete_holiday";
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,3 @@
1
+ export interface DeleteRentalServiceParams {
2
+ smbToolType?: "delete_rental_service";
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 });
@@ -3,7 +3,7 @@ import type * as ElevenLabs from "../index";
3
3
  * Settings to evaluate an agent's performance.
4
4
  * Agents are evaluated against a set of criteria, with success being defined as meeting some combination of those criteria.
5
5
  */
6
- export interface EvaluationSettings {
6
+ export interface EvaluationSettingsInput {
7
7
  /** Individual criteria that the agent should be evaluated against */
8
8
  criteria?: ElevenLabs.PromptEvaluationCriteria[];
9
9
  }
@@ -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,9 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Settings to evaluate an agent's performance.
4
+ * Agents are evaluated against a set of criteria, with success being defined as meeting some combination of those criteria.
5
+ */
6
+ export interface EvaluationSettingsOutput {
7
+ /** Individual criteria that the agent should be evaluated against */
8
+ criteria?: ElevenLabs.PromptEvaluationCriteria[];
9
+ }
@@ -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,9 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface GetAgentTestFolderResponseModel {
3
+ id: string;
4
+ name: string;
5
+ /** The path from the root folder to the current folder. */
6
+ folderPath?: ElevenLabs.AgentTestFolderPathSegmentResponseModel[];
7
+ /** The number of direct children (tests and subfolders) in this folder */
8
+ childrenCount?: number;
9
+ }
@@ -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,6 @@
1
+ /**
2
+ * Get a summary of key business analytics for a time period.
3
+ */
4
+ export interface GetAnalyticsSummaryParams {
5
+ smbToolType?: "get_analytics_summary";
6
+ }
@@ -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 GetBookingPageSettingsParams {
2
+ smbToolType?: "get_booking_page_settings";
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,3 @@
1
+ export interface GetBookingSlugStatusParams {
2
+ smbToolType?: "get_booking_slug_status";
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 });
@@ -9,6 +9,7 @@ export interface GetConversationResponseModel {
9
9
  versionId?: string;
10
10
  metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
11
11
  analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
12
+ visitedAgents?: ElevenLabs.VisitedAgentRef[];
12
13
  conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestOutput;
13
14
  environment?: string;
14
15
  conversationId: string;
@@ -0,0 +1,3 @@
1
+ export interface GetScheduleParams {
2
+ smbToolType?: "get_schedule";
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 });
@@ -8,4 +8,5 @@ export interface GetWhatsAppAccountResponse {
8
8
  enableMessaging?: boolean;
9
9
  enableAudioMessageResponse?: boolean;
10
10
  assignedAgentName?: string;
11
+ isTokenExpired?: boolean;
11
12
  }
@@ -0,0 +1,3 @@
1
+ export interface ListAgentRulesParams {
2
+ smbToolType?: "list_agent_rules";
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,3 @@
1
+ export interface ListClientInteractionsParams {
2
+ smbToolType?: "list_client_interactions";
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,3 @@
1
+ export interface ListHolidaysParams {
2
+ smbToolType?: "list_holidays";
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 });
@@ -7,4 +7,6 @@ export interface MultichannelSpeechToTextResponseModel {
7
7
  transcripts: ElevenLabs.SpeechToTextChunkResponseModel[];
8
8
  /** The transcription ID of the response. */
9
9
  transcriptionId?: string;
10
+ /** The duration of the audio that was transcribed across all channels in seconds. */
11
+ audioDurationSecs?: number;
10
12
  }
@@ -3,6 +3,10 @@ export interface PromptAgentApiModelOverrideConfig {
3
3
  prompt?: boolean;
4
4
  /** Whether to allow overriding the llm field. */
5
5
  llm?: boolean;
6
+ /** Whether to allow overriding the tool_ids field. */
7
+ toolIds?: boolean;
6
8
  /** Whether to allow overriding the native_mcp_server_ids field. */
7
9
  nativeMcpServerIds?: boolean;
10
+ /** Whether to allow overriding the knowledge_base field. */
11
+ knowledgeBase?: boolean;
8
12
  }
@@ -1,9 +1,13 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export interface PromptAgentApiModelOverride {
2
+ export interface PromptAgentApiModelOverrideInput {
3
3
  /** The prompt for the agent */
4
4
  prompt?: string;
5
5
  /** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
6
6
  llm?: ElevenLabs.Llm;
7
+ /** A list of IDs of tools used by the agent */
8
+ toolIds?: string[];
7
9
  /** A list of Native MCP server ids to be used by the agent */
8
10
  nativeMcpServerIds?: string[];
11
+ /** A list of knowledge bases to be used by the agent */
12
+ knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
9
13
  }
@@ -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,13 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface PromptAgentApiModelOverrideOutput {
3
+ /** The prompt for the agent */
4
+ prompt?: string;
5
+ /** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
6
+ llm?: ElevenLabs.Llm;
7
+ /** A list of IDs of tools used by the agent */
8
+ toolIds?: string[];
9
+ /** A list of Native MCP server ids to be used by the agent */
10
+ nativeMcpServerIds?: string[];
11
+ /** A list of knowledge bases to be used by the agent */
12
+ knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
13
+ }
@@ -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 });
@@ -1,3 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
1
2
  /**
2
3
  * An evaluation using the transcript and a prompt for a yes/no achieved answer
3
4
  */
@@ -11,4 +12,6 @@ export interface PromptEvaluationCriteria {
11
12
  conversationGoalPrompt: string;
12
13
  /** When evaluating the prompt, should the agent's knowledge base be used. */
13
14
  useKnowledgeBase?: boolean;
15
+ /** The scope of transcript context used when evaluating this criterion. 'conversation' uses the full transcript; 'agent' uses only the portion where the defining agent was active. */
16
+ scope?: ElevenLabs.AnalysisScope;
14
17
  }
@@ -3,7 +3,7 @@ import type * as ElevenLabs from "../index";
3
3
  * Configuration for filtering tool responses before they are visible to the agent.
4
4
  */
5
5
  export interface ResponseFilter {
6
- /** Controls how tool responses are filtered. 'all' returns entire response, 'allow' returns only specified paths. */
6
+ /** Controls how tool responses are filtered. 'all' returns entire response, 'allow' returns only specified paths, 'hide_all' hides the entire response. */
7
7
  mode?: ElevenLabs.ResponseFilterMode;
8
8
  /** Dot notation paths to include when mode is 'allow' (e.g., ['ticket.id', 'ticket.status']). */
9
9
  filters?: string[];
@@ -2,5 +2,6 @@
2
2
  export declare const ResponseFilterMode: {
3
3
  readonly All: "all";
4
4
  readonly Allow: "allow";
5
+ readonly HideAll: "hide_all";
5
6
  };
6
7
  export type ResponseFilterMode = (typeof ResponseFilterMode)[keyof typeof ResponseFilterMode];
@@ -6,4 +6,5 @@ exports.ResponseFilterMode = void 0;
6
6
  exports.ResponseFilterMode = {
7
7
  All: "all",
8
8
  Allow: "allow",
9
+ HideAll: "hide_all",
9
10
  };
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ScopedAnalysisResult {
3
+ /** The scope of the analysis. 'conversation' uses the full transcript; 'agent' uses only the portion where the defining agent was active. */
4
+ scope: ElevenLabs.AnalysisScope;
5
+ sourceAgentId: string;
6
+ /** Branch of the agent for this scoped block; disambiguates repeated agent_id. */
7
+ sourceBranchId?: string;
8
+ evaluationCriteriaResults?: Record<string, ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel>;
9
+ dataCollectionResults?: Record<string, ElevenLabs.DataCollectionResultCommonModel>;
10
+ successful: ElevenLabs.EvaluationSuccessResult;
11
+ }
@@ -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 SetBookingSlugParams {
2
+ smbToolType?: "set_booking_slug";
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 });
@@ -19,4 +19,6 @@ export interface SpeechToTextChunkResponseModel {
19
19
  transcriptionId?: string;
20
20
  /** List of detected entities with their text, type, and character positions in the transcript. */
21
21
  entities?: ElevenLabs.DetectedEntity[];
22
+ /** The duration of the audio that was transcribed in seconds. */
23
+ audioDurationSecs?: number;
22
24
  }
@@ -0,0 +1,5 @@
1
+ export interface ToDialogueSettingsResponseModel {
2
+ /** Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion. */
3
+ stability?: number;
4
+ speed?: number;
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,3 @@
1
+ export interface UpdateAgentRuleParams {
2
+ smbToolType?: "update_agent_rule";
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,3 @@
1
+ export interface UpdateBookingPageSettingsParams {
2
+ smbToolType?: "update_booking_page_settings";
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,3 @@
1
+ export interface UpdateBusinessInfoParams {
2
+ smbToolType?: "update_business_info";
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,3 @@
1
+ export interface UpdateCustomerFacingConfigParams {
2
+ smbToolType?: "update_customer_facing_config";
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,3 @@
1
+ export interface UpdateHolidayParams {
2
+ smbToolType?: "update_holiday";
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,3 @@
1
+ export interface UpdateRentalServiceParams {
2
+ smbToolType?: "update_rental_service";
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,7 @@
1
+ /**
2
+ * An agent (and optional branch) that participated in the call, in first-seen transcript order.
3
+ */
4
+ export interface VisitedAgentRef {
5
+ agentId: string;
6
+ branchId?: string;
7
+ }
@@ -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 });
@@ -1,6 +1,8 @@
1
1
  export declare const VoiceResponseModelRecordingQuality: {
2
2
  readonly Studio: "studio";
3
+ readonly Good: "good";
3
4
  readonly Ok: "ok";
5
+ readonly Poor: "poor";
4
6
  readonly Bad: "bad";
5
7
  };
6
8
  export type VoiceResponseModelRecordingQuality = (typeof VoiceResponseModelRecordingQuality)[keyof typeof VoiceResponseModelRecordingQuality];
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.VoiceResponseModelRecordingQuality = void 0;
5
5
  exports.VoiceResponseModelRecordingQuality = {
6
6
  Studio: "studio",
7
+ Good: "good",
7
8
  Ok: "ok",
9
+ Poor: "poor",
8
10
  Bad: "bad",
9
11
  };