@elevenlabs/elevenlabs-js 2.28.0 → 2.30.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 (554) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/LICENSE +1 -1
  4. package/api/resources/conversationalAi/client/Client.d.ts +6 -0
  5. package/api/resources/conversationalAi/client/Client.js +10 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  7. package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  8. package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
  9. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  10. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  11. package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
  12. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  13. package/api/resources/conversationalAi/resources/index.d.ts +4 -0
  14. package/api/resources/conversationalAi/resources/index.js +5 -1
  15. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  16. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  17. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  18. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
  19. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
  20. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
  21. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  22. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
  24. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
  25. package/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  26. package/{dist/api/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp/client}/index.js +1 -1
  27. package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
  28. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  29. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
  30. package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  31. package/{dist/serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp}/index.js +1 -1
  32. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
  33. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
  34. package/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  35. package/{serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsappAccounts/client}/index.js +1 -1
  36. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
  37. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
  38. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
  39. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  40. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
  41. package/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  42. package/api/resources/{dubbing/resources/resource/types → conversationalAi/resources/whatsappAccounts}/index.js +1 -1
  43. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  44. package/api/resources/dubbing/resources/index.d.ts +0 -1
  45. package/api/resources/dubbing/resources/index.js +0 -1
  46. package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
  47. package/api/resources/dubbing/resources/resource/client/Client.js +3 -3
  48. package/api/resources/dubbing/resources/resource/index.d.ts +0 -1
  49. package/api/resources/dubbing/resources/resource/index.js +0 -1
  50. package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  51. package/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  52. package/api/resources/history/client/Client.d.ts +2 -2
  53. package/api/resources/history/client/Client.js +2 -2
  54. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  55. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  56. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  57. package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
  58. package/api/resources/speechToText/client/Client.js +11 -0
  59. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  60. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  61. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
  62. package/api/resources/speechToText/types/index.d.ts +1 -0
  63. package/api/resources/speechToText/types/index.js +1 -0
  64. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
  65. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
  66. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
  67. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
  68. package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
  69. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  70. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  71. package/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  72. package/api/resources/workspace/resources/resources/client/Client.js +59 -0
  73. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  74. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
  75. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  76. package/api/types/AuthorizationMethod.d.ts +1 -0
  77. package/api/types/AuthorizationMethod.js +1 -0
  78. package/api/types/BatchCallDetailedResponse.d.ts +3 -1
  79. package/api/types/BatchCallRecipientStatus.d.ts +1 -0
  80. package/api/types/BatchCallRecipientStatus.js +1 -0
  81. package/api/types/BatchCallResponse.d.ts +3 -1
  82. package/api/types/ConversationConfig.d.ts +4 -0
  83. package/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
  84. package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  85. package/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
  86. package/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
  87. package/api/types/DetectedEntity.d.ts +10 -0
  88. package/api/types/DetectedEntity.js +3 -0
  89. package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  90. package/api/types/GetAgentResponseModel.d.ts +6 -0
  91. package/api/types/GetConversationResponseModel.d.ts +2 -0
  92. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  93. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  94. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
  95. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
  96. package/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
  97. package/api/types/GetWhatsAppAccountResponse.js +3 -0
  98. package/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
  99. package/api/types/ImportWhatsAppAccountResponse.js +3 -0
  100. package/api/types/KnowledgeBaseDependentType.d.ts +6 -0
  101. package/api/types/KnowledgeBaseDependentType.js +9 -0
  102. package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  103. package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
  104. package/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
  105. package/api/types/ListWhatsAppAccountsResponse.js +3 -0
  106. package/api/types/Llm.d.ts +4 -0
  107. package/api/types/Llm.js +4 -0
  108. package/api/types/McpServerConfigInput.d.ts +2 -0
  109. package/api/types/McpServerConfigOutput.d.ts +2 -0
  110. package/api/types/ProjectImageResponseModel.d.ts +1 -0
  111. package/api/types/ProjectVideoResponseModel.d.ts +2 -1
  112. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  113. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  114. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  115. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  116. package/api/types/SoftTimeoutConfig.d.ts +2 -0
  117. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  118. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  119. package/api/types/TransferTypeEnum.d.ts +1 -0
  120. package/api/types/TransferTypeEnum.js +1 -0
  121. package/api/types/Voice.d.ts +2 -0
  122. package/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
  123. package/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
  124. package/api/types/WhatsAppOutboundCallResponse.js +3 -0
  125. package/api/types/WidgetConfig.d.ts +6 -0
  126. package/api/types/WidgetConfigResponse.d.ts +6 -0
  127. package/api/types/WidgetLanguagePreset.d.ts +8 -0
  128. package/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
  129. package/api/types/WidgetTermsTranslation.d.ts +4 -0
  130. package/api/types/WidgetTermsTranslation.js +3 -0
  131. package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  132. package/api/types/WorkspaceResourceType.d.ts +3 -0
  133. package/api/types/WorkspaceResourceType.js +3 -0
  134. package/api/types/index.d.ts +8 -0
  135. package/api/types/index.js +8 -0
  136. package/dist/BaseClient.js +2 -2
  137. package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -0
  138. package/dist/api/resources/conversationalAi/client/Client.js +10 -0
  139. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  140. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  141. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
  142. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  143. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  144. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
  145. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  146. package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
  147. package/dist/api/resources/conversationalAi/resources/index.js +5 -1
  148. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  149. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  150. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  151. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
  152. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
  153. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
  154. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  155. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  156. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
  157. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
  158. package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  159. package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  160. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
  161. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +3 -0
  162. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  163. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
  164. package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  165. package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  166. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
  167. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
  168. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  169. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  170. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
  171. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +3 -0
  172. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
  173. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
  174. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  175. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
  176. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  177. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  178. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  179. package/dist/api/resources/dubbing/resources/index.d.ts +0 -1
  180. package/dist/api/resources/dubbing/resources/index.js +0 -1
  181. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
  182. package/dist/api/resources/dubbing/resources/resource/client/Client.js +3 -3
  183. package/dist/api/resources/dubbing/resources/resource/index.d.ts +0 -1
  184. package/dist/api/resources/dubbing/resources/resource/index.js +0 -1
  185. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  186. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  187. package/dist/api/resources/history/client/Client.d.ts +2 -2
  188. package/dist/api/resources/history/client/Client.js +2 -2
  189. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  190. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  191. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  192. package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
  193. package/dist/api/resources/speechToText/client/Client.js +11 -0
  194. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  195. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  196. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
  197. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  198. package/dist/api/resources/speechToText/types/index.js +1 -0
  199. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
  200. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
  201. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
  202. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
  203. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
  204. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  205. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
  206. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  207. package/dist/api/resources/workspace/resources/resources/client/Client.js +59 -0
  208. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  209. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
  210. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  211. package/dist/api/types/AuthorizationMethod.d.ts +1 -0
  212. package/dist/api/types/AuthorizationMethod.js +1 -0
  213. package/dist/api/types/BatchCallDetailedResponse.d.ts +3 -1
  214. package/dist/api/types/BatchCallRecipientStatus.d.ts +1 -0
  215. package/dist/api/types/BatchCallRecipientStatus.js +1 -0
  216. package/dist/api/types/BatchCallResponse.d.ts +3 -1
  217. package/dist/api/types/ConversationConfig.d.ts +4 -0
  218. package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
  219. package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  220. package/dist/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
  221. package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
  222. package/dist/api/types/DetectedEntity.d.ts +10 -0
  223. package/dist/api/types/DetectedEntity.js +3 -0
  224. package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  225. package/dist/api/types/GetAgentResponseModel.d.ts +6 -0
  226. package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
  227. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  228. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  229. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +3 -0
  230. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +3 -0
  231. package/dist/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
  232. package/dist/api/types/GetWhatsAppAccountResponse.js +3 -0
  233. package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
  234. package/dist/api/types/ImportWhatsAppAccountResponse.js +3 -0
  235. package/dist/api/types/KnowledgeBaseDependentType.d.ts +6 -0
  236. package/dist/api/types/KnowledgeBaseDependentType.js +9 -0
  237. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  238. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
  239. package/dist/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
  240. package/dist/api/types/ListWhatsAppAccountsResponse.js +3 -0
  241. package/dist/api/types/Llm.d.ts +4 -0
  242. package/dist/api/types/Llm.js +4 -0
  243. package/dist/api/types/McpServerConfigInput.d.ts +2 -0
  244. package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
  245. package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
  246. package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -1
  247. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  248. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  249. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  250. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  251. package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
  252. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  253. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  254. package/dist/api/types/TransferTypeEnum.d.ts +1 -0
  255. package/dist/api/types/TransferTypeEnum.js +1 -0
  256. package/dist/api/types/Voice.d.ts +2 -0
  257. package/dist/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
  258. package/dist/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
  259. package/dist/api/types/WhatsAppOutboundCallResponse.js +3 -0
  260. package/dist/api/types/WidgetConfig.d.ts +6 -0
  261. package/dist/api/types/WidgetConfigResponse.d.ts +6 -0
  262. package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
  263. package/dist/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
  264. package/dist/api/types/WidgetTermsTranslation.d.ts +4 -0
  265. package/dist/api/types/WidgetTermsTranslation.js +3 -0
  266. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  267. package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
  268. package/dist/api/types/WorkspaceResourceType.js +3 -0
  269. package/dist/api/types/index.d.ts +8 -0
  270. package/dist/api/types/index.js +8 -0
  271. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
  272. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
  273. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
  274. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
  275. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
  276. package/dist/serialization/resources/conversationalAi/resources/index.js +5 -1
  277. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  278. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  279. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  280. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  281. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  282. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  283. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
  284. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
  285. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  286. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
  287. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  288. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  289. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  290. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  291. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
  292. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
  293. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
  294. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
  295. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  296. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
  297. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  298. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  299. package/dist/serialization/resources/dubbing/resources/index.d.ts +0 -1
  300. package/dist/serialization/resources/dubbing/resources/index.js +0 -1
  301. package/dist/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
  302. package/dist/serialization/resources/dubbing/resources/resource/index.js +0 -1
  303. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  304. package/dist/serialization/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +4 -4
  305. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  306. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  307. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  308. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
  309. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  310. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
  311. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  312. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
  313. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  314. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  315. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  316. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  317. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
  318. package/dist/serialization/types/BatchCallDetailedResponse.js +4 -1
  319. package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  320. package/dist/serialization/types/BatchCallRecipientStatus.js +10 -1
  321. package/dist/serialization/types/BatchCallResponse.d.ts +4 -1
  322. package/dist/serialization/types/BatchCallResponse.js +4 -1
  323. package/dist/serialization/types/ConversationConfig.d.ts +2 -0
  324. package/dist/serialization/types/ConversationConfig.js +2 -0
  325. package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
  326. package/dist/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
  327. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  328. package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
  329. package/dist/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
  330. package/dist/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
  331. package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
  332. package/dist/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
  333. package/dist/serialization/types/DetectedEntity.d.ts +12 -0
  334. package/dist/serialization/types/DetectedEntity.js +44 -0
  335. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
  336. package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
  337. package/dist/serialization/types/GetAgentResponseModel.d.ts +3 -0
  338. package/dist/serialization/types/GetAgentResponseModel.js +3 -0
  339. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  340. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  341. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  342. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  343. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  344. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  345. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  346. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  347. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  348. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  349. package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
  350. package/dist/serialization/types/GetWhatsAppAccountResponse.js +47 -0
  351. package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
  352. package/dist/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
  353. package/dist/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
  354. package/dist/serialization/types/KnowledgeBaseDependentType.js +39 -0
  355. package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  356. package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
  357. package/dist/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
  358. package/dist/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
  359. package/dist/serialization/types/Llm.d.ts +1 -1
  360. package/dist/serialization/types/Llm.js +4 -0
  361. package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
  362. package/dist/serialization/types/McpServerConfigInput.js +1 -0
  363. package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
  364. package/dist/serialization/types/McpServerConfigOutput.js +1 -0
  365. package/dist/serialization/types/ProjectImageResponseModel.d.ts +1 -0
  366. package/dist/serialization/types/ProjectImageResponseModel.js +1 -0
  367. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
  368. package/dist/serialization/types/ProjectVideoResponseModel.js +2 -1
  369. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  370. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  371. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  372. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  373. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  374. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  375. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  376. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  377. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  378. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  379. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  380. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  381. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  382. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  383. package/dist/serialization/types/TransferTypeEnum.d.ts +1 -1
  384. package/dist/serialization/types/TransferTypeEnum.js +1 -1
  385. package/dist/serialization/types/Voice.d.ts +1 -0
  386. package/dist/serialization/types/Voice.js +1 -0
  387. package/dist/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
  388. package/dist/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
  389. package/dist/serialization/types/WidgetConfig.d.ts +4 -0
  390. package/dist/serialization/types/WidgetConfig.js +4 -0
  391. package/dist/serialization/types/WidgetConfigResponse.d.ts +4 -0
  392. package/dist/serialization/types/WidgetConfigResponse.js +4 -0
  393. package/dist/serialization/types/WidgetLanguagePreset.d.ts +5 -0
  394. package/dist/serialization/types/WidgetLanguagePreset.js +5 -0
  395. package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
  396. package/dist/serialization/types/WidgetLanguagePresetResponse.js +3 -0
  397. package/dist/serialization/types/WidgetTermsTranslation.d.ts +10 -0
  398. package/dist/serialization/types/WidgetTermsTranslation.js +42 -0
  399. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  400. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
  401. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  402. package/dist/serialization/types/WorkspaceResourceType.js +3 -0
  403. package/dist/serialization/types/index.d.ts +8 -0
  404. package/dist/serialization/types/index.js +8 -0
  405. package/dist/version.d.ts +1 -1
  406. package/dist/version.js +1 -1
  407. package/package.json +1 -1
  408. package/reference.md +473 -8
  409. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
  410. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
  411. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
  412. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
  413. package/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
  414. package/serialization/resources/conversationalAi/resources/index.js +5 -1
  415. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  416. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  417. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  418. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  419. package/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
  420. package/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
  421. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
  422. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
  423. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  424. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
  425. package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  426. package/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
  427. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
  428. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
  429. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
  430. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
  431. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
  432. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
  433. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
  434. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
  435. package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
  436. package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
  437. package/serialization/resources/dubbing/resources/index.d.ts +0 -1
  438. package/serialization/resources/dubbing/resources/index.js +0 -1
  439. package/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
  440. package/serialization/resources/dubbing/resources/resource/index.js +0 -1
  441. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  442. package/serialization/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +4 -4
  443. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  444. package/serialization/resources/speechToText/types/index.js +1 -0
  445. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  446. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
  447. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  448. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
  449. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  450. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
  451. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  452. package/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  453. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  454. package/serialization/types/AuthorizationMethod.js +1 -0
  455. package/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
  456. package/serialization/types/BatchCallDetailedResponse.js +4 -1
  457. package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  458. package/serialization/types/BatchCallRecipientStatus.js +10 -1
  459. package/serialization/types/BatchCallResponse.d.ts +4 -1
  460. package/serialization/types/BatchCallResponse.js +4 -1
  461. package/serialization/types/ConversationConfig.d.ts +2 -0
  462. package/serialization/types/ConversationConfig.js +2 -0
  463. package/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
  464. package/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
  465. package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  466. package/serialization/types/ConversationSummaryResponseModel.js +1 -0
  467. package/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
  468. package/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
  469. package/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
  470. package/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
  471. package/serialization/types/DetectedEntity.d.ts +12 -0
  472. package/serialization/types/DetectedEntity.js +44 -0
  473. package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
  474. package/serialization/types/FeaturesUsageCommonModel.js +1 -0
  475. package/serialization/types/GetAgentResponseModel.d.ts +3 -0
  476. package/serialization/types/GetAgentResponseModel.js +3 -0
  477. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  478. package/serialization/types/GetConversationResponseModel.js +1 -0
  479. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  480. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  481. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  482. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  483. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  484. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  485. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  486. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  487. package/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
  488. package/serialization/types/GetWhatsAppAccountResponse.js +47 -0
  489. package/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
  490. package/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
  491. package/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
  492. package/serialization/types/KnowledgeBaseDependentType.js +39 -0
  493. package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  494. package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
  495. package/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
  496. package/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
  497. package/serialization/types/Llm.d.ts +1 -1
  498. package/serialization/types/Llm.js +4 -0
  499. package/serialization/types/McpServerConfigInput.d.ts +1 -0
  500. package/serialization/types/McpServerConfigInput.js +1 -0
  501. package/serialization/types/McpServerConfigOutput.d.ts +1 -0
  502. package/serialization/types/McpServerConfigOutput.js +1 -0
  503. package/serialization/types/ProjectImageResponseModel.d.ts +1 -0
  504. package/serialization/types/ProjectImageResponseModel.js +1 -0
  505. package/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
  506. package/serialization/types/ProjectVideoResponseModel.js +2 -1
  507. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  508. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  509. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  510. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  511. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  512. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  513. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  514. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  515. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  516. package/serialization/types/SoftTimeoutConfig.js +1 -0
  517. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  518. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  519. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  520. package/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  521. package/serialization/types/TransferTypeEnum.d.ts +1 -1
  522. package/serialization/types/TransferTypeEnum.js +1 -1
  523. package/serialization/types/Voice.d.ts +1 -0
  524. package/serialization/types/Voice.js +1 -0
  525. package/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
  526. package/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
  527. package/serialization/types/WidgetConfig.d.ts +4 -0
  528. package/serialization/types/WidgetConfig.js +4 -0
  529. package/serialization/types/WidgetConfigResponse.d.ts +4 -0
  530. package/serialization/types/WidgetConfigResponse.js +4 -0
  531. package/serialization/types/WidgetLanguagePreset.d.ts +5 -0
  532. package/serialization/types/WidgetLanguagePreset.js +5 -0
  533. package/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
  534. package/serialization/types/WidgetLanguagePresetResponse.js +3 -0
  535. package/serialization/types/WidgetTermsTranslation.d.ts +10 -0
  536. package/serialization/types/WidgetTermsTranslation.js +42 -0
  537. package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
  538. package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
  539. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  540. package/serialization/types/WorkspaceResourceType.js +3 -0
  541. package/serialization/types/index.d.ts +8 -0
  542. package/serialization/types/index.js +8 -0
  543. package/version.d.ts +1 -1
  544. package/version.js +1 -1
  545. package/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
  546. package/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  547. package/dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
  548. package/dist/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  549. package/dist/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
  550. package/dist/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  551. package/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
  552. package/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
  553. /package/api/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js} +0 -0
  554. /package/{dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js} +0 -0
@@ -0,0 +1,47 @@
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.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = void 0;
38
+ const core = __importStar(require("../../../../../../../core"));
39
+ const ConversationInitiationClientDataRequestInput_1 = require("../../../../../../types/ConversationInitiationClientDataRequestInput");
40
+ exports.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = core.serialization.object({
41
+ whatsappPhoneNumberId: core.serialization.property("whatsapp_phone_number_id", core.serialization.string()),
42
+ whatsappUserId: core.serialization.property("whatsapp_user_id", core.serialization.string()),
43
+ whatsappCallPermissionRequestTemplateName: core.serialization.property("whatsapp_call_permission_request_template_name", core.serialization.string()),
44
+ whatsappCallPermissionRequestTemplateLanguageCode: core.serialization.property("whatsapp_call_permission_request_template_language_code", core.serialization.string()),
45
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
46
+ conversationInitiationClientData: core.serialization.property("conversation_initiation_client_data", ConversationInitiationClientDataRequestInput_1.ConversationInitiationClientDataRequestInput.optional()),
47
+ });
@@ -0,0 +1 @@
1
+ export { BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost } from "./BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = void 0;
4
+ var BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost_1 = require("./BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost");
5
+ Object.defineProperty(exports, "BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost", { enumerable: true, get: function () { return BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost_1.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost; } });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -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("./client"), exports);
@@ -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("./requests"), exports);
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../../../../../../api/index";
2
+ import * as core from "../../../../../../../core";
3
+ import type * as serializers from "../../../../../../index";
4
+ export declare const ImportWhatsAppAccountRequest: core.serialization.Schema<serializers.conversationalAi.ImportWhatsAppAccountRequest.Raw, ElevenLabs.conversationalAi.ImportWhatsAppAccountRequest>;
5
+ export declare namespace ImportWhatsAppAccountRequest {
6
+ interface Raw {
7
+ business_account_id: string;
8
+ phone_number_id: string;
9
+ token_code: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ImportWhatsAppAccountRequest = void 0;
38
+ const core = __importStar(require("../../../../../../../core"));
39
+ exports.ImportWhatsAppAccountRequest = core.serialization.object({
40
+ businessAccountId: core.serialization.property("business_account_id", core.serialization.string()),
41
+ phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
42
+ tokenCode: core.serialization.property("token_code", core.serialization.string()),
43
+ });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../../../../../../api/index";
2
+ import * as core from "../../../../../../../core";
3
+ import type * as serializers from "../../../../../../index";
4
+ export declare const UpdateWhatsAppAccountRequest: core.serialization.Schema<serializers.conversationalAi.UpdateWhatsAppAccountRequest.Raw, ElevenLabs.conversationalAi.UpdateWhatsAppAccountRequest>;
5
+ export declare namespace UpdateWhatsAppAccountRequest {
6
+ interface Raw {
7
+ assigned_agent_id?: string | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateWhatsAppAccountRequest = void 0;
38
+ const core = __importStar(require("../../../../../../../core"));
39
+ exports.UpdateWhatsAppAccountRequest = core.serialization.object({
40
+ assignedAgentId: core.serialization.property("assigned_agent_id", core.serialization.string().optional()),
41
+ });
@@ -0,0 +1,2 @@
1
+ export { ImportWhatsAppAccountRequest } from "./ImportWhatsAppAccountRequest";
2
+ export { UpdateWhatsAppAccountRequest } from "./UpdateWhatsAppAccountRequest";
@@ -0,0 +1,7 @@
1
+ "use strict";
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; } });
6
+ var UpdateWhatsAppAccountRequest_1 = require("./UpdateWhatsAppAccountRequest");
7
+ Object.defineProperty(exports, "UpdateWhatsAppAccountRequest", { enumerable: true, get: function () { return UpdateWhatsAppAccountRequest_1.UpdateWhatsAppAccountRequest; } });
@@ -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("./client"), exports);
@@ -1,5 +1,4 @@
1
1
  export * as resource from "./resource";
2
2
  export * from "./resource/client/requests";
3
- export * from "./resource/types";
4
3
  export * as transcript from "./transcript";
5
4
  export * from "./transcript/types";
@@ -39,6 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.transcript = exports.resource = void 0;
40
40
  exports.resource = __importStar(require("./resource"));
41
41
  __exportStar(require("./resource/client/requests"), exports);
42
- __exportStar(require("./resource/types"), exports);
43
42
  exports.transcript = __importStar(require("./transcript"));
44
43
  __exportStar(require("./transcript/types"), exports);
@@ -1,3 +1,2 @@
1
1
  export * from "./client";
2
2
  export * from "./resources";
3
- export * from "./types";
@@ -16,4 +16,3 @@ 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);
@@ -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 SpeechToTextConvertRequestEntityDetection: core.serialization.Schema<serializers.SpeechToTextConvertRequestEntityDetection.Raw, ElevenLabs.SpeechToTextConvertRequestEntityDetection>;
5
+ export declare namespace SpeechToTextConvertRequestEntityDetection {
6
+ type Raw = string | string[];
7
+ }
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.ResourceRenderRequestLanguage = void 0;
38
- const core = __importStar(require("../../../../../../core"));
39
- exports.ResourceRenderRequestLanguage = core.serialization.undiscriminatedUnion([
37
+ exports.SpeechToTextConvertRequestEntityDetection = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.SpeechToTextConvertRequestEntityDetection = core.serialization.undiscriminatedUnion([
40
40
  core.serialization.string(),
41
- core.serialization.stringLiteral("original"),
41
+ core.serialization.list(core.serialization.string()),
42
42
  ]);
@@ -1,3 +1,4 @@
1
+ export * from "./SpeechToTextConvertRequestEntityDetection";
1
2
  export * from "./SpeechToTextConvertRequestFileFormat";
2
3
  export * from "./SpeechToTextConvertRequestTimestampsGranularity";
3
4
  export * from "./SpeechToTextConvertRequestWebhookMetadata";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
17
18
  __exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
18
19
  __exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
19
20
  __exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
@@ -11,5 +11,6 @@ export declare namespace VoiceDesignRequest {
11
11
  quality?: number | null;
12
12
  seed?: number | null;
13
13
  guidance_scale?: number | null;
14
+ should_enhance?: boolean | null;
14
15
  }
15
16
  }
@@ -44,4 +44,5 @@ exports.VoiceDesignRequest = core.serialization.object({
44
44
  quality: core.serialization.number().optional(),
45
45
  seed: core.serialization.number().optional(),
46
46
  guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()),
47
+ shouldEnhance: core.serialization.property("should_enhance", core.serialization.boolean().optional()),
47
48
  });
@@ -13,6 +13,7 @@ export declare namespace VoiceDesignRequestModel {
13
13
  seed?: number | null;
14
14
  guidance_scale?: number | null;
15
15
  stream_previews?: boolean | null;
16
+ should_enhance?: boolean | null;
16
17
  remixing_session_id?: string | null;
17
18
  remixing_session_iteration_id?: string | null;
18
19
  quality?: number | null;
@@ -46,6 +46,7 @@ exports.VoiceDesignRequestModel = core.serialization.object({
46
46
  seed: core.serialization.number().optional(),
47
47
  guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()),
48
48
  streamPreviews: core.serialization.property("stream_previews", core.serialization.boolean().optional()),
49
+ shouldEnhance: core.serialization.property("should_enhance", core.serialization.boolean().optional()),
49
50
  remixingSessionId: core.serialization.property("remixing_session_id", core.serialization.string().optional()),
50
51
  remixingSessionIterationId: core.serialization.property("remixing_session_iteration_id", core.serialization.string().optional()),
51
52
  quality: core.serialization.number().optional(),
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../../../../../../api/index";
2
+ import * as core from "../../../../../../../core";
3
+ import type * as serializers from "../../../../../../index";
4
+ import { WorkspaceResourceType } from "../../../../../../types/WorkspaceResourceType";
5
+ export declare const BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost: core.serialization.Schema<serializers.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.Raw, ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost>;
6
+ export declare namespace BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost {
7
+ interface Raw {
8
+ resource_type: WorkspaceResourceType.Raw;
9
+ target_user_id: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = void 0;
38
+ const core = __importStar(require("../../../../../../../core"));
39
+ const WorkspaceResourceType_1 = require("../../../../../../types/WorkspaceResourceType");
40
+ exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = core.serialization.object({
41
+ resourceType: core.serialization.property("resource_type", WorkspaceResourceType_1.WorkspaceResourceType),
42
+ targetUserId: core.serialization.property("target_user_id", core.serialization.string()),
43
+ });
@@ -1,2 +1,3 @@
1
+ export { BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost } from "./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost";
1
2
  export { BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost } from "./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost";
2
3
  export { BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost } from "./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost";
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost = exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost = void 0;
3
+ exports.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost = exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost = exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = void 0;
4
+ var BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost_1 = require("./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost");
5
+ Object.defineProperty(exports, "BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost", { enumerable: true, get: function () { return BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost_1.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost; } });
4
6
  var BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost_1 = require("./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost");
5
7
  Object.defineProperty(exports, "BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost", { enumerable: true, get: function () { return BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost_1.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost; } });
6
8
  var BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost_1 = require("./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost");
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const AuthorizationMethod: core.serialization.Schema<serializers.AuthorizationMethod.Raw, ElevenLabs.AuthorizationMethod>;
5
5
  export declare namespace AuthorizationMethod {
6
- type Raw = "invalid" | "public" | "authorization_header" | "signed_url" | "shareable_link" | "livekit_token" | "livekit_token_website" | "genesys_api_key";
6
+ type Raw = "invalid" | "public" | "authorization_header" | "signed_url" | "shareable_link" | "livekit_token" | "livekit_token_website" | "genesys_api_key" | "whatsapp";
7
7
  }
@@ -45,4 +45,5 @@ exports.AuthorizationMethod = core.serialization.enum_([
45
45
  "livekit_token",
46
46
  "livekit_token_website",
47
47
  "genesys_api_key",
48
+ "whatsapp",
48
49
  ]);
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { BatchCallStatus } from "./BatchCallStatus";
5
+ import { BatchCallWhatsAppParams } from "./BatchCallWhatsAppParams";
5
6
  import { OutboundCallRecipientResponseModel } from "./OutboundCallRecipientResponseModel";
6
7
  import { TelephonyProvider } from "./TelephonyProvider";
7
8
  export declare const BatchCallDetailedResponse: core.serialization.ObjectSchema<serializers.BatchCallDetailedResponse.Raw, ElevenLabs.BatchCallDetailedResponse>;
@@ -10,15 +11,17 @@ export declare namespace BatchCallDetailedResponse {
10
11
  id: string;
11
12
  phone_number_id?: string | null;
12
13
  phone_provider?: TelephonyProvider.Raw | null;
14
+ whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
13
15
  name: string;
14
16
  agent_id: string;
15
17
  created_at_unix: number;
16
18
  scheduled_time_unix: number;
17
19
  total_calls_dispatched: number;
18
20
  total_calls_scheduled: number;
21
+ total_calls_finished: number;
19
22
  last_updated_at_unix: number;
20
23
  status: BatchCallStatus.Raw;
21
- retry_count?: number | null;
24
+ retry_count: number;
22
25
  agent_name: string;
23
26
  recipients: OutboundCallRecipientResponseModel.Raw[];
24
27
  }
@@ -37,21 +37,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BatchCallDetailedResponse = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const BatchCallStatus_1 = require("./BatchCallStatus");
40
+ const BatchCallWhatsAppParams_1 = require("./BatchCallWhatsAppParams");
40
41
  const OutboundCallRecipientResponseModel_1 = require("./OutboundCallRecipientResponseModel");
41
42
  const TelephonyProvider_1 = require("./TelephonyProvider");
42
43
  exports.BatchCallDetailedResponse = core.serialization.object({
43
44
  id: core.serialization.string(),
44
45
  phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
45
46
  phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
47
+ whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
46
48
  name: core.serialization.string(),
47
49
  agentId: core.serialization.property("agent_id", core.serialization.string()),
48
50
  createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
49
51
  scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
50
52
  totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
51
53
  totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
54
+ totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
52
55
  lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number()),
53
56
  status: BatchCallStatus_1.BatchCallStatus,
54
- retryCount: core.serialization.property("retry_count", core.serialization.number().optional()),
57
+ retryCount: core.serialization.property("retry_count", core.serialization.number()),
55
58
  agentName: core.serialization.property("agent_name", core.serialization.string()),
56
59
  recipients: core.serialization.list(OutboundCallRecipientResponseModel_1.OutboundCallRecipientResponseModel),
57
60
  });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const BatchCallRecipientStatus: core.serialization.Schema<serializers.BatchCallRecipientStatus.Raw, ElevenLabs.BatchCallRecipientStatus>;
5
5
  export declare namespace BatchCallRecipientStatus {
6
- type Raw = "pending" | "initiated" | "in_progress" | "completed" | "failed" | "cancelled" | "voicemail";
6
+ type Raw = "pending" | "dispatched" | "initiated" | "in_progress" | "completed" | "failed" | "cancelled" | "voicemail";
7
7
  }
@@ -36,4 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BatchCallRecipientStatus = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.BatchCallRecipientStatus = core.serialization.enum_(["pending", "initiated", "in_progress", "completed", "failed", "cancelled", "voicemail"]);
39
+ exports.BatchCallRecipientStatus = core.serialization.enum_([
40
+ "pending",
41
+ "dispatched",
42
+ "initiated",
43
+ "in_progress",
44
+ "completed",
45
+ "failed",
46
+ "cancelled",
47
+ "voicemail",
48
+ ]);
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { BatchCallStatus } from "./BatchCallStatus";
5
+ import { BatchCallWhatsAppParams } from "./BatchCallWhatsAppParams";
5
6
  import { TelephonyProvider } from "./TelephonyProvider";
6
7
  export declare const BatchCallResponse: core.serialization.ObjectSchema<serializers.BatchCallResponse.Raw, ElevenLabs.BatchCallResponse>;
7
8
  export declare namespace BatchCallResponse {
@@ -9,15 +10,17 @@ export declare namespace BatchCallResponse {
9
10
  id: string;
10
11
  phone_number_id?: string | null;
11
12
  phone_provider?: TelephonyProvider.Raw | null;
13
+ whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
12
14
  name: string;
13
15
  agent_id: string;
14
16
  created_at_unix: number;
15
17
  scheduled_time_unix: number;
16
18
  total_calls_dispatched: number;
17
19
  total_calls_scheduled: number;
20
+ total_calls_finished: number;
18
21
  last_updated_at_unix: number;
19
22
  status: BatchCallStatus.Raw;
20
- retry_count?: number | null;
23
+ retry_count: number;
21
24
  agent_name: string;
22
25
  }
23
26
  }
@@ -37,19 +37,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BatchCallResponse = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const BatchCallStatus_1 = require("./BatchCallStatus");
40
+ const BatchCallWhatsAppParams_1 = require("./BatchCallWhatsAppParams");
40
41
  const TelephonyProvider_1 = require("./TelephonyProvider");
41
42
  exports.BatchCallResponse = core.serialization.object({
42
43
  id: core.serialization.string(),
43
44
  phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
44
45
  phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
46
+ whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
45
47
  name: core.serialization.string(),
46
48
  agentId: core.serialization.property("agent_id", core.serialization.string()),
47
49
  createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
48
50
  scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
49
51
  totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
50
52
  totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
53
+ totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
51
54
  lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number()),
52
55
  status: BatchCallStatus_1.BatchCallStatus,
53
- retryCount: core.serialization.property("retry_count", core.serialization.number().optional()),
56
+ retryCount: core.serialization.property("retry_count", core.serialization.number()),
54
57
  agentName: core.serialization.property("agent_name", core.serialization.string()),
55
58
  });
@@ -8,5 +8,7 @@ export declare namespace ConversationConfig {
8
8
  text_only?: boolean | null;
9
9
  max_duration_seconds?: number | null;
10
10
  client_events?: ClientEvent.Raw[] | null;
11
+ monitoring_enabled?: boolean | null;
12
+ monitoring_events?: ClientEvent.Raw[] | null;
11
13
  }
12
14
  }
@@ -41,4 +41,6 @@ exports.ConversationConfig = core.serialization.object({
41
41
  textOnly: core.serialization.property("text_only", core.serialization.boolean().optional()),
42
42
  maxDurationSeconds: core.serialization.property("max_duration_seconds", core.serialization.number().optional()),
43
43
  clientEvents: core.serialization.property("client_events", core.serialization.list(ClientEvent_1.ClientEvent).optional()),
44
+ monitoringEnabled: core.serialization.property("monitoring_enabled", core.serialization.boolean().optional()),
45
+ monitoringEvents: core.serialization.property("monitoring_events", core.serialization.list(ClientEvent_1.ClientEvent).optional()),
44
46
  });
@@ -8,5 +8,7 @@ export declare namespace ConversationConfigWorkflowOverride {
8
8
  text_only?: boolean | null;
9
9
  max_duration_seconds?: number | null;
10
10
  client_events?: ClientEvent.Raw[] | null;
11
+ monitoring_enabled?: boolean | null;
12
+ monitoring_events?: ClientEvent.Raw[] | null;
11
13
  }
12
14
  }
@@ -41,4 +41,6 @@ exports.ConversationConfigWorkflowOverride = core.serialization.object({
41
41
  textOnly: core.serialization.property("text_only", core.serialization.boolean().optional()),
42
42
  maxDurationSeconds: core.serialization.property("max_duration_seconds", core.serialization.number().optional()),
43
43
  clientEvents: core.serialization.property("client_events", core.serialization.list(ClientEvent_1.ClientEvent).optional()),
44
+ monitoringEnabled: core.serialization.property("monitoring_enabled", core.serialization.boolean().optional()),
45
+ monitoringEvents: core.serialization.property("monitoring_events", core.serialization.list(ClientEvent_1.ClientEvent).optional()),
44
46
  });
@@ -9,6 +9,7 @@ export declare namespace ConversationSummaryResponseModel {
9
9
  interface Raw {
10
10
  agent_id: string;
11
11
  branch_id?: string | null;
12
+ version_id?: string | null;
12
13
  agent_name?: string | null;
13
14
  conversation_id: string;
14
15
  start_time_unix_secs: number;