@elevenlabs/elevenlabs-js 2.28.0 → 2.29.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 (429) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/api/resources/conversationalAi/client/Client.d.ts +6 -0
  4. package/api/resources/conversationalAi/client/Client.js +10 -0
  5. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  7. package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
  8. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  9. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  10. package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
  11. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  12. package/api/resources/conversationalAi/resources/index.d.ts +4 -0
  13. package/api/resources/conversationalAi/resources/index.js +5 -1
  14. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
  15. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
  16. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
  17. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  18. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
  20. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
  21. package/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  22. package/{dist/api/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp/client}/index.js +1 -1
  23. package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
  24. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
  26. package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  27. package/{dist/serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp}/index.js +1 -1
  28. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
  29. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
  30. package/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  31. package/{serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsappAccounts/client}/index.js +1 -1
  32. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
  33. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
  34. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
  35. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  36. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
  37. package/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  38. package/api/resources/{dubbing/resources/resource/types → conversationalAi/resources/whatsappAccounts}/index.js +1 -1
  39. package/api/resources/dubbing/resources/index.d.ts +0 -1
  40. package/api/resources/dubbing/resources/index.js +0 -1
  41. package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
  42. package/api/resources/dubbing/resources/resource/client/Client.js +3 -3
  43. package/api/resources/dubbing/resources/resource/index.d.ts +0 -1
  44. package/api/resources/dubbing/resources/resource/index.js +0 -1
  45. package/api/resources/history/client/Client.d.ts +2 -2
  46. package/api/resources/history/client/Client.js +2 -2
  47. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  48. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  49. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  50. package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
  51. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
  52. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
  53. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
  54. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
  55. package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
  56. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  57. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  58. package/api/types/AuthorizationMethod.d.ts +1 -0
  59. package/api/types/AuthorizationMethod.js +1 -0
  60. package/api/types/BatchCallDetailedResponse.d.ts +3 -1
  61. package/api/types/BatchCallRecipientStatus.d.ts +1 -0
  62. package/api/types/BatchCallRecipientStatus.js +1 -0
  63. package/api/types/BatchCallResponse.d.ts +3 -1
  64. package/api/types/ConversationConfig.d.ts +4 -0
  65. package/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
  66. package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  67. package/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
  68. package/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
  69. package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  70. package/api/types/GetAgentResponseModel.d.ts +6 -0
  71. package/api/types/GetConversationResponseModel.d.ts +2 -0
  72. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
  73. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
  74. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
  75. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
  76. package/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
  77. package/api/types/GetWhatsAppAccountResponse.js +3 -0
  78. package/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
  79. package/api/types/ImportWhatsAppAccountResponse.js +3 -0
  80. package/api/types/KnowledgeBaseDependentType.d.ts +6 -0
  81. package/api/types/KnowledgeBaseDependentType.js +9 -0
  82. package/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
  83. package/api/types/ListWhatsAppAccountsResponse.js +3 -0
  84. package/api/types/Llm.d.ts +4 -0
  85. package/api/types/Llm.js +4 -0
  86. package/api/types/McpServerConfigInput.d.ts +2 -0
  87. package/api/types/McpServerConfigOutput.d.ts +2 -0
  88. package/api/types/ProjectImageResponseModel.d.ts +1 -0
  89. package/api/types/ProjectVideoResponseModel.d.ts +2 -1
  90. package/api/types/TransferTypeEnum.d.ts +1 -0
  91. package/api/types/TransferTypeEnum.js +1 -0
  92. package/api/types/Voice.d.ts +2 -0
  93. package/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
  94. package/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
  95. package/api/types/WhatsAppOutboundCallResponse.js +3 -0
  96. package/api/types/WidgetConfig.d.ts +6 -0
  97. package/api/types/WidgetConfigResponse.d.ts +6 -0
  98. package/api/types/WidgetLanguagePreset.d.ts +8 -0
  99. package/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
  100. package/api/types/WidgetTermsTranslation.d.ts +4 -0
  101. package/api/types/WidgetTermsTranslation.js +3 -0
  102. package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  103. package/api/types/WorkspaceResourceType.d.ts +3 -0
  104. package/api/types/WorkspaceResourceType.js +3 -0
  105. package/api/types/index.d.ts +6 -0
  106. package/api/types/index.js +6 -0
  107. package/dist/BaseClient.js +2 -2
  108. package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -0
  109. package/dist/api/resources/conversationalAi/client/Client.js +10 -0
  110. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  111. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  112. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
  113. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  114. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  115. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
  116. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  117. package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
  118. package/dist/api/resources/conversationalAi/resources/index.js +5 -1
  119. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
  120. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
  121. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
  122. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  123. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  124. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
  125. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
  126. package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  127. package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  128. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
  129. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +3 -0
  130. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  131. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
  132. package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  133. package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  134. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
  135. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
  136. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  137. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  138. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
  139. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +3 -0
  140. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
  141. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
  142. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  143. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
  144. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  145. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  146. package/dist/api/resources/dubbing/resources/index.d.ts +0 -1
  147. package/dist/api/resources/dubbing/resources/index.js +0 -1
  148. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
  149. package/dist/api/resources/dubbing/resources/resource/client/Client.js +3 -3
  150. package/dist/api/resources/dubbing/resources/resource/index.d.ts +0 -1
  151. package/dist/api/resources/dubbing/resources/resource/index.js +0 -1
  152. package/dist/api/resources/history/client/Client.d.ts +2 -2
  153. package/dist/api/resources/history/client/Client.js +2 -2
  154. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  155. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  156. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  157. package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
  158. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
  159. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
  160. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
  161. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
  162. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
  163. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  164. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  165. package/dist/api/types/AuthorizationMethod.d.ts +1 -0
  166. package/dist/api/types/AuthorizationMethod.js +1 -0
  167. package/dist/api/types/BatchCallDetailedResponse.d.ts +3 -1
  168. package/dist/api/types/BatchCallRecipientStatus.d.ts +1 -0
  169. package/dist/api/types/BatchCallRecipientStatus.js +1 -0
  170. package/dist/api/types/BatchCallResponse.d.ts +3 -1
  171. package/dist/api/types/ConversationConfig.d.ts +4 -0
  172. package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
  173. package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  174. package/dist/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
  175. package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
  176. package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  177. package/dist/api/types/GetAgentResponseModel.d.ts +6 -0
  178. package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
  179. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
  180. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
  181. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
  182. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
  183. package/dist/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
  184. package/dist/api/types/GetWhatsAppAccountResponse.js +3 -0
  185. package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
  186. package/dist/api/types/ImportWhatsAppAccountResponse.js +3 -0
  187. package/dist/api/types/KnowledgeBaseDependentType.d.ts +6 -0
  188. package/dist/api/types/KnowledgeBaseDependentType.js +9 -0
  189. package/dist/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
  190. package/dist/api/types/ListWhatsAppAccountsResponse.js +3 -0
  191. package/dist/api/types/Llm.d.ts +4 -0
  192. package/dist/api/types/Llm.js +4 -0
  193. package/dist/api/types/McpServerConfigInput.d.ts +2 -0
  194. package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
  195. package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
  196. package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -1
  197. package/dist/api/types/TransferTypeEnum.d.ts +1 -0
  198. package/dist/api/types/TransferTypeEnum.js +1 -0
  199. package/dist/api/types/Voice.d.ts +2 -0
  200. package/dist/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
  201. package/dist/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
  202. package/dist/api/types/WhatsAppOutboundCallResponse.js +3 -0
  203. package/dist/api/types/WidgetConfig.d.ts +6 -0
  204. package/dist/api/types/WidgetConfigResponse.d.ts +6 -0
  205. package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
  206. package/dist/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
  207. package/dist/api/types/WidgetTermsTranslation.d.ts +4 -0
  208. package/dist/api/types/WidgetTermsTranslation.js +3 -0
  209. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  210. package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
  211. package/dist/api/types/WorkspaceResourceType.js +3 -0
  212. package/dist/api/types/index.d.ts +6 -0
  213. package/dist/api/types/index.js +6 -0
  214. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
  215. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
  216. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
  217. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
  218. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
  219. package/dist/serialization/resources/conversationalAi/resources/index.js +5 -1
  220. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  221. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  222. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  223. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  224. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  225. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  226. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
  227. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
  228. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  229. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
  230. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  231. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  232. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  233. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  234. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
  235. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
  236. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
  237. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
  238. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  239. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
  240. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  241. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  242. package/dist/serialization/resources/dubbing/resources/index.d.ts +0 -1
  243. package/dist/serialization/resources/dubbing/resources/index.js +0 -1
  244. package/dist/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
  245. package/dist/serialization/resources/dubbing/resources/resource/index.js +0 -1
  246. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  247. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
  248. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  249. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
  250. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  251. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  252. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
  253. package/dist/serialization/types/BatchCallDetailedResponse.js +4 -1
  254. package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  255. package/dist/serialization/types/BatchCallRecipientStatus.js +10 -1
  256. package/dist/serialization/types/BatchCallResponse.d.ts +4 -1
  257. package/dist/serialization/types/BatchCallResponse.js +4 -1
  258. package/dist/serialization/types/ConversationConfig.d.ts +2 -0
  259. package/dist/serialization/types/ConversationConfig.js +2 -0
  260. package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
  261. package/dist/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
  262. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  263. package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
  264. package/dist/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
  265. package/dist/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
  266. package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
  267. package/dist/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
  268. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
  269. package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
  270. package/dist/serialization/types/GetAgentResponseModel.d.ts +3 -0
  271. package/dist/serialization/types/GetAgentResponseModel.js +3 -0
  272. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  273. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  274. package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
  275. package/dist/serialization/types/GetWhatsAppAccountResponse.js +47 -0
  276. package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
  277. package/dist/serialization/{resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → types/ImportWhatsAppAccountResponse.js} +5 -6
  278. package/dist/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
  279. package/{serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → dist/serialization/types/KnowledgeBaseDependentType.js} +3 -6
  280. package/dist/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
  281. package/dist/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
  282. package/dist/serialization/types/Llm.d.ts +1 -1
  283. package/dist/serialization/types/Llm.js +4 -0
  284. package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
  285. package/dist/serialization/types/McpServerConfigInput.js +1 -0
  286. package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
  287. package/dist/serialization/types/McpServerConfigOutput.js +1 -0
  288. package/dist/serialization/types/ProjectImageResponseModel.d.ts +1 -0
  289. package/dist/serialization/types/ProjectImageResponseModel.js +1 -0
  290. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
  291. package/dist/serialization/types/ProjectVideoResponseModel.js +2 -1
  292. package/dist/serialization/types/TransferTypeEnum.d.ts +1 -1
  293. package/dist/serialization/types/TransferTypeEnum.js +1 -1
  294. package/dist/serialization/types/Voice.d.ts +1 -0
  295. package/dist/serialization/types/Voice.js +1 -0
  296. package/dist/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
  297. package/dist/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
  298. package/dist/serialization/types/WidgetConfig.d.ts +4 -0
  299. package/dist/serialization/types/WidgetConfig.js +4 -0
  300. package/dist/serialization/types/WidgetConfigResponse.d.ts +4 -0
  301. package/dist/serialization/types/WidgetConfigResponse.js +4 -0
  302. package/dist/serialization/types/WidgetLanguagePreset.d.ts +5 -0
  303. package/dist/serialization/types/WidgetLanguagePreset.js +5 -0
  304. package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
  305. package/dist/serialization/types/WidgetLanguagePresetResponse.js +3 -0
  306. package/dist/serialization/types/WidgetTermsTranslation.d.ts +10 -0
  307. package/dist/serialization/types/WidgetTermsTranslation.js +42 -0
  308. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  309. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
  310. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  311. package/dist/serialization/types/WorkspaceResourceType.js +3 -0
  312. package/dist/serialization/types/index.d.ts +6 -0
  313. package/dist/serialization/types/index.js +6 -0
  314. package/dist/version.d.ts +1 -1
  315. package/dist/version.js +1 -1
  316. package/package.json +1 -1
  317. package/reference.md +399 -7
  318. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
  319. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
  320. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
  321. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
  322. package/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
  323. package/serialization/resources/conversationalAi/resources/index.js +5 -1
  324. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  325. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  326. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  327. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  328. package/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  329. package/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  330. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
  331. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
  332. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  333. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
  334. package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  335. package/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  336. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  337. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  338. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
  339. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
  340. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
  341. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
  342. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  343. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
  344. package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  345. package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  346. package/serialization/resources/dubbing/resources/index.d.ts +0 -1
  347. package/serialization/resources/dubbing/resources/index.js +0 -1
  348. package/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
  349. package/serialization/resources/dubbing/resources/resource/index.js +0 -1
  350. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  351. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
  352. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  353. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
  354. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  355. package/serialization/types/AuthorizationMethod.js +1 -0
  356. package/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
  357. package/serialization/types/BatchCallDetailedResponse.js +4 -1
  358. package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  359. package/serialization/types/BatchCallRecipientStatus.js +10 -1
  360. package/serialization/types/BatchCallResponse.d.ts +4 -1
  361. package/serialization/types/BatchCallResponse.js +4 -1
  362. package/serialization/types/ConversationConfig.d.ts +2 -0
  363. package/serialization/types/ConversationConfig.js +2 -0
  364. package/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
  365. package/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
  366. package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  367. package/serialization/types/ConversationSummaryResponseModel.js +1 -0
  368. package/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
  369. package/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
  370. package/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
  371. package/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
  372. package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
  373. package/serialization/types/FeaturesUsageCommonModel.js +1 -0
  374. package/serialization/types/GetAgentResponseModel.d.ts +3 -0
  375. package/serialization/types/GetAgentResponseModel.js +3 -0
  376. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  377. package/serialization/types/GetConversationResponseModel.js +1 -0
  378. package/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
  379. package/serialization/types/GetWhatsAppAccountResponse.js +47 -0
  380. package/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
  381. package/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
  382. package/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
  383. package/serialization/types/KnowledgeBaseDependentType.js +39 -0
  384. package/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
  385. package/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
  386. package/serialization/types/Llm.d.ts +1 -1
  387. package/serialization/types/Llm.js +4 -0
  388. package/serialization/types/McpServerConfigInput.d.ts +1 -0
  389. package/serialization/types/McpServerConfigInput.js +1 -0
  390. package/serialization/types/McpServerConfigOutput.d.ts +1 -0
  391. package/serialization/types/McpServerConfigOutput.js +1 -0
  392. package/serialization/types/ProjectImageResponseModel.d.ts +1 -0
  393. package/serialization/types/ProjectImageResponseModel.js +1 -0
  394. package/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
  395. package/serialization/types/ProjectVideoResponseModel.js +2 -1
  396. package/serialization/types/TransferTypeEnum.d.ts +1 -1
  397. package/serialization/types/TransferTypeEnum.js +1 -1
  398. package/serialization/types/Voice.d.ts +1 -0
  399. package/serialization/types/Voice.js +1 -0
  400. package/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
  401. package/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
  402. package/serialization/types/WidgetConfig.d.ts +4 -0
  403. package/serialization/types/WidgetConfig.js +4 -0
  404. package/serialization/types/WidgetConfigResponse.d.ts +4 -0
  405. package/serialization/types/WidgetConfigResponse.js +4 -0
  406. package/serialization/types/WidgetLanguagePreset.d.ts +5 -0
  407. package/serialization/types/WidgetLanguagePreset.js +5 -0
  408. package/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
  409. package/serialization/types/WidgetLanguagePresetResponse.js +3 -0
  410. package/serialization/types/WidgetTermsTranslation.d.ts +10 -0
  411. package/serialization/types/WidgetTermsTranslation.js +42 -0
  412. package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  413. package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
  414. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  415. package/serialization/types/WorkspaceResourceType.js +3 -0
  416. package/serialization/types/index.d.ts +6 -0
  417. package/serialization/types/index.js +6 -0
  418. package/version.d.ts +1 -1
  419. package/version.js +1 -1
  420. package/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
  421. package/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  422. package/dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
  423. package/dist/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  424. package/dist/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
  425. package/dist/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  426. package/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
  427. package/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  428. /package/api/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js} +0 -0
  429. /package/{dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js} +0 -0
@@ -30,9 +30,9 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
30
30
  /**
31
31
  * Output quality of the generated audio. Must be one of:
32
32
  * standard - standard output format, 128kbps with 44.1kHz sample rate.
33
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the credit cost by 20%.
34
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the credit cost by 50%.
35
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format. Using this setting increases the credit cost by 100%.
33
+ * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
34
+ * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
35
+ * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
36
36
  */
37
37
  qualityPreset?: string;
38
38
  /** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Output quality of the generated audio. Must be one of:
3
3
  * standard - standard output format, 128kbps with 44.1kHz sample rate.
4
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the credit cost by 20%.
5
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the credit cost by 50%.
6
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format. Using this setting increases the credit cost by 100%.
4
+ * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
5
+ * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
6
+ * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
7
7
  */
8
8
  export declare const BodyCreatePodcastV1StudioPodcastsPostQualityPreset: {
9
9
  readonly Standard: "standard";
@@ -5,9 +5,9 @@ exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = void 0;
5
5
  /**
6
6
  * Output quality of the generated audio. Must be one of:
7
7
  * standard - standard output format, 128kbps with 44.1kHz sample rate.
8
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the credit cost by 20%.
9
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the credit cost by 50%.
10
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format. Using this setting increases the credit cost by 100%.
8
+ * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
9
+ * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
10
+ * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
11
11
  */
12
12
  exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = {
13
13
  Standard: "standard",
@@ -23,4 +23,6 @@ export interface VoiceDesignRequest {
23
23
  seed?: number;
24
24
  /** Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower Guidance Scale. */
25
25
  guidanceScale?: number;
26
+ /** Whether to enhance the voice description using AI to add more detail and improve voice generation quality. When enabled, the system will automatically expand simple prompts into more detailed voice descriptions. Defaults to False */
27
+ shouldEnhance?: boolean;
26
28
  }
@@ -25,6 +25,8 @@ export interface VoiceDesignRequestModel {
25
25
  guidanceScale?: number;
26
26
  /** Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint. */
27
27
  streamPreviews?: boolean;
28
+ /** Whether to enhance the voice description using AI to add more detail and improve voice generation quality. When enabled, the system will automatically expand simple prompts into more detailed voice descriptions. Defaults to False */
29
+ shouldEnhance?: boolean;
28
30
  /** The remixing session id. */
29
31
  remixingSessionId?: string;
30
32
  /** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
@@ -24,7 +24,7 @@ export interface VoicesSearchRequest {
24
24
  sort?: string;
25
25
  /** Which direction to sort the voices in. 'asc' or 'desc'. */
26
26
  sortDirection?: string;
27
- /** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default'. 'non-default' is equal to all but 'default'. */
27
+ /** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'saved'. 'non-default' is equal to all but 'default'. 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
28
28
  voiceType?: string;
29
29
  /** Category of the voice to filter by. One of 'premade', 'cloned', 'generated', 'professional' */
30
30
  category?: string;
@@ -7,5 +7,6 @@ export declare const AuthorizationMethod: {
7
7
  readonly LivekitToken: "livekit_token";
8
8
  readonly LivekitTokenWebsite: "livekit_token_website";
9
9
  readonly GenesysApiKey: "genesys_api_key";
10
+ readonly Whatsapp: "whatsapp";
10
11
  };
11
12
  export type AuthorizationMethod = (typeof AuthorizationMethod)[keyof typeof AuthorizationMethod];
@@ -11,4 +11,5 @@ exports.AuthorizationMethod = {
11
11
  LivekitToken: "livekit_token",
12
12
  LivekitTokenWebsite: "livekit_token_website",
13
13
  GenesysApiKey: "genesys_api_key",
14
+ Whatsapp: "whatsapp",
14
15
  };
@@ -6,15 +6,17 @@ export interface BatchCallDetailedResponse {
6
6
  id: string;
7
7
  phoneNumberId?: string;
8
8
  phoneProvider?: ElevenLabs.TelephonyProvider;
9
+ whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
9
10
  name: string;
10
11
  agentId: string;
11
12
  createdAtUnix: number;
12
13
  scheduledTimeUnix: number;
13
14
  totalCallsDispatched: number;
14
15
  totalCallsScheduled: number;
16
+ totalCallsFinished: number;
15
17
  lastUpdatedAtUnix: number;
16
18
  status: ElevenLabs.BatchCallStatus;
17
- retryCount?: number;
19
+ retryCount: number;
18
20
  agentName: string;
19
21
  recipients: ElevenLabs.OutboundCallRecipientResponseModel[];
20
22
  }
@@ -1,5 +1,6 @@
1
1
  export declare const BatchCallRecipientStatus: {
2
2
  readonly Pending: "pending";
3
+ readonly Dispatched: "dispatched";
3
4
  readonly Initiated: "initiated";
4
5
  readonly InProgress: "in_progress";
5
6
  readonly Completed: "completed";
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.BatchCallRecipientStatus = void 0;
5
5
  exports.BatchCallRecipientStatus = {
6
6
  Pending: "pending",
7
+ Dispatched: "dispatched",
7
8
  Initiated: "initiated",
8
9
  InProgress: "in_progress",
9
10
  Completed: "completed",
@@ -3,14 +3,16 @@ export interface BatchCallResponse {
3
3
  id: string;
4
4
  phoneNumberId?: string;
5
5
  phoneProvider?: ElevenLabs.TelephonyProvider;
6
+ whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
6
7
  name: string;
7
8
  agentId: string;
8
9
  createdAtUnix: number;
9
10
  scheduledTimeUnix: number;
10
11
  totalCallsDispatched: number;
11
12
  totalCallsScheduled: number;
13
+ totalCallsFinished: number;
12
14
  lastUpdatedAtUnix: number;
13
15
  status: ElevenLabs.BatchCallStatus;
14
- retryCount?: number;
16
+ retryCount: number;
15
17
  agentName: string;
16
18
  }
@@ -6,4 +6,8 @@ export interface ConversationConfig {
6
6
  maxDurationSeconds?: number;
7
7
  /** The events that will be sent to the client */
8
8
  clientEvents?: ElevenLabs.ClientEvent[];
9
+ /** Enable real-time monitoring of conversations via WebSocket */
10
+ monitoringEnabled?: boolean;
11
+ /** The events that will be sent to monitoring connections. */
12
+ monitoringEvents?: ElevenLabs.ClientEvent[];
9
13
  }
@@ -6,4 +6,8 @@ export interface ConversationConfigWorkflowOverride {
6
6
  maxDurationSeconds?: number;
7
7
  /** The events that will be sent to the client */
8
8
  clientEvents?: ElevenLabs.ClientEvent[];
9
+ /** Enable real-time monitoring of conversations via WebSocket */
10
+ monitoringEnabled?: boolean;
11
+ /** The events that will be sent to monitoring connections. */
12
+ monitoringEvents?: ElevenLabs.ClientEvent[];
9
13
  }
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../index";
2
2
  export interface ConversationSummaryResponseModel {
3
3
  agentId: string;
4
4
  branchId?: string;
5
+ versionId?: string;
5
6
  agentName?: string;
6
7
  conversationId: string;
7
8
  startTimeUnixSecs: number;
@@ -1,5 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface DependentAvailableAgentIdentifier {
3
+ /** If the agent is a transitive dependent, contains IDs of the resources that the agent depends on directly. */
4
+ referencedResourceIds?: string[];
3
5
  id: string;
4
6
  name: string;
5
7
  createdAtUnixSecs: number;
@@ -2,4 +2,7 @@
2
2
  * A model that represents an agent dependent on a knowledge base/tools
3
3
  * to which the user has no direct access.
4
4
  */
5
- export type DependentUnknownAgentIdentifier = {};
5
+ export interface DependentUnknownAgentIdentifier {
6
+ /** If the agent is a transitive dependent, contains IDs of the resources that the agent depends on directly. */
7
+ referencedResourceIds?: string[];
8
+ }
@@ -13,4 +13,5 @@ export interface FeaturesUsageCommonModel {
13
13
  voicemailDetection?: ElevenLabs.FeatureStatusCommonModel;
14
14
  workflow?: ElevenLabs.WorkflowFeaturesUsageCommonModel;
15
15
  agentTesting?: ElevenLabs.TestsFeatureUsageCommonModel;
16
+ versioning?: ElevenLabs.FeatureStatusCommonModel;
16
17
  }
@@ -18,4 +18,10 @@ export interface GetAgentResponseModel {
18
18
  accessInfo?: ElevenLabs.ResourceAccessInfo;
19
19
  /** Agent tags used to categorize the agent */
20
20
  tags?: string[];
21
+ /** The ID of the version the agent is on */
22
+ versionId?: string;
23
+ /** The ID of the branch the agent is on */
24
+ branchId?: string;
25
+ /** The ID of the main branch for this agent */
26
+ mainBranchId?: string;
21
27
  }
@@ -5,6 +5,8 @@ export interface GetConversationResponseModel {
5
5
  status: ElevenLabs.GetConversationResponseModelStatus;
6
6
  userId?: string;
7
7
  branchId?: string;
8
+ /** The ID of the agent version used for this conversation */
9
+ versionId?: string;
8
10
  transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
9
11
  metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
10
12
  analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
@@ -7,5 +7,6 @@ export interface GetKnowledgeBaseSummaryFileResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
10
11
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem[];
11
12
  }
@@ -7,6 +7,7 @@ export interface GetKnowledgeBaseSummaryFolderResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
10
11
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem[];
11
12
  childrenCount: number;
12
13
  }
@@ -7,5 +7,6 @@ export interface GetKnowledgeBaseSummaryTextResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
10
11
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem[];
11
12
  }
@@ -7,6 +7,7 @@ export interface GetKnowledgeBaseSummaryUrlResponseModel {
7
7
  accessInfo: ElevenLabs.ResourceAccessInfo;
8
8
  /** The ID of the parent folder, or null if the document is at the root level. */
9
9
  folderParentId?: string;
10
+ /** This field is deprecated and will be removed in the future, use the separate endpoint to get dependent agents instead. */
10
11
  dependentAgents: ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem[];
11
12
  url: string;
12
13
  }
@@ -0,0 +1,9 @@
1
+ export interface GetWhatsAppAccountResponse {
2
+ businessAccountId: string;
3
+ phoneNumberId: string;
4
+ businessAccountName: string;
5
+ phoneNumberName: string;
6
+ phoneNumber: string;
7
+ assignedAgentId?: string;
8
+ assignedAgentName?: string;
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,3 @@
1
+ export interface ImportWhatsAppAccountResponse {
2
+ phoneNumberId: string;
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,6 @@
1
+ export declare const KnowledgeBaseDependentType: {
2
+ readonly Direct: "direct";
3
+ readonly Transitive: "transitive";
4
+ readonly All: "all";
5
+ };
6
+ export type KnowledgeBaseDependentType = (typeof KnowledgeBaseDependentType)[keyof typeof KnowledgeBaseDependentType];
@@ -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.KnowledgeBaseDependentType = void 0;
5
+ exports.KnowledgeBaseDependentType = {
6
+ Direct: "direct",
7
+ Transitive: "transitive",
8
+ All: "all",
9
+ };
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ListWhatsAppAccountsResponse {
3
+ items: ElevenLabs.GetWhatsAppAccountResponse[];
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 });
@@ -8,6 +8,8 @@ export declare const Llm: {
8
8
  readonly Gpt41Nano: "gpt-4.1-nano";
9
9
  readonly Gpt5: "gpt-5";
10
10
  readonly Gpt51: "gpt-5.1";
11
+ readonly Gpt52: "gpt-5.2";
12
+ readonly Gpt52ChatLatest: "gpt-5.2-chat-latest";
11
13
  readonly Gpt5Mini: "gpt-5-mini";
12
14
  readonly Gpt5Nano: "gpt-5-nano";
13
15
  readonly Gpt35Turbo: "gpt-3.5-turbo";
@@ -18,6 +20,7 @@ export declare const Llm: {
18
20
  readonly Gemini25FlashLite: "gemini-2.5-flash-lite";
19
21
  readonly Gemini25Flash: "gemini-2.5-flash";
20
22
  readonly Gemini3ProPreview: "gemini-3-pro-preview";
23
+ readonly Gemini3FlashPreview: "gemini-3-flash-preview";
21
24
  readonly ClaudeSonnet45: "claude-sonnet-4-5";
22
25
  readonly ClaudeSonnet4: "claude-sonnet-4";
23
26
  readonly ClaudeHaiku45: "claude-haiku-4-5";
@@ -52,6 +55,7 @@ export declare const Llm: {
52
55
  readonly Claude3Haiku20240307: "claude-3-haiku@20240307";
53
56
  readonly Gpt520250807: "gpt-5-2025-08-07";
54
57
  readonly Gpt5120251113: "gpt-5.1-2025-11-13";
58
+ readonly Gpt5220251211: "gpt-5.2-2025-12-11";
55
59
  readonly Gpt5Mini20250807: "gpt-5-mini-2025-08-07";
56
60
  readonly Gpt5Nano20250807: "gpt-5-nano-2025-08-07";
57
61
  readonly Gpt4120250414: "gpt-4.1-2025-04-14";
@@ -12,6 +12,8 @@ exports.Llm = {
12
12
  Gpt41Nano: "gpt-4.1-nano",
13
13
  Gpt5: "gpt-5",
14
14
  Gpt51: "gpt-5.1",
15
+ Gpt52: "gpt-5.2",
16
+ Gpt52ChatLatest: "gpt-5.2-chat-latest",
15
17
  Gpt5Mini: "gpt-5-mini",
16
18
  Gpt5Nano: "gpt-5-nano",
17
19
  Gpt35Turbo: "gpt-3.5-turbo",
@@ -22,6 +24,7 @@ exports.Llm = {
22
24
  Gemini25FlashLite: "gemini-2.5-flash-lite",
23
25
  Gemini25Flash: "gemini-2.5-flash",
24
26
  Gemini3ProPreview: "gemini-3-pro-preview",
27
+ Gemini3FlashPreview: "gemini-3-flash-preview",
25
28
  ClaudeSonnet45: "claude-sonnet-4-5",
26
29
  ClaudeSonnet4: "claude-sonnet-4",
27
30
  ClaudeHaiku45: "claude-haiku-4-5",
@@ -56,6 +59,7 @@ exports.Llm = {
56
59
  Claude3Haiku20240307: "claude-3-haiku@20240307",
57
60
  Gpt520250807: "gpt-5-2025-08-07",
58
61
  Gpt5120251113: "gpt-5.1-2025-11-13",
62
+ Gpt5220251211: "gpt-5.2-2025-12-11",
59
63
  Gpt5Mini20250807: "gpt-5-mini-2025-08-07",
60
64
  Gpt5Nano20250807: "gpt-5-nano-2025-08-07",
61
65
  Gpt4120250414: "gpt-4.1-2025-04-14",
@@ -25,4 +25,6 @@ export interface McpServerConfigInput {
25
25
  executionMode?: ElevenLabs.ToolExecutionMode;
26
26
  /** List of per-tool configuration overrides that override the server-level defaults for specific tools */
27
27
  toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
28
+ /** Whether to disable HTTP compression for this MCP server. Enable this if the server does not support compressed responses. */
29
+ disableCompression?: boolean;
28
30
  }
@@ -25,4 +25,6 @@ export interface McpServerConfigOutput {
25
25
  executionMode?: ElevenLabs.ToolExecutionMode;
26
26
  /** List of per-tool configuration overrides that override the server-level defaults for specific tools */
27
27
  toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
28
+ /** Whether to disable HTTP compression for this MCP server. Enable this if the server does not support compressed responses. */
29
+ disableCompression?: boolean;
28
30
  }
@@ -8,6 +8,7 @@ export interface ProjectImageResponseModel {
8
8
  fileSizeBytes: number;
9
9
  width: number;
10
10
  height: number;
11
+ trackId?: string;
11
12
  offsetMs: number;
12
13
  durationMs: number;
13
14
  order: string;
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../index";
2
2
  export interface ProjectVideoResponseModel {
3
3
  videoId: string;
4
4
  filename: string;
5
- signedUrl: string;
5
+ signedUrl?: string;
6
6
  signedPreviewUrl?: string;
7
7
  offsetMs: number;
8
8
  durationMs: number;
@@ -29,4 +29,5 @@ export interface ProjectVideoResponseModel {
29
29
  speechImported?: boolean;
30
30
  currentSnapshotId?: string;
31
31
  canvasPlacement?: ElevenLabs.CanvasPlacement;
32
+ trackId?: string;
32
33
  }
@@ -1,4 +1,5 @@
1
1
  export declare const TransferTypeEnum: {
2
+ readonly Blind: "blind";
2
3
  readonly Conference: "conference";
3
4
  readonly SipRefer: "sip_refer";
4
5
  };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TransferTypeEnum = void 0;
5
5
  exports.TransferTypeEnum = {
6
+ Blind: "blind",
6
7
  Conference: "conference",
7
8
  SipRefer: "sip_refer",
8
9
  };
@@ -26,6 +26,8 @@ export interface Voice {
26
26
  highQualityBaseModelIds?: string[];
27
27
  /** The verified languages of the voice. */
28
28
  verifiedLanguages?: ElevenLabs.VerifiedVoiceLanguageResponseModel[];
29
+ /** The IDs of collections this voice belongs to. */
30
+ collectionIds?: string[];
29
31
  /** The safety controls of the voice. */
30
32
  safetyControl?: ElevenLabs.VoiceResponseModelSafetyControl;
31
33
  /** The voice verification of the voice. */
@@ -6,6 +6,6 @@
6
6
  * is configured, it will be played; otherwise the call will end immediately.
7
7
  */
8
8
  export interface VoicemailDetectionToolConfig {
9
- /** Optional message to leave on voicemail when detected. If not provided, the call will end immediately when voicemail is detected. */
9
+ /** Optional message to leave on voicemail when detected. If not provided, the call will end immediately when voicemail is detected. Supports dynamic variables (e.g., {{system__time}}, {{system__call_duration_secs}}, {{custom_variable}}). */
10
10
  voicemailMessage?: string;
11
11
  }
@@ -0,0 +1,5 @@
1
+ export interface WhatsAppOutboundCallResponse {
2
+ success: boolean;
3
+ message: string;
4
+ conversationId?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -56,6 +56,12 @@ export interface WidgetConfig {
56
56
  disableBanner?: boolean;
57
57
  /** The override link for the widget */
58
58
  overrideLink?: string;
59
+ /** List of allowed hostnames for clickable markdown links. Use { hostname: '*' } to allow any domain. Empty means no links are allowed. */
60
+ markdownLinkAllowedHosts?: ElevenLabs.AllowlistItem[];
61
+ /** Whether to automatically include www. variants of allowed hosts */
62
+ markdownLinkIncludeWww?: boolean;
63
+ /** Whether to allow http:// in addition to https:// for allowed hosts */
64
+ markdownLinkAllowHttp?: boolean;
59
65
  /** Whether to enable mic muting */
60
66
  micMutingEnabled?: boolean;
61
67
  /** Whether the widget should show the conversation transcript as it goes on */
@@ -56,6 +56,12 @@ export interface WidgetConfigResponse {
56
56
  disableBanner?: boolean;
57
57
  /** The override link for the widget */
58
58
  overrideLink?: string;
59
+ /** List of allowed hostnames for clickable markdown links. Use { hostname: '*' } to allow any domain. Empty means no links are allowed. */
60
+ markdownLinkAllowedHosts?: ElevenLabs.AllowlistItem[];
61
+ /** Whether to automatically include www. variants of allowed hosts */
62
+ markdownLinkIncludeWww?: boolean;
63
+ /** Whether to allow http:// in addition to https:// for allowed hosts */
64
+ markdownLinkAllowHttp?: boolean;
59
65
  /** Whether to enable mic muting */
60
66
  micMutingEnabled?: boolean;
61
67
  /** Whether the widget should show the conversation transcript as it goes on */
@@ -2,4 +2,12 @@ import type * as ElevenLabs from "../index";
2
2
  export interface WidgetLanguagePreset {
3
3
  /** The text contents for the selected language */
4
4
  textContents?: ElevenLabs.WidgetTextContents;
5
+ /** The text to display for terms and conditions in this language */
6
+ termsText?: string;
7
+ /** The HTML to display for terms and conditions in this language */
8
+ termsHtml?: string;
9
+ /** The key to display for terms and conditions in this language */
10
+ termsKey?: string;
11
+ /** The translation cache for the terms */
12
+ termsTranslation?: ElevenLabs.WidgetTermsTranslation;
5
13
  }
@@ -3,4 +3,10 @@ export interface WidgetLanguagePresetResponse {
3
3
  firstMessage?: string;
4
4
  /** The text contents for the selected language */
5
5
  textContents?: ElevenLabs.WidgetTextContents;
6
+ /** The text to display for terms and conditions in this language */
7
+ termsText?: string;
8
+ /** The HTML to display for terms and conditions in this language */
9
+ termsHtml?: string;
10
+ /** The key to display for terms and conditions in this language */
11
+ termsKey?: string;
6
12
  }
@@ -0,0 +1,4 @@
1
+ export interface WidgetTermsTranslation {
2
+ sourceHash: string;
3
+ text: 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 });
@@ -1,3 +1,4 @@
1
1
  export interface WorkspaceCreateApiKeyResponseModel {
2
2
  xiApiKey: string;
3
+ keyId: string;
3
4
  }
@@ -27,5 +27,8 @@ export declare const WorkspaceResourceType: {
27
27
  readonly Dashboard: "dashboard";
28
28
  readonly DashboardConfiguration: "dashboard_configuration";
29
29
  readonly ConvaiAgentDrafts: "convai_agent_drafts";
30
+ readonly ResourceLocators: "resource_locators";
31
+ readonly Assets: "assets";
32
+ readonly ContentGenerations: "content_generations";
30
33
  };
31
34
  export type WorkspaceResourceType = (typeof WorkspaceResourceType)[keyof typeof WorkspaceResourceType];
@@ -31,4 +31,7 @@ exports.WorkspaceResourceType = {
31
31
  Dashboard: "dashboard",
32
32
  DashboardConfiguration: "dashboard_configuration",
33
33
  ConvaiAgentDrafts: "convai_agent_drafts",
34
+ ResourceLocators: "resource_locators",
35
+ Assets: "assets",
36
+ ContentGenerations: "content_generations",
34
37
  };
@@ -413,6 +413,7 @@ export * from "./GetUnitTestResponseModel";
413
413
  export * from "./GetUnitTestResponseModelDynamicVariablesValue";
414
414
  export * from "./GetVoicesResponse";
415
415
  export * from "./GetVoicesV2Response";
416
+ export * from "./GetWhatsAppAccountResponse";
416
417
  export * from "./GetWorkspaceSecretsResponseModel";
417
418
  export * from "./GuardrailsV1Input";
418
419
  export * from "./GuardrailsV1Output";
@@ -422,10 +423,12 @@ export * from "./HistoryItemResponse";
422
423
  export * from "./HtmlExportOptions";
423
424
  export * from "./HttpValidationError";
424
425
  export * from "./ImageAvatar";
426
+ export * from "./ImportWhatsAppAccountResponse";
425
427
  export * from "./InboundSipTrunkConfigRequestModel";
426
428
  export * from "./IntegrationType";
427
429
  export * from "./InvoiceResponse";
428
430
  export * from "./InvoiceResponseModelPaymentIntentStatus";
431
+ export * from "./KnowledgeBaseDependentType";
429
432
  export * from "./KnowledgeBaseDocumentChunkResponseModel";
430
433
  export * from "./KnowledgeBaseDocumentMetadataResponseModel";
431
434
  export * from "./KnowledgeBaseDocumentType";
@@ -445,6 +448,7 @@ export * from "./LibraryVoiceResponse";
445
448
  export * from "./LibraryVoiceResponseModelCategory";
446
449
  export * from "./ListMcpToolsResponseModel";
447
450
  export * from "./ListResponseMeta";
451
+ export * from "./ListWhatsAppAccountsResponse";
448
452
  export * from "./LiteralJsonSchemaProperty";
449
453
  export * from "./LiteralJsonSchemaPropertyConstantValue";
450
454
  export * from "./LiteralJsonSchemaPropertyType";
@@ -806,6 +810,7 @@ export * from "./WebhookToolConfigOutput";
806
810
  export * from "./WebhookUsageType";
807
811
  export * from "./WhatsAppConversationInfo";
808
812
  export * from "./WhatsAppConversationInfoDirection";
813
+ export * from "./WhatsAppOutboundCallResponse";
809
814
  export * from "./WidgetConfig";
810
815
  export * from "./WidgetConfigInputAvatar";
811
816
  export * from "./WidgetConfigOutputAvatar";
@@ -819,6 +824,7 @@ export * from "./WidgetLanguagePreset";
819
824
  export * from "./WidgetLanguagePresetResponse";
820
825
  export * from "./WidgetPlacement";
821
826
  export * from "./WidgetStyles";
827
+ export * from "./WidgetTermsTranslation";
822
828
  export * from "./WidgetTextContents";
823
829
  export * from "./WordTimestamp";
824
830
  export * from "./WorkflowEdgeModelInput";