@elevenlabs/elevenlabs-js 2.33.0 → 2.34.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 (306) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +8 -0
  3. package/Client.js +37 -0
  4. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  5. package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  6. package/api/resources/conversationalAi/resources/agents/index.js +1 -0
  7. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
  8. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  9. package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  10. package/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
  11. package/api/resources/conversationalAi/resources/index.d.ts +1 -0
  12. package/api/resources/conversationalAi/resources/index.js +1 -0
  13. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  14. package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  15. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  16. package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  17. package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  18. package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  19. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  20. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  21. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  22. package/api/resources/textToDialogue/client/Client.d.ts +1 -1
  23. package/api/resources/textToDialogue/client/Client.js +3 -7
  24. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  25. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  26. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  27. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  28. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  29. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  30. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  31. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  32. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  33. package/api/resources/textToDialogue/types/index.js +2 -0
  34. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  35. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  36. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  37. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  38. package/api/types/AlignmentGuardrail.d.ts +3 -0
  39. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  40. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  41. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  42. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  43. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  44. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  45. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  46. package/api/types/ConversationTurnMetrics.d.ts +1 -0
  47. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  48. package/api/types/GetUnitTestResponseModel.d.ts +2 -0
  49. package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  50. package/api/types/GuardrailsV1Input.d.ts +1 -0
  51. package/api/types/GuardrailsV1Output.d.ts +1 -0
  52. package/api/types/InvoiceResponse.d.ts +1 -1
  53. package/api/types/NonStreamingOutputFormats.d.ts +10 -0
  54. package/api/types/NonStreamingOutputFormats.js +13 -0
  55. package/api/types/PermissionType.d.ts +6 -0
  56. package/api/types/PermissionType.js +6 -0
  57. package/api/types/ProcedureDraftRef.d.ts +4 -0
  58. package/api/types/ProcedureVersionRef.d.ts +6 -0
  59. package/api/types/ProcedureVersionRef.js +3 -0
  60. package/api/types/ResponseFilterMode.d.ts +6 -0
  61. package/api/types/ResponseFilterMode.js +9 -0
  62. package/api/types/SongMetadata.d.ts +0 -4
  63. package/api/types/TurnConfig.d.ts +2 -0
  64. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  65. package/api/types/UnitTestCommonModel.d.ts +2 -0
  66. package/api/types/User.d.ts +2 -0
  67. package/api/types/index.d.ts +5 -1
  68. package/api/types/index.js +5 -1
  69. package/dist/BaseClient.js +2 -2
  70. package/dist/Client.d.ts +8 -0
  71. package/dist/Client.js +37 -0
  72. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  73. package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  74. package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
  75. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
  76. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  77. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
  78. package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  79. package/dist/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
  80. package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
  81. package/dist/api/resources/conversationalAi/resources/index.js +1 -0
  82. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  83. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  84. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  85. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
  86. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  88. package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  89. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  90. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  91. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  92. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
  93. package/dist/api/resources/textToDialogue/client/Client.js +3 -7
  94. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  95. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  96. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  97. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  98. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  99. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  100. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  101. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  102. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  103. package/dist/api/resources/textToDialogue/types/index.js +2 -0
  104. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  105. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  106. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  107. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  108. package/dist/api/types/AlignmentGuardrail.d.ts +3 -0
  109. package/dist/api/types/AlignmentGuardrail.js +3 -0
  110. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  111. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  112. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  113. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  114. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  115. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  116. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  117. package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
  118. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  119. package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
  120. package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  121. package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
  122. package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
  123. package/dist/api/types/InvoiceResponse.d.ts +1 -1
  124. package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
  125. package/dist/api/types/NonStreamingOutputFormats.js +13 -0
  126. package/dist/api/types/PermissionType.d.ts +6 -0
  127. package/dist/api/types/PermissionType.js +6 -0
  128. package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
  129. package/dist/api/types/ProcedureDraftRef.js +3 -0
  130. package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
  131. package/dist/api/types/ProcedureVersionRef.js +3 -0
  132. package/dist/api/types/ResponseFilterMode.d.ts +6 -0
  133. package/dist/api/types/ResponseFilterMode.js +9 -0
  134. package/dist/api/types/SongMetadata.d.ts +0 -4
  135. package/dist/api/types/TurnConfig.d.ts +2 -0
  136. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  137. package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
  138. package/dist/api/types/User.d.ts +2 -0
  139. package/dist/api/types/index.d.ts +5 -1
  140. package/dist/api/types/index.js +5 -1
  141. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  142. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  143. package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  144. package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  145. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
  146. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
  147. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  148. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
  149. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  150. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  151. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  152. package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
  153. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  154. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  155. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  156. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  157. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  158. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  159. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  160. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
  161. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  162. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  163. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  164. package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
  165. package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
  166. package/dist/serialization/types/{ImportWhatsAppAccountResponse.js → AlignmentGuardrail.js} +3 -3
  167. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  168. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  169. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  170. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  171. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  172. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  173. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  174. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  175. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  176. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  177. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  178. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  179. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  180. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  181. package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  182. package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
  183. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  184. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  185. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  186. package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
  187. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  188. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  189. package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
  190. package/dist/serialization/types/GuardrailsV1Input.js +2 -0
  191. package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
  192. package/dist/serialization/types/GuardrailsV1Output.js +2 -0
  193. package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  194. package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
  195. package/dist/serialization/types/PermissionType.d.ts +1 -1
  196. package/dist/serialization/types/PermissionType.js +6 -0
  197. package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
  198. package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/ProcedureDraftRef.js} +3 -3
  199. package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
  200. package/dist/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
  201. package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
  202. package/dist/serialization/types/ResponseFilterMode.js +39 -0
  203. package/dist/serialization/types/SongMetadata.d.ts +0 -2
  204. package/dist/serialization/types/SongMetadata.js +0 -2
  205. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  206. package/dist/serialization/types/TurnConfig.js +1 -0
  207. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  208. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  209. package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
  210. package/dist/serialization/types/UnitTestCommonModel.js +1 -0
  211. package/dist/serialization/types/User.d.ts +1 -0
  212. package/dist/serialization/types/User.js +1 -0
  213. package/dist/serialization/types/index.d.ts +5 -1
  214. package/dist/serialization/types/index.js +5 -1
  215. package/dist/version.d.ts +1 -1
  216. package/dist/version.js +1 -1
  217. package/package.json +1 -1
  218. package/reference.md +40 -96
  219. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  220. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  221. package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  222. package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  223. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
  224. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
  225. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  226. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
  227. package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  228. package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  229. package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  230. package/serialization/resources/conversationalAi/resources/index.js +1 -0
  231. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  232. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  233. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  234. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  235. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  236. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  237. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  238. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
  239. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  240. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  241. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  242. package/serialization/resources/textToDialogue/types/index.js +2 -0
  243. package/serialization/types/AlignmentGuardrail.d.ts +9 -0
  244. package/serialization/types/AlignmentGuardrail.js +41 -0
  245. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  246. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  247. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  248. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  249. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  250. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  251. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  252. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  253. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  254. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  255. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  256. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  257. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  258. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  259. package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  260. package/serialization/types/ConversationTurnMetrics.js +1 -0
  261. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  262. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  263. package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  264. package/serialization/types/GetUnitTestResponseModel.js +1 -0
  265. package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  266. package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  267. package/serialization/types/GuardrailsV1Input.d.ts +2 -0
  268. package/serialization/types/GuardrailsV1Input.js +2 -0
  269. package/serialization/types/GuardrailsV1Output.d.ts +2 -0
  270. package/serialization/types/GuardrailsV1Output.js +2 -0
  271. package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  272. package/serialization/types/NonStreamingOutputFormats.js +47 -0
  273. package/serialization/types/PermissionType.d.ts +1 -1
  274. package/serialization/types/PermissionType.js +6 -0
  275. package/serialization/types/ProcedureDraftRef.d.ts +9 -0
  276. package/serialization/types/ProcedureDraftRef.js +41 -0
  277. package/serialization/types/ProcedureVersionRef.d.ts +10 -0
  278. package/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
  279. package/serialization/types/ResponseFilterMode.d.ts +7 -0
  280. package/serialization/types/ResponseFilterMode.js +39 -0
  281. package/serialization/types/SongMetadata.d.ts +0 -2
  282. package/serialization/types/SongMetadata.js +0 -2
  283. package/serialization/types/TurnConfig.d.ts +1 -0
  284. package/serialization/types/TurnConfig.js +1 -0
  285. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  286. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  287. package/serialization/types/UnitTestCommonModel.d.ts +1 -0
  288. package/serialization/types/UnitTestCommonModel.js +1 -0
  289. package/serialization/types/User.d.ts +1 -0
  290. package/serialization/types/User.js +1 -0
  291. package/serialization/types/index.d.ts +5 -1
  292. package/serialization/types/index.js +5 -1
  293. package/version.d.ts +1 -1
  294. package/version.js +1 -1
  295. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  296. package/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  297. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  298. package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  299. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  300. package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  301. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  302. package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  303. /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +0 -0
  304. /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js} +0 -0
  305. /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/types/AlignmentGuardrail.js} +0 -0
  306. /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/types/ProcedureDraftRef.js} +0 -0
@@ -57,7 +57,7 @@ class InvitesClient {
57
57
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
58
  }
59
59
  /**
60
- * Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators. If the user is already in the workspace a 400 error will be returned.
60
+ * Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission. If the user is already in the workspace a 400 error will be returned.
61
61
  *
62
62
  * @param {ElevenLabs.workspace.InviteUserRequest} request
63
63
  * @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -122,7 +122,7 @@ class InvitesClient {
122
122
  });
123
123
  }
124
124
  /**
125
- * Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators.
125
+ * Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
126
126
  *
127
127
  * @param {ElevenLabs.workspace.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost} request
128
128
  * @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -189,7 +189,7 @@ class InvitesClient {
189
189
  });
190
190
  }
191
191
  /**
192
- * Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators.
192
+ * Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
193
193
  *
194
194
  * @param {ElevenLabs.workspace.BodyDeleteExistingInvitationV1WorkspaceInvitesDelete} request
195
195
  * @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1,3 @@
1
+ export interface AlignmentGuardrail {
2
+ isEnabled?: boolean;
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,6 @@ export interface ApiIntegrationWebhookOverridesInput {
8
8
  queryParamsSchema?: ElevenLabs.QueryOverride;
9
9
  requestBodySchema?: ElevenLabs.ObjectOverrideInput;
10
10
  requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesInputRequestHeadersValue | undefined>;
11
+ responseFilterMode?: ElevenLabs.ResponseFilterMode;
12
+ responseFilters?: string[];
11
13
  }
@@ -8,4 +8,6 @@ export interface ApiIntegrationWebhookOverridesOutput {
8
8
  queryParamsSchema?: ElevenLabs.QueryOverride;
9
9
  requestBodySchema?: ElevenLabs.ObjectOverrideOutput;
10
10
  requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesOutputRequestHeadersValue | undefined>;
11
+ responseFilterMode?: ElevenLabs.ResponseFilterMode;
12
+ responseFilters?: string[];
11
13
  }
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "api_integration_webhook";
12
13
  integrationId: string;
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type?: ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType;
12
13
  }
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "system";
12
13
  result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult;
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelInpu
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "workflow";
12
13
  result?: ElevenLabs.WorkflowToolResponseModelInput;
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutp
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "workflow";
12
13
  result?: ElevenLabs.WorkflowToolResponseModelOutput;
@@ -1,4 +1,5 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface ConversationTurnMetrics {
3
3
  metrics?: Record<string, ElevenLabs.MetricRecord>;
4
+ convaiAsrProvider?: string;
4
5
  }
@@ -38,6 +38,7 @@ export interface DirectPublishingReadResponseModel {
38
38
  payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
39
39
  listPrice?: number;
40
40
  currency?: "usd";
41
+ originalAudioProjectExportId?: string;
41
42
  originalAudioDocumentId?: string;
42
43
  seriesId?: string;
43
44
  volume?: number;
@@ -9,6 +9,8 @@ export interface GetUnitTestResponseModel {
9
9
  failureExamples: ElevenLabs.AgentFailureResponseExample[];
10
10
  /** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
11
11
  toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
12
+ /** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
13
+ checkAnyToolMatches?: boolean;
12
14
  /** Dynamic variables to replace in the agent config during testing */
13
15
  dynamicVariables?: Record<string, ElevenLabs.GetUnitTestResponseModelDynamicVariablesValue | undefined>;
14
16
  type?: ElevenLabs.UnitTestCommonModelType;
@@ -1,4 +1,8 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GetWorkspaceSecretsResponseModel {
3
3
  secrets: ElevenLabs.ConvAiWorkspaceStoredSecretConfig[];
4
+ /** Cursor for fetching the next page of secrets */
5
+ nextCursor?: string;
6
+ /** Whether there are more secrets to fetch */
7
+ hasMore?: boolean;
4
8
  }
@@ -1,5 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GuardrailsV1Input {
3
3
  version?: "1";
4
+ alignment?: ElevenLabs.AlignmentGuardrail;
4
5
  moderation?: ElevenLabs.ModerationGuardrailInput;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GuardrailsV1Output {
3
3
  version?: "1";
4
+ alignment?: ElevenLabs.AlignmentGuardrail;
4
5
  moderation?: ElevenLabs.ModerationGuardrailOutput;
5
6
  }
@@ -12,7 +12,7 @@ export interface InvoiceResponse {
12
12
  discountAmountOff?: number;
13
13
  /** The discounts applied to the invoice. */
14
14
  discounts: ElevenLabs.DiscountResponseModel[];
15
- /** The Unix timestamp of the next payment attempt. */
15
+ /** The Unix timestamp of the next payment attempt. -1 when there is no next payment attempt. */
16
16
  nextPaymentAttemptUnix: number;
17
17
  /** Deprecated. Use [payment_intent_statusses] instead. The status of this invoice's first payment intent. None when there is no payment intent. */
18
18
  paymentIntentStatus?: ElevenLabs.InvoiceResponseModelPaymentIntentStatus;
@@ -0,0 +1,10 @@
1
+ export declare const NonStreamingOutputFormats: {
2
+ readonly Wav8000: "wav_8000";
3
+ readonly Wav16000: "wav_16000";
4
+ readonly Wav22050: "wav_22050";
5
+ readonly Wav24000: "wav_24000";
6
+ readonly Wav32000: "wav_32000";
7
+ readonly Wav44100: "wav_44100";
8
+ readonly Wav48000: "wav_48000";
9
+ };
10
+ export type NonStreamingOutputFormats = (typeof NonStreamingOutputFormats)[keyof typeof NonStreamingOutputFormats];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NonStreamingOutputFormats = void 0;
5
+ exports.NonStreamingOutputFormats = {
6
+ Wav8000: "wav_8000",
7
+ Wav16000: "wav_16000",
8
+ Wav22050: "wav_22050",
9
+ Wav24000: "wav_24000",
10
+ Wav32000: "wav_32000",
11
+ Wav44100: "wav_44100",
12
+ Wav48000: "wav_48000",
13
+ };
@@ -34,5 +34,11 @@ export declare const PermissionType: {
34
34
  readonly ShareVoiceExternally: "share_voice_externally";
35
35
  readonly CreateUserApiKey: "create_user_api_key";
36
36
  readonly WorkspaceAnalyticsFullRead: "workspace_analytics_full_read";
37
+ readonly WebhooksWrite: "webhooks_write";
38
+ readonly ServiceAccountWrite: "service_account_write";
39
+ readonly GroupMembersManage: "group_members_manage";
40
+ readonly WorkspaceMembersInvite: "workspace_members_invite";
41
+ readonly WorkspaceMembersRemove: "workspace_members_remove";
42
+ readonly TermsOfServiceAccept: "terms_of_service_accept";
37
43
  };
38
44
  export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
@@ -38,4 +38,10 @@ exports.PermissionType = {
38
38
  ShareVoiceExternally: "share_voice_externally",
39
39
  CreateUserApiKey: "create_user_api_key",
40
40
  WorkspaceAnalyticsFullRead: "workspace_analytics_full_read",
41
+ WebhooksWrite: "webhooks_write",
42
+ ServiceAccountWrite: "service_account_write",
43
+ GroupMembersManage: "group_members_manage",
44
+ WorkspaceMembersInvite: "workspace_members_invite",
45
+ WorkspaceMembersRemove: "workspace_members_remove",
46
+ TermsOfServiceAccept: "terms_of_service_accept",
41
47
  };
@@ -0,0 +1,4 @@
1
+ export interface ProcedureDraftRef {
2
+ /** Procedure ID */
3
+ procedureId: 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,6 @@
1
+ export interface ProcedureVersionRef {
2
+ /** Procedure ID */
3
+ procedureId: string;
4
+ /** Version ID of the procedure version. */
5
+ versionId: string;
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,6 @@
1
+ /** Controls how tool responses are filtered before being visible to the agent. */
2
+ export declare const ResponseFilterMode: {
3
+ readonly All: "all";
4
+ readonly Allow: "allow";
5
+ };
6
+ export type ResponseFilterMode = (typeof ResponseFilterMode)[keyof typeof ResponseFilterMode];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ResponseFilterMode = void 0;
5
+ /** Controls how tool responses are filtered before being visible to the agent. */
6
+ exports.ResponseFilterMode = {
7
+ All: "all",
8
+ Allow: "allow",
9
+ };
@@ -9,8 +9,4 @@ export interface SongMetadata {
9
9
  languages: string[];
10
10
  /** Whether the song is explicit */
11
11
  isExplicit?: boolean;
12
- /** The BPM of the song */
13
- bpm?: number;
14
- /** The time signature of the song */
15
- timeSignature?: string;
16
12
  }
@@ -12,4 +12,6 @@ export interface TurnConfig {
12
12
  turnEagerness?: ElevenLabs.TurnEagerness;
13
13
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
14
14
  spellingPatience?: ElevenLabs.SpellingPatience;
15
+ /** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
16
+ speculativeTurn?: boolean;
15
17
  }
@@ -12,4 +12,6 @@ export interface TurnConfigWorkflowOverride {
12
12
  turnEagerness?: ElevenLabs.TurnEagerness;
13
13
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
14
14
  spellingPatience?: ElevenLabs.SpellingPatience;
15
+ /** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
16
+ speculativeTurn?: boolean;
15
17
  }
@@ -12,6 +12,8 @@ export interface UnitTestCommonModel {
12
12
  failureExamples: ElevenLabs.AgentFailureResponseExample[];
13
13
  /** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
14
14
  toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
15
+ /** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
16
+ checkAnyToolMatches?: boolean;
15
17
  /** Dynamic variables to replace in the agent config during testing */
16
18
  dynamicVariables?: Record<string, ElevenLabs.UnitTestCommonModelDynamicVariablesValue | undefined>;
17
19
  type?: ElevenLabs.UnitTestCommonModelType;
@@ -14,6 +14,8 @@ export interface User {
14
14
  isOnboardingCompleted: boolean;
15
15
  /** Whether the user's onboarding checklist is completed. */
16
16
  isOnboardingChecklistCompleted: boolean;
17
+ /** Whether to show compliance terms (ToS, Privacy Policy, biometric consent) during onboarding. Set for users signing up from the marketing site. */
18
+ showComplianceTerms?: boolean;
17
19
  /** First name of the user. */
18
20
  firstName?: string;
19
21
  /** Whether the user's API key is hashed. */
@@ -48,6 +48,7 @@ export * from "./AgentWorkflowResponseModel";
48
48
  export * from "./AgentWorkflowResponseModelNodesValue";
49
49
  export * from "./AgentWorkspaceOverridesInput";
50
50
  export * from "./AgentWorkspaceOverridesOutput";
51
+ export * from "./AlignmentGuardrail";
51
52
  export * from "./AllowedOutputFormats";
52
53
  export * from "./AllowlistItem";
53
54
  export * from "./ApiIntegrationWebhookOverridesInput";
@@ -446,7 +447,6 @@ export * from "./HistoryItemResponse";
446
447
  export * from "./HtmlExportOptions";
447
448
  export * from "./HttpValidationError";
448
449
  export * from "./ImageAvatar";
449
- export * from "./ImportWhatsAppAccountResponse";
450
450
  export * from "./InboundSipTrunkConfigRequestModel";
451
451
  export * from "./IntegrationType";
452
452
  export * from "./InvoiceResponse";
@@ -523,6 +523,7 @@ export * from "./ModerationGuardrailOutput";
523
523
  export * from "./MultichannelSpeechToTextResponseModel";
524
524
  export * from "./MultipartMusicResponse";
525
525
  export * from "./MusicPrompt";
526
+ export * from "./NonStreamingOutputFormats";
526
527
  export * from "./ObjectJsonSchemaPropertyInput";
527
528
  export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
528
529
  export * from "./ObjectJsonSchemaPropertyOutput";
@@ -564,6 +565,8 @@ export * from "./PostAgentAvatarResponseModel";
564
565
  export * from "./PostWorkspaceSecretResponseModel";
565
566
  export * from "./PreviewAudioDbModel";
566
567
  export * from "./PrivacyConfig";
568
+ export * from "./ProcedureDraftRef";
569
+ export * from "./ProcedureVersionRef";
567
570
  export * from "./ProjectCreationMetaResponseModel";
568
571
  export * from "./ProjectCreationMetaResponseModelStatus";
569
572
  export * from "./ProjectCreationMetaResponseModelType";
@@ -647,6 +650,7 @@ export * from "./ResourceAccessInfo";
647
650
  export * from "./ResourceAccessInfoRole";
648
651
  export * from "./ResourceMetadataResponseModel";
649
652
  export * from "./ResourceMetadataResponseModelAnonymousAccessLevelOverride";
653
+ export * from "./ResponseFilterMode";
650
654
  export * from "./ReviewResponseModel";
651
655
  export * from "./ReviewResponseModelRejectReasonsItem";
652
656
  export * from "./ReviewResponseModelReviewStatus";
@@ -64,6 +64,7 @@ __exportStar(require("./AgentWorkflowResponseModel"), exports);
64
64
  __exportStar(require("./AgentWorkflowResponseModelNodesValue"), exports);
65
65
  __exportStar(require("./AgentWorkspaceOverridesInput"), exports);
66
66
  __exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
67
+ __exportStar(require("./AlignmentGuardrail"), exports);
67
68
  __exportStar(require("./AllowedOutputFormats"), exports);
68
69
  __exportStar(require("./AllowlistItem"), exports);
69
70
  __exportStar(require("./ApiIntegrationWebhookOverridesInput"), exports);
@@ -462,7 +463,6 @@ __exportStar(require("./HistoryItemResponse"), exports);
462
463
  __exportStar(require("./HtmlExportOptions"), exports);
463
464
  __exportStar(require("./HttpValidationError"), exports);
464
465
  __exportStar(require("./ImageAvatar"), exports);
465
- __exportStar(require("./ImportWhatsAppAccountResponse"), exports);
466
466
  __exportStar(require("./InboundSipTrunkConfigRequestModel"), exports);
467
467
  __exportStar(require("./IntegrationType"), exports);
468
468
  __exportStar(require("./InvoiceResponse"), exports);
@@ -539,6 +539,7 @@ __exportStar(require("./ModerationGuardrailOutput"), exports);
539
539
  __exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
540
540
  __exportStar(require("./MultipartMusicResponse"), exports);
541
541
  __exportStar(require("./MusicPrompt"), exports);
542
+ __exportStar(require("./NonStreamingOutputFormats"), exports);
542
543
  __exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
543
544
  __exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports);
544
545
  __exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
@@ -580,6 +581,8 @@ __exportStar(require("./PostAgentAvatarResponseModel"), exports);
580
581
  __exportStar(require("./PostWorkspaceSecretResponseModel"), exports);
581
582
  __exportStar(require("./PreviewAudioDbModel"), exports);
582
583
  __exportStar(require("./PrivacyConfig"), exports);
584
+ __exportStar(require("./ProcedureDraftRef"), exports);
585
+ __exportStar(require("./ProcedureVersionRef"), exports);
583
586
  __exportStar(require("./ProjectCreationMetaResponseModel"), exports);
584
587
  __exportStar(require("./ProjectCreationMetaResponseModelStatus"), exports);
585
588
  __exportStar(require("./ProjectCreationMetaResponseModelType"), exports);
@@ -663,6 +666,7 @@ __exportStar(require("./ResourceAccessInfo"), exports);
663
666
  __exportStar(require("./ResourceAccessInfoRole"), exports);
664
667
  __exportStar(require("./ResourceMetadataResponseModel"), exports);
665
668
  __exportStar(require("./ResourceMetadataResponseModelAnonymousAccessLevelOverride"), exports);
669
+ __exportStar(require("./ResponseFilterMode"), exports);
666
670
  __exportStar(require("./ReviewResponseModel"), exports);
667
671
  __exportStar(require("./ReviewResponseModelRejectReasonsItem"), exports);
668
672
  __exportStar(require("./ReviewResponseModelReviewStatus"), exports);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../../index";
4
4
  import { AgentPlatformSettingsRequestModel } from "../../../../../../types/AgentPlatformSettingsRequestModel";
5
5
  import { AgentWorkflowRequestModel } from "../../../../../../types/AgentWorkflowRequestModel";
6
6
  import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
7
+ import { BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem } from "../../types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
7
8
  export declare const UpdateAgentRequest: core.serialization.Schema<serializers.conversationalAi.UpdateAgentRequest.Raw, ElevenLabs.conversationalAi.UpdateAgentRequest>;
8
9
  export declare namespace UpdateAgentRequest {
9
10
  interface Raw {
@@ -13,5 +14,6 @@ export declare namespace UpdateAgentRequest {
13
14
  name?: string | null;
14
15
  tags?: string[] | null;
15
16
  version_description?: string | null;
17
+ procedure_refs?: BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.Raw[] | null;
16
18
  }
17
19
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../../core"));
39
39
  const AgentPlatformSettingsRequestModel_1 = require("../../../../../../types/AgentPlatformSettingsRequestModel");
40
40
  const AgentWorkflowRequestModel_1 = require("../../../../../../types/AgentWorkflowRequestModel");
41
41
  const ConversationalConfig_1 = require("../../../../../../types/ConversationalConfig");
42
+ const BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem_1 = require("../../types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem");
42
43
  exports.UpdateAgentRequest = core.serialization.object({
43
44
  conversationConfig: core.serialization.property("conversation_config", ConversationalConfig_1.ConversationalConfig.optional()),
44
45
  platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsRequestModel_1.AgentPlatformSettingsRequestModel.optional()),
@@ -46,4 +47,5 @@ exports.UpdateAgentRequest = core.serialization.object({
46
47
  name: core.serialization.string().optional(),
47
48
  tags: core.serialization.list(core.serialization.string()).optional(),
48
49
  versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
50
+ procedureRefs: core.serialization.property("procedure_refs", core.serialization.list(BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem_1.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem).optional()),
49
51
  });
@@ -1,2 +1,3 @@
1
1
  export * from "./client";
2
2
  export * from "./resources";
3
+ export * from "./types";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
18
  __exportStar(require("./resources"), exports);
19
+ __exportStar(require("./types"), exports);
@@ -5,6 +5,7 @@ import { BranchProtectionStatus } from "../../../../../../../../types/BranchProt
5
5
  export declare const BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch: core.serialization.Schema<serializers.conversationalAi.agents.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.Raw, ElevenLabs.conversationalAi.agents.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch>;
6
6
  export declare namespace BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch {
7
7
  interface Raw {
8
+ name?: string | null;
8
9
  is_archived?: boolean | null;
9
10
  protection_status?: BranchProtectionStatus.Raw | null;
10
11
  }
@@ -38,6 +38,7 @@ exports.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch = void 0
38
38
  const core = __importStar(require("../../../../../../../../../core"));
39
39
  const BranchProtectionStatus_1 = require("../../../../../../../../types/BranchProtectionStatus");
40
40
  exports.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch = core.serialization.object({
41
+ name: core.serialization.string().optional(),
41
42
  isArchived: core.serialization.property("is_archived", core.serialization.boolean().optional()),
42
43
  protectionStatus: core.serialization.property("protection_status", BranchProtectionStatus_1.BranchProtectionStatus.optional()),
43
44
  });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { ProcedureDraftRef } from "../../../../../types/ProcedureDraftRef";
5
+ import { ProcedureVersionRef } from "../../../../../types/ProcedureVersionRef";
6
+ export declare const BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem: core.serialization.Schema<serializers.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.Raw, ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem>;
7
+ export declare namespace BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem {
8
+ type Raw = ProcedureVersionRef.Raw | ProcedureDraftRef.Raw;
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const ProcedureDraftRef_1 = require("../../../../../types/ProcedureDraftRef");
40
+ const ProcedureVersionRef_1 = require("../../../../../types/ProcedureVersionRef");
41
+ exports.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem = core.serialization.undiscriminatedUnion([ProcedureVersionRef_1.ProcedureVersionRef, ProcedureDraftRef_1.ProcedureDraftRef]);
@@ -0,0 +1 @@
1
+ export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem"), exports);
@@ -1,5 +1,6 @@
1
1
  export * as agents from "./agents";
2
2
  export * from "./agents/client/requests";
3
+ export * from "./agents/types";
3
4
  export * as batchCalls from "./batchCalls";
4
5
  export * from "./batchCalls/client/requests";
5
6
  export * as conversations from "./conversations";
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.agents = void 0;
40
40
  exports.agents = __importStar(require("./agents"));
41
41
  __exportStar(require("./agents/client/requests"), exports);
42
+ __exportStar(require("./agents/types"), exports);
42
43
  exports.batchCalls = __importStar(require("./batchCalls"));
43
44
  __exportStar(require("./batchCalls/client/requests"), exports);
44
45
  exports.conversations = __importStar(require("./conversations"));
@@ -16,6 +16,7 @@ export declare namespace CreateUnitTestRequest {
16
16
  success_examples: AgentSuccessfulResponseExample.Raw[];
17
17
  failure_examples: AgentFailureResponseExample.Raw[];
18
18
  tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
19
+ check_any_tool_matches?: boolean | null;
19
20
  dynamic_variables?: Record<string, CreateUnitTestRequestDynamicVariablesValue.Raw | null | undefined> | null;
20
21
  type?: UnitTestCommonModelType.Raw | null;
21
22
  from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
@@ -49,6 +49,7 @@ exports.CreateUnitTestRequest = core.serialization.object({
49
49
  successExamples: core.serialization.property("success_examples", core.serialization.list(AgentSuccessfulResponseExample_1.AgentSuccessfulResponseExample)),
50
50
  failureExamples: core.serialization.property("failure_examples", core.serialization.list(AgentFailureResponseExample_1.AgentFailureResponseExample)),
51
51
  toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelInput_1.UnitTestToolCallEvaluationModelInput.optional()),
52
+ checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
52
53
  dynamicVariables: core.serialization.property("dynamic_variables", core.serialization
53
54
  .record(core.serialization.string(), CreateUnitTestRequestDynamicVariablesValue_1.CreateUnitTestRequestDynamicVariablesValue.optional())
54
55
  .optional()),
@@ -16,6 +16,7 @@ export declare namespace UpdateUnitTestRequest {
16
16
  success_examples: AgentSuccessfulResponseExample.Raw[];
17
17
  failure_examples: AgentFailureResponseExample.Raw[];
18
18
  tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
19
+ check_any_tool_matches?: boolean | null;
19
20
  dynamic_variables?: Record<string, UpdateUnitTestRequestDynamicVariablesValue.Raw | null | undefined> | null;
20
21
  type?: UnitTestCommonModelType.Raw | null;
21
22
  from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
@@ -49,6 +49,7 @@ exports.UpdateUnitTestRequest = core.serialization.object({
49
49
  successExamples: core.serialization.property("success_examples", core.serialization.list(AgentSuccessfulResponseExample_1.AgentSuccessfulResponseExample)),
50
50
  failureExamples: core.serialization.property("failure_examples", core.serialization.list(AgentFailureResponseExample_1.AgentFailureResponseExample)),
51
51
  toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelInput_1.UnitTestToolCallEvaluationModelInput.optional()),
52
+ checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
52
53
  dynamicVariables: core.serialization.property("dynamic_variables", core.serialization
53
54
  .record(core.serialization.string(), UpdateUnitTestRequestDynamicVariablesValue_1.UpdateUnitTestRequestDynamicVariablesValue.optional())
54
55
  .optional()),
@@ -1,2 +1 @@
1
- export { ImportWhatsAppAccountRequest } from "./ImportWhatsAppAccountRequest";
2
1
  export { UpdateWhatsAppAccountRequest } from "./UpdateWhatsAppAccountRequest";
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateWhatsAppAccountRequest = exports.ImportWhatsAppAccountRequest = void 0;
4
- var ImportWhatsAppAccountRequest_1 = require("./ImportWhatsAppAccountRequest");
5
- Object.defineProperty(exports, "ImportWhatsAppAccountRequest", { enumerable: true, get: function () { return ImportWhatsAppAccountRequest_1.ImportWhatsAppAccountRequest; } });
3
+ exports.UpdateWhatsAppAccountRequest = void 0;
6
4
  var UpdateWhatsAppAccountRequest_1 = require("./UpdateWhatsAppAccountRequest");
7
5
  Object.defineProperty(exports, "UpdateWhatsAppAccountRequest", { enumerable: true, get: function () { return UpdateWhatsAppAccountRequest_1.UpdateWhatsAppAccountRequest; } });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const TextToDialogueConvertRequestOutputFormat: core.serialization.Schema<serializers.TextToDialogueConvertRequestOutputFormat.Raw, ElevenLabs.TextToDialogueConvertRequestOutputFormat>;
5
+ export declare namespace TextToDialogueConvertRequestOutputFormat {
6
+ type Raw = "alaw_8000" | "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_128" | "mp3_44100_192" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "opus_48000_128" | "opus_48000_192" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "pcm_8000" | "ulaw_8000" | "wav_16000" | "wav_22050" | "wav_24000" | "wav_32000" | "wav_44100" | "wav_48000" | "wav_8000";
7
+ }