@elevenlabs/elevenlabs-js 2.1.0 → 2.2.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 (748) hide show
  1. package/.mock/asyncapi.yml +5 -5
  2. package/.mock/definition/__package__.yml +600 -102
  3. package/.mock/definition/conversationalAi/agents/widget.yml +30 -0
  4. package/.mock/definition/conversationalAi/agents.yml +47 -27
  5. package/.mock/definition/conversationalAi/batchCalls.yml +83 -0
  6. package/.mock/definition/conversationalAi/knowledgeBase/document.yml +5 -1
  7. package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +14 -5
  8. package/.mock/definition/conversationalAi/knowledgeBase.yml +2 -1
  9. package/.mock/definition/conversationalAi.yml +99 -1
  10. package/.mock/definition/history.yml +8 -0
  11. package/.mock/definition/pronunciationDictionaries.yml +2 -2
  12. package/.mock/definition/speechToText.yml +14 -2
  13. package/.mock/definition/textToDialogue.yml +213 -0
  14. package/.mock/definition/textToVoice.yml +1 -1
  15. package/.mock/definition/voices/settings.yml +3 -3
  16. package/.mock/definition/voices.yml +6 -3
  17. package/.mock/definition/workspace/groups/members.yml +0 -2
  18. package/.mock/definition/workspace/groups.yml +0 -1
  19. package/.mock/fern.config.json +1 -1
  20. package/.mock/openapi.json +2724 -293
  21. package/Client.d.ts +3 -0
  22. package/Client.js +33 -28
  23. package/api/resources/audioIsolation/client/Client.js +2 -2
  24. package/api/resources/audioNative/client/Client.js +3 -3
  25. package/api/resources/conversationalAi/client/Client.d.ts +39 -0
  26. package/api/resources/conversationalAi/client/Client.js +224 -2
  27. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -7
  28. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
  29. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  30. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  31. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  32. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
  33. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  34. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
  35. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +151 -3
  36. package/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
  37. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  38. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  39. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  40. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  41. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  42. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +2 -2
  43. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
  44. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +19 -12
  45. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
  48. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  49. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  50. package/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
  51. package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  52. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  53. package/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
  54. package/api/resources/dubbing/client/Client.js +3 -3
  55. package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  56. package/api/resources/dubbing/resources/resource/client/Client.js +5 -5
  57. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  58. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  59. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
  60. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  61. package/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
  62. package/api/resources/forcedAlignment/client/Client.js +1 -1
  63. package/api/resources/history/client/Client.js +5 -5
  64. package/api/resources/index.d.ts +3 -0
  65. package/api/resources/index.js +4 -1
  66. package/api/resources/models/client/Client.js +1 -1
  67. package/api/resources/pronunciationDictionaries/client/Client.js +5 -5
  68. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
  69. package/api/resources/samples/client/Client.js +1 -1
  70. package/api/resources/speechToSpeech/client/Client.js +2 -2
  71. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  72. package/api/resources/studio/client/Client.js +1 -1
  73. package/api/resources/studio/resources/projects/client/Client.js +6 -6
  74. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  75. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  76. package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  77. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  78. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  79. package/api/resources/textToDialogue/client/Client.d.ts +44 -0
  80. package/api/resources/textToDialogue/client/Client.js +212 -0
  81. package/api/resources/textToDialogue/client/index.d.ts +1 -0
  82. package/api/resources/textToDialogue/client/index.js +17 -0
  83. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
  84. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
  85. package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  86. package/api/resources/textToDialogue/client/requests/index.js +2 -0
  87. package/api/resources/textToDialogue/index.d.ts +2 -0
  88. package/api/resources/textToDialogue/index.js +18 -0
  89. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
  90. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
  91. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
  92. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
  93. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  94. package/api/resources/textToDialogue/types/index.js +18 -0
  95. package/api/resources/textToSoundEffects/client/Client.js +1 -1
  96. package/api/resources/textToSpeech/client/Client.js +4 -4
  97. package/api/resources/textToVoice/client/Client.js +2 -2
  98. package/api/resources/usage/client/Client.js +1 -1
  99. package/api/resources/user/client/Client.js +1 -1
  100. package/api/resources/user/resources/subscription/client/Client.js +1 -1
  101. package/api/resources/voices/client/Client.js +12 -9
  102. package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
  103. package/api/resources/voices/resources/ivc/client/Client.js +1 -1
  104. package/api/resources/voices/resources/pvc/client/Client.js +3 -3
  105. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  106. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
  107. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  108. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  109. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  110. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  111. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  112. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  113. package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  114. package/api/resources/voices/resources/settings/client/Client.js +4 -4
  115. package/api/resources/workspace/resources/groups/client/Client.js +1 -1
  116. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  117. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  118. package/api/resources/workspace/resources/members/client/Client.js +2 -2
  119. package/api/resources/workspace/resources/resources/client/Client.js +3 -3
  120. package/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  121. package/api/types/AgentConfigOverride.d.ts +4 -4
  122. package/api/types/AgentConfigOverrideConfig.d.ts +4 -4
  123. package/api/types/AuthorizationMethod.d.ts +2 -1
  124. package/api/types/AuthorizationMethod.js +1 -0
  125. package/api/types/ClientEvent.d.ts +2 -1
  126. package/api/types/ClientEvent.js +1 -0
  127. package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
  128. package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
  129. package/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
  130. package/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
  131. package/api/types/ConversationConfigOverride.d.ts +1 -0
  132. package/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
  133. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  134. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  135. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  136. package/api/types/ConversationalConfig.d.ts +1 -1
  137. package/api/types/CustomLlm.d.ts +2 -0
  138. package/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
  139. package/api/types/DialogueInput.d.ts +9 -0
  140. package/api/types/DialogueInputResponseModel.d.ts +11 -0
  141. package/api/types/EmbedVariant.d.ts +2 -1
  142. package/api/types/EmbedVariant.js +1 -0
  143. package/api/types/FeatureStatusCommonModel.d.ts +7 -0
  144. package/api/types/FeaturesUsageCommonModel.d.ts +12 -0
  145. package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
  146. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
  147. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
  148. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
  149. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
  150. package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
  151. package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
  152. package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
  153. package/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
  154. package/api/types/Llm.d.ts +28 -3
  155. package/api/types/Llm.js +27 -2
  156. package/api/types/McpApprovalRequiredModel.d.ts +12 -0
  157. package/api/types/McpApprovalRequiredModel.js +11 -0
  158. package/api/types/McpToolConfigInput.d.ts +2 -0
  159. package/api/types/McpToolConfigOutput.d.ts +2 -0
  160. package/api/types/ModelSettingsResponseModel.d.ts +9 -0
  161. package/api/types/ModelSettingsResponseModel.js +5 -0
  162. package/api/types/NativeMcpToolConfigInput.d.ts +2 -0
  163. package/api/types/NativeMcpToolConfigOutput.d.ts +2 -0
  164. package/api/types/PromptAgentOverride.d.ts +1 -1
  165. package/api/types/PromptAgentOverrideConfig.d.ts +1 -1
  166. package/api/types/PronunciationDictionaryLocator.d.ts +1 -1
  167. package/api/types/RagConfig.d.ts +2 -0
  168. package/{dist/api/types/RagIndexResponseModel.d.ts → api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
  169. package/api/types/RagDocumentIndexResponseModel.js +5 -0
  170. package/api/types/RagDocumentIndexUsage.d.ts +6 -0
  171. package/api/types/RagDocumentIndexUsage.js +5 -0
  172. package/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
  173. package/api/types/RagDocumentIndexesResponseModel.js +5 -0
  174. package/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
  175. package/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
  176. package/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
  177. package/api/types/RagIndexOverviewResponseModel.js +5 -0
  178. package/api/types/RagIndexStatus.d.ts +3 -1
  179. package/api/types/RagIndexStatus.js +2 -0
  180. package/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
  181. package/api/types/SharedSoundGenerationResponseModel.js +5 -0
  182. package/api/types/SkipTurnToolConfig.d.ts +16 -0
  183. package/api/types/SkipTurnToolConfig.js +5 -0
  184. package/api/types/SpeechHistoryItemResponse.d.ts +5 -3
  185. package/api/types/Subscription.d.ts +1 -1
  186. package/api/types/SubscriptionResponse.d.ts +1 -1
  187. package/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
  188. package/{dist/api/types/ExtendedSubscriptionResponseModelStatus.js → api/types/SubscriptionStatusType.js} +3 -2
  189. package/api/types/SupportedVoice.d.ts +11 -0
  190. package/api/types/SupportedVoice.js +5 -0
  191. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  192. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  193. package/{dist/api/types/TtsConversationalConfig.d.ts → api/types/TtsConversationalConfigInput.d.ts} +3 -1
  194. package/api/types/TtsConversationalConfigInput.js +5 -0
  195. package/api/types/TtsConversationalConfigOutput.d.ts +24 -0
  196. package/api/types/TtsConversationalConfigOutput.js +5 -0
  197. package/api/types/TtsConversationalConfigOverride.d.ts +1 -0
  198. package/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
  199. package/api/types/TtsModelFamily.d.ts +9 -0
  200. package/api/types/TtsModelFamily.js +11 -0
  201. package/api/types/VoiceSettings.d.ts +2 -2
  202. package/api/types/WidgetConfig.d.ts +13 -1
  203. package/{dist/api/types/WidgetConfigAvatar.d.ts → api/types/WidgetConfigInputAvatar.d.ts} +2 -2
  204. package/api/types/WidgetConfigInputAvatar.js +5 -0
  205. package/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
  206. package/api/types/WidgetConfigOutputAvatar.js +5 -0
  207. package/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
  208. package/api/types/WidgetConfigResponse.js +5 -0
  209. package/api/types/WidgetLanguagePreset.d.ts +8 -0
  210. package/api/types/WidgetLanguagePreset.js +5 -0
  211. package/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
  212. package/api/types/WidgetLanguagePresetResponse.js +5 -0
  213. package/api/types/WidgetPlacement.d.ts +12 -0
  214. package/api/types/WidgetPlacement.js +14 -0
  215. package/api/types/WidgetTextContents.d.ts +47 -0
  216. package/api/types/WidgetTextContents.js +5 -0
  217. package/api/types/index.d.ts +27 -6
  218. package/api/types/index.js +27 -6
  219. package/dist/Client.d.ts +3 -0
  220. package/dist/Client.js +33 -28
  221. package/dist/api/resources/audioIsolation/client/Client.js +2 -2
  222. package/dist/api/resources/audioNative/client/Client.js +3 -3
  223. package/dist/api/resources/conversationalAi/client/Client.d.ts +39 -0
  224. package/dist/api/resources/conversationalAi/client/Client.js +224 -2
  225. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -7
  226. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
  227. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  228. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  229. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  230. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
  231. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  232. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
  233. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +151 -3
  234. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
  235. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  236. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  237. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  238. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  239. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  240. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +2 -2
  241. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
  242. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +19 -12
  243. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
  244. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js +5 -0
  245. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
  246. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
  247. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  248. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  249. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
  250. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  251. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  252. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
  253. package/dist/api/resources/dubbing/client/Client.js +3 -3
  254. package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  255. package/dist/api/resources/dubbing/resources/resource/client/Client.js +5 -5
  256. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  257. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  258. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
  259. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  260. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
  261. package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
  262. package/dist/api/resources/history/client/Client.js +5 -5
  263. package/dist/api/resources/index.d.ts +3 -0
  264. package/dist/api/resources/index.js +4 -1
  265. package/dist/api/resources/models/client/Client.js +1 -1
  266. package/dist/api/resources/pronunciationDictionaries/client/Client.js +5 -5
  267. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
  268. package/dist/api/resources/samples/client/Client.js +1 -1
  269. package/dist/api/resources/speechToSpeech/client/Client.js +2 -2
  270. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  271. package/dist/api/resources/studio/client/Client.js +1 -1
  272. package/dist/api/resources/studio/resources/projects/client/Client.js +6 -6
  273. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  274. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  275. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  276. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  277. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  278. package/dist/api/resources/textToDialogue/client/Client.d.ts +44 -0
  279. package/dist/api/resources/textToDialogue/client/Client.js +212 -0
  280. package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
  281. package/dist/api/resources/textToDialogue/client/index.js +17 -0
  282. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
  283. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +5 -0
  284. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
  285. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +5 -0
  286. package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  287. package/dist/api/resources/textToDialogue/client/requests/index.js +2 -0
  288. package/dist/api/resources/textToDialogue/index.d.ts +2 -0
  289. package/dist/api/resources/textToDialogue/index.js +18 -0
  290. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
  291. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
  292. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
  293. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
  294. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  295. package/dist/api/resources/textToDialogue/types/index.js +18 -0
  296. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
  297. package/dist/api/resources/textToSpeech/client/Client.js +4 -4
  298. package/dist/api/resources/textToVoice/client/Client.js +2 -2
  299. package/dist/api/resources/usage/client/Client.js +1 -1
  300. package/dist/api/resources/user/client/Client.js +1 -1
  301. package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
  302. package/dist/api/resources/voices/client/Client.js +12 -9
  303. package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
  304. package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
  305. package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
  306. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  307. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
  308. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  309. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  310. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  311. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  312. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  313. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  314. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  315. package/dist/api/resources/voices/resources/settings/client/Client.js +4 -4
  316. package/dist/api/resources/workspace/resources/groups/client/Client.js +1 -1
  317. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  318. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  319. package/dist/api/resources/workspace/resources/members/client/Client.js +2 -2
  320. package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -3
  321. package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  322. package/dist/api/types/AgentConfigOverride.d.ts +4 -4
  323. package/dist/api/types/AgentConfigOverrideConfig.d.ts +4 -4
  324. package/dist/api/types/AuthorizationMethod.d.ts +2 -1
  325. package/dist/api/types/AuthorizationMethod.js +1 -0
  326. package/dist/api/types/ClientEvent.d.ts +2 -1
  327. package/dist/api/types/ClientEvent.js +1 -0
  328. package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
  329. package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
  330. package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
  331. package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
  332. package/dist/api/types/ConversationConfigOverride.d.ts +1 -0
  333. package/dist/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
  334. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  335. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  336. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  337. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  338. package/dist/api/types/CustomLlm.d.ts +2 -0
  339. package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
  340. package/dist/api/types/CustomLlmRequestHeadersValue.js +5 -0
  341. package/dist/api/types/DialogueInput.d.ts +9 -0
  342. package/dist/api/types/DialogueInput.js +5 -0
  343. package/dist/api/types/DialogueInputResponseModel.d.ts +11 -0
  344. package/dist/api/types/DialogueInputResponseModel.js +5 -0
  345. package/dist/api/types/EmbedVariant.d.ts +2 -1
  346. package/dist/api/types/EmbedVariant.js +1 -0
  347. package/dist/api/types/FeatureStatusCommonModel.d.ts +7 -0
  348. package/dist/api/types/FeatureStatusCommonModel.js +5 -0
  349. package/dist/api/types/FeaturesUsageCommonModel.d.ts +12 -0
  350. package/dist/api/types/FeaturesUsageCommonModel.js +5 -0
  351. package/dist/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
  352. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
  353. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
  354. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
  355. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
  356. package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
  357. package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
  358. package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
  359. package/dist/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
  360. package/dist/api/types/Llm.d.ts +28 -3
  361. package/dist/api/types/Llm.js +27 -2
  362. package/dist/api/types/McpApprovalRequiredModel.d.ts +12 -0
  363. package/dist/api/types/McpApprovalRequiredModel.js +11 -0
  364. package/dist/api/types/McpToolConfigInput.d.ts +2 -0
  365. package/dist/api/types/McpToolConfigOutput.d.ts +2 -0
  366. package/dist/api/types/ModelSettingsResponseModel.d.ts +9 -0
  367. package/dist/api/types/ModelSettingsResponseModel.js +5 -0
  368. package/dist/api/types/NativeMcpToolConfigInput.d.ts +2 -0
  369. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +2 -0
  370. package/dist/api/types/PromptAgentOverride.d.ts +1 -1
  371. package/dist/api/types/PromptAgentOverrideConfig.d.ts +1 -1
  372. package/dist/api/types/PronunciationDictionaryLocator.d.ts +1 -1
  373. package/dist/api/types/RagConfig.d.ts +2 -0
  374. package/{api/types/RagIndexResponseModel.d.ts → dist/api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
  375. package/dist/api/types/RagDocumentIndexResponseModel.js +5 -0
  376. package/dist/api/types/RagDocumentIndexUsage.d.ts +6 -0
  377. package/dist/api/types/RagDocumentIndexUsage.js +5 -0
  378. package/dist/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
  379. package/dist/api/types/RagDocumentIndexesResponseModel.js +5 -0
  380. package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
  381. package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
  382. package/dist/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
  383. package/dist/api/types/RagIndexOverviewResponseModel.js +5 -0
  384. package/dist/api/types/RagIndexStatus.d.ts +3 -1
  385. package/dist/api/types/RagIndexStatus.js +2 -0
  386. package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
  387. package/dist/api/types/SharedSoundGenerationResponseModel.js +5 -0
  388. package/dist/api/types/SkipTurnToolConfig.d.ts +16 -0
  389. package/dist/api/types/SkipTurnToolConfig.js +5 -0
  390. package/dist/api/types/SpeechHistoryItemResponse.d.ts +5 -3
  391. package/dist/api/types/Subscription.d.ts +1 -1
  392. package/dist/api/types/SubscriptionResponse.d.ts +1 -1
  393. package/dist/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
  394. package/{api/types/ExtendedSubscriptionResponseModelStatus.js → dist/api/types/SubscriptionStatusType.js} +3 -2
  395. package/dist/api/types/SupportedVoice.d.ts +11 -0
  396. package/dist/api/types/SupportedVoice.js +5 -0
  397. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  398. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  399. package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts} +3 -1
  400. package/dist/api/types/TtsConversationalConfigInput.js +5 -0
  401. package/dist/api/types/TtsConversationalConfigOutput.d.ts +24 -0
  402. package/dist/api/types/TtsConversationalConfigOutput.js +5 -0
  403. package/dist/api/types/TtsConversationalConfigOverride.d.ts +1 -0
  404. package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
  405. package/dist/api/types/TtsModelFamily.d.ts +9 -0
  406. package/dist/api/types/TtsModelFamily.js +11 -0
  407. package/dist/api/types/VoiceSettings.d.ts +2 -2
  408. package/dist/api/types/WidgetConfig.d.ts +13 -1
  409. package/{api/types/WidgetConfigAvatar.d.ts → dist/api/types/WidgetConfigInputAvatar.d.ts} +2 -2
  410. package/dist/api/types/WidgetConfigInputAvatar.js +5 -0
  411. package/dist/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
  412. package/dist/api/types/WidgetConfigOutputAvatar.js +5 -0
  413. package/dist/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
  414. package/dist/api/types/WidgetConfigResponse.js +5 -0
  415. package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
  416. package/dist/api/types/WidgetLanguagePreset.js +5 -0
  417. package/dist/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
  418. package/dist/api/types/WidgetLanguagePresetResponse.js +5 -0
  419. package/dist/api/types/WidgetPlacement.d.ts +12 -0
  420. package/dist/api/types/WidgetPlacement.js +14 -0
  421. package/dist/api/types/WidgetTextContents.d.ts +47 -0
  422. package/dist/api/types/WidgetTextContents.js +5 -0
  423. package/dist/api/types/index.d.ts +27 -6
  424. package/dist/api/types/index.js +27 -6
  425. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
  426. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
  427. package/dist/serialization/resources/index.d.ts +3 -0
  428. package/dist/serialization/resources/index.js +4 -1
  429. package/dist/serialization/resources/textToDialogue/client/index.d.ts +1 -0
  430. package/dist/serialization/resources/textToDialogue/client/index.js +17 -0
  431. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
  432. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
  433. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
  434. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
  435. package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  436. package/dist/serialization/resources/textToDialogue/client/requests/index.js +7 -0
  437. package/dist/serialization/resources/textToDialogue/index.d.ts +2 -0
  438. package/dist/serialization/resources/textToDialogue/index.js +18 -0
  439. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
  440. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
  441. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
  442. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
  443. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  444. package/dist/serialization/resources/textToDialogue/types/index.js +18 -0
  445. package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  446. package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
  447. package/dist/serialization/types/AgentConfigOverride.d.ts +1 -1
  448. package/dist/serialization/types/AgentConfigOverride.js +1 -1
  449. package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
  450. package/dist/serialization/types/AgentConfigOverrideConfig.js +1 -1
  451. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  452. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  453. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  454. package/dist/serialization/types/ClientEvent.js +1 -0
  455. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
  456. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
  457. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
  458. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
  459. package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
  460. package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
  461. package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
  462. package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
  463. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
  464. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
  465. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  466. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  467. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  468. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  469. package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
  470. package/dist/serialization/types/ConversationalConfig.js +2 -2
  471. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  472. package/dist/serialization/types/CustomLlm.js +2 -0
  473. package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
  474. package/dist/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
  475. package/dist/serialization/types/DialogueInput.d.ts +13 -0
  476. package/dist/serialization/types/DialogueInput.js +44 -0
  477. package/dist/serialization/types/DialogueInputResponseModel.d.ts +14 -0
  478. package/dist/serialization/types/DialogueInputResponseModel.js +45 -0
  479. package/dist/serialization/types/EmbedVariant.d.ts +1 -1
  480. package/dist/serialization/types/EmbedVariant.js +1 -1
  481. package/dist/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
  482. package/dist/serialization/types/FeatureStatusCommonModel.js +44 -0
  483. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
  484. package/dist/serialization/types/FeaturesUsageCommonModel.js +49 -0
  485. package/dist/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
  486. package/dist/serialization/types/GetAgentEmbedResponseModel.js +2 -2
  487. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
  488. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
  489. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
  490. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
  491. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
  492. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
  493. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
  494. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
  495. package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
  496. package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
  497. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
  498. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
  499. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
  500. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
  501. package/dist/serialization/types/Llm.d.ts +1 -1
  502. package/dist/serialization/types/Llm.js +27 -2
  503. package/dist/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
  504. package/{serialization/types/ExtendedSubscriptionResponseModelStatus.js → dist/serialization/types/McpApprovalRequiredModel.js} +5 -10
  505. package/dist/serialization/types/McpToolConfigInput.d.ts +2 -0
  506. package/dist/serialization/types/McpToolConfigInput.js +2 -0
  507. package/dist/serialization/types/McpToolConfigOutput.d.ts +2 -0
  508. package/dist/serialization/types/McpToolConfigOutput.js +2 -0
  509. package/dist/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
  510. package/dist/serialization/types/ModelSettingsResponseModel.js +44 -0
  511. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +2 -0
  512. package/dist/serialization/types/NativeMcpToolConfigInput.js +2 -0
  513. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +2 -0
  514. package/dist/serialization/types/NativeMcpToolConfigOutput.js +2 -0
  515. package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
  516. package/dist/serialization/types/PronunciationDictionaryLocator.js +1 -1
  517. package/dist/serialization/types/RagConfig.d.ts +1 -0
  518. package/dist/serialization/types/RagConfig.js +1 -0
  519. package/dist/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
  520. package/dist/serialization/types/RagDocumentIndexResponseModel.js +50 -0
  521. package/dist/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
  522. package/dist/serialization/types/RagDocumentIndexUsage.js +43 -0
  523. package/dist/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
  524. package/{serialization/types/RagIndexResponseModel.js → dist/serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
  525. package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
  526. package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
  527. package/dist/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
  528. package/dist/serialization/types/RagIndexOverviewResponseModel.js +46 -0
  529. package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
  530. package/dist/serialization/types/RagIndexStatus.js +8 -1
  531. package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
  532. package/dist/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
  533. package/dist/serialization/types/SkipTurnToolConfig.d.ts +11 -0
  534. package/dist/serialization/types/SkipTurnToolConfig.js +41 -0
  535. package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
  536. package/dist/serialization/types/SpeechHistoryItemResponse.js +5 -3
  537. package/dist/serialization/types/Subscription.d.ts +2 -2
  538. package/dist/serialization/types/Subscription.js +2 -2
  539. package/dist/serialization/types/SubscriptionResponse.d.ts +2 -2
  540. package/dist/serialization/types/SubscriptionResponse.js +2 -2
  541. package/dist/serialization/types/SubscriptionStatusType.d.ts +10 -0
  542. package/dist/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
  543. package/dist/serialization/types/SupportedVoice.d.ts +17 -0
  544. package/dist/serialization/types/SupportedVoice.js +48 -0
  545. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  546. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  547. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  548. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  549. package/dist/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
  550. package/{serialization/types/TtsConversationalConfig.js → dist/serialization/types/TtsConversationalConfigInput.js} +4 -2
  551. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
  552. package/dist/serialization/types/TtsConversationalConfigOutput.js +56 -0
  553. package/dist/serialization/types/TtsModelFamily.d.ts +10 -0
  554. package/dist/serialization/types/TtsModelFamily.js +41 -0
  555. package/dist/serialization/types/VoiceSettings.d.ts +1 -1
  556. package/dist/serialization/types/VoiceSettings.js +1 -1
  557. package/dist/serialization/types/WidgetConfig.d.ts +11 -2
  558. package/dist/serialization/types/WidgetConfig.js +11 -2
  559. package/dist/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
  560. package/dist/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
  561. package/dist/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
  562. package/dist/serialization/types/WidgetConfigOutputAvatar.js +53 -0
  563. package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
  564. package/dist/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
  565. package/dist/serialization/types/WidgetLanguagePreset.d.ts +13 -0
  566. package/dist/serialization/types/WidgetLanguagePreset.js +44 -0
  567. package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
  568. package/dist/serialization/types/WidgetLanguagePresetResponse.js +45 -0
  569. package/dist/serialization/types/WidgetPlacement.d.ts +10 -0
  570. package/dist/serialization/types/WidgetPlacement.js +41 -0
  571. package/dist/serialization/types/WidgetTextContents.d.ts +32 -0
  572. package/dist/serialization/types/WidgetTextContents.js +63 -0
  573. package/dist/serialization/types/index.d.ts +27 -6
  574. package/dist/serialization/types/index.js +27 -6
  575. package/dist/version.d.ts +1 -1
  576. package/dist/version.js +1 -1
  577. package/package.json +1 -1
  578. package/reference.md +477 -4
  579. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
  580. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
  581. package/serialization/resources/index.d.ts +3 -0
  582. package/serialization/resources/index.js +4 -1
  583. package/serialization/resources/textToDialogue/client/index.d.ts +1 -0
  584. package/serialization/resources/textToDialogue/client/index.js +17 -0
  585. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
  586. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
  587. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
  588. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
  589. package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  590. package/serialization/resources/textToDialogue/client/requests/index.js +7 -0
  591. package/serialization/resources/textToDialogue/index.d.ts +2 -0
  592. package/serialization/resources/textToDialogue/index.js +18 -0
  593. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
  594. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
  595. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
  596. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
  597. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  598. package/serialization/resources/textToDialogue/types/index.js +18 -0
  599. package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  600. package/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
  601. package/serialization/types/AgentConfigOverride.d.ts +1 -1
  602. package/serialization/types/AgentConfigOverride.js +1 -1
  603. package/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
  604. package/serialization/types/AgentConfigOverrideConfig.js +1 -1
  605. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  606. package/serialization/types/AuthorizationMethod.js +1 -0
  607. package/serialization/types/ClientEvent.d.ts +1 -1
  608. package/serialization/types/ClientEvent.js +1 -0
  609. package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
  610. package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
  611. package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
  612. package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
  613. package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
  614. package/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
  615. package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
  616. package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
  617. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
  618. package/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
  619. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  620. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  621. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  622. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  623. package/serialization/types/ConversationalConfig.d.ts +2 -2
  624. package/serialization/types/ConversationalConfig.js +2 -2
  625. package/serialization/types/CustomLlm.d.ts +2 -0
  626. package/serialization/types/CustomLlm.js +2 -0
  627. package/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
  628. package/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
  629. package/serialization/types/DialogueInput.d.ts +13 -0
  630. package/serialization/types/DialogueInput.js +44 -0
  631. package/serialization/types/DialogueInputResponseModel.d.ts +14 -0
  632. package/serialization/types/DialogueInputResponseModel.js +45 -0
  633. package/serialization/types/EmbedVariant.d.ts +1 -1
  634. package/serialization/types/EmbedVariant.js +1 -1
  635. package/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
  636. package/serialization/types/FeatureStatusCommonModel.js +44 -0
  637. package/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
  638. package/serialization/types/FeaturesUsageCommonModel.js +49 -0
  639. package/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
  640. package/serialization/types/GetAgentEmbedResponseModel.js +2 -2
  641. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
  642. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
  643. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
  644. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
  645. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
  646. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
  647. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
  648. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
  649. package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
  650. package/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
  651. package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
  652. package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
  653. package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
  654. package/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
  655. package/serialization/types/Llm.d.ts +1 -1
  656. package/serialization/types/Llm.js +27 -2
  657. package/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
  658. package/{dist/serialization/types/ExtendedSubscriptionResponseModelStatus.js → serialization/types/McpApprovalRequiredModel.js} +5 -10
  659. package/serialization/types/McpToolConfigInput.d.ts +2 -0
  660. package/serialization/types/McpToolConfigInput.js +2 -0
  661. package/serialization/types/McpToolConfigOutput.d.ts +2 -0
  662. package/serialization/types/McpToolConfigOutput.js +2 -0
  663. package/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
  664. package/serialization/types/ModelSettingsResponseModel.js +44 -0
  665. package/serialization/types/NativeMcpToolConfigInput.d.ts +2 -0
  666. package/serialization/types/NativeMcpToolConfigInput.js +2 -0
  667. package/serialization/types/NativeMcpToolConfigOutput.d.ts +2 -0
  668. package/serialization/types/NativeMcpToolConfigOutput.js +2 -0
  669. package/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
  670. package/serialization/types/PronunciationDictionaryLocator.js +1 -1
  671. package/serialization/types/RagConfig.d.ts +1 -0
  672. package/serialization/types/RagConfig.js +1 -0
  673. package/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
  674. package/serialization/types/RagDocumentIndexResponseModel.js +50 -0
  675. package/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
  676. package/serialization/types/RagDocumentIndexUsage.js +43 -0
  677. package/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
  678. package/{dist/serialization/types/RagIndexResponseModel.js → serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
  679. package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
  680. package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
  681. package/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
  682. package/serialization/types/RagIndexOverviewResponseModel.js +46 -0
  683. package/serialization/types/RagIndexStatus.d.ts +1 -1
  684. package/serialization/types/RagIndexStatus.js +8 -1
  685. package/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
  686. package/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
  687. package/serialization/types/SkipTurnToolConfig.d.ts +11 -0
  688. package/serialization/types/SkipTurnToolConfig.js +41 -0
  689. package/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
  690. package/serialization/types/SpeechHistoryItemResponse.js +5 -3
  691. package/serialization/types/Subscription.d.ts +2 -2
  692. package/serialization/types/Subscription.js +2 -2
  693. package/serialization/types/SubscriptionResponse.d.ts +2 -2
  694. package/serialization/types/SubscriptionResponse.js +2 -2
  695. package/serialization/types/SubscriptionStatusType.d.ts +10 -0
  696. package/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
  697. package/serialization/types/SupportedVoice.d.ts +17 -0
  698. package/serialization/types/SupportedVoice.js +48 -0
  699. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  700. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  701. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  702. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  703. package/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
  704. package/{dist/serialization/types/TtsConversationalConfig.js → serialization/types/TtsConversationalConfigInput.js} +4 -2
  705. package/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
  706. package/serialization/types/TtsConversationalConfigOutput.js +56 -0
  707. package/serialization/types/TtsModelFamily.d.ts +10 -0
  708. package/serialization/types/TtsModelFamily.js +41 -0
  709. package/serialization/types/VoiceSettings.d.ts +1 -1
  710. package/serialization/types/VoiceSettings.js +1 -1
  711. package/serialization/types/WidgetConfig.d.ts +11 -2
  712. package/serialization/types/WidgetConfig.js +11 -2
  713. package/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
  714. package/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
  715. package/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
  716. package/serialization/types/WidgetConfigOutputAvatar.js +53 -0
  717. package/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
  718. package/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
  719. package/serialization/types/WidgetLanguagePreset.d.ts +13 -0
  720. package/serialization/types/WidgetLanguagePreset.js +44 -0
  721. package/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
  722. package/serialization/types/WidgetLanguagePresetResponse.js +45 -0
  723. package/serialization/types/WidgetPlacement.d.ts +10 -0
  724. package/serialization/types/WidgetPlacement.js +41 -0
  725. package/serialization/types/WidgetTextContents.d.ts +32 -0
  726. package/serialization/types/WidgetTextContents.js +63 -0
  727. package/serialization/types/index.d.ts +27 -6
  728. package/serialization/types/index.js +27 -6
  729. package/version.d.ts +1 -1
  730. package/version.js +1 -1
  731. package/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
  732. package/api/types/SubscriptionStatus.js +0 -16
  733. package/dist/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
  734. package/dist/api/types/SubscriptionStatus.js +0 -16
  735. package/dist/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
  736. package/dist/serialization/types/RagIndexResponseModel.d.ts +0 -14
  737. package/dist/serialization/types/SubscriptionStatus.d.ts +0 -10
  738. package/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
  739. package/serialization/types/RagIndexResponseModel.d.ts +0 -14
  740. package/serialization/types/SubscriptionStatus.d.ts +0 -10
  741. /package/api/{types/RagIndexResponseModel.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
  742. /package/api/{types/TtsConversationalConfig.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
  743. /package/api/{types/WidgetConfigAvatar.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
  744. /package/api/types/{WidgetConfigResponseModel.js → CustomLlmRequestHeadersValue.js} +0 -0
  745. /package/{dist/api/types/RagIndexResponseModel.js → api/types/DialogueInput.js} +0 -0
  746. /package/{dist/api/types/TtsConversationalConfig.js → api/types/DialogueInputResponseModel.js} +0 -0
  747. /package/{dist/api/types/WidgetConfigAvatar.js → api/types/FeatureStatusCommonModel.js} +0 -0
  748. /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/FeaturesUsageCommonModel.js} +0 -0
@@ -171,6 +171,7 @@ __exportStar(require("./CreatePhoneNumberResponseModel"), exports);
171
171
  __exportStar(require("./CreatePronunciationDictionaryResponseModel"), exports);
172
172
  __exportStar(require("./CreateSipTrunkPhoneNumberRequest"), exports);
173
173
  __exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
174
+ __exportStar(require("./CustomLlmRequestHeadersValue"), exports);
174
175
  __exportStar(require("./CustomLlm"), exports);
175
176
  __exportStar(require("./DashboardCallSuccessChartModel"), exports);
176
177
  __exportStar(require("./DashboardCriteriaChartModel"), exports);
@@ -196,6 +197,8 @@ __exportStar(require("./DependentPhoneNumberIdentifier"), exports);
196
197
  __exportStar(require("./DependentUnknownAgentIdentifier"), exports);
197
198
  __exportStar(require("./DependentUnknownAgentToolIdentifier"), exports);
198
199
  __exportStar(require("./DependentUnknownToolIdentifier"), exports);
200
+ __exportStar(require("./DialogueInput"), exports);
201
+ __exportStar(require("./DialogueInputResponseModel"), exports);
199
202
  __exportStar(require("./DoDubbingResponse"), exports);
200
203
  __exportStar(require("./DocumentUsageModeEnum"), exports);
201
204
  __exportStar(require("./DocxExportOptions"), exports);
@@ -218,10 +221,11 @@ __exportStar(require("./EvaluationSettings"), exports);
218
221
  __exportStar(require("./EvaluationSuccessResult"), exports);
219
222
  __exportStar(require("./ExportOptions"), exports);
220
223
  __exportStar(require("./ExtendedSubscriptionResponseModelCurrency"), exports);
221
- __exportStar(require("./ExtendedSubscriptionResponseModelStatus"), exports);
222
224
  __exportStar(require("./ExtendedSubscriptionResponseModelBillingPeriod"), exports);
223
225
  __exportStar(require("./ExtendedSubscriptionResponseModelCharacterRefreshPeriod"), exports);
224
226
  __exportStar(require("./Subscription"), exports);
227
+ __exportStar(require("./FeatureStatusCommonModel"), exports);
228
+ __exportStar(require("./FeaturesUsageCommonModel"), exports);
225
229
  __exportStar(require("./FeedbackItem"), exports);
226
230
  __exportStar(require("./FineTuningResponseModelStateValue"), exports);
227
231
  __exportStar(require("./FineTuningResponse"), exports);
@@ -262,6 +266,7 @@ __exportStar(require("./GetProjectsResponse"), exports);
262
266
  __exportStar(require("./GetPronunciationDictionariesMetadataResponseModel"), exports);
263
267
  __exportStar(require("./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource"), exports);
264
268
  __exportStar(require("./GetPronunciationDictionaryMetadataResponse"), exports);
269
+ __exportStar(require("./GetSharedSoundGenerationsResponseModel"), exports);
265
270
  __exportStar(require("./GetSpeechHistoryResponse"), exports);
266
271
  __exportStar(require("./GetVoicesResponse"), exports);
267
272
  __exportStar(require("./GetVoicesV2Response"), exports);
@@ -295,6 +300,7 @@ __exportStar(require("./LibraryVoiceResponse"), exports);
295
300
  __exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
296
301
  __exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
297
302
  __exportStar(require("./LiteralJsonSchemaProperty"), exports);
303
+ __exportStar(require("./McpApprovalRequiredModel"), exports);
298
304
  __exportStar(require("./McpToolConfigInput"), exports);
299
305
  __exportStar(require("./McpToolConfigOutput"), exports);
300
306
  __exportStar(require("./ManualVerificationFileResponse"), exports);
@@ -304,6 +310,7 @@ __exportStar(require("./MetricType"), exports);
304
310
  __exportStar(require("./ModelRatesResponseModel"), exports);
305
311
  __exportStar(require("./ModelResponseModelConcurrencyGroup"), exports);
306
312
  __exportStar(require("./Model"), exports);
313
+ __exportStar(require("./ModelSettingsResponseModel"), exports);
307
314
  __exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
308
315
  __exportStar(require("./ModerationStatusResponseModelWarningStatus"), exports);
309
316
  __exportStar(require("./ModerationStatusResponseModel"), exports);
@@ -365,7 +372,11 @@ __exportStar(require("./PronunciationDictionaryVersionResponseModelPermissionOnR
365
372
  __exportStar(require("./PronunciationDictionaryVersionResponseModel"), exports);
366
373
  __exportStar(require("./PydanticPronunciationDictionaryVersionLocator"), exports);
367
374
  __exportStar(require("./QueryParamsJsonSchema"), exports);
368
- __exportStar(require("./RagIndexResponseModel"), exports);
375
+ __exportStar(require("./RagDocumentIndexResponseModel"), exports);
376
+ __exportStar(require("./RagDocumentIndexUsage"), exports);
377
+ __exportStar(require("./RagDocumentIndexesResponseModel"), exports);
378
+ __exportStar(require("./RagIndexOverviewEmbeddingModelResponseModel"), exports);
379
+ __exportStar(require("./RagIndexOverviewResponseModel"), exports);
369
380
  __exportStar(require("./RagIndexStatus"), exports);
370
381
  __exportStar(require("./RagChunkMetadata"), exports);
371
382
  __exportStar(require("./RagConfig"), exports);
@@ -400,9 +411,11 @@ __exportStar(require("./SegmentUpdateResponse"), exports);
400
411
  __exportStar(require("./SegmentedJsonExportOptions"), exports);
401
412
  __exportStar(require("./ShareOptionResponseModelType"), exports);
402
413
  __exportStar(require("./ShareOptionResponseModel"), exports);
414
+ __exportStar(require("./SharedSoundGenerationResponseModel"), exports);
403
415
  __exportStar(require("./SimilarVoiceCategory"), exports);
404
416
  __exportStar(require("./SimilarVoice"), exports);
405
417
  __exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
418
+ __exportStar(require("./SkipTurnToolConfig"), exports);
406
419
  __exportStar(require("./SpeakerAudioResponseModel"), exports);
407
420
  __exportStar(require("./SpeakerResponseModel"), exports);
408
421
  __exportStar(require("./SpeakerSegment"), exports);
@@ -423,19 +436,22 @@ __exportStar(require("./StartSpeakerSeparationResponseModel"), exports);
423
436
  __exportStar(require("./StreamingAudioChunkWithTimestampsResponse"), exports);
424
437
  __exportStar(require("./SubscriptionExtrasResponseModel"), exports);
425
438
  __exportStar(require("./SubscriptionResponseModelCurrency"), exports);
426
- __exportStar(require("./SubscriptionStatus"), exports);
427
439
  __exportStar(require("./SubscriptionResponseModelBillingPeriod"), exports);
428
440
  __exportStar(require("./SubscriptionResponseModelCharacterRefreshPeriod"), exports);
429
441
  __exportStar(require("./SubscriptionResponse"), exports);
442
+ __exportStar(require("./SubscriptionStatusType"), exports);
430
443
  __exportStar(require("./SubscriptionUsageResponseModel"), exports);
444
+ __exportStar(require("./SupportedVoice"), exports);
431
445
  __exportStar(require("./SystemToolConfigInputParams"), exports);
432
446
  __exportStar(require("./SystemToolConfigInput"), exports);
433
447
  __exportStar(require("./SystemToolConfigOutputParams"), exports);
434
448
  __exportStar(require("./SystemToolConfigOutput"), exports);
435
- __exportStar(require("./TtsConversationalConfig"), exports);
449
+ __exportStar(require("./TtsConversationalConfigInput"), exports);
450
+ __exportStar(require("./TtsConversationalConfigOutput"), exports);
436
451
  __exportStar(require("./TtsConversationalConfigOverride"), exports);
437
452
  __exportStar(require("./TtsConversationalConfigOverrideConfig"), exports);
438
453
  __exportStar(require("./TtsConversationalModel"), exports);
454
+ __exportStar(require("./TtsModelFamily"), exports);
439
455
  __exportStar(require("./TtsOptimizeStreamingLatency"), exports);
440
456
  __exportStar(require("./TtsOutputFormat"), exports);
441
457
  __exportStar(require("./TelephonyProvider"), exports);
@@ -483,12 +499,17 @@ __exportStar(require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue"), e
483
499
  __exportStar(require("./WebhookToolApiSchemaConfigOutput"), exports);
484
500
  __exportStar(require("./WebhookToolConfigInput"), exports);
485
501
  __exportStar(require("./WebhookToolConfigOutput"), exports);
486
- __exportStar(require("./WidgetConfigAvatar"), exports);
502
+ __exportStar(require("./WidgetConfigInputAvatar"), exports);
487
503
  __exportStar(require("./WidgetConfig"), exports);
504
+ __exportStar(require("./WidgetConfigOutputAvatar"), exports);
488
505
  __exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
489
- __exportStar(require("./WidgetConfigResponseModel"), exports);
506
+ __exportStar(require("./WidgetConfigResponse"), exports);
490
507
  __exportStar(require("./WidgetExpandable"), exports);
491
508
  __exportStar(require("./WidgetFeedbackMode"), exports);
509
+ __exportStar(require("./WidgetLanguagePreset"), exports);
510
+ __exportStar(require("./WidgetLanguagePresetResponse"), exports);
511
+ __exportStar(require("./WidgetPlacement"), exports);
512
+ __exportStar(require("./WidgetTextContents"), exports);
492
513
  __exportStar(require("./WorkspaceBatchCallsResponse"), exports);
493
514
  __exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
494
515
  __exportStar(require("./WorkspaceResourceType"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.1.0";
1
+ export declare const SDK_VERSION = "v2.2.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v2.1.0";
4
+ exports.SDK_VERSION = "v2.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevenlabs/elevenlabs-js",
3
- "version": "v2.1.0",
3
+ "version": "v2.2.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/elevenlabs/elevenlabs-js",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -636,6 +636,156 @@ for await (const item of response) {
636
636
  </dl>
637
637
  </details>
638
638
 
639
+ ## TextToDialogue
640
+
641
+ <details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) -> stream.Readable</code></summary>
642
+ <dl>
643
+ <dd>
644
+
645
+ #### 📝 Description
646
+
647
+ <dl>
648
+ <dd>
649
+
650
+ <dl>
651
+ <dd>
652
+
653
+ <Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.
654
+
655
+ </dd>
656
+ </dl>
657
+ </dd>
658
+ </dl>
659
+
660
+ #### 🔌 Usage
661
+
662
+ <dl>
663
+ <dd>
664
+
665
+ <dl>
666
+ <dd>
667
+
668
+ ```typescript
669
+ await client.textToDialogue.convert({
670
+ inputs: [
671
+ {
672
+ text: "Knock knock",
673
+ voiceId: "JBFqnCBsd6RMkjVDRZzb",
674
+ },
675
+ {
676
+ text: "Who is there?",
677
+ voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
678
+ },
679
+ ],
680
+ });
681
+ ```
682
+
683
+ </dd>
684
+ </dl>
685
+ </dd>
686
+ </dl>
687
+
688
+ #### ⚙️ Parameters
689
+
690
+ <dl>
691
+ <dd>
692
+
693
+ <dl>
694
+ <dd>
695
+
696
+ **request:** `ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost`
697
+
698
+ </dd>
699
+ </dl>
700
+
701
+ <dl>
702
+ <dd>
703
+
704
+ **requestOptions:** `TextToDialogue.RequestOptions`
705
+
706
+ </dd>
707
+ </dl>
708
+ </dd>
709
+ </dl>
710
+
711
+ </dd>
712
+ </dl>
713
+ </details>
714
+
715
+ <details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) -> stream.Readable</code></summary>
716
+ <dl>
717
+ <dd>
718
+
719
+ #### 📝 Description
720
+
721
+ <dl>
722
+ <dd>
723
+
724
+ <dl>
725
+ <dd>
726
+
727
+ <Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.
728
+
729
+ </dd>
730
+ </dl>
731
+ </dd>
732
+ </dl>
733
+
734
+ #### 🔌 Usage
735
+
736
+ <dl>
737
+ <dd>
738
+
739
+ <dl>
740
+ <dd>
741
+
742
+ ```typescript
743
+ await client.textToDialogue.stream({
744
+ inputs: [
745
+ {
746
+ text: "Knock knock",
747
+ voiceId: "JBFqnCBsd6RMkjVDRZzb",
748
+ },
749
+ {
750
+ text: "Who is there?",
751
+ voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
752
+ },
753
+ ],
754
+ });
755
+ ```
756
+
757
+ </dd>
758
+ </dl>
759
+ </dd>
760
+ </dl>
761
+
762
+ #### ⚙️ Parameters
763
+
764
+ <dl>
765
+ <dd>
766
+
767
+ <dl>
768
+ <dd>
769
+
770
+ **request:** `ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost`
771
+
772
+ </dd>
773
+ </dl>
774
+
775
+ <dl>
776
+ <dd>
777
+
778
+ **requestOptions:** `TextToDialogue.RequestOptions`
779
+
780
+ </dd>
781
+ </dl>
782
+ </dd>
783
+ </dl>
784
+
785
+ </dd>
786
+ </dl>
787
+ </details>
788
+
639
789
  ## SpeechToSpeech
640
790
 
641
791
  <details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> stream.Readable</code></summary>
@@ -2399,7 +2549,7 @@ await client.pronunciationDictionaries.list();
2399
2549
  <dl>
2400
2550
  <dd>
2401
2551
 
2402
- Transcribe an audio or video file.
2552
+ Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
2403
2553
 
2404
2554
  </dd>
2405
2555
  </dl>
@@ -2585,6 +2735,195 @@ await client.conversationalAi.addToKnowledgeBase({});
2585
2735
  </dl>
2586
2736
  </details>
2587
2737
 
2738
+ <details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">getDocumentRagIndexes</a>(documentationId) -> ElevenLabs.RagDocumentIndexesResponseModel</code></summary>
2739
+ <dl>
2740
+ <dd>
2741
+
2742
+ #### 📝 Description
2743
+
2744
+ <dl>
2745
+ <dd>
2746
+
2747
+ <dl>
2748
+ <dd>
2749
+
2750
+ Provides information about all RAG indexes of the specified knowledgebase document.
2751
+
2752
+ </dd>
2753
+ </dl>
2754
+ </dd>
2755
+ </dl>
2756
+
2757
+ #### 🔌 Usage
2758
+
2759
+ <dl>
2760
+ <dd>
2761
+
2762
+ <dl>
2763
+ <dd>
2764
+
2765
+ ```typescript
2766
+ await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
2767
+ ```
2768
+
2769
+ </dd>
2770
+ </dl>
2771
+ </dd>
2772
+ </dl>
2773
+
2774
+ #### ⚙️ Parameters
2775
+
2776
+ <dl>
2777
+ <dd>
2778
+
2779
+ <dl>
2780
+ <dd>
2781
+
2782
+ **documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
2783
+
2784
+ </dd>
2785
+ </dl>
2786
+
2787
+ <dl>
2788
+ <dd>
2789
+
2790
+ **requestOptions:** `ConversationalAi.RequestOptions`
2791
+
2792
+ </dd>
2793
+ </dl>
2794
+ </dd>
2795
+ </dl>
2796
+
2797
+ </dd>
2798
+ </dl>
2799
+ </details>
2800
+
2801
+ <details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">deleteDocumentRagIndex</a>(documentationId, ragIndexId) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
2802
+ <dl>
2803
+ <dd>
2804
+
2805
+ #### 📝 Description
2806
+
2807
+ <dl>
2808
+ <dd>
2809
+
2810
+ <dl>
2811
+ <dd>
2812
+
2813
+ Delete RAG index for the knowledgebase document.
2814
+
2815
+ </dd>
2816
+ </dl>
2817
+ </dd>
2818
+ </dl>
2819
+
2820
+ #### 🔌 Usage
2821
+
2822
+ <dl>
2823
+ <dd>
2824
+
2825
+ <dl>
2826
+ <dd>
2827
+
2828
+ ```typescript
2829
+ await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM");
2830
+ ```
2831
+
2832
+ </dd>
2833
+ </dl>
2834
+ </dd>
2835
+ </dl>
2836
+
2837
+ #### ⚙️ Parameters
2838
+
2839
+ <dl>
2840
+ <dd>
2841
+
2842
+ <dl>
2843
+ <dd>
2844
+
2845
+ **documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
2846
+
2847
+ </dd>
2848
+ </dl>
2849
+
2850
+ <dl>
2851
+ <dd>
2852
+
2853
+ **ragIndexId:** `string` — The id of RAG index of document from the knowledge base.
2854
+
2855
+ </dd>
2856
+ </dl>
2857
+
2858
+ <dl>
2859
+ <dd>
2860
+
2861
+ **requestOptions:** `ConversationalAi.RequestOptions`
2862
+
2863
+ </dd>
2864
+ </dl>
2865
+ </dd>
2866
+ </dl>
2867
+
2868
+ </dd>
2869
+ </dl>
2870
+ </details>
2871
+
2872
+ <details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">ragIndexOverview</a>() -> ElevenLabs.RagIndexOverviewResponseModel</code></summary>
2873
+ <dl>
2874
+ <dd>
2875
+
2876
+ #### 📝 Description
2877
+
2878
+ <dl>
2879
+ <dd>
2880
+
2881
+ <dl>
2882
+ <dd>
2883
+
2884
+ Provides total size and other information of RAG indexes used by knowledgebase documents
2885
+
2886
+ </dd>
2887
+ </dl>
2888
+ </dd>
2889
+ </dl>
2890
+
2891
+ #### 🔌 Usage
2892
+
2893
+ <dl>
2894
+ <dd>
2895
+
2896
+ <dl>
2897
+ <dd>
2898
+
2899
+ ```typescript
2900
+ await client.conversationalAi.ragIndexOverview();
2901
+ ```
2902
+
2903
+ </dd>
2904
+ </dl>
2905
+ </dd>
2906
+ </dl>
2907
+
2908
+ #### ⚙️ Parameters
2909
+
2910
+ <dl>
2911
+ <dd>
2912
+
2913
+ <dl>
2914
+ <dd>
2915
+
2916
+ **requestOptions:** `ConversationalAi.RequestOptions`
2917
+
2918
+ </dd>
2919
+ </dl>
2920
+ </dd>
2921
+ </dl>
2922
+
2923
+ </dd>
2924
+ </dl>
2925
+ </details>
2926
+
2588
2927
  <details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">updateSecret</a>(secretId, { ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
2589
2928
  <dl>
2590
2929
  <dd>
@@ -4430,6 +4769,132 @@ await client.conversationalAi.batchCalls.get("batch_id");
4430
4769
  </dl>
4431
4770
  </details>
4432
4771
 
4772
+ <details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">cancel</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
4773
+ <dl>
4774
+ <dd>
4775
+
4776
+ #### 📝 Description
4777
+
4778
+ <dl>
4779
+ <dd>
4780
+
4781
+ <dl>
4782
+ <dd>
4783
+
4784
+ Cancel a running batch call and set all recipients to cancelled status.
4785
+
4786
+ </dd>
4787
+ </dl>
4788
+ </dd>
4789
+ </dl>
4790
+
4791
+ #### 🔌 Usage
4792
+
4793
+ <dl>
4794
+ <dd>
4795
+
4796
+ <dl>
4797
+ <dd>
4798
+
4799
+ ```typescript
4800
+ await client.conversationalAi.batchCalls.cancel("batch_id");
4801
+ ```
4802
+
4803
+ </dd>
4804
+ </dl>
4805
+ </dd>
4806
+ </dl>
4807
+
4808
+ #### ⚙️ Parameters
4809
+
4810
+ <dl>
4811
+ <dd>
4812
+
4813
+ <dl>
4814
+ <dd>
4815
+
4816
+ **batchId:** `string`
4817
+
4818
+ </dd>
4819
+ </dl>
4820
+
4821
+ <dl>
4822
+ <dd>
4823
+
4824
+ **requestOptions:** `BatchCalls.RequestOptions`
4825
+
4826
+ </dd>
4827
+ </dl>
4828
+ </dd>
4829
+ </dl>
4830
+
4831
+ </dd>
4832
+ </dl>
4833
+ </details>
4834
+
4835
+ <details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">retry</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
4836
+ <dl>
4837
+ <dd>
4838
+
4839
+ #### 📝 Description
4840
+
4841
+ <dl>
4842
+ <dd>
4843
+
4844
+ <dl>
4845
+ <dd>
4846
+
4847
+ Retry a batch call by setting completed recipients back to pending status.
4848
+
4849
+ </dd>
4850
+ </dl>
4851
+ </dd>
4852
+ </dl>
4853
+
4854
+ #### 🔌 Usage
4855
+
4856
+ <dl>
4857
+ <dd>
4858
+
4859
+ <dl>
4860
+ <dd>
4861
+
4862
+ ```typescript
4863
+ await client.conversationalAi.batchCalls.retry("batch_id");
4864
+ ```
4865
+
4866
+ </dd>
4867
+ </dl>
4868
+ </dd>
4869
+ </dl>
4870
+
4871
+ #### ⚙️ Parameters
4872
+
4873
+ <dl>
4874
+ <dd>
4875
+
4876
+ <dl>
4877
+ <dd>
4878
+
4879
+ **batchId:** `string`
4880
+
4881
+ </dd>
4882
+ </dl>
4883
+
4884
+ <dl>
4885
+ <dd>
4886
+
4887
+ **requestOptions:** `BatchCalls.RequestOptions`
4888
+
4889
+ </dd>
4890
+ </dl>
4891
+ </dd>
4892
+ </dl>
4893
+
4894
+ </dd>
4895
+ </dl>
4896
+ </details>
4897
+
4433
4898
  ## ConversationalAi SipTrunk
4434
4899
 
4435
4900
  <details><summary><code>client.conversationalAi.sipTrunk.<a href="/src/api/resources/conversationalAi/resources/sipTrunk/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.SipTrunkOutboundCallResponse</code></summary>
@@ -5307,7 +5772,7 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
5307
5772
  </dl>
5308
5773
  </details>
5309
5774
 
5310
- <details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">delete</a>(documentationId) -> unknown</code></summary>
5775
+ <details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">delete</a>(documentationId, { ...params }) -> unknown</code></summary>
5311
5776
  <dl>
5312
5777
  <dd>
5313
5778
 
@@ -5359,6 +5824,14 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
5359
5824
  <dl>
5360
5825
  <dd>
5361
5826
 
5827
+ **request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest`
5828
+
5829
+ </dd>
5830
+ </dl>
5831
+
5832
+ <dl>
5833
+ <dd>
5834
+
5362
5835
  **requestOptions:** `Documents.RequestOptions`
5363
5836
 
5364
5837
  </dd>
@@ -5579,7 +6052,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
5579
6052
 
5580
6053
  ## ConversationalAi KnowledgeBase Document
5581
6054
 
5582
- <details><summary><code>client.conversationalAi.knowledgeBase.document.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.ts">computeRagIndex</a>(documentationId, { ...params }) -> ElevenLabs.RagIndexResponseModel</code></summary>
6055
+ <details><summary><code>client.conversationalAi.knowledgeBase.document.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.ts">computeRagIndex</a>(documentationId, { ...params }) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
5583
6056
  <dl>
5584
6057
  <dd>
5585
6058
 
@@ -8266,9 +8739,9 @@ Edit your settings for a specific voice. "similarity_boost" corresponds to "Clar
8266
8739
  ```typescript
8267
8740
  await client.voices.settings.update("21m00Tcm4TlvDq8ikWAM", {
8268
8741
  stability: 1,
8742
+ useSpeakerBoost: true,
8269
8743
  similarityBoost: 1,
8270
8744
  style: 0,
8271
- useSpeakerBoost: true,
8272
8745
  speed: 1,
8273
8746
  });
8274
8747
  ```
@@ -4,11 +4,13 @@
4
4
  import * as serializers from "../../../../../../index";
5
5
  import * as ElevenLabs from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
+ import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
8
+ import { AgentPlatformSettingsRequestModel } from "../../../../../../types/AgentPlatformSettingsRequestModel";
7
9
  export declare const UpdateAgentRequest: core.serialization.Schema<serializers.conversationalAi.UpdateAgentRequest.Raw, ElevenLabs.conversationalAi.UpdateAgentRequest>;
8
10
  export declare namespace UpdateAgentRequest {
9
11
  interface Raw {
10
- conversation_config?: unknown | null;
11
- platform_settings?: unknown | null;
12
+ conversation_config?: ConversationalConfig.Raw | null;
13
+ platform_settings?: AgentPlatformSettingsRequestModel.Raw | null;
12
14
  name?: string | null;
13
15
  tags?: string[] | null;
14
16
  }