@elevenlabs/elevenlabs-js 2.0.1 → 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 (944) hide show
  1. package/.mock/asyncapi.yml +11 -11
  2. package/.mock/definition/__package__.yml +709 -107
  3. package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +32 -0
  4. package/.mock/definition/conversationalAi/agents/link.yml +2 -1
  5. package/.mock/definition/conversationalAi/agents/llmUsage.yml +51 -0
  6. package/.mock/definition/conversationalAi/agents/widget.yml +30 -0
  7. package/.mock/definition/conversationalAi/agents.yml +47 -27
  8. package/.mock/definition/conversationalAi/batchCalls.yml +83 -0
  9. package/.mock/definition/conversationalAi/knowledgeBase/document.yml +5 -1
  10. package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +14 -5
  11. package/.mock/definition/conversationalAi/knowledgeBase.yml +2 -1
  12. package/.mock/definition/conversationalAi/llmUsage.yml +52 -0
  13. package/.mock/definition/conversationalAi.yml +99 -1
  14. package/.mock/definition/history.yml +8 -0
  15. package/.mock/definition/pronunciationDictionaries.yml +2 -2
  16. package/.mock/definition/speechToText.yml +14 -2
  17. package/.mock/definition/textToDialogue.yml +213 -0
  18. package/.mock/definition/textToVoice.yml +1 -1
  19. package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +5 -3
  20. package/.mock/definition/voices/settings.yml +3 -3
  21. package/.mock/definition/voices.yml +6 -3
  22. package/.mock/definition/workspace/groups/members.yml +0 -2
  23. package/.mock/definition/workspace/groups.yml +0 -1
  24. package/.mock/fern.config.json +1 -1
  25. package/.mock/openapi.json +3163 -232
  26. package/Client.d.ts +3 -0
  27. package/Client.js +33 -28
  28. package/README.md +2 -2
  29. package/api/resources/audioIsolation/client/Client.js +4 -4
  30. package/api/resources/audioNative/client/Client.js +6 -6
  31. package/api/resources/conversationalAi/client/Client.d.ts +42 -0
  32. package/api/resources/conversationalAi/client/Client.js +243 -16
  33. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
  34. package/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
  35. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
  36. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  37. package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  38. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
  39. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
  40. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
  41. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
  42. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
  43. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
  44. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
  45. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
  46. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
  47. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  48. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  49. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
  50. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  51. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
  52. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  53. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  54. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
  55. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
  56. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
  57. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
  58. package/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
  59. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
  60. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
  61. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
  62. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  63. package/api/resources/conversationalAi/resources/index.js +3 -1
  64. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
  65. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  66. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  67. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
  68. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
  69. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
  70. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
  71. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
  72. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
  73. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
  74. package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  75. package/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  76. package/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
  77. package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  78. package/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
  79. package/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  80. package/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  81. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
  82. package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
  83. package/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
  84. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
  85. package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  86. package/api/resources/dubbing/client/Client.js +6 -6
  87. package/api/resources/dubbing/resources/audio/client/Client.js +2 -2
  88. package/api/resources/dubbing/resources/resource/client/Client.js +10 -10
  89. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
  90. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
  91. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
  92. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
  93. package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  94. package/api/resources/forcedAlignment/client/Client.js +2 -2
  95. package/api/resources/history/client/Client.js +10 -10
  96. package/api/resources/index.d.ts +3 -0
  97. package/api/resources/index.js +4 -1
  98. package/api/resources/models/client/Client.js +2 -2
  99. package/api/resources/pronunciationDictionaries/client/Client.js +10 -10
  100. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
  101. package/api/resources/samples/client/Client.js +2 -2
  102. package/api/resources/speechToSpeech/client/Client.js +4 -4
  103. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  104. package/api/resources/studio/client/Client.js +2 -2
  105. package/api/resources/studio/resources/projects/client/Client.js +12 -12
  106. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
  107. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
  108. package/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
  109. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
  110. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
  111. package/api/resources/textToDialogue/client/Client.d.ts +44 -0
  112. package/api/resources/textToDialogue/client/Client.js +212 -0
  113. package/api/resources/textToDialogue/client/index.d.ts +1 -0
  114. package/api/resources/textToDialogue/client/index.js +17 -0
  115. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
  116. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
  117. package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  118. package/api/resources/textToDialogue/client/requests/index.js +2 -0
  119. package/api/resources/textToDialogue/index.d.ts +2 -0
  120. package/api/resources/textToDialogue/index.js +18 -0
  121. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
  122. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
  123. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
  124. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
  125. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  126. package/api/resources/textToDialogue/types/index.js +18 -0
  127. package/api/resources/textToSoundEffects/client/Client.js +2 -2
  128. package/api/resources/textToSpeech/client/Client.js +8 -8
  129. package/api/resources/textToVoice/client/Client.js +4 -4
  130. package/api/resources/usage/client/Client.js +2 -2
  131. package/api/resources/user/client/Client.js +2 -2
  132. package/api/resources/user/resources/subscription/client/Client.js +2 -2
  133. package/api/resources/voices/client/Client.js +20 -17
  134. package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
  135. package/api/resources/voices/resources/ivc/client/Client.js +2 -2
  136. package/api/resources/voices/resources/pvc/client/Client.js +6 -6
  137. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
  138. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
  139. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
  140. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
  141. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
  142. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
  143. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
  144. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
  145. package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  146. package/api/resources/voices/resources/settings/client/Client.js +7 -7
  147. package/api/resources/workspace/resources/groups/client/Client.js +2 -2
  148. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
  149. package/api/resources/workspace/resources/invites/client/Client.js +6 -6
  150. package/api/resources/workspace/resources/members/client/Client.js +4 -4
  151. package/api/resources/workspace/resources/resources/client/Client.js +6 -6
  152. package/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  153. package/api/types/AgentConfigOverride.d.ts +4 -4
  154. package/api/types/AgentConfigOverrideConfig.d.ts +4 -4
  155. package/api/types/AudioOutputMulti.d.ts +1 -1
  156. package/api/types/AuthorizationMethod.d.ts +2 -1
  157. package/api/types/AuthorizationMethod.js +1 -0
  158. package/api/types/ChapterContentBlockInputModel.d.ts +1 -0
  159. package/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  160. package/api/types/ChapterContentBlockInputModelSubType.js +12 -0
  161. package/api/types/ClientEvent.d.ts +2 -1
  162. package/api/types/ClientEvent.js +1 -0
  163. package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
  164. package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
  165. package/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
  166. package/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
  167. package/api/types/ConversationConfigOverride.d.ts +1 -0
  168. package/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
  169. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  170. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  171. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  172. package/api/types/ConversationTokenDbModel.d.ts +2 -0
  173. package/api/types/ConversationalConfig.d.ts +1 -1
  174. package/api/types/CustomLlm.d.ts +2 -0
  175. package/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
  176. package/api/types/DialogueInput.d.ts +9 -0
  177. package/api/types/DialogueInputResponseModel.d.ts +11 -0
  178. package/api/types/EmbedVariant.d.ts +2 -1
  179. package/api/types/EmbedVariant.js +1 -0
  180. package/api/types/FeatureStatusCommonModel.d.ts +7 -0
  181. package/api/types/FeatureStatusCommonModel.js +5 -0
  182. package/api/types/FeaturesUsageCommonModel.d.ts +12 -0
  183. package/api/types/FeaturesUsageCommonModel.js +5 -0
  184. package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
  185. package/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
  186. package/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
  187. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
  188. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
  189. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
  190. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
  191. package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
  192. package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
  193. package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
  194. package/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
  195. package/api/types/Llm.d.ts +28 -3
  196. package/api/types/Llm.js +27 -2
  197. package/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
  198. package/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
  199. package/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
  200. package/api/types/LlmUsageCalculatorResponseModel.js +5 -0
  201. package/api/types/McpApprovalRequiredModel.d.ts +12 -0
  202. package/api/types/McpApprovalRequiredModel.js +11 -0
  203. package/api/types/McpToolConfigInput.d.ts +2 -0
  204. package/api/types/McpToolConfigOutput.d.ts +2 -0
  205. package/api/types/ModelSettingsResponseModel.d.ts +9 -0
  206. package/api/types/ModelSettingsResponseModel.js +5 -0
  207. package/api/types/NativeMcpToolConfigInput.d.ts +22 -0
  208. package/api/types/NativeMcpToolConfigInput.js +5 -0
  209. package/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
  210. package/api/types/NativeMcpToolConfigOutput.js +5 -0
  211. package/api/types/PromptAgent.d.ts +2 -0
  212. package/api/types/PromptAgentDbModel.d.ts +2 -0
  213. package/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
  214. package/api/types/PromptAgentInputToolsItem.d.ts +4 -1
  215. package/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
  216. package/api/types/PromptAgentOverride.d.ts +1 -1
  217. package/api/types/PromptAgentOverrideConfig.d.ts +1 -1
  218. package/api/types/PronunciationDictionaryLocator.d.ts +1 -1
  219. package/api/types/RagConfig.d.ts +2 -0
  220. package/{dist/api/types/RagIndexResponseModel.d.ts → api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
  221. package/api/types/RagDocumentIndexResponseModel.js +5 -0
  222. package/api/types/RagDocumentIndexUsage.d.ts +6 -0
  223. package/api/types/RagDocumentIndexUsage.js +5 -0
  224. package/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
  225. package/api/types/RagDocumentIndexesResponseModel.js +5 -0
  226. package/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
  227. package/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
  228. package/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
  229. package/api/types/RagIndexOverviewResponseModel.js +5 -0
  230. package/api/types/RagIndexStatus.d.ts +3 -1
  231. package/api/types/RagIndexStatus.js +2 -0
  232. package/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
  233. package/api/types/SharedSoundGenerationResponseModel.js +5 -0
  234. package/api/types/SkipTurnToolConfig.d.ts +16 -0
  235. package/api/types/SkipTurnToolConfig.js +5 -0
  236. package/api/types/SpeechHistoryItemResponse.d.ts +5 -3
  237. package/api/types/Subscription.d.ts +1 -1
  238. package/api/types/SubscriptionResponse.d.ts +1 -1
  239. package/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
  240. package/{dist/api/types/ExtendedSubscriptionResponseModelStatus.js → api/types/SubscriptionStatusType.js} +3 -2
  241. package/api/types/SupportedVoice.d.ts +11 -0
  242. package/api/types/SupportedVoice.js +5 -0
  243. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  244. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  245. package/{dist/api/types/TtsConversationalConfig.d.ts → api/types/TtsConversationalConfigInput.d.ts} +3 -1
  246. package/api/types/TtsConversationalConfigInput.js +5 -0
  247. package/api/types/TtsConversationalConfigOutput.d.ts +24 -0
  248. package/api/types/TtsConversationalConfigOutput.js +5 -0
  249. package/api/types/TtsConversationalConfigOverride.d.ts +1 -0
  250. package/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
  251. package/api/types/TtsModelFamily.d.ts +9 -0
  252. package/api/types/TtsModelFamily.js +11 -0
  253. package/api/types/VoiceSettings.d.ts +2 -2
  254. package/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
  255. package/api/types/WidgetConfig.d.ts +13 -1
  256. package/{dist/api/types/WidgetConfigAvatar.d.ts → api/types/WidgetConfigInputAvatar.d.ts} +2 -2
  257. package/api/types/WidgetConfigInputAvatar.js +5 -0
  258. package/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
  259. package/api/types/WidgetConfigOutputAvatar.js +5 -0
  260. package/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
  261. package/api/types/WidgetConfigResponse.js +5 -0
  262. package/api/types/WidgetLanguagePreset.d.ts +8 -0
  263. package/api/types/WidgetLanguagePreset.js +5 -0
  264. package/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
  265. package/api/types/WidgetLanguagePresetResponse.js +5 -0
  266. package/api/types/WidgetPlacement.d.ts +12 -0
  267. package/api/types/WidgetPlacement.js +14 -0
  268. package/api/types/WidgetTextContents.d.ts +47 -0
  269. package/api/types/WidgetTextContents.js +5 -0
  270. package/api/types/index.d.ts +33 -6
  271. package/api/types/index.js +33 -6
  272. package/dist/Client.d.ts +3 -0
  273. package/dist/Client.js +33 -28
  274. package/dist/api/resources/audioIsolation/client/Client.js +4 -4
  275. package/dist/api/resources/audioNative/client/Client.js +6 -6
  276. package/dist/api/resources/conversationalAi/client/Client.d.ts +42 -0
  277. package/dist/api/resources/conversationalAi/client/Client.js +243 -16
  278. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -0
  279. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +24 -14
  280. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
  281. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  282. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  283. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +44 -0
  284. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +137 -0
  285. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.d.ts +1 -0
  286. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/index.js +2 -0
  287. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.d.ts +1 -0
  288. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/index.js +17 -0
  289. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +2 -2
  290. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +45 -0
  291. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +141 -0
  292. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  293. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  294. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +15 -0
  295. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +5 -0
  296. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  297. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +2 -0
  298. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  299. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  300. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +2 -2
  301. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +2 -2
  302. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +26 -0
  303. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +154 -6
  304. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +8 -8
  305. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -2
  306. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +2 -2
  307. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +4 -4
  308. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  309. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  310. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -2
  311. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  312. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  313. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
  314. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +27 -20
  315. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
  316. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js +5 -0
  317. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
  318. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +2 -2
  319. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +48 -0
  320. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +144 -0
  321. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  322. package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  323. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +19 -0
  324. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +5 -0
  325. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  326. package/dist/api/resources/conversationalAi/resources/llmUsage/client/requests/index.js +2 -0
  327. package/dist/api/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  328. package/dist/api/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  329. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +10 -10
  330. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -6
  331. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +4 -4
  332. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +2 -2
  333. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  334. package/dist/api/resources/dubbing/client/Client.js +6 -6
  335. package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -2
  336. package/dist/api/resources/dubbing/resources/resource/client/Client.js +10 -10
  337. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +2 -2
  338. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +4 -4
  339. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +4 -4
  340. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +2 -2
  341. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  342. package/dist/api/resources/forcedAlignment/client/Client.js +2 -2
  343. package/dist/api/resources/history/client/Client.js +10 -10
  344. package/dist/api/resources/index.d.ts +3 -0
  345. package/dist/api/resources/index.js +4 -1
  346. package/dist/api/resources/models/client/Client.js +2 -2
  347. package/dist/api/resources/pronunciationDictionaries/client/Client.js +10 -10
  348. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +4 -4
  349. package/dist/api/resources/samples/client/Client.js +2 -2
  350. package/dist/api/resources/speechToSpeech/client/Client.js +4 -4
  351. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  352. package/dist/api/resources/studio/client/Client.js +2 -2
  353. package/dist/api/resources/studio/resources/projects/client/Client.js +12 -12
  354. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +12 -12
  355. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +6 -6
  356. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +2 -2
  357. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +2 -2
  358. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +8 -8
  359. package/dist/api/resources/textToDialogue/client/Client.d.ts +44 -0
  360. package/dist/api/resources/textToDialogue/client/Client.js +212 -0
  361. package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
  362. package/dist/api/resources/textToDialogue/client/index.js +17 -0
  363. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
  364. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +5 -0
  365. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
  366. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +5 -0
  367. package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  368. package/dist/api/resources/textToDialogue/client/requests/index.js +2 -0
  369. package/dist/api/resources/textToDialogue/index.d.ts +2 -0
  370. package/dist/api/resources/textToDialogue/index.js +18 -0
  371. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
  372. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
  373. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
  374. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
  375. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  376. package/dist/api/resources/textToDialogue/types/index.js +18 -0
  377. package/dist/api/resources/textToSoundEffects/client/Client.js +2 -2
  378. package/dist/api/resources/textToSpeech/client/Client.js +8 -8
  379. package/dist/api/resources/textToVoice/client/Client.js +4 -4
  380. package/dist/api/resources/usage/client/Client.js +2 -2
  381. package/dist/api/resources/user/client/Client.js +2 -2
  382. package/dist/api/resources/user/resources/subscription/client/Client.js +2 -2
  383. package/dist/api/resources/voices/client/Client.js +20 -17
  384. package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -0
  385. package/dist/api/resources/voices/resources/ivc/client/Client.js +2 -2
  386. package/dist/api/resources/voices/resources/pvc/client/Client.js +6 -6
  387. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +6 -6
  388. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +2 -2
  389. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +4 -4
  390. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +2 -2
  391. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +2 -2
  392. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +2 -2
  393. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +4 -4
  394. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -2
  395. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  396. package/dist/api/resources/voices/resources/settings/client/Client.js +7 -7
  397. package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -2
  398. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +4 -4
  399. package/dist/api/resources/workspace/resources/invites/client/Client.js +6 -6
  400. package/dist/api/resources/workspace/resources/members/client/Client.js +4 -4
  401. package/dist/api/resources/workspace/resources/resources/client/Client.js +6 -6
  402. package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  403. package/dist/api/types/AgentConfigOverride.d.ts +4 -4
  404. package/dist/api/types/AgentConfigOverrideConfig.d.ts +4 -4
  405. package/dist/api/types/AudioOutputMulti.d.ts +1 -1
  406. package/dist/api/types/AuthorizationMethod.d.ts +2 -1
  407. package/dist/api/types/AuthorizationMethod.js +1 -0
  408. package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -0
  409. package/dist/api/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  410. package/dist/api/types/ChapterContentBlockInputModelSubType.js +12 -0
  411. package/dist/api/types/ClientEvent.d.ts +2 -1
  412. package/dist/api/types/ClientEvent.js +1 -0
  413. package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
  414. package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
  415. package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
  416. package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
  417. package/dist/api/types/ConversationConfigOverride.d.ts +1 -0
  418. package/dist/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
  419. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  420. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  421. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  422. package/dist/api/types/ConversationTokenDbModel.d.ts +2 -0
  423. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  424. package/dist/api/types/CustomLlm.d.ts +2 -0
  425. package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
  426. package/dist/api/types/CustomLlmRequestHeadersValue.js +5 -0
  427. package/dist/api/types/DialogueInput.d.ts +9 -0
  428. package/dist/api/types/DialogueInput.js +5 -0
  429. package/dist/api/types/DialogueInputResponseModel.d.ts +11 -0
  430. package/dist/api/types/DialogueInputResponseModel.js +5 -0
  431. package/dist/api/types/EmbedVariant.d.ts +2 -1
  432. package/dist/api/types/EmbedVariant.js +1 -0
  433. package/dist/api/types/FeatureStatusCommonModel.d.ts +7 -0
  434. package/dist/api/types/FeatureStatusCommonModel.js +5 -0
  435. package/dist/api/types/FeaturesUsageCommonModel.d.ts +12 -0
  436. package/dist/api/types/FeaturesUsageCommonModel.js +5 -0
  437. package/dist/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
  438. package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +6 -0
  439. package/dist/api/types/GetAgentKnowledgebaseSizeResponseModel.js +5 -0
  440. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
  441. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
  442. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
  443. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
  444. package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
  445. package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
  446. package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +9 -0
  447. package/dist/api/types/GetSharedSoundGenerationsResponseModel.js +5 -0
  448. package/dist/api/types/Llm.d.ts +28 -3
  449. package/dist/api/types/Llm.js +27 -2
  450. package/dist/api/types/LlmUsageCalculatorLlmResponseModel.d.ts +8 -0
  451. package/dist/api/types/LlmUsageCalculatorLlmResponseModel.js +5 -0
  452. package/dist/api/types/LlmUsageCalculatorResponseModel.d.ts +7 -0
  453. package/dist/api/types/LlmUsageCalculatorResponseModel.js +5 -0
  454. package/dist/api/types/McpApprovalRequiredModel.d.ts +12 -0
  455. package/dist/api/types/McpApprovalRequiredModel.js +11 -0
  456. package/dist/api/types/McpToolConfigInput.d.ts +2 -0
  457. package/dist/api/types/McpToolConfigOutput.d.ts +2 -0
  458. package/dist/api/types/ModelSettingsResponseModel.d.ts +9 -0
  459. package/dist/api/types/ModelSettingsResponseModel.js +5 -0
  460. package/dist/api/types/NativeMcpToolConfigInput.d.ts +22 -0
  461. package/dist/api/types/NativeMcpToolConfigInput.js +5 -0
  462. package/dist/api/types/NativeMcpToolConfigOutput.d.ts +22 -0
  463. package/dist/api/types/NativeMcpToolConfigOutput.js +5 -0
  464. package/dist/api/types/PromptAgent.d.ts +2 -0
  465. package/dist/api/types/PromptAgentDbModel.d.ts +2 -0
  466. package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +4 -1
  467. package/dist/api/types/PromptAgentInputToolsItem.d.ts +4 -1
  468. package/dist/api/types/PromptAgentOutputToolsItem.d.ts +4 -1
  469. package/dist/api/types/PromptAgentOverride.d.ts +1 -1
  470. package/dist/api/types/PromptAgentOverrideConfig.d.ts +1 -1
  471. package/dist/api/types/PronunciationDictionaryLocator.d.ts +1 -1
  472. package/dist/api/types/RagConfig.d.ts +2 -0
  473. package/{api/types/RagIndexResponseModel.d.ts → dist/api/types/RagDocumentIndexResponseModel.d.ts} +4 -1
  474. package/dist/api/types/RagDocumentIndexResponseModel.js +5 -0
  475. package/dist/api/types/RagDocumentIndexUsage.d.ts +6 -0
  476. package/dist/api/types/RagDocumentIndexUsage.js +5 -0
  477. package/dist/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
  478. package/dist/api/types/RagDocumentIndexesResponseModel.js +5 -0
  479. package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
  480. package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
  481. package/dist/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
  482. package/dist/api/types/RagIndexOverviewResponseModel.js +5 -0
  483. package/dist/api/types/RagIndexStatus.d.ts +3 -1
  484. package/dist/api/types/RagIndexStatus.js +2 -0
  485. package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +17 -0
  486. package/dist/api/types/SharedSoundGenerationResponseModel.js +5 -0
  487. package/dist/api/types/SkipTurnToolConfig.d.ts +16 -0
  488. package/dist/api/types/SkipTurnToolConfig.js +5 -0
  489. package/dist/api/types/SpeechHistoryItemResponse.d.ts +5 -3
  490. package/dist/api/types/Subscription.d.ts +1 -1
  491. package/dist/api/types/SubscriptionResponse.d.ts +1 -1
  492. package/dist/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -5
  493. package/{api/types/ExtendedSubscriptionResponseModelStatus.js → dist/api/types/SubscriptionStatusType.js} +3 -2
  494. package/dist/api/types/SupportedVoice.d.ts +11 -0
  495. package/dist/api/types/SupportedVoice.js +5 -0
  496. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  497. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  498. package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts} +3 -1
  499. package/dist/api/types/TtsConversationalConfigInput.js +5 -0
  500. package/dist/api/types/TtsConversationalConfigOutput.d.ts +24 -0
  501. package/dist/api/types/TtsConversationalConfigOutput.js +5 -0
  502. package/dist/api/types/TtsConversationalConfigOverride.d.ts +1 -0
  503. package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
  504. package/dist/api/types/TtsModelFamily.d.ts +9 -0
  505. package/dist/api/types/TtsModelFamily.js +11 -0
  506. package/dist/api/types/VoiceSettings.d.ts +2 -2
  507. package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +2 -2
  508. package/dist/api/types/WidgetConfig.d.ts +13 -1
  509. package/{api/types/WidgetConfigAvatar.d.ts → dist/api/types/WidgetConfigInputAvatar.d.ts} +2 -2
  510. package/dist/api/types/WidgetConfigInputAvatar.js +5 -0
  511. package/dist/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
  512. package/dist/api/types/WidgetConfigOutputAvatar.js +5 -0
  513. package/dist/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +16 -1
  514. package/dist/api/types/WidgetConfigResponse.js +5 -0
  515. package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
  516. package/dist/api/types/WidgetLanguagePreset.js +5 -0
  517. package/dist/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
  518. package/dist/api/types/WidgetLanguagePresetResponse.js +5 -0
  519. package/dist/api/types/WidgetPlacement.d.ts +12 -0
  520. package/dist/api/types/WidgetPlacement.js +14 -0
  521. package/dist/api/types/WidgetTextContents.d.ts +47 -0
  522. package/dist/api/types/WidgetTextContents.js +5 -0
  523. package/dist/api/types/index.d.ts +33 -6
  524. package/dist/api/types/index.js +33 -6
  525. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
  526. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
  527. package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  528. package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  529. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  530. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
  531. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  532. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  533. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
  534. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
  535. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  536. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
  537. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  538. package/dist/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  539. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  540. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  541. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  542. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  543. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
  544. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
  545. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  546. package/dist/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
  547. package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  548. package/dist/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  549. package/dist/serialization/resources/index.d.ts +3 -0
  550. package/dist/serialization/resources/index.js +4 -1
  551. package/dist/serialization/resources/textToDialogue/client/index.d.ts +1 -0
  552. package/dist/serialization/resources/textToDialogue/client/index.js +17 -0
  553. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
  554. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
  555. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
  556. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
  557. package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  558. package/dist/serialization/resources/textToDialogue/client/requests/index.js +7 -0
  559. package/dist/serialization/resources/textToDialogue/index.d.ts +2 -0
  560. package/dist/serialization/resources/textToDialogue/index.js +18 -0
  561. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
  562. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
  563. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
  564. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
  565. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  566. package/dist/serialization/resources/textToDialogue/types/index.js +18 -0
  567. package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  568. package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
  569. package/dist/serialization/types/AgentConfigOverride.d.ts +1 -1
  570. package/dist/serialization/types/AgentConfigOverride.js +1 -1
  571. package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
  572. package/dist/serialization/types/AgentConfigOverrideConfig.js +1 -1
  573. package/dist/serialization/types/AudioOutputMulti.d.ts +1 -1
  574. package/dist/serialization/types/AudioOutputMulti.js +1 -1
  575. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  576. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  577. package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
  578. package/dist/serialization/types/ChapterContentBlockInputModel.js +2 -0
  579. package/dist/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  580. package/dist/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
  581. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  582. package/dist/serialization/types/ClientEvent.js +1 -0
  583. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
  584. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
  585. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
  586. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
  587. package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
  588. package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
  589. package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
  590. package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
  591. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
  592. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
  593. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  594. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  595. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  596. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  597. package/dist/serialization/types/ConversationTokenDbModel.d.ts +1 -0
  598. package/dist/serialization/types/ConversationTokenDbModel.js +1 -0
  599. package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
  600. package/dist/serialization/types/ConversationalConfig.js +2 -2
  601. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  602. package/dist/serialization/types/CustomLlm.js +2 -0
  603. package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
  604. package/dist/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
  605. package/dist/serialization/types/DialogueInput.d.ts +13 -0
  606. package/dist/serialization/types/DialogueInput.js +44 -0
  607. package/dist/serialization/types/DialogueInputResponseModel.d.ts +14 -0
  608. package/dist/serialization/types/DialogueInputResponseModel.js +45 -0
  609. package/dist/serialization/types/EmbedVariant.d.ts +1 -1
  610. package/dist/serialization/types/EmbedVariant.js +1 -1
  611. package/dist/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
  612. package/dist/serialization/types/FeatureStatusCommonModel.js +44 -0
  613. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
  614. package/dist/serialization/types/FeaturesUsageCommonModel.js +49 -0
  615. package/dist/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
  616. package/dist/serialization/types/GetAgentEmbedResponseModel.js +2 -2
  617. package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
  618. package/dist/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
  619. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
  620. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
  621. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
  622. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
  623. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
  624. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
  625. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
  626. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
  627. package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
  628. package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
  629. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
  630. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
  631. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
  632. package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
  633. package/dist/serialization/types/Llm.d.ts +1 -1
  634. package/dist/serialization/types/Llm.js +27 -2
  635. package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
  636. package/dist/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
  637. package/dist/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
  638. package/dist/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
  639. package/dist/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
  640. package/{serialization/types/ExtendedSubscriptionResponseModelStatus.js → dist/serialization/types/McpApprovalRequiredModel.js} +5 -10
  641. package/dist/serialization/types/McpToolConfigInput.d.ts +2 -0
  642. package/dist/serialization/types/McpToolConfigInput.js +2 -0
  643. package/dist/serialization/types/McpToolConfigOutput.d.ts +2 -0
  644. package/dist/serialization/types/McpToolConfigOutput.js +2 -0
  645. package/dist/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
  646. package/dist/serialization/types/ModelSettingsResponseModel.js +44 -0
  647. package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
  648. package/dist/serialization/types/NativeMcpToolConfigInput.js +52 -0
  649. package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
  650. package/dist/serialization/types/NativeMcpToolConfigOutput.js +52 -0
  651. package/dist/serialization/types/PromptAgent.d.ts +1 -0
  652. package/dist/serialization/types/PromptAgent.js +1 -0
  653. package/dist/serialization/types/PromptAgentDbModel.d.ts +1 -0
  654. package/dist/serialization/types/PromptAgentDbModel.js +1 -0
  655. package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
  656. package/dist/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
  657. package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
  658. package/dist/serialization/types/PromptAgentInputToolsItem.js +2 -0
  659. package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
  660. package/dist/serialization/types/PromptAgentOutputToolsItem.js +2 -0
  661. package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
  662. package/dist/serialization/types/PronunciationDictionaryLocator.js +1 -1
  663. package/dist/serialization/types/RagConfig.d.ts +1 -0
  664. package/dist/serialization/types/RagConfig.js +1 -0
  665. package/dist/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
  666. package/dist/serialization/types/RagDocumentIndexResponseModel.js +50 -0
  667. package/dist/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
  668. package/dist/serialization/types/RagDocumentIndexUsage.js +43 -0
  669. package/dist/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
  670. package/{serialization/types/RagIndexResponseModel.js → dist/serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
  671. package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
  672. package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
  673. package/dist/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
  674. package/dist/serialization/types/RagIndexOverviewResponseModel.js +46 -0
  675. package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
  676. package/dist/serialization/types/RagIndexStatus.js +8 -1
  677. package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
  678. package/dist/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
  679. package/dist/serialization/types/SkipTurnToolConfig.d.ts +11 -0
  680. package/dist/serialization/types/SkipTurnToolConfig.js +41 -0
  681. package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
  682. package/dist/serialization/types/SpeechHistoryItemResponse.js +5 -3
  683. package/dist/serialization/types/Subscription.d.ts +2 -2
  684. package/dist/serialization/types/Subscription.js +2 -2
  685. package/dist/serialization/types/SubscriptionResponse.d.ts +2 -2
  686. package/dist/serialization/types/SubscriptionResponse.js +2 -2
  687. package/dist/serialization/types/SubscriptionStatusType.d.ts +10 -0
  688. package/dist/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
  689. package/dist/serialization/types/SupportedVoice.d.ts +17 -0
  690. package/dist/serialization/types/SupportedVoice.js +48 -0
  691. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  692. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  693. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  694. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  695. package/dist/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
  696. package/{serialization/types/TtsConversationalConfig.js → dist/serialization/types/TtsConversationalConfigInput.js} +4 -2
  697. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
  698. package/dist/serialization/types/TtsConversationalConfigOutput.js +56 -0
  699. package/dist/serialization/types/TtsModelFamily.d.ts +10 -0
  700. package/dist/serialization/types/TtsModelFamily.js +41 -0
  701. package/dist/serialization/types/VoiceSettings.d.ts +1 -1
  702. package/dist/serialization/types/VoiceSettings.js +1 -1
  703. package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
  704. package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
  705. package/dist/serialization/types/WidgetConfig.d.ts +11 -2
  706. package/dist/serialization/types/WidgetConfig.js +11 -2
  707. package/dist/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
  708. package/dist/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
  709. package/dist/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
  710. package/dist/serialization/types/WidgetConfigOutputAvatar.js +53 -0
  711. package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
  712. package/dist/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
  713. package/dist/serialization/types/WidgetLanguagePreset.d.ts +13 -0
  714. package/dist/serialization/types/WidgetLanguagePreset.js +44 -0
  715. package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
  716. package/dist/serialization/types/WidgetLanguagePresetResponse.js +45 -0
  717. package/dist/serialization/types/WidgetPlacement.d.ts +10 -0
  718. package/dist/serialization/types/WidgetPlacement.js +41 -0
  719. package/dist/serialization/types/WidgetTextContents.d.ts +32 -0
  720. package/dist/serialization/types/WidgetTextContents.js +63 -0
  721. package/dist/serialization/types/index.d.ts +33 -6
  722. package/dist/serialization/types/index.js +33 -6
  723. package/dist/version.d.ts +1 -1
  724. package/dist/version.js +1 -1
  725. package/package.json +1 -1
  726. package/reference.md +883 -203
  727. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
  728. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
  729. package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  730. package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  731. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  732. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +41 -0
  733. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
  734. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.js +17 -0
  735. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.d.ts +14 -0
  736. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js +45 -0
  737. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.d.ts +1 -0
  738. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/index.js +5 -0
  739. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.d.ts +1 -0
  740. package/serialization/resources/conversationalAi/resources/agents/resources/llmUsage/index.js +17 -0
  741. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  742. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  743. package/serialization/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
  744. package/serialization/resources/conversationalAi/resources/llmUsage/client/index.js +17 -0
  745. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.d.ts +14 -0
  746. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js +45 -0
  747. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.d.ts +1 -0
  748. package/serialization/resources/conversationalAi/resources/llmUsage/client/requests/index.js +5 -0
  749. package/serialization/resources/conversationalAi/resources/llmUsage/index.d.ts +1 -0
  750. package/serialization/resources/conversationalAi/resources/llmUsage/index.js +17 -0
  751. package/serialization/resources/index.d.ts +3 -0
  752. package/serialization/resources/index.js +4 -1
  753. package/serialization/resources/textToDialogue/client/index.d.ts +1 -0
  754. package/serialization/resources/textToDialogue/client/index.js +17 -0
  755. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
  756. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
  757. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
  758. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
  759. package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  760. package/serialization/resources/textToDialogue/client/requests/index.js +7 -0
  761. package/serialization/resources/textToDialogue/index.d.ts +2 -0
  762. package/serialization/resources/textToDialogue/index.js +18 -0
  763. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
  764. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
  765. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
  766. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
  767. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  768. package/serialization/resources/textToDialogue/types/index.js +18 -0
  769. package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
  770. package/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
  771. package/serialization/types/AgentConfigOverride.d.ts +1 -1
  772. package/serialization/types/AgentConfigOverride.js +1 -1
  773. package/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
  774. package/serialization/types/AgentConfigOverrideConfig.js +1 -1
  775. package/serialization/types/AudioOutputMulti.d.ts +1 -1
  776. package/serialization/types/AudioOutputMulti.js +1 -1
  777. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  778. package/serialization/types/AuthorizationMethod.js +1 -0
  779. package/serialization/types/ChapterContentBlockInputModel.d.ts +2 -0
  780. package/serialization/types/ChapterContentBlockInputModel.js +2 -0
  781. package/serialization/types/ChapterContentBlockInputModelSubType.d.ts +10 -0
  782. package/serialization/types/ChapterContentBlockInputModelSubType.js +41 -0
  783. package/serialization/types/ClientEvent.d.ts +1 -1
  784. package/serialization/types/ClientEvent.js +1 -0
  785. package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
  786. package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
  787. package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
  788. package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
  789. package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
  790. package/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
  791. package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
  792. package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
  793. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
  794. package/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
  795. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  796. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  797. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  798. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  799. package/serialization/types/ConversationTokenDbModel.d.ts +1 -0
  800. package/serialization/types/ConversationTokenDbModel.js +1 -0
  801. package/serialization/types/ConversationalConfig.d.ts +2 -2
  802. package/serialization/types/ConversationalConfig.js +2 -2
  803. package/serialization/types/CustomLlm.d.ts +2 -0
  804. package/serialization/types/CustomLlm.js +2 -0
  805. package/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
  806. package/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
  807. package/serialization/types/DialogueInput.d.ts +13 -0
  808. package/serialization/types/DialogueInput.js +44 -0
  809. package/serialization/types/DialogueInputResponseModel.d.ts +14 -0
  810. package/serialization/types/DialogueInputResponseModel.js +45 -0
  811. package/serialization/types/EmbedVariant.d.ts +1 -1
  812. package/serialization/types/EmbedVariant.js +1 -1
  813. package/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
  814. package/serialization/types/FeatureStatusCommonModel.js +44 -0
  815. package/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
  816. package/serialization/types/FeaturesUsageCommonModel.js +49 -0
  817. package/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
  818. package/serialization/types/GetAgentEmbedResponseModel.js +2 -2
  819. package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.d.ts +12 -0
  820. package/serialization/types/GetAgentKnowledgebaseSizeResponseModel.js +43 -0
  821. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
  822. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
  823. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
  824. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
  825. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
  826. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
  827. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
  828. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
  829. package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
  830. package/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
  831. package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
  832. package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
  833. package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +15 -0
  834. package/serialization/types/GetSharedSoundGenerationsResponseModel.js +46 -0
  835. package/serialization/types/Llm.d.ts +1 -1
  836. package/serialization/types/Llm.js +27 -2
  837. package/serialization/types/LlmUsageCalculatorLlmResponseModel.d.ts +14 -0
  838. package/serialization/types/LlmUsageCalculatorLlmResponseModel.js +45 -0
  839. package/serialization/types/LlmUsageCalculatorResponseModel.d.ts +13 -0
  840. package/serialization/types/LlmUsageCalculatorResponseModel.js +44 -0
  841. package/serialization/types/McpApprovalRequiredModel.d.ts +10 -0
  842. package/{dist/serialization/types/ExtendedSubscriptionResponseModelStatus.js → serialization/types/McpApprovalRequiredModel.js} +5 -10
  843. package/serialization/types/McpToolConfigInput.d.ts +2 -0
  844. package/serialization/types/McpToolConfigInput.js +2 -0
  845. package/serialization/types/McpToolConfigOutput.d.ts +2 -0
  846. package/serialization/types/McpToolConfigOutput.js +2 -0
  847. package/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
  848. package/serialization/types/ModelSettingsResponseModel.js +44 -0
  849. package/serialization/types/NativeMcpToolConfigInput.d.ts +20 -0
  850. package/serialization/types/NativeMcpToolConfigInput.js +52 -0
  851. package/serialization/types/NativeMcpToolConfigOutput.d.ts +20 -0
  852. package/serialization/types/NativeMcpToolConfigOutput.js +52 -0
  853. package/serialization/types/PromptAgent.d.ts +1 -0
  854. package/serialization/types/PromptAgent.js +1 -0
  855. package/serialization/types/PromptAgentDbModel.d.ts +1 -0
  856. package/serialization/types/PromptAgentDbModel.js +1 -0
  857. package/serialization/types/PromptAgentDbModelToolsItem.d.ts +5 -1
  858. package/serialization/types/PromptAgentDbModelToolsItem.js +2 -0
  859. package/serialization/types/PromptAgentInputToolsItem.d.ts +5 -1
  860. package/serialization/types/PromptAgentInputToolsItem.js +2 -0
  861. package/serialization/types/PromptAgentOutputToolsItem.d.ts +5 -1
  862. package/serialization/types/PromptAgentOutputToolsItem.js +2 -0
  863. package/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
  864. package/serialization/types/PronunciationDictionaryLocator.js +1 -1
  865. package/serialization/types/RagConfig.d.ts +1 -0
  866. package/serialization/types/RagConfig.js +1 -0
  867. package/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
  868. package/serialization/types/RagDocumentIndexResponseModel.js +50 -0
  869. package/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
  870. package/serialization/types/RagDocumentIndexUsage.js +43 -0
  871. package/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
  872. package/{dist/serialization/types/RagIndexResponseModel.js → serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
  873. package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
  874. package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
  875. package/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
  876. package/serialization/types/RagIndexOverviewResponseModel.js +46 -0
  877. package/serialization/types/RagIndexStatus.d.ts +1 -1
  878. package/serialization/types/RagIndexStatus.js +8 -1
  879. package/serialization/types/SharedSoundGenerationResponseModel.d.ts +23 -0
  880. package/serialization/types/SharedSoundGenerationResponseModel.js +54 -0
  881. package/serialization/types/SkipTurnToolConfig.d.ts +11 -0
  882. package/serialization/types/SkipTurnToolConfig.js +41 -0
  883. package/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
  884. package/serialization/types/SpeechHistoryItemResponse.js +5 -3
  885. package/serialization/types/Subscription.d.ts +2 -2
  886. package/serialization/types/Subscription.js +2 -2
  887. package/serialization/types/SubscriptionResponse.d.ts +2 -2
  888. package/serialization/types/SubscriptionResponse.js +2 -2
  889. package/serialization/types/SubscriptionStatusType.d.ts +10 -0
  890. package/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +3 -2
  891. package/serialization/types/SupportedVoice.d.ts +17 -0
  892. package/serialization/types/SupportedVoice.js +48 -0
  893. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  894. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  895. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  896. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  897. package/serialization/types/{TtsConversationalConfig.d.ts → TtsConversationalConfigInput.d.ts} +4 -2
  898. package/{dist/serialization/types/TtsConversationalConfig.js → serialization/types/TtsConversationalConfigInput.js} +4 -2
  899. package/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
  900. package/serialization/types/TtsConversationalConfigOutput.js +56 -0
  901. package/serialization/types/TtsModelFamily.d.ts +10 -0
  902. package/serialization/types/TtsModelFamily.js +41 -0
  903. package/serialization/types/VoiceSettings.d.ts +1 -1
  904. package/serialization/types/VoiceSettings.js +1 -1
  905. package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +1 -1
  906. package/serialization/types/WebsocketTtsClientMessageMulti.js +1 -1
  907. package/serialization/types/WidgetConfig.d.ts +11 -2
  908. package/serialization/types/WidgetConfig.js +11 -2
  909. package/serialization/types/{WidgetConfigAvatar.d.ts → WidgetConfigInputAvatar.d.ts} +3 -3
  910. package/serialization/types/{WidgetConfigAvatar.js → WidgetConfigInputAvatar.js} +2 -2
  911. package/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
  912. package/serialization/types/WidgetConfigOutputAvatar.js +53 -0
  913. package/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +13 -2
  914. package/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +13 -2
  915. package/serialization/types/WidgetLanguagePreset.d.ts +13 -0
  916. package/serialization/types/WidgetLanguagePreset.js +44 -0
  917. package/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
  918. package/serialization/types/WidgetLanguagePresetResponse.js +45 -0
  919. package/serialization/types/WidgetPlacement.d.ts +10 -0
  920. package/serialization/types/WidgetPlacement.js +41 -0
  921. package/serialization/types/WidgetTextContents.d.ts +32 -0
  922. package/serialization/types/WidgetTextContents.js +63 -0
  923. package/serialization/types/index.d.ts +33 -6
  924. package/serialization/types/index.js +33 -6
  925. package/version.d.ts +1 -1
  926. package/version.js +1 -1
  927. package/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
  928. package/api/types/SubscriptionStatus.js +0 -16
  929. package/dist/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
  930. package/dist/api/types/SubscriptionStatus.js +0 -16
  931. package/dist/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
  932. package/dist/serialization/types/RagIndexResponseModel.d.ts +0 -14
  933. package/dist/serialization/types/SubscriptionStatus.d.ts +0 -10
  934. package/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
  935. package/serialization/types/RagIndexResponseModel.d.ts +0 -14
  936. package/serialization/types/SubscriptionStatus.d.ts +0 -10
  937. /package/api/{types/RagIndexResponseModel.js → resources/conversationalAi/resources/agents/resources/llmUsage/client/requests/LlmUsageCalculatorRequestModel.js} +0 -0
  938. /package/api/{types/TtsConversationalConfig.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
  939. /package/api/{types/WidgetConfigAvatar.js → resources/conversationalAi/resources/llmUsage/client/requests/LlmUsageCalculatorPublicRequestModel.js} +0 -0
  940. /package/api/{types/WidgetConfigResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
  941. /package/{dist/api/types/RagIndexResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
  942. /package/{dist/api/types/TtsConversationalConfig.js → api/types/CustomLlmRequestHeadersValue.js} +0 -0
  943. /package/{dist/api/types/WidgetConfigAvatar.js → api/types/DialogueInput.js} +0 -0
  944. /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/DialogueInputResponseModel.js} +0 -0
@@ -661,6 +661,267 @@
661
661
  "x-fern-streaming": true
662
662
  }
663
663
  },
664
+ "/v1/shared-sound-generations": {
665
+ "get": {
666
+ "operationId": "Get_shared_sound_effects_v1_shared_sound_generations_get",
667
+ "summary": "Get Shared Sound Effects",
668
+ "description": "Returns a list of shared sound effects.",
669
+ "parameters": [
670
+ {
671
+ "name": "page_size",
672
+ "in": "query",
673
+ "description": "How many sound effects to return at maximum. Can not exceed 100, defaults to 30.",
674
+ "required": false,
675
+ "schema": {
676
+ "description": "How many sound effects to return at maximum. Can not exceed 100, defaults to 30.",
677
+ "type": "integer",
678
+ "default": 30,
679
+ "title": "Page Size"
680
+ }
681
+ },
682
+ {
683
+ "name": "category",
684
+ "in": "query",
685
+ "description": "Sound effect category used for filtering.",
686
+ "required": false,
687
+ "schema": {
688
+ "description": "Sound effect category used for filtering.",
689
+ "anyOf": [
690
+ {
691
+ "enum": [
692
+ "restaurant",
693
+ "park",
694
+ "industrial",
695
+ "school",
696
+ "office",
697
+ "urban",
698
+ "ocean",
699
+ "nature",
700
+ "weather",
701
+ "foley",
702
+ "fantasy",
703
+ "human",
704
+ "device",
705
+ "sci-fi",
706
+ "horror",
707
+ "animal",
708
+ "boom",
709
+ "braam",
710
+ "riser",
711
+ "whoosh",
712
+ "drone",
713
+ "impact",
714
+ "weapon",
715
+ "transport",
716
+ "household",
717
+ "percussion",
718
+ "cymbal",
719
+ "synth",
720
+ "bass",
721
+ "guitar",
722
+ "key",
723
+ "string",
724
+ "brass",
725
+ "woodwind",
726
+ "ui element",
727
+ "sport",
728
+ "vehicle",
729
+ "misc"
730
+ ],
731
+ "type": "string"
732
+ },
733
+ {
734
+ "type": "null"
735
+ }
736
+ ],
737
+ "examples": [
738
+ "Nature"
739
+ ],
740
+ "title": "Category"
741
+ }
742
+ },
743
+ {
744
+ "name": "search",
745
+ "in": "query",
746
+ "description": "Search term used for filtering",
747
+ "required": false,
748
+ "schema": {
749
+ "description": "Search term used for filtering",
750
+ "anyOf": [
751
+ {
752
+ "type": "string"
753
+ },
754
+ {
755
+ "type": "null"
756
+ }
757
+ ],
758
+ "examples": [
759
+ "Cold water"
760
+ ],
761
+ "title": "Search"
762
+ }
763
+ },
764
+ {
765
+ "name": "sort",
766
+ "in": "query",
767
+ "description": "Sort criteria. Can be one of: created_date, download_count, like_count, trending_score. Defaults to trending_score.",
768
+ "required": false,
769
+ "schema": {
770
+ "description": "Sort criteria. Can be one of: created_date, download_count, like_count, trending_score. Defaults to trending_score.",
771
+ "default": "trending_score",
772
+ "anyOf": [
773
+ {
774
+ "enum": [
775
+ "sharing_date_unix",
776
+ "purchased_count",
777
+ "like_count",
778
+ "trending_score"
779
+ ],
780
+ "type": "string"
781
+ },
782
+ {
783
+ "type": "null"
784
+ }
785
+ ],
786
+ "examples": [
787
+ "trending_score"
788
+ ],
789
+ "title": "Sort"
790
+ }
791
+ },
792
+ {
793
+ "name": "featured",
794
+ "in": "query",
795
+ "description": "Filter featured sound effects.",
796
+ "required": false,
797
+ "schema": {
798
+ "description": "Filter featured sound effects.",
799
+ "type": "boolean",
800
+ "default": false,
801
+ "examples": [
802
+ true
803
+ ],
804
+ "title": "Featured"
805
+ }
806
+ },
807
+ {
808
+ "name": "page",
809
+ "in": "query",
810
+ "required": false,
811
+ "schema": {
812
+ "type": "integer",
813
+ "default": 0,
814
+ "title": "Page"
815
+ }
816
+ },
817
+ {
818
+ "name": "xi-api-key",
819
+ "in": "header",
820
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
821
+ "required": false,
822
+ "schema": {
823
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
824
+ "anyOf": [
825
+ {
826
+ "type": "string"
827
+ },
828
+ {
829
+ "type": "null"
830
+ }
831
+ ],
832
+ "title": "Xi-Api-Key"
833
+ }
834
+ }
835
+ ],
836
+ "responses": {
837
+ "200": {
838
+ "description": "Successful Response",
839
+ "content": {
840
+ "application/json": {
841
+ "schema": {
842
+ "$ref": "#/components/schemas/GetSharedSoundGenerationsResponseModel"
843
+ }
844
+ }
845
+ }
846
+ },
847
+ "422": {
848
+ "description": "Validation Error",
849
+ "content": {
850
+ "application/json": {
851
+ "schema": {
852
+ "$ref": "#/components/schemas/HTTPValidationError"
853
+ }
854
+ }
855
+ }
856
+ }
857
+ },
858
+ "tags": [
859
+ "sound-effects-explore"
860
+ ]
861
+ }
862
+ },
863
+ "/v1/shared-sound-generations/{sound_effect_generation_id}/purchase": {
864
+ "post": {
865
+ "operationId": "Purchases_shared_sound_effect_v1_shared_sound_generations__sound_effect_generation_id__purchase_post",
866
+ "summary": "Purchases Shared Sound Effect",
867
+ "description": "Purchases shared sound effect and charges user for the purchase.",
868
+ "parameters": [
869
+ {
870
+ "name": "sound_effect_generation_id",
871
+ "in": "path",
872
+ "description": "sound_effect_generation_id to be used, you can use GET https://api.elevenlabs.io/v1/sound-effects-history to receive a list of history items and their sound_effect_generation_ids.",
873
+ "required": true,
874
+ "schema": {
875
+ "description": "sound_effect_generation_id to be used, you can use GET https://api.elevenlabs.io/v1/sound-effects-history to receive a list of history items and their sound_effect_generation_ids.",
876
+ "type": "string",
877
+ "examples": [
878
+ "VW7YKqPnjY4h39yTbx2L"
879
+ ],
880
+ "title": "Sound Effect Generation Id"
881
+ }
882
+ },
883
+ {
884
+ "name": "xi-api-key",
885
+ "in": "header",
886
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
887
+ "required": false,
888
+ "schema": {
889
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
890
+ "anyOf": [
891
+ {
892
+ "type": "string"
893
+ },
894
+ {
895
+ "type": "null"
896
+ }
897
+ ],
898
+ "title": "Xi-Api-Key"
899
+ }
900
+ }
901
+ ],
902
+ "responses": {
903
+ "200": {
904
+ "description": "Successful Response",
905
+ "content": {
906
+ "audio/mpeg": {}
907
+ }
908
+ },
909
+ "422": {
910
+ "description": "Validation Error",
911
+ "content": {
912
+ "application/json": {
913
+ "schema": {
914
+ "$ref": "#/components/schemas/HTTPValidationError"
915
+ }
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "tags": [
921
+ "sound-effects-explore"
922
+ ]
923
+ }
924
+ },
664
925
  "/v1/voices/{voice_id}/samples/{sample_id}": {
665
926
  "delete": {
666
927
  "operationId": "Delete_sample_v1_voices__voice_id__samples__sample_id__delete",
@@ -1401,6 +1662,204 @@
1401
1662
  "x-fern-streaming": true
1402
1663
  }
1403
1664
  },
1665
+ "/v1/text-to-dialogue": {
1666
+ "post": {
1667
+ "operationId": "Text_to_dialogue__multi_voice__v1_text_to_dialogue_post",
1668
+ "summary": "Text To Dialogue (Multi-Voice)",
1669
+ "description": "Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.",
1670
+ "parameters": [
1671
+ {
1672
+ "name": "output_format",
1673
+ "in": "query",
1674
+ "description": "Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.",
1675
+ "required": false,
1676
+ "schema": {
1677
+ "description": "Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.",
1678
+ "type": "string",
1679
+ "default": "mp3_44100_128",
1680
+ "enum": [
1681
+ "mp3_22050_32",
1682
+ "mp3_44100_32",
1683
+ "mp3_44100_64",
1684
+ "mp3_44100_96",
1685
+ "mp3_44100_128",
1686
+ "mp3_44100_192",
1687
+ "pcm_8000",
1688
+ "pcm_16000",
1689
+ "pcm_22050",
1690
+ "pcm_24000",
1691
+ "pcm_44100",
1692
+ "pcm_48000",
1693
+ "ulaw_8000",
1694
+ "alaw_8000",
1695
+ "opus_48000_32",
1696
+ "opus_48000_64",
1697
+ "opus_48000_96",
1698
+ "opus_48000_128",
1699
+ "opus_48000_192"
1700
+ ],
1701
+ "title": "Output format of the generated audio."
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "xi-api-key",
1706
+ "in": "header",
1707
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
1708
+ "required": false,
1709
+ "schema": {
1710
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
1711
+ "anyOf": [
1712
+ {
1713
+ "type": "string"
1714
+ },
1715
+ {
1716
+ "type": "null"
1717
+ }
1718
+ ],
1719
+ "title": "Xi-Api-Key"
1720
+ }
1721
+ }
1722
+ ],
1723
+ "requestBody": {
1724
+ "required": true,
1725
+ "content": {
1726
+ "application/json": {
1727
+ "schema": {
1728
+ "$ref": "#/components/schemas/Body_Text_to_dialogue__multi_voice__v1_text_to_dialogue_post"
1729
+ }
1730
+ }
1731
+ }
1732
+ },
1733
+ "responses": {
1734
+ "200": {
1735
+ "description": "The generated audio file",
1736
+ "content": {
1737
+ "audio/mpeg": {
1738
+ "schema": {
1739
+ "type": "string",
1740
+ "format": "binary"
1741
+ }
1742
+ }
1743
+ }
1744
+ },
1745
+ "422": {
1746
+ "description": "Validation Error",
1747
+ "content": {
1748
+ "application/json": {
1749
+ "schema": {
1750
+ "$ref": "#/components/schemas/HTTPValidationError"
1751
+ }
1752
+ }
1753
+ }
1754
+ }
1755
+ },
1756
+ "tags": [
1757
+ "text-to-dialogue"
1758
+ ],
1759
+ "x-fern-sdk-group-name": "text_to_dialogue",
1760
+ "x-fern-sdk-method-name": "convert",
1761
+ "x-fern-streaming": true
1762
+ }
1763
+ },
1764
+ "/v1/text-to-dialogue/stream": {
1765
+ "post": {
1766
+ "operationId": "Text_to_dialogue__multi_voice__streaming_v1_text_to_dialogue_stream_post",
1767
+ "summary": "Text To Dialogue (Multi-Voice) Streaming",
1768
+ "description": "Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.",
1769
+ "parameters": [
1770
+ {
1771
+ "name": "output_format",
1772
+ "in": "query",
1773
+ "description": "Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.",
1774
+ "required": false,
1775
+ "schema": {
1776
+ "description": "Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.",
1777
+ "type": "string",
1778
+ "default": "mp3_44100_128",
1779
+ "enum": [
1780
+ "mp3_22050_32",
1781
+ "mp3_44100_32",
1782
+ "mp3_44100_64",
1783
+ "mp3_44100_96",
1784
+ "mp3_44100_128",
1785
+ "mp3_44100_192",
1786
+ "pcm_8000",
1787
+ "pcm_16000",
1788
+ "pcm_22050",
1789
+ "pcm_24000",
1790
+ "pcm_44100",
1791
+ "pcm_48000",
1792
+ "ulaw_8000",
1793
+ "alaw_8000",
1794
+ "opus_48000_32",
1795
+ "opus_48000_64",
1796
+ "opus_48000_96",
1797
+ "opus_48000_128",
1798
+ "opus_48000_192"
1799
+ ],
1800
+ "title": "Output format of the generated audio."
1801
+ }
1802
+ },
1803
+ {
1804
+ "name": "xi-api-key",
1805
+ "in": "header",
1806
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
1807
+ "required": false,
1808
+ "schema": {
1809
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
1810
+ "anyOf": [
1811
+ {
1812
+ "type": "string"
1813
+ },
1814
+ {
1815
+ "type": "null"
1816
+ }
1817
+ ],
1818
+ "title": "Xi-Api-Key"
1819
+ }
1820
+ }
1821
+ ],
1822
+ "requestBody": {
1823
+ "required": true,
1824
+ "content": {
1825
+ "application/json": {
1826
+ "schema": {
1827
+ "$ref": "#/components/schemas/Body_Text_to_dialogue__multi_voice__streaming_v1_text_to_dialogue_stream_post"
1828
+ }
1829
+ }
1830
+ }
1831
+ },
1832
+ "responses": {
1833
+ "200": {
1834
+ "description": "Streaming audio data",
1835
+ "content": {
1836
+ "audio/mpeg": {
1837
+ "schema": {
1838
+ "type": "string",
1839
+ "format": "binary"
1840
+ }
1841
+ }
1842
+ }
1843
+ },
1844
+ "422": {
1845
+ "description": "Validation Error",
1846
+ "content": {
1847
+ "application/json": {
1848
+ "schema": {
1849
+ "$ref": "#/components/schemas/HTTPValidationError"
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ },
1855
+ "tags": [
1856
+ "text-to-dialogue"
1857
+ ],
1858
+ "x-fern-sdk-group-name": "text_to_dialogue",
1859
+ "x-fern-sdk-method-name": "stream",
1860
+ "x-fern-streaming": true
1861
+ }
1862
+ },
1404
1863
  "/v1/speech-to-speech/{voice_id}": {
1405
1864
  "post": {
1406
1865
  "operationId": "Speech_to_Speech_v1_speech_to_speech__voice_id__post",
@@ -8165,6 +8624,27 @@
8165
8624
  "title": "Include Custom Rates"
8166
8625
  }
8167
8626
  },
8627
+ {
8628
+ "name": "include_live_moderated",
8629
+ "in": "query",
8630
+ "description": "Include/exclude voices that are live moderated",
8631
+ "required": false,
8632
+ "schema": {
8633
+ "description": "Include/exclude voices that are live moderated",
8634
+ "anyOf": [
8635
+ {
8636
+ "type": "boolean"
8637
+ },
8638
+ {
8639
+ "type": "null"
8640
+ }
8641
+ ],
8642
+ "examples": [
8643
+ true
8644
+ ],
8645
+ "title": "Include Live Moderated"
8646
+ }
8647
+ },
8168
8648
  {
8169
8649
  "name": "reader_app_enabled",
8170
8650
  "in": "query",
@@ -9074,10 +9554,17 @@
9074
9554
  "name": "xi-api-key",
9075
9555
  "in": "header",
9076
9556
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9077
- "required": true,
9557
+ "required": false,
9078
9558
  "schema": {
9079
9559
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9080
- "type": "string",
9560
+ "anyOf": [
9561
+ {
9562
+ "type": "string"
9563
+ },
9564
+ {
9565
+ "type": "null"
9566
+ }
9567
+ ],
9081
9568
  "title": "Xi-Api-Key"
9082
9569
  }
9083
9570
  }
@@ -9139,10 +9626,17 @@
9139
9626
  "name": "xi-api-key",
9140
9627
  "in": "header",
9141
9628
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9142
- "required": true,
9629
+ "required": false,
9143
9630
  "schema": {
9144
9631
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9145
- "type": "string",
9632
+ "anyOf": [
9633
+ {
9634
+ "type": "string"
9635
+ },
9636
+ {
9637
+ "type": "null"
9638
+ }
9639
+ ],
9146
9640
  "title": "Xi-Api-Key"
9147
9641
  }
9148
9642
  }
@@ -9211,10 +9705,17 @@
9211
9705
  "name": "xi-api-key",
9212
9706
  "in": "header",
9213
9707
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9214
- "required": true,
9708
+ "required": false,
9215
9709
  "schema": {
9216
9710
  "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
9217
- "type": "string",
9711
+ "anyOf": [
9712
+ {
9713
+ "type": "string"
9714
+ },
9715
+ {
9716
+ "type": "null"
9717
+ }
9718
+ ],
9218
9719
  "title": "Xi-Api-Key"
9219
9720
  }
9220
9721
  }
@@ -9809,7 +10310,7 @@
9809
10310
  "post": {
9810
10311
  "operationId": "Speech_to_Text_v1_speech_to_text_post",
9811
10312
  "summary": "Speech To Text",
9812
- "description": "Transcribe an audio or video file.",
10313
+ "description": "Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.",
9813
10314
  "parameters": [
9814
10315
  {
9815
10316
  "name": "enable_logging",
@@ -9854,7 +10355,7 @@
9854
10355
  },
9855
10356
  "responses": {
9856
10357
  "200": {
9857
- "description": "Successful Response",
10358
+ "description": "Synchronous transcription result",
9858
10359
  "content": {
9859
10360
  "application/json": {
9860
10361
  "schema": {
@@ -9863,6 +10364,17 @@
9863
10364
  }
9864
10365
  }
9865
10366
  },
10367
+ "202": {
10368
+ "description": "Asynchronous request accepted",
10369
+ "content": {
10370
+ "application/json": {
10371
+ "example": {
10372
+ "message": "Request accepted. Transcription result will be sent to the webhook.",
10373
+ "request_id": "abc123"
10374
+ }
10375
+ }
10376
+ }
10377
+ },
9866
10378
  "422": {
9867
10379
  "description": "Validation Error",
9868
10380
  "content": {
@@ -10790,6 +11302,150 @@
10790
11302
  "x-fern-sdk-method-name": "list"
10791
11303
  }
10792
11304
  },
11305
+ "/v1/convai/agent/{agent_id}/knowledge-base/size": {
11306
+ "get": {
11307
+ "operationId": "Returns_the_size_of_the_agent_s_knowledge_base_v1_convai_agent__agent_id__knowledge_base_size_get",
11308
+ "summary": "Returns The Size Of The Agent'S Knowledge Base",
11309
+ "description": "Returns the number of pages in the agent's knowledge base.",
11310
+ "parameters": [
11311
+ {
11312
+ "name": "agent_id",
11313
+ "in": "path",
11314
+ "required": true,
11315
+ "schema": {
11316
+ "type": "string",
11317
+ "title": "Agent Id"
11318
+ }
11319
+ },
11320
+ {
11321
+ "name": "xi-api-key",
11322
+ "in": "header",
11323
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
11324
+ "required": false,
11325
+ "schema": {
11326
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
11327
+ "anyOf": [
11328
+ {
11329
+ "type": "string"
11330
+ },
11331
+ {
11332
+ "type": "null"
11333
+ }
11334
+ ],
11335
+ "title": "Xi-Api-Key"
11336
+ }
11337
+ }
11338
+ ],
11339
+ "responses": {
11340
+ "200": {
11341
+ "description": "Successful Response",
11342
+ "content": {
11343
+ "application/json": {
11344
+ "schema": {
11345
+ "$ref": "#/components/schemas/GetAgentKnowledgebaseSizeResponseModel"
11346
+ }
11347
+ }
11348
+ }
11349
+ },
11350
+ "422": {
11351
+ "description": "Validation Error",
11352
+ "content": {
11353
+ "application/json": {
11354
+ "schema": {
11355
+ "$ref": "#/components/schemas/HTTPValidationError"
11356
+ }
11357
+ }
11358
+ }
11359
+ }
11360
+ },
11361
+ "tags": [
11362
+ "Conversational AI"
11363
+ ],
11364
+ "x-fern-sdk-group-name": [
11365
+ "conversational_ai",
11366
+ "agents",
11367
+ "knowledge_base"
11368
+ ],
11369
+ "x-fern-sdk-method-name": "size"
11370
+ }
11371
+ },
11372
+ "/v1/convai/agent/{agent_id}/llm-usage/calculate": {
11373
+ "post": {
11374
+ "operationId": "Calculate_expected_LLM_usage_for_an_agent_v1_convai_agent__agent_id__llm_usage_calculate_post",
11375
+ "summary": "Calculate Expected Llm Usage For An Agent",
11376
+ "description": "Calculates expected number of LLM tokens needed for the specified agent.",
11377
+ "parameters": [
11378
+ {
11379
+ "name": "agent_id",
11380
+ "in": "path",
11381
+ "required": true,
11382
+ "schema": {
11383
+ "type": "string",
11384
+ "title": "Agent Id"
11385
+ }
11386
+ },
11387
+ {
11388
+ "name": "xi-api-key",
11389
+ "in": "header",
11390
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
11391
+ "required": false,
11392
+ "schema": {
11393
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
11394
+ "anyOf": [
11395
+ {
11396
+ "type": "string"
11397
+ },
11398
+ {
11399
+ "type": "null"
11400
+ }
11401
+ ],
11402
+ "title": "Xi-Api-Key"
11403
+ }
11404
+ }
11405
+ ],
11406
+ "requestBody": {
11407
+ "required": true,
11408
+ "content": {
11409
+ "application/json": {
11410
+ "schema": {
11411
+ "$ref": "#/components/schemas/LLMUsageCalculatorRequestModel"
11412
+ }
11413
+ }
11414
+ }
11415
+ },
11416
+ "responses": {
11417
+ "200": {
11418
+ "description": "Successful Response",
11419
+ "content": {
11420
+ "application/json": {
11421
+ "schema": {
11422
+ "$ref": "#/components/schemas/LLMUsageCalculatorResponseModel"
11423
+ }
11424
+ }
11425
+ }
11426
+ },
11427
+ "422": {
11428
+ "description": "Validation Error",
11429
+ "content": {
11430
+ "application/json": {
11431
+ "schema": {
11432
+ "$ref": "#/components/schemas/HTTPValidationError"
11433
+ }
11434
+ }
11435
+ }
11436
+ }
11437
+ },
11438
+ "tags": [
11439
+ "Conversational AI"
11440
+ ],
11441
+ "x-fern-sdk-group-name": [
11442
+ "conversational_ai",
11443
+ "agents",
11444
+ "llm_usage"
11445
+ ],
11446
+ "x-fern-sdk-method-name": "calculate"
11447
+ }
11448
+ },
10793
11449
  "/v1/convai/agents/{agent_id}/simulate-conversation": {
10794
11450
  "post": {
10795
11451
  "operationId": "Simulates_a_conversation_v1_convai_agents__agent_id__simulate_conversation_post",
@@ -11789,6 +12445,53 @@
11789
12445
  "x-fern-sdk-method-name": "list"
11790
12446
  }
11791
12447
  },
12448
+ "/v1/convai/llm-usage/calculate": {
12449
+ "post": {
12450
+ "operationId": "Calculate_expected_LLM_usage_v1_convai_llm_usage_calculate_post",
12451
+ "summary": "Calculate Expected Llm Usage",
12452
+ "description": "Returns a list of LLM models and the expected cost for using them based on the provided values.",
12453
+ "requestBody": {
12454
+ "required": true,
12455
+ "content": {
12456
+ "application/json": {
12457
+ "schema": {
12458
+ "$ref": "#/components/schemas/LLMUsageCalculatorPublicRequestModel"
12459
+ }
12460
+ }
12461
+ }
12462
+ },
12463
+ "responses": {
12464
+ "200": {
12465
+ "description": "Successful Response",
12466
+ "content": {
12467
+ "application/json": {
12468
+ "schema": {
12469
+ "$ref": "#/components/schemas/LLMUsageCalculatorResponseModel"
12470
+ }
12471
+ }
12472
+ }
12473
+ },
12474
+ "422": {
12475
+ "description": "Validation Error",
12476
+ "content": {
12477
+ "application/json": {
12478
+ "schema": {
12479
+ "$ref": "#/components/schemas/HTTPValidationError"
12480
+ }
12481
+ }
12482
+ }
12483
+ }
12484
+ },
12485
+ "tags": [
12486
+ "Conversational AI"
12487
+ ],
12488
+ "x-fern-sdk-group-name": [
12489
+ "conversational_ai",
12490
+ "llm_usage"
12491
+ ],
12492
+ "x-fern-sdk-method-name": "calculate"
12493
+ }
12494
+ },
11792
12495
  "/v1/convai/knowledge-base": {
11793
12496
  "post": {
11794
12497
  "operationId": "Add_to_knowledge_base_v1_convai_knowledge_base_post",
@@ -12544,6 +13247,18 @@
12544
13247
  "title": "Documentation Id"
12545
13248
  }
12546
13249
  },
13250
+ {
13251
+ "name": "force",
13252
+ "in": "query",
13253
+ "description": "If set to true, the document will be deleted regardless of whether it is used by any agents and it will be deleted from the dependent agents.",
13254
+ "required": false,
13255
+ "schema": {
13256
+ "description": "If set to true, the document will be deleted regardless of whether it is used by any agents and it will be deleted from the dependent agents.",
13257
+ "type": "boolean",
13258
+ "default": false,
13259
+ "title": "Force"
13260
+ }
13261
+ },
12547
13262
  {
12548
13263
  "name": "xi-api-key",
12549
13264
  "in": "header",
@@ -12634,24 +13349,179 @@
12634
13349
  }
12635
13350
  }
12636
13351
  ],
12637
- "requestBody": {
12638
- "required": true,
12639
- "content": {
12640
- "application/json": {
12641
- "schema": {
12642
- "description": "Payload for RAG index status endpoint.",
12643
- "$ref": "#/components/schemas/RAGIndexRequestModel"
13352
+ "requestBody": {
13353
+ "required": true,
13354
+ "content": {
13355
+ "application/json": {
13356
+ "schema": {
13357
+ "description": "Payload for RAG index status endpoint.",
13358
+ "$ref": "#/components/schemas/RAGIndexRequestModel"
13359
+ }
13360
+ }
13361
+ }
13362
+ },
13363
+ "responses": {
13364
+ "200": {
13365
+ "description": "Successful Response",
13366
+ "content": {
13367
+ "application/json": {
13368
+ "schema": {
13369
+ "$ref": "#/components/schemas/RAGDocumentIndexResponseModel"
13370
+ }
13371
+ }
13372
+ }
13373
+ },
13374
+ "422": {
13375
+ "description": "Validation Error",
13376
+ "content": {
13377
+ "application/json": {
13378
+ "schema": {
13379
+ "$ref": "#/components/schemas/HTTPValidationError"
13380
+ }
13381
+ }
13382
+ }
13383
+ }
13384
+ },
13385
+ "tags": [
13386
+ "Conversational AI"
13387
+ ],
13388
+ "x-fern-sdk-group-name": [
13389
+ "conversational_ai",
13390
+ "knowledge_base",
13391
+ "document"
13392
+ ],
13393
+ "x-fern-sdk-method-name": "compute_rag_index"
13394
+ },
13395
+ "get": {
13396
+ "operationId": "Get_RAG_indexes_of_the_specified_knowledgebase_document__v1_convai_knowledge_base__documentation_id__rag_index_get",
13397
+ "summary": "Get Rag Indexes Of The Specified Knowledgebase Document.",
13398
+ "description": "Provides information about all RAG indexes of the specified knowledgebase document.",
13399
+ "parameters": [
13400
+ {
13401
+ "name": "documentation_id",
13402
+ "in": "path",
13403
+ "description": "The id of a document from the knowledge base. This is returned on document addition.",
13404
+ "required": true,
13405
+ "schema": {
13406
+ "description": "The id of a document from the knowledge base. This is returned on document addition.",
13407
+ "type": "string",
13408
+ "embed": true,
13409
+ "examples": [
13410
+ "21m00Tcm4TlvDq8ikWAM"
13411
+ ],
13412
+ "title": "Documentation Id"
13413
+ }
13414
+ },
13415
+ {
13416
+ "name": "xi-api-key",
13417
+ "in": "header",
13418
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13419
+ "required": false,
13420
+ "schema": {
13421
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13422
+ "anyOf": [
13423
+ {
13424
+ "type": "string"
13425
+ },
13426
+ {
13427
+ "type": "null"
13428
+ }
13429
+ ],
13430
+ "title": "Xi-Api-Key"
13431
+ }
13432
+ }
13433
+ ],
13434
+ "responses": {
13435
+ "200": {
13436
+ "description": "Successful Response",
13437
+ "content": {
13438
+ "application/json": {
13439
+ "schema": {
13440
+ "$ref": "#/components/schemas/RAGDocumentIndexesResponseModel"
13441
+ }
13442
+ }
13443
+ }
13444
+ },
13445
+ "422": {
13446
+ "description": "Validation Error",
13447
+ "content": {
13448
+ "application/json": {
13449
+ "schema": {
13450
+ "$ref": "#/components/schemas/HTTPValidationError"
13451
+ }
12644
13452
  }
12645
13453
  }
12646
13454
  }
12647
13455
  },
13456
+ "tags": [
13457
+ "Conversational AI"
13458
+ ],
13459
+ "x-fern-sdk-group-name": "conversational_ai",
13460
+ "x-fern-sdk-method-name": "get_document_rag_indexes"
13461
+ }
13462
+ },
13463
+ "/v1/convai/knowledge-base/{documentation_id}/rag-index/{rag_index_id}": {
13464
+ "delete": {
13465
+ "operationId": "Delete_RAG_index__v1_convai_knowledge_base__documentation_id__rag_index__rag_index_id__delete",
13466
+ "summary": "Delete Rag Index.",
13467
+ "description": "Delete RAG index for the knowledgebase document.",
13468
+ "parameters": [
13469
+ {
13470
+ "name": "documentation_id",
13471
+ "in": "path",
13472
+ "description": "The id of a document from the knowledge base. This is returned on document addition.",
13473
+ "required": true,
13474
+ "schema": {
13475
+ "description": "The id of a document from the knowledge base. This is returned on document addition.",
13476
+ "type": "string",
13477
+ "embed": true,
13478
+ "examples": [
13479
+ "21m00Tcm4TlvDq8ikWAM"
13480
+ ],
13481
+ "title": "Documentation Id"
13482
+ }
13483
+ },
13484
+ {
13485
+ "name": "rag_index_id",
13486
+ "in": "path",
13487
+ "description": "The id of RAG index of document from the knowledge base.",
13488
+ "required": true,
13489
+ "schema": {
13490
+ "description": "The id of RAG index of document from the knowledge base.",
13491
+ "type": "string",
13492
+ "embed": true,
13493
+ "examples": [
13494
+ "21m00Tcm4TlvDq8ikWAM"
13495
+ ],
13496
+ "title": "Rag Index Id"
13497
+ }
13498
+ },
13499
+ {
13500
+ "name": "xi-api-key",
13501
+ "in": "header",
13502
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13503
+ "required": false,
13504
+ "schema": {
13505
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13506
+ "anyOf": [
13507
+ {
13508
+ "type": "string"
13509
+ },
13510
+ {
13511
+ "type": "null"
13512
+ }
13513
+ ],
13514
+ "title": "Xi-Api-Key"
13515
+ }
13516
+ }
13517
+ ],
12648
13518
  "responses": {
12649
13519
  "200": {
12650
13520
  "description": "Successful Response",
12651
13521
  "content": {
12652
13522
  "application/json": {
12653
13523
  "schema": {
12654
- "$ref": "#/components/schemas/RAGIndexResponseModel"
13524
+ "$ref": "#/components/schemas/RAGDocumentIndexResponseModel"
12655
13525
  }
12656
13526
  }
12657
13527
  }
@@ -12670,12 +13540,62 @@
12670
13540
  "tags": [
12671
13541
  "Conversational AI"
12672
13542
  ],
12673
- "x-fern-sdk-group-name": [
12674
- "conversational_ai",
12675
- "knowledge_base",
12676
- "document"
13543
+ "x-fern-sdk-group-name": "conversational_ai",
13544
+ "x-fern-sdk-method-name": "delete_document_rag_index"
13545
+ }
13546
+ },
13547
+ "/v1/convai/knowledge-base/rag-index": {
13548
+ "get": {
13549
+ "operationId": "Get_RAG_index_overview__v1_convai_knowledge_base_rag_index_get",
13550
+ "summary": "Get Rag Index Overview.",
13551
+ "description": "Provides total size and other information of RAG indexes used by knowledgebase documents",
13552
+ "parameters": [
13553
+ {
13554
+ "name": "xi-api-key",
13555
+ "in": "header",
13556
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13557
+ "required": false,
13558
+ "schema": {
13559
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
13560
+ "anyOf": [
13561
+ {
13562
+ "type": "string"
13563
+ },
13564
+ {
13565
+ "type": "null"
13566
+ }
13567
+ ],
13568
+ "title": "Xi-Api-Key"
13569
+ }
13570
+ }
12677
13571
  ],
12678
- "x-fern-sdk-method-name": "compute_rag_index"
13572
+ "responses": {
13573
+ "200": {
13574
+ "description": "Successful Response",
13575
+ "content": {
13576
+ "application/json": {
13577
+ "schema": {
13578
+ "$ref": "#/components/schemas/RAGIndexOverviewResponseModel"
13579
+ }
13580
+ }
13581
+ }
13582
+ },
13583
+ "422": {
13584
+ "description": "Validation Error",
13585
+ "content": {
13586
+ "application/json": {
13587
+ "schema": {
13588
+ "$ref": "#/components/schemas/HTTPValidationError"
13589
+ }
13590
+ }
13591
+ }
13592
+ }
13593
+ },
13594
+ "tags": [
13595
+ "Conversational AI"
13596
+ ],
13597
+ "x-fern-sdk-group-name": "conversational_ai",
13598
+ "x-fern-sdk-method-name": "rag_index_overview"
12679
13599
  }
12680
13600
  },
12681
13601
  "/v1/convai/agents/{agent_id}/knowledge-base/{documentation_id}": {
@@ -13745,6 +14665,138 @@
13745
14665
  "x-fern-sdk-method-name": "get"
13746
14666
  }
13747
14667
  },
14668
+ "/v1/convai/batch-calling/{batch_id}/cancel": {
14669
+ "post": {
14670
+ "operationId": "Cancel_a_batch_call__v1_convai_batch_calling__batch_id__cancel_post",
14671
+ "summary": "Cancel A Batch Call.",
14672
+ "description": "Cancel a running batch call and set all recipients to cancelled status.",
14673
+ "parameters": [
14674
+ {
14675
+ "name": "batch_id",
14676
+ "in": "path",
14677
+ "required": true,
14678
+ "schema": {
14679
+ "type": "string",
14680
+ "title": "Batch Id"
14681
+ }
14682
+ },
14683
+ {
14684
+ "name": "xi-api-key",
14685
+ "in": "header",
14686
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
14687
+ "required": false,
14688
+ "schema": {
14689
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
14690
+ "anyOf": [
14691
+ {
14692
+ "type": "string"
14693
+ },
14694
+ {
14695
+ "type": "null"
14696
+ }
14697
+ ],
14698
+ "title": "Xi-Api-Key"
14699
+ }
14700
+ }
14701
+ ],
14702
+ "responses": {
14703
+ "200": {
14704
+ "description": "Successful Response",
14705
+ "content": {
14706
+ "application/json": {
14707
+ "schema": {
14708
+ "$ref": "#/components/schemas/BatchCallResponse"
14709
+ }
14710
+ }
14711
+ }
14712
+ },
14713
+ "422": {
14714
+ "description": "Validation Error",
14715
+ "content": {
14716
+ "application/json": {
14717
+ "schema": {
14718
+ "$ref": "#/components/schemas/HTTPValidationError"
14719
+ }
14720
+ }
14721
+ }
14722
+ }
14723
+ },
14724
+ "tags": [
14725
+ "Conversational AI"
14726
+ ],
14727
+ "x-fern-sdk-group-name": [
14728
+ "conversational_ai",
14729
+ "batch_calls"
14730
+ ],
14731
+ "x-fern-sdk-method-name": "cancel"
14732
+ }
14733
+ },
14734
+ "/v1/convai/batch-calling/{batch_id}/retry": {
14735
+ "post": {
14736
+ "operationId": "Retry_a_batch_call__v1_convai_batch_calling__batch_id__retry_post",
14737
+ "summary": "Retry A Batch Call.",
14738
+ "description": "Retry a batch call by setting completed recipients back to pending status.",
14739
+ "parameters": [
14740
+ {
14741
+ "name": "batch_id",
14742
+ "in": "path",
14743
+ "required": true,
14744
+ "schema": {
14745
+ "type": "string",
14746
+ "title": "Batch Id"
14747
+ }
14748
+ },
14749
+ {
14750
+ "name": "xi-api-key",
14751
+ "in": "header",
14752
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
14753
+ "required": false,
14754
+ "schema": {
14755
+ "description": "Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.",
14756
+ "anyOf": [
14757
+ {
14758
+ "type": "string"
14759
+ },
14760
+ {
14761
+ "type": "null"
14762
+ }
14763
+ ],
14764
+ "title": "Xi-Api-Key"
14765
+ }
14766
+ }
14767
+ ],
14768
+ "responses": {
14769
+ "200": {
14770
+ "description": "Successful Response",
14771
+ "content": {
14772
+ "application/json": {
14773
+ "schema": {
14774
+ "$ref": "#/components/schemas/BatchCallResponse"
14775
+ }
14776
+ }
14777
+ }
14778
+ },
14779
+ "422": {
14780
+ "description": "Validation Error",
14781
+ "content": {
14782
+ "application/json": {
14783
+ "schema": {
14784
+ "$ref": "#/components/schemas/HTTPValidationError"
14785
+ }
14786
+ }
14787
+ }
14788
+ }
14789
+ },
14790
+ "tags": [
14791
+ "Conversational AI"
14792
+ ],
14793
+ "x-fern-sdk-group-name": [
14794
+ "conversational_ai",
14795
+ "batch_calls"
14796
+ ],
14797
+ "x-fern-sdk-method-name": "retry"
14798
+ }
14799
+ },
13748
14800
  "/v1/convai/sip-trunk/outbound-call": {
13749
14801
  "post": {
13750
14802
  "operationId": "Handle_an_outbound_call_via_SIP_trunk_v1_convai_sip_trunk_outbound_call_post",
@@ -15098,16 +16150,11 @@
15098
16150
  "name": {
15099
16151
  "type": "string",
15100
16152
  "title": "Name"
15101
- },
15102
- "prompt_injectable": {
15103
- "type": "boolean",
15104
- "title": "Prompt Injectable"
15105
16153
  }
15106
16154
  },
15107
16155
  "required": [
15108
16156
  "id",
15109
- "name",
15110
- "prompt_injectable"
16157
+ "name"
15111
16158
  ],
15112
16159
  "title": "AddKnowledgeBaseResponseModel"
15113
16160
  },
@@ -15383,13 +16430,16 @@
15383
16430
  "description": "If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion.",
15384
16431
  "type": "string",
15385
16432
  "default": "",
15386
- "title": "First Message"
16433
+ "title": "First Message",
16434
+ "x-convai-client-override": true,
16435
+ "x-convai-language-override": true
15387
16436
  },
15388
16437
  "language": {
15389
16438
  "description": "Language of the agent - used for ASR and TTS",
15390
16439
  "type": "string",
15391
16440
  "default": "en",
15392
- "title": "Language"
16441
+ "title": "Language",
16442
+ "x-convai-client-override": true
15393
16443
  },
15394
16444
  "dynamic_variables": {
15395
16445
  "description": "Configuration for dynamic variables",
@@ -15413,13 +16463,16 @@
15413
16463
  "description": "If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion.",
15414
16464
  "type": "string",
15415
16465
  "default": "",
15416
- "title": "First Message"
16466
+ "title": "First Message",
16467
+ "x-convai-client-override": true,
16468
+ "x-convai-language-override": true
15417
16469
  },
15418
16470
  "language": {
15419
16471
  "description": "Language of the agent - used for ASR and TTS",
15420
16472
  "type": "string",
15421
16473
  "default": "en",
15422
- "title": "Language"
16474
+ "title": "Language",
16475
+ "x-convai-client-override": true
15423
16476
  },
15424
16477
  "dynamic_variables": {
15425
16478
  "description": "Configuration for dynamic variables",
@@ -15443,13 +16496,16 @@
15443
16496
  "description": "If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion.",
15444
16497
  "type": "string",
15445
16498
  "default": "",
15446
- "title": "First Message"
16499
+ "title": "First Message",
16500
+ "x-convai-client-override": true,
16501
+ "x-convai-language-override": true
15447
16502
  },
15448
16503
  "language": {
15449
16504
  "description": "Language of the agent - used for ASR and TTS",
15450
16505
  "type": "string",
15451
16506
  "default": "en",
15452
- "title": "Language"
16507
+ "title": "Language",
16508
+ "x-convai-client-override": true
15453
16509
  },
15454
16510
  "dynamic_variables": {
15455
16511
  "description": "Configuration for dynamic variables",
@@ -15468,19 +16524,22 @@
15468
16524
  "AgentConfigOverride": {
15469
16525
  "type": "object",
15470
16526
  "properties": {
15471
- "prompt": {
15472
- "description": "The overrides for the prompt configuration",
16527
+ "first_message": {
16528
+ "description": "If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion.",
15473
16529
  "anyOf": [
15474
16530
  {
15475
- "$ref": "#/components/schemas/PromptAgentOverride"
16531
+ "type": "string"
15476
16532
  },
15477
16533
  {
15478
16534
  "type": "null"
15479
16535
  }
15480
- ]
16536
+ ],
16537
+ "title": "First Message",
16538
+ "x-convai-client-override": true,
16539
+ "x-convai-language-override": true
15481
16540
  },
15482
- "first_message": {
15483
- "description": "If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion",
16541
+ "language": {
16542
+ "description": "Language of the agent - used for ASR and TTS",
15484
16543
  "anyOf": [
15485
16544
  {
15486
16545
  "type": "string"
@@ -15489,52 +16548,48 @@
15489
16548
  "type": "null"
15490
16549
  }
15491
16550
  ],
15492
- "title": "First Message"
16551
+ "title": "Language",
16552
+ "x-convai-client-override": true
15493
16553
  },
15494
- "language": {
15495
- "description": "The language of the agent, used for ASR and TTS",
16554
+ "prompt": {
16555
+ "description": "The prompt for the agent",
15496
16556
  "anyOf": [
15497
16557
  {
15498
- "type": "string"
16558
+ "$ref": "#/components/schemas/PromptAgentOverride"
15499
16559
  },
15500
16560
  {
15501
16561
  "type": "null"
15502
16562
  }
15503
- ],
15504
- "title": "Language"
16563
+ ]
15505
16564
  }
15506
16565
  },
15507
16566
  "example": {
15508
16567
  "first_message": "Hello, how can I help you today?",
15509
- "language": "en"
16568
+ "language": "en",
16569
+ "prompt": {
16570
+ "prompt": "You are a helpful assistant that can answer questions about the topic of the conversation."
16571
+ }
15510
16572
  },
15511
16573
  "title": "AgentConfigOverride"
15512
16574
  },
15513
16575
  "AgentConfigOverrideConfig": {
15514
16576
  "type": "object",
15515
16577
  "properties": {
15516
- "prompt": {
15517
- "description": "Overrides for the prompt configuration",
15518
- "$ref": "#/components/schemas/PromptAgentOverrideConfig"
15519
- },
15520
16578
  "first_message": {
15521
- "description": "Whether to allow overriding the first message",
16579
+ "description": "Whether to allow overriding the first_message field.",
15522
16580
  "type": "boolean",
15523
16581
  "default": false,
15524
16582
  "title": "First Message"
15525
16583
  },
15526
16584
  "language": {
15527
- "description": "Whether to allow overriding the language",
16585
+ "description": "Whether to allow overriding the language field.",
15528
16586
  "type": "boolean",
15529
16587
  "default": false,
15530
16588
  "title": "Language"
15531
- }
15532
- },
15533
- "example": {
15534
- "first_message": false,
15535
- "language": false,
16589
+ },
15536
16590
  "prompt": {
15537
- "prompt": false
16591
+ "description": "Configures overrides for nested fields.",
16592
+ "$ref": "#/components/schemas/PromptAgentOverrideConfig"
15538
16593
  }
15539
16594
  },
15540
16595
  "title": "AgentConfigOverrideConfig"
@@ -15566,7 +16621,7 @@
15566
16621
  },
15567
16622
  "widget": {
15568
16623
  "description": "Configuration for the widget",
15569
- "$ref": "#/components/schemas/WidgetConfig"
16624
+ "$ref": "#/components/schemas/WidgetConfig-Input"
15570
16625
  },
15571
16626
  "data_collection": {
15572
16627
  "description": "Data collection settings",
@@ -15608,7 +16663,7 @@
15608
16663
  },
15609
16664
  "widget": {
15610
16665
  "description": "Configuration for the widget",
15611
- "$ref": "#/components/schemas/WidgetConfig"
16666
+ "$ref": "#/components/schemas/WidgetConfig-Output"
15612
16667
  },
15613
16668
  "data_collection": {
15614
16669
  "description": "Data collection settings",
@@ -16152,7 +17207,8 @@
16152
17207
  "signed_url",
16153
17208
  "shareable_link",
16154
17209
  "livekit_token",
16155
- "livekit_token_website"
17210
+ "livekit_token_website",
17211
+ "genesys_api_key"
16156
17212
  ],
16157
17213
  "title": "AuthorizationMethod"
16158
17214
  },
@@ -19912,6 +20968,12 @@
19912
20968
  "https://account123.r2.cloudflarestorage.com/my-bucket/audio.mp3"
19913
20969
  ],
19914
20970
  "title": "Cloud Storage Url"
20971
+ },
20972
+ "webhook": {
20973
+ "description": "Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. Webhooks can be created and assigned to a transcription task in webhook settings page in the UI.",
20974
+ "type": "boolean",
20975
+ "default": false,
20976
+ "title": "Webhook"
19915
20977
  }
19916
20978
  },
19917
20979
  "required": [
@@ -20011,6 +21073,186 @@
20011
21073
  ],
20012
21074
  "title": "Body_Submit_a_batch_call_request__v1_convai_batch_calling_submit_post"
20013
21075
  },
21076
+ "Body_Text_to_dialogue__multi_voice__streaming_v1_text_to_dialogue_stream_post": {
21077
+ "type": "object",
21078
+ "properties": {
21079
+ "inputs": {
21080
+ "description": "A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.",
21081
+ "type": "array",
21082
+ "items": {
21083
+ "$ref": "#/components/schemas/DialogueInput"
21084
+ },
21085
+ "examples": [
21086
+ [
21087
+ {
21088
+ "text": "Hello, how are you?",
21089
+ "voice_id": "bYTqZQo3Jz7LQtmGTgwi"
21090
+ },
21091
+ {
21092
+ "text": "I'm doing well, thank you!",
21093
+ "voice_id": "6lCwbsX1yVjD49QmpkTR"
21094
+ }
21095
+ ]
21096
+ ],
21097
+ "title": "Inputs"
21098
+ },
21099
+ "model_id": {
21100
+ "description": "Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.",
21101
+ "type": "string",
21102
+ "default": "eleven_v3",
21103
+ "title": "Model Id"
21104
+ },
21105
+ "settings": {
21106
+ "description": "Settings controlling the dialogue generation.",
21107
+ "anyOf": [
21108
+ {
21109
+ "$ref": "#/components/schemas/ModelSettingsResponseModel"
21110
+ },
21111
+ {
21112
+ "type": "null"
21113
+ }
21114
+ ],
21115
+ "examples": [
21116
+ {
21117
+ "stability": 0.5,
21118
+ "use_speaker_boost": true
21119
+ }
21120
+ ]
21121
+ },
21122
+ "pronunciation_dictionary_locators": {
21123
+ "description": "A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request",
21124
+ "anyOf": [
21125
+ {
21126
+ "items": {
21127
+ "$ref": "#/components/schemas/PronunciationDictionaryVersionLocatorRequestModel"
21128
+ },
21129
+ "type": "array"
21130
+ },
21131
+ {
21132
+ "type": "null"
21133
+ }
21134
+ ],
21135
+ "examples": [
21136
+ [
21137
+ {
21138
+ "pronunciation_dictionary_id": "test",
21139
+ "version_id": "id2"
21140
+ }
21141
+ ]
21142
+ ],
21143
+ "title": "Pronunciation Dictionary Locators"
21144
+ },
21145
+ "seed": {
21146
+ "description": "If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be integer between 0 and 4294967295.",
21147
+ "anyOf": [
21148
+ {
21149
+ "type": "integer"
21150
+ },
21151
+ {
21152
+ "type": "null"
21153
+ }
21154
+ ],
21155
+ "examples": [
21156
+ 12345
21157
+ ],
21158
+ "title": "Seed"
21159
+ }
21160
+ },
21161
+ "required": [
21162
+ "inputs"
21163
+ ],
21164
+ "title": "Body_Text_to_dialogue__multi_voice__streaming_v1_text_to_dialogue_stream_post"
21165
+ },
21166
+ "Body_Text_to_dialogue__multi_voice__v1_text_to_dialogue_post": {
21167
+ "type": "object",
21168
+ "properties": {
21169
+ "inputs": {
21170
+ "description": "A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.",
21171
+ "type": "array",
21172
+ "items": {
21173
+ "$ref": "#/components/schemas/DialogueInput"
21174
+ },
21175
+ "examples": [
21176
+ [
21177
+ {
21178
+ "text": "Hello, how are you?",
21179
+ "voice_id": "bYTqZQo3Jz7LQtmGTgwi"
21180
+ },
21181
+ {
21182
+ "text": "I'm doing well, thank you!",
21183
+ "voice_id": "6lCwbsX1yVjD49QmpkTR"
21184
+ }
21185
+ ]
21186
+ ],
21187
+ "title": "Inputs"
21188
+ },
21189
+ "model_id": {
21190
+ "description": "Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.",
21191
+ "type": "string",
21192
+ "default": "eleven_v3",
21193
+ "title": "Model Id"
21194
+ },
21195
+ "settings": {
21196
+ "description": "Settings controlling the dialogue generation.",
21197
+ "anyOf": [
21198
+ {
21199
+ "$ref": "#/components/schemas/ModelSettingsResponseModel"
21200
+ },
21201
+ {
21202
+ "type": "null"
21203
+ }
21204
+ ],
21205
+ "examples": [
21206
+ {
21207
+ "stability": 0.5,
21208
+ "use_speaker_boost": true
21209
+ }
21210
+ ]
21211
+ },
21212
+ "pronunciation_dictionary_locators": {
21213
+ "description": "A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request",
21214
+ "anyOf": [
21215
+ {
21216
+ "items": {
21217
+ "$ref": "#/components/schemas/PronunciationDictionaryVersionLocatorRequestModel"
21218
+ },
21219
+ "type": "array"
21220
+ },
21221
+ {
21222
+ "type": "null"
21223
+ }
21224
+ ],
21225
+ "examples": [
21226
+ [
21227
+ {
21228
+ "pronunciation_dictionary_id": "test",
21229
+ "version_id": "id2"
21230
+ }
21231
+ ]
21232
+ ],
21233
+ "title": "Pronunciation Dictionary Locators"
21234
+ },
21235
+ "seed": {
21236
+ "description": "If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be integer between 0 and 4294967295.",
21237
+ "anyOf": [
21238
+ {
21239
+ "type": "integer"
21240
+ },
21241
+ {
21242
+ "type": "null"
21243
+ }
21244
+ ],
21245
+ "examples": [
21246
+ 12345
21247
+ ],
21248
+ "title": "Seed"
21249
+ }
21250
+ },
21251
+ "required": [
21252
+ "inputs"
21253
+ ],
21254
+ "title": "Body_Text_to_dialogue__multi_voice__v1_text_to_dialogue_post"
21255
+ },
20014
21256
  "Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post": {
20015
21257
  "type": "object",
20016
21258
  "properties": {
@@ -21273,6 +22515,23 @@
21273
22515
  "ChapterContentBlockInputModel": {
21274
22516
  "type": "object",
21275
22517
  "properties": {
22518
+ "sub_type": {
22519
+ "anyOf": [
22520
+ {
22521
+ "type": "string",
22522
+ "enum": [
22523
+ "p",
22524
+ "h1",
22525
+ "h2",
22526
+ "h3"
22527
+ ]
22528
+ },
22529
+ {
22530
+ "type": "null"
22531
+ }
22532
+ ],
22533
+ "title": "Sub Type"
22534
+ },
21276
22535
  "block_id": {
21277
22536
  "anyOf": [
21278
22537
  {
@@ -21847,7 +23106,8 @@
21847
23106
  "client_tool_call",
21848
23107
  "vad_score",
21849
23108
  "internal_turn_probability",
21850
- "internal_tentative_agent_response"
23109
+ "internal_tentative_agent_response",
23110
+ "internal_native_mcp_tool_call"
21851
23111
  ],
21852
23112
  "title": "ClientEvent"
21853
23113
  },
@@ -22168,7 +23428,8 @@
22168
23428
  "description": "If enabled audio will not be processed and only text will be used, use to avoid audio pricing.",
22169
23429
  "type": "boolean",
22170
23430
  "default": false,
22171
- "title": "Text Only"
23431
+ "title": "Text Only",
23432
+ "x-convai-client-override": true
22172
23433
  },
22173
23434
  "max_duration_seconds": {
22174
23435
  "description": "The maximum duration of a conversation in seconds",
@@ -22197,33 +23458,33 @@
22197
23458
  "ConversationConfigClientOverride-Input": {
22198
23459
  "type": "object",
22199
23460
  "properties": {
22200
- "agent": {
22201
- "description": "The overrides for the agent configuration",
23461
+ "tts": {
23462
+ "description": "Configuration for conversational text to speech",
22202
23463
  "anyOf": [
22203
23464
  {
22204
- "$ref": "#/components/schemas/AgentConfigOverride"
23465
+ "$ref": "#/components/schemas/TTSConversationalConfigOverride"
22205
23466
  },
22206
23467
  {
22207
23468
  "type": "null"
22208
23469
  }
22209
23470
  ]
22210
23471
  },
22211
- "tts": {
22212
- "description": "The overrides for the TTS configuration",
23472
+ "conversation": {
23473
+ "description": "Configuration for conversational events",
22213
23474
  "anyOf": [
22214
23475
  {
22215
- "$ref": "#/components/schemas/TTSConversationalConfigOverride"
23476
+ "$ref": "#/components/schemas/ConversationConfigOverride"
22216
23477
  },
22217
23478
  {
22218
23479
  "type": "null"
22219
23480
  }
22220
23481
  ]
22221
23482
  },
22222
- "conversation": {
22223
- "description": "The overrides for the conversation configuration",
23483
+ "agent": {
23484
+ "description": "Agent specific configuration",
22224
23485
  "anyOf": [
22225
23486
  {
22226
- "$ref": "#/components/schemas/ConversationConfigOverride"
23487
+ "$ref": "#/components/schemas/AgentConfigOverride"
22227
23488
  },
22228
23489
  {
22229
23490
  "type": "null"
@@ -22231,38 +23492,50 @@
22231
23492
  ]
22232
23493
  }
22233
23494
  },
23495
+ "example": {
23496
+ "agent": {
23497
+ "first_message": "Hello, how can I help you today?",
23498
+ "language": "en",
23499
+ "prompt": {
23500
+ "prompt": "You are a helpful assistant that can answer questions about the topic of the conversation."
23501
+ }
23502
+ },
23503
+ "tts": {
23504
+ "voice_id": "cjVigY5qzO86Huf0OWal"
23505
+ }
23506
+ },
22234
23507
  "title": "ConversationConfigClientOverride"
22235
23508
  },
22236
23509
  "ConversationConfigClientOverride-Output": {
22237
23510
  "type": "object",
22238
23511
  "properties": {
22239
- "agent": {
22240
- "description": "The overrides for the agent configuration",
23512
+ "tts": {
23513
+ "description": "Configuration for conversational text to speech",
22241
23514
  "anyOf": [
22242
23515
  {
22243
- "$ref": "#/components/schemas/AgentConfigOverride"
23516
+ "$ref": "#/components/schemas/TTSConversationalConfigOverride"
22244
23517
  },
22245
23518
  {
22246
23519
  "type": "null"
22247
23520
  }
22248
23521
  ]
22249
23522
  },
22250
- "tts": {
22251
- "description": "The overrides for the TTS configuration",
23523
+ "conversation": {
23524
+ "description": "Configuration for conversational events",
22252
23525
  "anyOf": [
22253
23526
  {
22254
- "$ref": "#/components/schemas/TTSConversationalConfigOverride"
23527
+ "$ref": "#/components/schemas/ConversationConfigOverride"
22255
23528
  },
22256
23529
  {
22257
23530
  "type": "null"
22258
23531
  }
22259
23532
  ]
22260
23533
  },
22261
- "conversation": {
22262
- "description": "The overrides for the conversation configuration",
23534
+ "agent": {
23535
+ "description": "Agent specific configuration",
22263
23536
  "anyOf": [
22264
23537
  {
22265
- "$ref": "#/components/schemas/ConversationConfigOverride"
23538
+ "$ref": "#/components/schemas/AgentConfigOverride"
22266
23539
  },
22267
23540
  {
22268
23541
  "type": "null"
@@ -22270,22 +23543,34 @@
22270
23543
  ]
22271
23544
  }
22272
23545
  },
23546
+ "example": {
23547
+ "agent": {
23548
+ "first_message": "Hello, how can I help you today?",
23549
+ "language": "en",
23550
+ "prompt": {
23551
+ "prompt": "You are a helpful assistant that can answer questions about the topic of the conversation."
23552
+ }
23553
+ },
23554
+ "tts": {
23555
+ "voice_id": "cjVigY5qzO86Huf0OWal"
23556
+ }
23557
+ },
22273
23558
  "title": "ConversationConfigClientOverride"
22274
23559
  },
22275
23560
  "ConversationConfigClientOverrideConfig-Input": {
22276
23561
  "type": "object",
22277
23562
  "properties": {
22278
- "agent": {
22279
- "description": "Overrides for the agent configuration",
22280
- "$ref": "#/components/schemas/AgentConfigOverrideConfig"
22281
- },
22282
23563
  "tts": {
22283
- "description": "Overrides for the TTS configuration",
23564
+ "description": "Configures overrides for nested fields.",
22284
23565
  "$ref": "#/components/schemas/TTSConversationalConfigOverrideConfig"
22285
23566
  },
22286
23567
  "conversation": {
22287
- "description": "Overrides for the conversation configuration",
23568
+ "description": "Configures overrides for nested fields.",
22288
23569
  "$ref": "#/components/schemas/ConversationConfigOverrideConfig"
23570
+ },
23571
+ "agent": {
23572
+ "description": "Configures overrides for nested fields.",
23573
+ "$ref": "#/components/schemas/AgentConfigOverrideConfig"
22289
23574
  }
22290
23575
  },
22291
23576
  "title": "ConversationConfigClientOverrideConfig"
@@ -22293,17 +23578,17 @@
22293
23578
  "ConversationConfigClientOverrideConfig-Output": {
22294
23579
  "type": "object",
22295
23580
  "properties": {
22296
- "agent": {
22297
- "description": "Overrides for the agent configuration",
22298
- "$ref": "#/components/schemas/AgentConfigOverrideConfig"
22299
- },
22300
23581
  "tts": {
22301
- "description": "Overrides for the TTS configuration",
23582
+ "description": "Configures overrides for nested fields.",
22302
23583
  "$ref": "#/components/schemas/TTSConversationalConfigOverrideConfig"
22303
23584
  },
22304
23585
  "conversation": {
22305
- "description": "Overrides for the conversation configuration",
23586
+ "description": "Configures overrides for nested fields.",
22306
23587
  "$ref": "#/components/schemas/ConversationConfigOverrideConfig"
23588
+ },
23589
+ "agent": {
23590
+ "description": "Configures overrides for nested fields.",
23591
+ "$ref": "#/components/schemas/AgentConfigOverrideConfig"
22307
23592
  }
22308
23593
  },
22309
23594
  "title": "ConversationConfigClientOverrideConfig"
@@ -22312,6 +23597,7 @@
22312
23597
  "type": "object",
22313
23598
  "properties": {
22314
23599
  "text_only": {
23600
+ "description": "If enabled audio will not be processed and only text will be used, use to avoid audio pricing.",
22315
23601
  "anyOf": [
22316
23602
  {
22317
23603
  "type": "boolean"
@@ -22320,7 +23606,8 @@
22320
23606
  "type": "null"
22321
23607
  }
22322
23608
  ],
22323
- "title": "Text Only"
23609
+ "title": "Text Only",
23610
+ "x-convai-client-override": true
22324
23611
  }
22325
23612
  },
22326
23613
  "title": "ConversationConfigOverride"
@@ -22329,15 +23616,12 @@
22329
23616
  "type": "object",
22330
23617
  "properties": {
22331
23618
  "text_only": {
22332
- "description": "Whether to allow overriding the text only configuration",
23619
+ "description": "Whether to allow overriding the text_only field.",
22333
23620
  "type": "boolean",
22334
23621
  "default": false,
22335
23622
  "title": "Text Only"
22336
23623
  }
22337
23624
  },
22338
- "example": {
22339
- "text_only": false
22340
- },
22341
23625
  "title": "ConversationConfigOverrideConfig"
22342
23626
  },
22343
23627
  "ConversationDeletionSettings": {
@@ -22637,6 +23921,14 @@
22637
23921
  "type": "null"
22638
23922
  }
22639
23923
  ]
23924
+ },
23925
+ "text_only": {
23926
+ "type": "boolean",
23927
+ "default": false,
23928
+ "title": "Text Only"
23929
+ },
23930
+ "features_usage": {
23931
+ "$ref": "#/components/schemas/FeaturesUsageCommonModel"
22640
23932
  }
22641
23933
  },
22642
23934
  "required": [
@@ -22763,21 +24055,6 @@
22763
24055
  ],
22764
24056
  "title": "Llm Override"
22765
24057
  },
22766
- "source_medium": {
22767
- "anyOf": [
22768
- {
22769
- "type": "string",
22770
- "enum": [
22771
- "audio",
22772
- "text"
22773
- ]
22774
- },
22775
- {
22776
- "type": "null"
22777
- }
22778
- ],
22779
- "title": "Source Medium"
22780
- },
22781
24058
  "time_in_call_secs": {
22782
24059
  "type": "integer",
22783
24060
  "title": "Time In Call Secs"
@@ -22827,6 +24104,21 @@
22827
24104
  }
22828
24105
  ],
22829
24106
  "title": "Original Message"
24107
+ },
24108
+ "source_medium": {
24109
+ "anyOf": [
24110
+ {
24111
+ "type": "string",
24112
+ "enum": [
24113
+ "audio",
24114
+ "text"
24115
+ ]
24116
+ },
24117
+ {
24118
+ "type": "null"
24119
+ }
24120
+ ],
24121
+ "title": "Source Medium"
22830
24122
  }
22831
24123
  },
22832
24124
  "required": [
@@ -22892,21 +24184,6 @@
22892
24184
  ],
22893
24185
  "title": "Llm Override"
22894
24186
  },
22895
- "source_medium": {
22896
- "anyOf": [
22897
- {
22898
- "type": "string",
22899
- "enum": [
22900
- "audio",
22901
- "text"
22902
- ]
22903
- },
22904
- {
22905
- "type": "null"
22906
- }
22907
- ],
22908
- "title": "Source Medium"
22909
- },
22910
24187
  "time_in_call_secs": {
22911
24188
  "type": "integer",
22912
24189
  "title": "Time In Call Secs"
@@ -22956,6 +24233,21 @@
22956
24233
  }
22957
24234
  ],
22958
24235
  "title": "Original Message"
24236
+ },
24237
+ "source_medium": {
24238
+ "anyOf": [
24239
+ {
24240
+ "type": "string",
24241
+ "enum": [
24242
+ "audio",
24243
+ "text"
24244
+ ]
24245
+ },
24246
+ {
24247
+ "type": "null"
24248
+ }
24249
+ ],
24250
+ "title": "Source Medium"
22959
24251
  }
22960
24252
  },
22961
24253
  "required": [
@@ -23522,6 +24814,18 @@
23522
24814
  ],
23523
24815
  "title": "Expiration Time Unix Secs"
23524
24816
  },
24817
+ "conversation_id": {
24818
+ "description": "The ID of the conversation",
24819
+ "anyOf": [
24820
+ {
24821
+ "type": "string"
24822
+ },
24823
+ {
24824
+ "type": "null"
24825
+ }
24826
+ ],
24827
+ "title": "Conversation Id"
24828
+ },
23525
24829
  "purpose": {
23526
24830
  "description": "The purpose of the token",
23527
24831
  "default": "signed_url",
@@ -23529,7 +24833,8 @@
23529
24833
  }
23530
24834
  },
23531
24835
  "example": {
23532
- "agent_id": "J3Pbu5gP6NNKBscdCdwB",
24836
+ "agent_id": "agent_J3Pbu5gP6NNKBscdCdwB",
24837
+ "conversation_id": "conv_J3Pbu5gP6NNKBscdCdwB",
23533
24838
  "conversation_token": "1234567890",
23534
24839
  "expiration_time_unix_secs": 1716153600,
23535
24840
  "purpose": "signed_url"
@@ -23574,7 +24879,7 @@
23574
24879
  },
23575
24880
  "tts": {
23576
24881
  "description": "Configuration for conversational text to speech",
23577
- "$ref": "#/components/schemas/TTSConversationalConfig"
24882
+ "$ref": "#/components/schemas/TTSConversationalConfig-Input"
23578
24883
  },
23579
24884
  "conversation": {
23580
24885
  "description": "Configuration for conversational events",
@@ -23608,7 +24913,7 @@
23608
24913
  },
23609
24914
  "tts": {
23610
24915
  "description": "Configuration for conversational text to speech",
23611
- "$ref": "#/components/schemas/TTSConversationalConfig"
24916
+ "$ref": "#/components/schemas/TTSConversationalConfig-Output"
23612
24917
  },
23613
24918
  "conversation": {
23614
24919
  "description": "Configuration for conversational events",
@@ -23853,6 +25158,24 @@
23853
25158
  "type": "null"
23854
25159
  }
23855
25160
  ]
25161
+ },
25162
+ "request_headers": {
25163
+ "description": "Headers that should be included in the request",
25164
+ "type": "object",
25165
+ "additionalProperties": {
25166
+ "anyOf": [
25167
+ {
25168
+ "type": "string"
25169
+ },
25170
+ {
25171
+ "$ref": "#/components/schemas/ConvAISecretLocator"
25172
+ },
25173
+ {
25174
+ "$ref": "#/components/schemas/ConvAIDynamicVariable"
25175
+ }
25176
+ ]
25177
+ },
25178
+ "title": "Request Headers"
23856
25179
  }
23857
25180
  },
23858
25181
  "required": [
@@ -24319,6 +25642,52 @@
24319
25642
  },
24320
25643
  "title": "DependentUnknownToolIdentifier"
24321
25644
  },
25645
+ "DialogueInput": {
25646
+ "type": "object",
25647
+ "properties": {
25648
+ "text": {
25649
+ "description": "The text to be converted into speech.",
25650
+ "type": "string",
25651
+ "title": "Text"
25652
+ },
25653
+ "voice_id": {
25654
+ "description": "The ID of the voice to be used for the generation.",
25655
+ "type": "string",
25656
+ "title": "Voice Id"
25657
+ }
25658
+ },
25659
+ "required": [
25660
+ "text",
25661
+ "voice_id"
25662
+ ],
25663
+ "title": "DialogueInput"
25664
+ },
25665
+ "DialogueInputResponseModel": {
25666
+ "type": "object",
25667
+ "properties": {
25668
+ "text": {
25669
+ "description": "The text of the dialogue input line.",
25670
+ "type": "string",
25671
+ "title": "Text"
25672
+ },
25673
+ "voice_id": {
25674
+ "description": "The ID of the voice used for this dialogue input line.",
25675
+ "type": "string",
25676
+ "title": "Voice Id"
25677
+ },
25678
+ "voice_name": {
25679
+ "description": "The name of the voice used for this dialogue input line.",
25680
+ "type": "string",
25681
+ "title": "Voice Name"
25682
+ }
25683
+ },
25684
+ "required": [
25685
+ "text",
25686
+ "voice_id",
25687
+ "voice_name"
25688
+ ],
25689
+ "title": "DialogueInputResponseModel"
25690
+ },
24322
25691
  "DoDubbingResponseModel": {
24323
25692
  "type": "object",
24324
25693
  "properties": {
@@ -24767,6 +26136,7 @@
24767
26136
  "EmbedVariant": {
24768
26137
  "type": "string",
24769
26138
  "enum": [
26139
+ "tiny",
24770
26140
  "compact",
24771
26141
  "full",
24772
26142
  "expandable"
@@ -24973,18 +26343,7 @@
24973
26343
  },
24974
26344
  "status": {
24975
26345
  "description": "The status of the user's subscription.",
24976
- "type": "string",
24977
- "enum": [
24978
- "trialing",
24979
- "active",
24980
- "incomplete",
24981
- "incomplete_expired",
24982
- "past_due",
24983
- "canceled",
24984
- "unpaid",
24985
- "free"
24986
- ],
24987
- "title": "Status"
26346
+ "$ref": "#/components/schemas/SubscriptionStatusType"
24988
26347
  },
24989
26348
  "billing_period": {
24990
26349
  "description": "The billing period of the user's subscription.",
@@ -25062,6 +26421,50 @@
25062
26421
  ],
25063
26422
  "title": "ExtendedSubscriptionResponseModel"
25064
26423
  },
26424
+ "FeatureStatusCommonModel": {
26425
+ "type": "object",
26426
+ "properties": {
26427
+ "enabled": {
26428
+ "type": "boolean",
26429
+ "default": false,
26430
+ "title": "Enabled"
26431
+ },
26432
+ "used": {
26433
+ "type": "boolean",
26434
+ "default": false,
26435
+ "title": "Used"
26436
+ }
26437
+ },
26438
+ "title": "FeatureStatusCommonModel"
26439
+ },
26440
+ "FeaturesUsageCommonModel": {
26441
+ "type": "object",
26442
+ "properties": {
26443
+ "language_detection": {
26444
+ "$ref": "#/components/schemas/FeatureStatusCommonModel"
26445
+ },
26446
+ "transfer_to_agent": {
26447
+ "$ref": "#/components/schemas/FeatureStatusCommonModel"
26448
+ },
26449
+ "transfer_to_number": {
26450
+ "$ref": "#/components/schemas/FeatureStatusCommonModel"
26451
+ },
26452
+ "multivoice": {
26453
+ "$ref": "#/components/schemas/FeatureStatusCommonModel"
26454
+ },
26455
+ "pii_zrm_workspace": {
26456
+ "type": "boolean",
26457
+ "default": false,
26458
+ "title": "Pii Zrm Workspace"
26459
+ },
26460
+ "pii_zrm_agent": {
26461
+ "type": "boolean",
26462
+ "default": false,
26463
+ "title": "Pii Zrm Agent"
26464
+ }
26465
+ },
26466
+ "title": "FeaturesUsageCommonModel"
26467
+ },
25065
26468
  "FeedbackResponseModel": {
25066
26469
  "type": "object",
25067
26470
  "properties": {
@@ -25416,6 +26819,19 @@
25416
26819
  ],
25417
26820
  "title": "GetAgentEmbedResponseModel"
25418
26821
  },
26822
+ "GetAgentKnowledgebaseSizeResponseModel": {
26823
+ "type": "object",
26824
+ "properties": {
26825
+ "number_of_pages": {
26826
+ "type": "number",
26827
+ "title": "Number Of Pages"
26828
+ }
26829
+ },
26830
+ "required": [
26831
+ "number_of_pages"
26832
+ ],
26833
+ "title": "GetAgentKnowledgebaseSizeResponseModel"
26834
+ },
25419
26835
  "GetAgentLinkResponseModel": {
25420
26836
  "type": "object",
25421
26837
  "properties": {
@@ -25857,9 +27273,12 @@
25857
27273
  "metadata": {
25858
27274
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
25859
27275
  },
25860
- "prompt_injectable": {
25861
- "type": "boolean",
25862
- "title": "Prompt Injectable"
27276
+ "supported_usages": {
27277
+ "type": "array",
27278
+ "items": {
27279
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27280
+ },
27281
+ "title": "Supported Usages"
25863
27282
  },
25864
27283
  "access_info": {
25865
27284
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -25878,7 +27297,7 @@
25878
27297
  "id",
25879
27298
  "name",
25880
27299
  "metadata",
25881
- "prompt_injectable",
27300
+ "supported_usages",
25882
27301
  "access_info",
25883
27302
  "extracted_inner_html",
25884
27303
  "type"
@@ -25949,9 +27368,12 @@
25949
27368
  "metadata": {
25950
27369
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
25951
27370
  },
25952
- "prompt_injectable": {
25953
- "type": "boolean",
25954
- "title": "Prompt Injectable"
27371
+ "supported_usages": {
27372
+ "type": "array",
27373
+ "items": {
27374
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27375
+ },
27376
+ "title": "Supported Usages"
25955
27377
  },
25956
27378
  "access_info": {
25957
27379
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -25987,7 +27409,7 @@
25987
27409
  "id",
25988
27410
  "name",
25989
27411
  "metadata",
25990
- "prompt_injectable",
27412
+ "supported_usages",
25991
27413
  "access_info",
25992
27414
  "dependent_agents",
25993
27415
  "type"
@@ -26008,9 +27430,12 @@
26008
27430
  "metadata": {
26009
27431
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
26010
27432
  },
26011
- "prompt_injectable": {
26012
- "type": "boolean",
26013
- "title": "Prompt Injectable"
27433
+ "supported_usages": {
27434
+ "type": "array",
27435
+ "items": {
27436
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27437
+ },
27438
+ "title": "Supported Usages"
26014
27439
  },
26015
27440
  "access_info": {
26016
27441
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -26046,7 +27471,7 @@
26046
27471
  "id",
26047
27472
  "name",
26048
27473
  "metadata",
26049
- "prompt_injectable",
27474
+ "supported_usages",
26050
27475
  "access_info",
26051
27476
  "dependent_agents",
26052
27477
  "type"
@@ -26067,9 +27492,12 @@
26067
27492
  "metadata": {
26068
27493
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
26069
27494
  },
26070
- "prompt_injectable": {
26071
- "type": "boolean",
26072
- "title": "Prompt Injectable"
27495
+ "supported_usages": {
27496
+ "type": "array",
27497
+ "items": {
27498
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27499
+ },
27500
+ "title": "Supported Usages"
26073
27501
  },
26074
27502
  "access_info": {
26075
27503
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -26109,7 +27537,7 @@
26109
27537
  "id",
26110
27538
  "name",
26111
27539
  "metadata",
26112
- "prompt_injectable",
27540
+ "supported_usages",
26113
27541
  "access_info",
26114
27542
  "dependent_agents",
26115
27543
  "type",
@@ -26131,9 +27559,12 @@
26131
27559
  "metadata": {
26132
27560
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
26133
27561
  },
26134
- "prompt_injectable": {
26135
- "type": "boolean",
26136
- "title": "Prompt Injectable"
27562
+ "supported_usages": {
27563
+ "type": "array",
27564
+ "items": {
27565
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27566
+ },
27567
+ "title": "Supported Usages"
26137
27568
  },
26138
27569
  "access_info": {
26139
27570
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -26152,7 +27583,7 @@
26152
27583
  "id",
26153
27584
  "name",
26154
27585
  "metadata",
26155
- "prompt_injectable",
27586
+ "supported_usages",
26156
27587
  "access_info",
26157
27588
  "extracted_inner_html",
26158
27589
  "type"
@@ -26173,9 +27604,12 @@
26173
27604
  "metadata": {
26174
27605
  "$ref": "#/components/schemas/KnowledgeBaseDocumentMetadataResponseModel"
26175
27606
  },
26176
- "prompt_injectable": {
26177
- "type": "boolean",
26178
- "title": "Prompt Injectable"
27607
+ "supported_usages": {
27608
+ "type": "array",
27609
+ "items": {
27610
+ "$ref": "#/components/schemas/DocumentUsageModeEnum"
27611
+ },
27612
+ "title": "Supported Usages"
26179
27613
  },
26180
27614
  "access_info": {
26181
27615
  "$ref": "#/components/schemas/ResourceAccessInfo"
@@ -26198,7 +27632,7 @@
26198
27632
  "id",
26199
27633
  "name",
26200
27634
  "metadata",
26201
- "prompt_injectable",
27635
+ "supported_usages",
26202
27636
  "access_info",
26203
27637
  "extracted_inner_html",
26204
27638
  "type",
@@ -26561,6 +27995,39 @@
26561
27995
  ],
26562
27996
  "title": "GetPronunciationDictionaryMetadataResponseModel"
26563
27997
  },
27998
+ "GetSharedSoundGenerationsResponseModel": {
27999
+ "type": "object",
28000
+ "properties": {
28001
+ "shared_sound_generations": {
28002
+ "type": "array",
28003
+ "items": {
28004
+ "$ref": "#/components/schemas/SharedSoundGenerationResponseModel"
28005
+ },
28006
+ "title": "Shared Sound Generations"
28007
+ },
28008
+ "last_sort_id": {
28009
+ "anyOf": [
28010
+ {
28011
+ "type": "string"
28012
+ },
28013
+ {
28014
+ "type": "null"
28015
+ }
28016
+ ],
28017
+ "title": "Last Sort Id"
28018
+ },
28019
+ "has_more": {
28020
+ "type": "boolean",
28021
+ "title": "Has More"
28022
+ }
28023
+ },
28024
+ "required": [
28025
+ "shared_sound_generations",
28026
+ "last_sort_id",
28027
+ "has_more"
28028
+ ],
28029
+ "title": "GetSharedSoundGenerationsResponseModel"
28030
+ },
26564
28031
  "GetSpeechHistoryResponseModel": {
26565
28032
  "type": "object",
26566
28033
  "properties": {
@@ -27110,16 +28577,41 @@
27110
28577
  "gpt-3.5-turbo",
27111
28578
  "gemini-1.5-pro",
27112
28579
  "gemini-1.5-flash",
27113
- "gemini-2.0-flash-001",
28580
+ "gemini-2.0-flash",
27114
28581
  "gemini-2.0-flash-lite",
27115
28582
  "gemini-2.5-flash",
27116
- "gemini-1.0-pro",
28583
+ "claude-sonnet-4",
27117
28584
  "claude-3-7-sonnet",
27118
28585
  "claude-3-5-sonnet",
27119
28586
  "claude-3-5-sonnet-v1",
27120
28587
  "claude-3-haiku",
27121
28588
  "grok-beta",
27122
- "custom-llm"
28589
+ "custom-llm",
28590
+ "gemini-2.5-flash-preview-05-20",
28591
+ "gemini-2.5-flash-preview-04-17",
28592
+ "gemini-2.0-flash-lite-001",
28593
+ "gemini-2.0-flash-001",
28594
+ "gemini-1.5-flash-002",
28595
+ "gemini-1.5-flash-001",
28596
+ "gemini-1.5-pro-002",
28597
+ "gemini-1.5-pro-001",
28598
+ "claude-sonnet-4@20250514",
28599
+ "claude-3-7-sonnet@20250219",
28600
+ "claude-3-5-sonnet@20240620",
28601
+ "claude-3-5-sonnet-v2@20241022",
28602
+ "claude-3-haiku@20240307",
28603
+ "gpt-4.1-2025-04-14",
28604
+ "gpt-4.1-mini-2025-04-14",
28605
+ "gpt-4.1-nano-2025-04-14",
28606
+ "gpt-4o-mini-2024-07-18",
28607
+ "gpt-4o-2024-11-20",
28608
+ "gpt-4o-2024-08-06",
28609
+ "gpt-4o-2024-05-13",
28610
+ "gpt-4-0613",
28611
+ "gpt-4-0314",
28612
+ "gpt-4-turbo-2024-04-09",
28613
+ "gpt-3.5-turbo-0125",
28614
+ "gpt-3.5-turbo-1106"
27123
28615
  ],
27124
28616
  "title": "LLM"
27125
28617
  },
@@ -27201,6 +28693,107 @@
27201
28693
  },
27202
28694
  "title": "LLMUsage"
27203
28695
  },
28696
+ "LLMUsageCalculatorLLMResponseModel": {
28697
+ "type": "object",
28698
+ "properties": {
28699
+ "llm": {
28700
+ "$ref": "#/components/schemas/LLM"
28701
+ },
28702
+ "price_per_minute": {
28703
+ "type": "number",
28704
+ "title": "Price Per Minute"
28705
+ }
28706
+ },
28707
+ "required": [
28708
+ "llm",
28709
+ "price_per_minute"
28710
+ ],
28711
+ "title": "LLMUsageCalculatorLLMResponseModel"
28712
+ },
28713
+ "LLMUsageCalculatorPublicRequestModel": {
28714
+ "type": "object",
28715
+ "properties": {
28716
+ "prompt_length": {
28717
+ "description": "Length of the prompt in characters.",
28718
+ "type": "integer",
28719
+ "title": "Prompt Length"
28720
+ },
28721
+ "number_of_pages": {
28722
+ "description": "Pages of content in PDF documents or URLs in the agent's knowledge base.",
28723
+ "type": "integer",
28724
+ "title": "Number Of Pages"
28725
+ },
28726
+ "rag_enabled": {
28727
+ "description": "Whether RAG is enabled.",
28728
+ "type": "boolean",
28729
+ "title": "Rag Enabled"
28730
+ }
28731
+ },
28732
+ "required": [
28733
+ "prompt_length",
28734
+ "number_of_pages",
28735
+ "rag_enabled"
28736
+ ],
28737
+ "title": "LLMUsageCalculatorPublicRequestModel"
28738
+ },
28739
+ "LLMUsageCalculatorRequestModel": {
28740
+ "type": "object",
28741
+ "properties": {
28742
+ "prompt_length": {
28743
+ "description": "Length of the prompt in characters.",
28744
+ "anyOf": [
28745
+ {
28746
+ "type": "integer"
28747
+ },
28748
+ {
28749
+ "type": "null"
28750
+ }
28751
+ ],
28752
+ "title": "Prompt Length"
28753
+ },
28754
+ "number_of_pages": {
28755
+ "description": "Pages of content in pdf documents OR urls in agent's Knowledge Base.",
28756
+ "anyOf": [
28757
+ {
28758
+ "type": "integer"
28759
+ },
28760
+ {
28761
+ "type": "null"
28762
+ }
28763
+ ],
28764
+ "title": "Number Of Pages"
28765
+ },
28766
+ "rag_enabled": {
28767
+ "description": "Whether RAG is enabled.",
28768
+ "anyOf": [
28769
+ {
28770
+ "type": "boolean"
28771
+ },
28772
+ {
28773
+ "type": "null"
28774
+ }
28775
+ ],
28776
+ "title": "Rag Enabled"
28777
+ }
28778
+ },
28779
+ "title": "LLMUsageCalculatorRequestModel"
28780
+ },
28781
+ "LLMUsageCalculatorResponseModel": {
28782
+ "type": "object",
28783
+ "properties": {
28784
+ "llm_prices": {
28785
+ "type": "array",
28786
+ "items": {
28787
+ "$ref": "#/components/schemas/LLMUsageCalculatorLLMResponseModel"
28788
+ },
28789
+ "title": "Llm Prices"
28790
+ }
28791
+ },
28792
+ "required": [
28793
+ "llm_prices"
28794
+ ],
28795
+ "title": "LLMUsageCalculatorResponseModel"
28796
+ },
27204
28797
  "LanguageAddedResponse": {
27205
28798
  "type": "object",
27206
28799
  "properties": {
@@ -27683,6 +29276,16 @@
27683
29276
  ],
27684
29277
  "title": "LiteralJsonSchemaProperty"
27685
29278
  },
29279
+ "MCPApprovalRequiredModel": {
29280
+ "description": "Defines the approval model for an MCP tool",
29281
+ "type": "string",
29282
+ "enum": [
29283
+ "user_approval_always_given",
29284
+ "user_approval_never_given",
29285
+ "user_approval_required_per_tool"
29286
+ ],
29287
+ "title": "MCPApprovalRequiredModel"
29288
+ },
27686
29289
  "MCPToolConfig-Input": {
27687
29290
  "description": "A MCP tool is a tool that is used to call a MCP server",
27688
29291
  "type": "object",
@@ -27736,6 +29339,11 @@
27736
29339
  "description": "The id of the MCP server to call",
27737
29340
  "type": "string",
27738
29341
  "title": "Mcp Server Id"
29342
+ },
29343
+ "approval_mode": {
29344
+ "description": "If set to approved, the tool will be pre-approved and not require user approval before executing",
29345
+ "default": "user_approval_never_given",
29346
+ "$ref": "#/components/schemas/MCPApprovalRequiredModel"
27739
29347
  }
27740
29348
  },
27741
29349
  "required": [
@@ -27799,6 +29407,11 @@
27799
29407
  "description": "The id of the MCP server to call",
27800
29408
  "type": "string",
27801
29409
  "title": "Mcp Server Id"
29410
+ },
29411
+ "approval_mode": {
29412
+ "description": "If set to approved, the tool will be pre-approved and not require user approval before executing",
29413
+ "default": "user_approval_never_given",
29414
+ "$ref": "#/components/schemas/MCPApprovalRequiredModel"
27802
29415
  }
27803
29416
  },
27804
29417
  "required": [
@@ -28080,6 +29693,40 @@
28080
29693
  ],
28081
29694
  "title": "ModelResponseModel"
28082
29695
  },
29696
+ "ModelSettingsResponseModel": {
29697
+ "type": "object",
29698
+ "properties": {
29699
+ "stability": {
29700
+ "description": "Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion.",
29701
+ "anyOf": [
29702
+ {
29703
+ "type": "number"
29704
+ },
29705
+ {
29706
+ "type": "null"
29707
+ }
29708
+ ],
29709
+ "title": "Stability"
29710
+ },
29711
+ "use_speaker_boost": {
29712
+ "description": "This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.",
29713
+ "anyOf": [
29714
+ {
29715
+ "type": "boolean"
29716
+ },
29717
+ {
29718
+ "type": "null"
29719
+ }
29720
+ ],
29721
+ "title": "Use Speaker Boost"
29722
+ }
29723
+ },
29724
+ "example": {
29725
+ "similarity_boost": 1,
29726
+ "stability": 1
29727
+ },
29728
+ "title": "ModelSettingsResponseModel"
29729
+ },
28083
29730
  "ModerationStatusResponseModel": {
28084
29731
  "type": "object",
28085
29732
  "properties": {
@@ -28172,6 +29819,142 @@
28172
29819
  ],
28173
29820
  "title": "ModerationStatusResponseModel"
28174
29821
  },
29822
+ "NativeMCPToolConfig-Input": {
29823
+ "description": "A Native MCP tool is a tool that is used to call a Native MCP server",
29824
+ "type": "object",
29825
+ "properties": {
29826
+ "id": {
29827
+ "type": "string",
29828
+ "default": "",
29829
+ "title": "Id"
29830
+ },
29831
+ "name": {
29832
+ "type": "string",
29833
+ "minLength": 0,
29834
+ "pattern": "^[a-zA-Z0-9_-]{1,64}$",
29835
+ "title": "Name"
29836
+ },
29837
+ "description": {
29838
+ "type": "string",
29839
+ "minLength": 0,
29840
+ "title": "Description"
29841
+ },
29842
+ "response_timeout_secs": {
29843
+ "description": "The maximum time in seconds to wait for the tool call to complete.",
29844
+ "type": "integer",
29845
+ "default": 20,
29846
+ "title": "Response Timeout Secs"
29847
+ },
29848
+ "type": {
29849
+ "description": "The type of tool",
29850
+ "type": "string",
29851
+ "default": "native_mcp",
29852
+ "const": "native_mcp",
29853
+ "title": "Type"
29854
+ },
29855
+ "parameters": {
29856
+ "description": "Schema for any parameters the LLM needs to provide to the MCP tool.",
29857
+ "anyOf": [
29858
+ {
29859
+ "$ref": "#/components/schemas/ObjectJsonSchemaProperty-Input"
29860
+ },
29861
+ {
29862
+ "type": "null"
29863
+ }
29864
+ ]
29865
+ },
29866
+ "mcp_tool_name": {
29867
+ "description": "The name of the MCP tool to call",
29868
+ "type": "string",
29869
+ "title": "Mcp Tool Name"
29870
+ },
29871
+ "mcp_server_id": {
29872
+ "description": "The id of the MCP server to call",
29873
+ "type": "string",
29874
+ "title": "Mcp Server Id"
29875
+ },
29876
+ "approval_mode": {
29877
+ "description": "If set to always accept, the tool will be pre-approved and not require user approval before executing",
29878
+ "default": "user_approval_never_given",
29879
+ "$ref": "#/components/schemas/MCPApprovalRequiredModel"
29880
+ }
29881
+ },
29882
+ "required": [
29883
+ "name",
29884
+ "description",
29885
+ "mcp_tool_name",
29886
+ "mcp_server_id"
29887
+ ],
29888
+ "title": "NativeMCPToolConfig"
29889
+ },
29890
+ "NativeMCPToolConfig-Output": {
29891
+ "description": "A Native MCP tool is a tool that is used to call a Native MCP server",
29892
+ "type": "object",
29893
+ "properties": {
29894
+ "id": {
29895
+ "type": "string",
29896
+ "default": "",
29897
+ "title": "Id"
29898
+ },
29899
+ "name": {
29900
+ "type": "string",
29901
+ "minLength": 0,
29902
+ "pattern": "^[a-zA-Z0-9_-]{1,64}$",
29903
+ "title": "Name"
29904
+ },
29905
+ "description": {
29906
+ "type": "string",
29907
+ "minLength": 0,
29908
+ "title": "Description"
29909
+ },
29910
+ "response_timeout_secs": {
29911
+ "description": "The maximum time in seconds to wait for the tool call to complete.",
29912
+ "type": "integer",
29913
+ "default": 20,
29914
+ "title": "Response Timeout Secs"
29915
+ },
29916
+ "type": {
29917
+ "description": "The type of tool",
29918
+ "type": "string",
29919
+ "default": "native_mcp",
29920
+ "const": "native_mcp",
29921
+ "title": "Type"
29922
+ },
29923
+ "parameters": {
29924
+ "description": "Schema for any parameters the LLM needs to provide to the MCP tool.",
29925
+ "anyOf": [
29926
+ {
29927
+ "$ref": "#/components/schemas/ObjectJsonSchemaProperty-Output"
29928
+ },
29929
+ {
29930
+ "type": "null"
29931
+ }
29932
+ ]
29933
+ },
29934
+ "mcp_tool_name": {
29935
+ "description": "The name of the MCP tool to call",
29936
+ "type": "string",
29937
+ "title": "Mcp Tool Name"
29938
+ },
29939
+ "mcp_server_id": {
29940
+ "description": "The id of the MCP server to call",
29941
+ "type": "string",
29942
+ "title": "Mcp Server Id"
29943
+ },
29944
+ "approval_mode": {
29945
+ "description": "If set to always accept, the tool will be pre-approved and not require user approval before executing",
29946
+ "default": "user_approval_never_given",
29947
+ "$ref": "#/components/schemas/MCPApprovalRequiredModel"
29948
+ }
29949
+ },
29950
+ "required": [
29951
+ "name",
29952
+ "description",
29953
+ "mcp_tool_name",
29954
+ "mcp_server_id"
29955
+ ],
29956
+ "title": "NativeMCPToolConfig"
29957
+ },
28175
29958
  "ObjectJsonSchemaProperty-Input": {
28176
29959
  "type": "object",
28177
29960
  "properties": {
@@ -29784,11 +31567,12 @@
29784
31567
  "description": "The prompt for the agent",
29785
31568
  "type": "string",
29786
31569
  "default": "",
29787
- "title": "Prompt"
31570
+ "title": "Prompt",
31571
+ "x-convai-client-override": true
29788
31572
  },
29789
31573
  "llm": {
29790
31574
  "description": "The LLM to query with the prompt and the chat history",
29791
- "default": "gemini-2.0-flash-001",
31575
+ "default": "gemini-2.0-flash",
29792
31576
  "$ref": "#/components/schemas/LLM"
29793
31577
  },
29794
31578
  "temperature": {
@@ -29819,6 +31603,9 @@
29819
31603
  },
29820
31604
  {
29821
31605
  "$ref": "#/components/schemas/MCPToolConfig-Input"
31606
+ },
31607
+ {
31608
+ "$ref": "#/components/schemas/NativeMCPToolConfig-Input"
29822
31609
  }
29823
31610
  ],
29824
31611
  "description": "The type of tool",
@@ -29827,6 +31614,7 @@
29827
31614
  "mapping": {
29828
31615
  "client": "#/components/schemas/ClientToolConfig-Input",
29829
31616
  "mcp": "#/components/schemas/MCPToolConfig-Input",
31617
+ "native_mcp": "#/components/schemas/NativeMCPToolConfig-Input",
29830
31618
  "system": "#/components/schemas/SystemToolConfig-Input",
29831
31619
  "webhook": "#/components/schemas/WebhookToolConfig-Input"
29832
31620
  }
@@ -29851,6 +31639,15 @@
29851
31639
  "maxItems": 10,
29852
31640
  "title": "Mcp Server Ids"
29853
31641
  },
31642
+ "native_mcp_server_ids": {
31643
+ "description": "A list of Native MCP server ids to be used by the agent",
31644
+ "type": "array",
31645
+ "items": {
31646
+ "type": "string"
31647
+ },
31648
+ "maxItems": 10,
31649
+ "title": "Native Mcp Server Ids"
31650
+ },
29854
31651
  "knowledge_base": {
29855
31652
  "description": "A list of knowledge bases to be used by the agent",
29856
31653
  "type": "array",
@@ -29906,11 +31703,12 @@
29906
31703
  "description": "The prompt for the agent",
29907
31704
  "type": "string",
29908
31705
  "default": "",
29909
- "title": "Prompt"
31706
+ "title": "Prompt",
31707
+ "x-convai-client-override": true
29910
31708
  },
29911
31709
  "llm": {
29912
31710
  "description": "The LLM to query with the prompt and the chat history",
29913
- "default": "gemini-2.0-flash-001",
31711
+ "default": "gemini-2.0-flash",
29914
31712
  "$ref": "#/components/schemas/LLM"
29915
31713
  },
29916
31714
  "temperature": {
@@ -29941,6 +31739,9 @@
29941
31739
  },
29942
31740
  {
29943
31741
  "$ref": "#/components/schemas/MCPToolConfig-Output"
31742
+ },
31743
+ {
31744
+ "$ref": "#/components/schemas/NativeMCPToolConfig-Output"
29944
31745
  }
29945
31746
  ],
29946
31747
  "description": "The type of tool",
@@ -29949,6 +31750,7 @@
29949
31750
  "mapping": {
29950
31751
  "client": "#/components/schemas/ClientToolConfig-Output",
29951
31752
  "mcp": "#/components/schemas/MCPToolConfig-Output",
31753
+ "native_mcp": "#/components/schemas/NativeMCPToolConfig-Output",
29952
31754
  "system": "#/components/schemas/SystemToolConfig-Output",
29953
31755
  "webhook": "#/components/schemas/WebhookToolConfig-Output"
29954
31756
  }
@@ -29973,6 +31775,15 @@
29973
31775
  "maxItems": 10,
29974
31776
  "title": "Mcp Server Ids"
29975
31777
  },
31778
+ "native_mcp_server_ids": {
31779
+ "description": "A list of Native MCP server ids to be used by the agent",
31780
+ "type": "array",
31781
+ "items": {
31782
+ "type": "string"
31783
+ },
31784
+ "maxItems": 10,
31785
+ "title": "Native Mcp Server Ids"
31786
+ },
29976
31787
  "knowledge_base": {
29977
31788
  "description": "A list of knowledge bases to be used by the agent",
29978
31789
  "type": "array",
@@ -30028,11 +31839,12 @@
30028
31839
  "description": "The prompt for the agent",
30029
31840
  "type": "string",
30030
31841
  "default": "",
30031
- "title": "Prompt"
31842
+ "title": "Prompt",
31843
+ "x-convai-client-override": true
30032
31844
  },
30033
31845
  "llm": {
30034
31846
  "description": "The LLM to query with the prompt and the chat history",
30035
- "default": "gemini-2.0-flash-001",
31847
+ "default": "gemini-2.0-flash",
30036
31848
  "$ref": "#/components/schemas/LLM"
30037
31849
  },
30038
31850
  "temperature": {
@@ -30063,6 +31875,9 @@
30063
31875
  },
30064
31876
  {
30065
31877
  "$ref": "#/components/schemas/MCPToolConfig-Input"
31878
+ },
31879
+ {
31880
+ "$ref": "#/components/schemas/NativeMCPToolConfig-Input"
30066
31881
  }
30067
31882
  ],
30068
31883
  "description": "The type of tool",
@@ -30071,6 +31886,7 @@
30071
31886
  "mapping": {
30072
31887
  "client": "#/components/schemas/ClientToolConfig-Input",
30073
31888
  "mcp": "#/components/schemas/MCPToolConfig-Input",
31889
+ "native_mcp": "#/components/schemas/NativeMCPToolConfig-Input",
30074
31890
  "system": "#/components/schemas/SystemToolConfig-Input",
30075
31891
  "webhook": "#/components/schemas/WebhookToolConfig-Input"
30076
31892
  }
@@ -30095,6 +31911,15 @@
30095
31911
  "maxItems": 10,
30096
31912
  "title": "Mcp Server Ids"
30097
31913
  },
31914
+ "native_mcp_server_ids": {
31915
+ "description": "A list of Native MCP server ids to be used by the agent",
31916
+ "type": "array",
31917
+ "items": {
31918
+ "type": "string"
31919
+ },
31920
+ "maxItems": 10,
31921
+ "title": "Native Mcp Server Ids"
31922
+ },
30098
31923
  "knowledge_base": {
30099
31924
  "description": "A list of knowledge bases to be used by the agent",
30100
31925
  "type": "array",
@@ -30154,14 +31979,21 @@
30154
31979
  "type": "object",
30155
31980
  "properties": {
30156
31981
  "prompt": {
30157
- "description": "The initial system message that defines the agent, e.g. “You are a German language teacher named Laura.”",
30158
- "type": "string",
30159
- "default": "",
30160
- "title": "Prompt"
31982
+ "description": "The prompt for the agent",
31983
+ "anyOf": [
31984
+ {
31985
+ "type": "string"
31986
+ },
31987
+ {
31988
+ "type": "null"
31989
+ }
31990
+ ],
31991
+ "title": "Prompt",
31992
+ "x-convai-client-override": true
30161
31993
  }
30162
31994
  },
30163
31995
  "example": {
30164
- "prompt": "You are a German language teacher named Laura."
31996
+ "prompt": "You are a helpful assistant that can answer questions about the topic of the conversation."
30165
31997
  },
30166
31998
  "title": "PromptAgentOverride"
30167
31999
  },
@@ -30169,7 +32001,7 @@
30169
32001
  "type": "object",
30170
32002
  "properties": {
30171
32003
  "prompt": {
30172
- "description": "Whether to allow prompt overriding",
32004
+ "description": "Whether to allow overriding the prompt field.",
30173
32005
  "type": "boolean",
30174
32006
  "default": false,
30175
32007
  "title": "Prompt"
@@ -30523,34 +32355,119 @@
30523
32355
  ],
30524
32356
  "title": "QueryParamsJsonSchema"
30525
32357
  },
30526
- "RAGIndexRequestModel": {
32358
+ "RAGDocumentIndexResponseModel": {
32359
+ "type": "object",
32360
+ "properties": {
32361
+ "id": {
32362
+ "type": "string",
32363
+ "title": "Id"
32364
+ },
32365
+ "model": {
32366
+ "$ref": "#/components/schemas/EmbeddingModelEnum"
32367
+ },
32368
+ "status": {
32369
+ "$ref": "#/components/schemas/RAGIndexStatus"
32370
+ },
32371
+ "progress_percentage": {
32372
+ "type": "number",
32373
+ "title": "Progress Percentage"
32374
+ },
32375
+ "document_model_index_usage": {
32376
+ "$ref": "#/components/schemas/RAGDocumentIndexUsage"
32377
+ }
32378
+ },
32379
+ "required": [
32380
+ "id",
32381
+ "model",
32382
+ "status",
32383
+ "progress_percentage",
32384
+ "document_model_index_usage"
32385
+ ],
32386
+ "title": "RAGDocumentIndexResponseModel"
32387
+ },
32388
+ "RAGDocumentIndexUsage": {
32389
+ "type": "object",
32390
+ "properties": {
32391
+ "used_bytes": {
32392
+ "type": "integer",
32393
+ "title": "Used Bytes"
32394
+ }
32395
+ },
32396
+ "required": [
32397
+ "used_bytes"
32398
+ ],
32399
+ "title": "RAGDocumentIndexUsage"
32400
+ },
32401
+ "RAGDocumentIndexesResponseModel": {
32402
+ "type": "object",
32403
+ "properties": {
32404
+ "indexes": {
32405
+ "type": "array",
32406
+ "items": {
32407
+ "$ref": "#/components/schemas/RAGDocumentIndexResponseModel"
32408
+ },
32409
+ "title": "Indexes"
32410
+ }
32411
+ },
32412
+ "required": [
32413
+ "indexes"
32414
+ ],
32415
+ "title": "RAGDocumentIndexesResponseModel"
32416
+ },
32417
+ "RAGIndexOverviewEmbeddingModelResponseModel": {
30527
32418
  "type": "object",
30528
32419
  "properties": {
30529
32420
  "model": {
30530
32421
  "$ref": "#/components/schemas/EmbeddingModelEnum"
32422
+ },
32423
+ "used_bytes": {
32424
+ "type": "integer",
32425
+ "title": "Used Bytes"
30531
32426
  }
30532
32427
  },
30533
32428
  "required": [
30534
- "model"
32429
+ "model",
32430
+ "used_bytes"
30535
32431
  ],
30536
- "title": "RAGIndexRequestModel"
32432
+ "title": "RAGIndexOverviewEmbeddingModelResponseModel"
30537
32433
  },
30538
- "RAGIndexResponseModel": {
32434
+ "RAGIndexOverviewResponseModel": {
30539
32435
  "type": "object",
30540
32436
  "properties": {
30541
- "status": {
30542
- "$ref": "#/components/schemas/RAGIndexStatus"
32437
+ "total_used_bytes": {
32438
+ "type": "integer",
32439
+ "title": "Total Used Bytes"
30543
32440
  },
30544
- "progress_percentage": {
30545
- "type": "number",
30546
- "title": "Progress Percentage"
32441
+ "total_max_bytes": {
32442
+ "type": "integer",
32443
+ "title": "Total Max Bytes"
32444
+ },
32445
+ "models": {
32446
+ "type": "array",
32447
+ "items": {
32448
+ "$ref": "#/components/schemas/RAGIndexOverviewEmbeddingModelResponseModel"
32449
+ },
32450
+ "title": "Models"
30547
32451
  }
30548
32452
  },
30549
32453
  "required": [
30550
- "status",
30551
- "progress_percentage"
32454
+ "total_used_bytes",
32455
+ "total_max_bytes",
32456
+ "models"
30552
32457
  ],
30553
- "title": "RAGIndexResponseModel"
32458
+ "title": "RAGIndexOverviewResponseModel"
32459
+ },
32460
+ "RAGIndexRequestModel": {
32461
+ "type": "object",
32462
+ "properties": {
32463
+ "model": {
32464
+ "$ref": "#/components/schemas/EmbeddingModelEnum"
32465
+ }
32466
+ },
32467
+ "required": [
32468
+ "model"
32469
+ ],
32470
+ "title": "RAGIndexRequestModel"
30554
32471
  },
30555
32472
  "RAGIndexStatus": {
30556
32473
  "type": "string",
@@ -30558,7 +32475,9 @@
30558
32475
  "created",
30559
32476
  "processing",
30560
32477
  "failed",
30561
- "succeeded"
32478
+ "succeeded",
32479
+ "rag_limit_exceeded",
32480
+ "document_too_small"
30562
32481
  ],
30563
32482
  "title": "RAGIndexStatus"
30564
32483
  },
@@ -30618,6 +32537,17 @@
30618
32537
  "exclusiveMaximum": 10000000,
30619
32538
  "exclusiveMinimum": 0,
30620
32539
  "title": "Max Documents Length"
32540
+ },
32541
+ "max_retrieved_rag_chunks_count": {
32542
+ "description": "Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length.",
32543
+ "type": "integer",
32544
+ "default": 20,
32545
+ "examples": [
32546
+ 5
32547
+ ],
32548
+ "exclusiveMinimum": 0,
32549
+ "maximum": 20,
32550
+ "title": "Max Retrieved Rag Chunks Count"
30621
32551
  }
30622
32552
  },
30623
32553
  "title": "RagConfig"
@@ -31543,6 +33473,77 @@
31543
33473
  ],
31544
33474
  "title": "ShareOptionResponseModel"
31545
33475
  },
33476
+ "SharedSoundGenerationResponseModel": {
33477
+ "type": "object",
33478
+ "properties": {
33479
+ "public_user_id": {
33480
+ "type": "string",
33481
+ "title": "Public User Id"
33482
+ },
33483
+ "history_item_id": {
33484
+ "type": "string",
33485
+ "title": "History Item Id"
33486
+ },
33487
+ "generation_id": {
33488
+ "type": "string",
33489
+ "title": "Generation Id"
33490
+ },
33491
+ "text": {
33492
+ "type": "string",
33493
+ "title": "Text"
33494
+ },
33495
+ "category": {
33496
+ "type": "string",
33497
+ "title": "Category"
33498
+ },
33499
+ "labels": {
33500
+ "type": "object",
33501
+ "additionalProperties": {
33502
+ "type": "string"
33503
+ },
33504
+ "title": "Labels"
33505
+ },
33506
+ "purchased_count": {
33507
+ "type": "integer",
33508
+ "title": "Purchased Count"
33509
+ },
33510
+ "like_count": {
33511
+ "type": "integer",
33512
+ "title": "Like Count"
33513
+ },
33514
+ "featured": {
33515
+ "type": "boolean",
33516
+ "title": "Featured"
33517
+ },
33518
+ "preview_url": {
33519
+ "type": "string",
33520
+ "title": "Preview Url"
33521
+ },
33522
+ "purchased": {
33523
+ "type": "boolean",
33524
+ "title": "Purchased"
33525
+ },
33526
+ "icon_url": {
33527
+ "type": "string",
33528
+ "title": "Icon Url"
33529
+ }
33530
+ },
33531
+ "required": [
33532
+ "public_user_id",
33533
+ "history_item_id",
33534
+ "generation_id",
33535
+ "text",
33536
+ "category",
33537
+ "labels",
33538
+ "purchased_count",
33539
+ "like_count",
33540
+ "featured",
33541
+ "preview_url",
33542
+ "purchased",
33543
+ "icon_url"
33544
+ ],
33545
+ "title": "SharedSoundGenerationResponseModel"
33546
+ },
31546
33547
  "SimilarVoice": {
31547
33548
  "type": "object",
31548
33549
  "properties": {
@@ -31611,6 +33612,19 @@
31611
33612
  ],
31612
33613
  "title": "SimilarVoicesForSpeakerResponse"
31613
33614
  },
33615
+ "SkipTurnToolConfig": {
33616
+ "description": "Allows the agent to explicitly skip its turn.\n\nThis tool should be invoked by the LLM when the user indicates they would like\nto think or take a short pause before continuing the conversation—e.g. when\nthey say: \"Give me a second\", \"Let me think\", or \"One moment please\". After\ncalling this tool, the assistant should not speak until the user speaks\nagain, or another normal turn-taking condition is met. The tool itself has\nno parameters and performs no side-effects other than informing the backend\nthat the current turn generation is complete.",
33617
+ "type": "object",
33618
+ "properties": {
33619
+ "system_tool_type": {
33620
+ "type": "string",
33621
+ "default": "skip_turn",
33622
+ "const": "skip_turn",
33623
+ "title": "System Tool Type"
33624
+ }
33625
+ },
33626
+ "title": "SkipTurnToolConfig"
33627
+ },
31614
33628
  "SpeakerAudioResponseModel": {
31615
33629
  "type": "object",
31616
33630
  "properties": {
@@ -31857,7 +33871,14 @@
31857
33871
  },
31858
33872
  "voice_id": {
31859
33873
  "description": "The ID of the voice used.",
31860
- "type": "string",
33874
+ "anyOf": [
33875
+ {
33876
+ "type": "string"
33877
+ },
33878
+ {
33879
+ "type": "null"
33880
+ }
33881
+ ],
31861
33882
  "title": "Voice Id"
31862
33883
  },
31863
33884
  "model_id": {
@@ -31874,7 +33895,14 @@
31874
33895
  },
31875
33896
  "voice_name": {
31876
33897
  "description": "The name of the voice.",
31877
- "type": "string",
33898
+ "anyOf": [
33899
+ {
33900
+ "type": "string"
33901
+ },
33902
+ {
33903
+ "type": "null"
33904
+ }
33905
+ ],
31878
33906
  "title": "Voice Name"
31879
33907
  },
31880
33908
  "voice_category": {
@@ -31897,7 +33925,14 @@
31897
33925
  },
31898
33926
  "text": {
31899
33927
  "description": "The text used to generate the audio item.",
31900
- "type": "string",
33928
+ "anyOf": [
33929
+ {
33930
+ "type": "string"
33931
+ },
33932
+ {
33933
+ "type": "null"
33934
+ }
33935
+ ],
31901
33936
  "title": "Text"
31902
33937
  },
31903
33938
  "date_unix": {
@@ -31997,6 +34032,21 @@
31997
34032
  "type": "null"
31998
34033
  }
31999
34034
  ]
34035
+ },
34036
+ "dialogue": {
34037
+ "description": "The dialogue (voice and text pairs) used to generate the audio item. If this is set then the top level `text` and `voice_id` fields will be empty.",
34038
+ "anyOf": [
34039
+ {
34040
+ "items": {
34041
+ "$ref": "#/components/schemas/DialogueInputResponseModel"
34042
+ },
34043
+ "type": "array"
34044
+ },
34045
+ {
34046
+ "type": "null"
34047
+ }
34048
+ ],
34049
+ "title": "Dialogue"
32000
34050
  }
32001
34051
  },
32002
34052
  "example": {
@@ -32022,9 +34072,6 @@
32022
34072
  },
32023
34073
  "required": [
32024
34074
  "history_item_id",
32025
- "voice_id",
32026
- "voice_name",
32027
- "text",
32028
34075
  "date_unix",
32029
34076
  "character_count_change_from",
32030
34077
  "character_count_change_to",
@@ -32707,18 +34754,7 @@
32707
34754
  },
32708
34755
  "status": {
32709
34756
  "description": "The status of the user's subscription.",
32710
- "type": "string",
32711
- "enum": [
32712
- "trialing",
32713
- "active",
32714
- "incomplete",
32715
- "incomplete_expired",
32716
- "past_due",
32717
- "canceled",
32718
- "unpaid",
32719
- "free"
32720
- ],
32721
- "title": "Status"
34757
+ "$ref": "#/components/schemas/SubscriptionStatusType"
32722
34758
  },
32723
34759
  "billing_period": {
32724
34760
  "description": "The billing period of the user's subscription.",
@@ -32793,6 +34829,21 @@
32793
34829
  ],
32794
34830
  "title": "SubscriptionResponseModel"
32795
34831
  },
34832
+ "SubscriptionStatusType": {
34833
+ "type": "string",
34834
+ "enum": [
34835
+ "trialing",
34836
+ "active",
34837
+ "incomplete",
34838
+ "incomplete_expired",
34839
+ "past_due",
34840
+ "canceled",
34841
+ "unpaid",
34842
+ "free",
34843
+ "free_disabled"
34844
+ ],
34845
+ "title": "SubscriptionStatusType"
34846
+ },
32796
34847
  "SubscriptionUsageResponseModel": {
32797
34848
  "type": "object",
32798
34849
  "properties": {
@@ -32859,6 +34910,58 @@
32859
34910
  ],
32860
34911
  "title": "SubscriptionUsageResponseModel"
32861
34912
  },
34913
+ "SupportedVoice": {
34914
+ "type": "object",
34915
+ "properties": {
34916
+ "label": {
34917
+ "type": "string",
34918
+ "minLength": 1,
34919
+ "title": "Label"
34920
+ },
34921
+ "voice_id": {
34922
+ "type": "string",
34923
+ "minLength": 1,
34924
+ "title": "Voice Id"
34925
+ },
34926
+ "description": {
34927
+ "anyOf": [
34928
+ {
34929
+ "type": "string"
34930
+ },
34931
+ {
34932
+ "type": "null"
34933
+ }
34934
+ ],
34935
+ "title": "Description"
34936
+ },
34937
+ "language": {
34938
+ "anyOf": [
34939
+ {
34940
+ "type": "string"
34941
+ },
34942
+ {
34943
+ "type": "null"
34944
+ }
34945
+ ],
34946
+ "title": "Language"
34947
+ },
34948
+ "model_family": {
34949
+ "anyOf": [
34950
+ {
34951
+ "$ref": "#/components/schemas/TTSModelFamily"
34952
+ },
34953
+ {
34954
+ "type": "null"
34955
+ }
34956
+ ]
34957
+ }
34958
+ },
34959
+ "required": [
34960
+ "label",
34961
+ "voice_id"
34962
+ ],
34963
+ "title": "SupportedVoice"
34964
+ },
32862
34965
  "SystemToolConfig-Input": {
32863
34966
  "description": "A system tool is a tool that is used to call a system method in the server",
32864
34967
  "type": "object",
@@ -32898,6 +35001,7 @@
32898
35001
  "mapping": {
32899
35002
  "end_call": "#/components/schemas/EndCallToolConfig",
32900
35003
  "language_detection": "#/components/schemas/LanguageDetectionToolConfig",
35004
+ "skip_turn": "#/components/schemas/SkipTurnToolConfig",
32901
35005
  "transfer_to_agent": "#/components/schemas/TransferToAgentToolConfig",
32902
35006
  "transfer_to_number": "#/components/schemas/TransferToNumberToolConfig"
32903
35007
  }
@@ -32914,6 +35018,9 @@
32914
35018
  },
32915
35019
  {
32916
35020
  "$ref": "#/components/schemas/TransferToNumberToolConfig"
35021
+ },
35022
+ {
35023
+ "$ref": "#/components/schemas/SkipTurnToolConfig"
32917
35024
  }
32918
35025
  ],
32919
35026
  "title": "Params"
@@ -32968,6 +35075,7 @@
32968
35075
  "mapping": {
32969
35076
  "end_call": "#/components/schemas/EndCallToolConfig",
32970
35077
  "language_detection": "#/components/schemas/LanguageDetectionToolConfig",
35078
+ "skip_turn": "#/components/schemas/SkipTurnToolConfig",
32971
35079
  "transfer_to_agent": "#/components/schemas/TransferToAgentToolConfig",
32972
35080
  "transfer_to_number": "#/components/schemas/TransferToNumberToolConfig"
32973
35081
  }
@@ -32984,6 +35092,9 @@
32984
35092
  },
32985
35093
  {
32986
35094
  "$ref": "#/components/schemas/TransferToNumberToolConfig"
35095
+ },
35096
+ {
35097
+ "$ref": "#/components/schemas/SkipTurnToolConfig"
32987
35098
  }
32988
35099
  ],
32989
35100
  "title": "Params"
@@ -32999,7 +35110,7 @@
32999
35110
  ],
33000
35111
  "title": "SystemToolConfig"
33001
35112
  },
33002
- "TTSConversationalConfig": {
35113
+ "TTSConversationalConfig-Input": {
33003
35114
  "type": "object",
33004
35115
  "properties": {
33005
35116
  "model_id": {
@@ -33012,7 +35123,97 @@
33012
35123
  "type": "string",
33013
35124
  "default": "cjVigY5qzO86Huf0OWal",
33014
35125
  "minLength": 0,
33015
- "title": "Voice Id"
35126
+ "title": "Voice Id",
35127
+ "x-convai-client-override": true,
35128
+ "x-convai-language-override": true
35129
+ },
35130
+ "supported_voices": {
35131
+ "description": "Additional supported voices for the agent",
35132
+ "type": "array",
35133
+ "items": {
35134
+ "$ref": "#/components/schemas/SupportedVoice"
35135
+ },
35136
+ "title": "Supported Voices"
35137
+ },
35138
+ "agent_output_audio_format": {
35139
+ "description": "The audio format to use for TTS",
35140
+ "default": "pcm_16000",
35141
+ "$ref": "#/components/schemas/TTSOutputFormat"
35142
+ },
35143
+ "optimize_streaming_latency": {
35144
+ "description": "The optimization for streaming latency",
35145
+ "default": 3,
35146
+ "$ref": "#/components/schemas/TTSOptimizeStreamingLatency"
35147
+ },
35148
+ "stability": {
35149
+ "description": "The stability of generated speech",
35150
+ "type": "number",
35151
+ "default": 0.5,
35152
+ "maximum": 1,
35153
+ "minimum": 0,
35154
+ "title": "Stability"
35155
+ },
35156
+ "speed": {
35157
+ "description": "The speed of generated speech",
35158
+ "type": "number",
35159
+ "default": 1,
35160
+ "maximum": 1.2,
35161
+ "minimum": 0.7,
35162
+ "title": "Speed"
35163
+ },
35164
+ "similarity_boost": {
35165
+ "description": "The similarity boost for generated speech",
35166
+ "type": "number",
35167
+ "default": 0.8,
35168
+ "maximum": 1,
35169
+ "minimum": 0,
35170
+ "title": "Similarity Boost"
35171
+ },
35172
+ "pronunciation_dictionary_locators": {
35173
+ "description": "The pronunciation dictionary locators",
35174
+ "type": "array",
35175
+ "items": {
35176
+ "$ref": "#/components/schemas/PydanticPronunciationDictionaryVersionLocator"
35177
+ },
35178
+ "title": "Pronunciation Dictionary Locators"
35179
+ }
35180
+ },
35181
+ "example": {
35182
+ "agent_output_audio_format": "pcm_16000",
35183
+ "model_id": "eleven_turbo_v2",
35184
+ "optimize_streaming_latency": 3,
35185
+ "pronunciation_dictionary_locators": [],
35186
+ "similarity_boost": 0.8,
35187
+ "speed": 1,
35188
+ "stability": 0.5,
35189
+ "voice_id": "cjVigY5qzO86Huf0OWal"
35190
+ },
35191
+ "title": "TTSConversationalConfig"
35192
+ },
35193
+ "TTSConversationalConfig-Output": {
35194
+ "type": "object",
35195
+ "properties": {
35196
+ "model_id": {
35197
+ "description": "The model to use for TTS",
35198
+ "default": "eleven_turbo_v2",
35199
+ "$ref": "#/components/schemas/TTSConversationalModel"
35200
+ },
35201
+ "voice_id": {
35202
+ "description": "The voice ID to use for TTS",
35203
+ "type": "string",
35204
+ "default": "cjVigY5qzO86Huf0OWal",
35205
+ "minLength": 0,
35206
+ "title": "Voice Id",
35207
+ "x-convai-client-override": true,
35208
+ "x-convai-language-override": true
35209
+ },
35210
+ "supported_voices": {
35211
+ "description": "Additional supported voices for the agent",
35212
+ "type": "array",
35213
+ "items": {
35214
+ "$ref": "#/components/schemas/SupportedVoice"
35215
+ },
35216
+ "title": "Supported Voices"
33016
35217
  },
33017
35218
  "agent_output_audio_format": {
33018
35219
  "description": "The audio format to use for TTS",
@@ -33073,6 +35274,7 @@
33073
35274
  "type": "object",
33074
35275
  "properties": {
33075
35276
  "voice_id": {
35277
+ "description": "The voice ID to use for TTS",
33076
35278
  "anyOf": [
33077
35279
  {
33078
35280
  "type": "string"
@@ -33081,24 +35283,26 @@
33081
35283
  "type": "null"
33082
35284
  }
33083
35285
  ],
33084
- "title": "Voice Id"
35286
+ "title": "Voice Id",
35287
+ "x-convai-client-override": true,
35288
+ "x-convai-language-override": true
33085
35289
  }
33086
35290
  },
35291
+ "example": {
35292
+ "voice_id": "cjVigY5qzO86Huf0OWal"
35293
+ },
33087
35294
  "title": "TTSConversationalConfigOverride"
33088
35295
  },
33089
35296
  "TTSConversationalConfigOverrideConfig": {
33090
35297
  "type": "object",
33091
35298
  "properties": {
33092
35299
  "voice_id": {
33093
- "description": "Whether to allow overriding the voice ID",
35300
+ "description": "Whether to allow overriding the voice_id field.",
33094
35301
  "type": "boolean",
33095
35302
  "default": false,
33096
35303
  "title": "Voice Id"
33097
35304
  }
33098
35305
  },
33099
- "example": {
33100
- "voice_id": false
33101
- },
33102
35306
  "title": "TTSConversationalConfigOverrideConfig"
33103
35307
  },
33104
35308
  "TTSConversationalModel": {
@@ -33111,6 +35315,15 @@
33111
35315
  ],
33112
35316
  "title": "TTSConversationalModel"
33113
35317
  },
35318
+ "TTSModelFamily": {
35319
+ "type": "string",
35320
+ "enum": [
35321
+ "turbo",
35322
+ "flash",
35323
+ "multilingual"
35324
+ ],
35325
+ "title": "TTSModelFamily"
35326
+ },
33114
35327
  "TTSOptimizeStreamingLatency": {
33115
35328
  "type": "integer",
33116
35329
  "enum": [
@@ -34530,20 +36743,20 @@
34530
36743
  ],
34531
36744
  "title": "Stability"
34532
36745
  },
34533
- "similarity_boost": {
34534
- "description": "Determines how closely the AI should adhere to the original voice when attempting to replicate it.",
36746
+ "use_speaker_boost": {
36747
+ "description": "This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.",
34535
36748
  "anyOf": [
34536
36749
  {
34537
- "type": "number"
36750
+ "type": "boolean"
34538
36751
  },
34539
36752
  {
34540
36753
  "type": "null"
34541
36754
  }
34542
36755
  ],
34543
- "title": "Similarity Boost"
36756
+ "title": "Use Speaker Boost"
34544
36757
  },
34545
- "style": {
34546
- "description": "Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. It does consume additional computational resources and might increase latency if set to anything other than 0.",
36758
+ "similarity_boost": {
36759
+ "description": "Determines how closely the AI should adhere to the original voice when attempting to replicate it.",
34547
36760
  "anyOf": [
34548
36761
  {
34549
36762
  "type": "number"
@@ -34552,19 +36765,19 @@
34552
36765
  "type": "null"
34553
36766
  }
34554
36767
  ],
34555
- "title": "Style"
36768
+ "title": "Similarity Boost"
34556
36769
  },
34557
- "use_speaker_boost": {
34558
- "description": "This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.",
36770
+ "style": {
36771
+ "description": "Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. It does consume additional computational resources and might increase latency if set to anything other than 0.",
34559
36772
  "anyOf": [
34560
36773
  {
34561
- "type": "boolean"
36774
+ "type": "number"
34562
36775
  },
34563
36776
  {
34564
36777
  "type": "null"
34565
36778
  }
34566
36779
  ],
34567
- "title": "Use Speaker Boost"
36780
+ "title": "Style"
34568
36781
  },
34569
36782
  "speed": {
34570
36783
  "description": "Adjusts the speed of the voice. A value of 1.0 is the default speed, while values less than 1.0 slow down the speech, and values greater than 1.0 speed it up.",
@@ -35512,7 +37725,7 @@
35512
37725
  ],
35513
37726
  "title": "WebhookToolConfig"
35514
37727
  },
35515
- "WidgetConfig": {
37728
+ "WidgetConfig-Input": {
35516
37729
  "type": "object",
35517
37730
  "properties": {
35518
37731
  "variant": {
@@ -35520,6 +37733,327 @@
35520
37733
  "default": "full",
35521
37734
  "$ref": "#/components/schemas/EmbedVariant"
35522
37735
  },
37736
+ "placement": {
37737
+ "description": "The placement of the widget on the screen",
37738
+ "default": "bottom-right",
37739
+ "$ref": "#/components/schemas/WidgetPlacement"
37740
+ },
37741
+ "expandable": {
37742
+ "description": "Whether the widget is expandable",
37743
+ "default": "never",
37744
+ "$ref": "#/components/schemas/WidgetExpandable"
37745
+ },
37746
+ "avatar": {
37747
+ "description": "The avatar of the widget",
37748
+ "anyOf": [
37749
+ {
37750
+ "$ref": "#/components/schemas/OrbAvatar"
37751
+ },
37752
+ {
37753
+ "$ref": "#/components/schemas/URLAvatar"
37754
+ },
37755
+ {
37756
+ "$ref": "#/components/schemas/ImageAvatar"
37757
+ }
37758
+ ],
37759
+ "title": "Avatar"
37760
+ },
37761
+ "feedback_mode": {
37762
+ "description": "The feedback mode of the widget",
37763
+ "default": "none",
37764
+ "$ref": "#/components/schemas/WidgetFeedbackMode"
37765
+ },
37766
+ "bg_color": {
37767
+ "description": "The background color of the widget",
37768
+ "type": "string",
37769
+ "default": "#ffffff",
37770
+ "title": "Bg Color"
37771
+ },
37772
+ "text_color": {
37773
+ "description": "The text color of the widget",
37774
+ "type": "string",
37775
+ "default": "#000000",
37776
+ "title": "Text Color"
37777
+ },
37778
+ "btn_color": {
37779
+ "description": "The button color of the widget",
37780
+ "type": "string",
37781
+ "default": "#000000",
37782
+ "title": "Btn Color"
37783
+ },
37784
+ "btn_text_color": {
37785
+ "description": "The button text color of the widget",
37786
+ "type": "string",
37787
+ "default": "#ffffff",
37788
+ "title": "Btn Text Color"
37789
+ },
37790
+ "border_color": {
37791
+ "description": "The border color of the widget",
37792
+ "type": "string",
37793
+ "default": "#e1e1e1",
37794
+ "title": "Border Color"
37795
+ },
37796
+ "focus_color": {
37797
+ "description": "The focus color of the widget",
37798
+ "type": "string",
37799
+ "default": "#000000",
37800
+ "title": "Focus Color"
37801
+ },
37802
+ "border_radius": {
37803
+ "description": "The border radius of the widget",
37804
+ "anyOf": [
37805
+ {
37806
+ "type": "integer"
37807
+ },
37808
+ {
37809
+ "type": "null"
37810
+ }
37811
+ ],
37812
+ "title": "Border Radius"
37813
+ },
37814
+ "btn_radius": {
37815
+ "description": "The button radius of the widget",
37816
+ "anyOf": [
37817
+ {
37818
+ "type": "integer"
37819
+ },
37820
+ {
37821
+ "type": "null"
37822
+ }
37823
+ ],
37824
+ "title": "Btn Radius"
37825
+ },
37826
+ "action_text": {
37827
+ "description": "The action text of the widget",
37828
+ "anyOf": [
37829
+ {
37830
+ "type": "string"
37831
+ },
37832
+ {
37833
+ "type": "null"
37834
+ }
37835
+ ],
37836
+ "title": "Action Text"
37837
+ },
37838
+ "start_call_text": {
37839
+ "description": "The start call text of the widget",
37840
+ "anyOf": [
37841
+ {
37842
+ "type": "string"
37843
+ },
37844
+ {
37845
+ "type": "null"
37846
+ }
37847
+ ],
37848
+ "title": "Start Call Text"
37849
+ },
37850
+ "end_call_text": {
37851
+ "description": "The end call text of the widget",
37852
+ "anyOf": [
37853
+ {
37854
+ "type": "string"
37855
+ },
37856
+ {
37857
+ "type": "null"
37858
+ }
37859
+ ],
37860
+ "title": "End Call Text"
37861
+ },
37862
+ "expand_text": {
37863
+ "description": "The expand text of the widget",
37864
+ "anyOf": [
37865
+ {
37866
+ "type": "string"
37867
+ },
37868
+ {
37869
+ "type": "null"
37870
+ }
37871
+ ],
37872
+ "title": "Expand Text"
37873
+ },
37874
+ "listening_text": {
37875
+ "description": "The text to display when the agent is listening",
37876
+ "anyOf": [
37877
+ {
37878
+ "type": "string"
37879
+ },
37880
+ {
37881
+ "type": "null"
37882
+ }
37883
+ ],
37884
+ "title": "Listening Text"
37885
+ },
37886
+ "speaking_text": {
37887
+ "description": "The text to display when the agent is speaking",
37888
+ "anyOf": [
37889
+ {
37890
+ "type": "string"
37891
+ },
37892
+ {
37893
+ "type": "null"
37894
+ }
37895
+ ],
37896
+ "title": "Speaking Text"
37897
+ },
37898
+ "shareable_page_text": {
37899
+ "description": "The text to display when sharing",
37900
+ "anyOf": [
37901
+ {
37902
+ "type": "string"
37903
+ },
37904
+ {
37905
+ "type": "null"
37906
+ }
37907
+ ],
37908
+ "title": "Shareable Page Text"
37909
+ },
37910
+ "shareable_page_show_terms": {
37911
+ "description": "Whether to show terms and conditions on the shareable page",
37912
+ "type": "boolean",
37913
+ "default": true,
37914
+ "title": "Shareable Page Show Terms"
37915
+ },
37916
+ "terms_text": {
37917
+ "description": "The text to display for terms and conditions",
37918
+ "anyOf": [
37919
+ {
37920
+ "type": "string"
37921
+ },
37922
+ {
37923
+ "type": "null"
37924
+ }
37925
+ ],
37926
+ "title": "Terms Text"
37927
+ },
37928
+ "terms_html": {
37929
+ "description": "The HTML to display for terms and conditions",
37930
+ "anyOf": [
37931
+ {
37932
+ "type": "string"
37933
+ },
37934
+ {
37935
+ "type": "null"
37936
+ }
37937
+ ],
37938
+ "title": "Terms Html"
37939
+ },
37940
+ "terms_key": {
37941
+ "description": "The key to display for terms and conditions",
37942
+ "anyOf": [
37943
+ {
37944
+ "type": "string"
37945
+ },
37946
+ {
37947
+ "type": "null"
37948
+ }
37949
+ ],
37950
+ "title": "Terms Key"
37951
+ },
37952
+ "show_avatar_when_collapsed": {
37953
+ "description": "Whether to show the avatar when the widget is collapsed",
37954
+ "default": false,
37955
+ "anyOf": [
37956
+ {
37957
+ "type": "boolean"
37958
+ },
37959
+ {
37960
+ "type": "null"
37961
+ }
37962
+ ],
37963
+ "title": "Show Avatar When Collapsed"
37964
+ },
37965
+ "disable_banner": {
37966
+ "description": "Whether to disable the banner",
37967
+ "type": "boolean",
37968
+ "default": false,
37969
+ "title": "Disable Banner"
37970
+ },
37971
+ "override_link": {
37972
+ "description": "The override link for the widget",
37973
+ "anyOf": [
37974
+ {
37975
+ "type": "string"
37976
+ },
37977
+ {
37978
+ "type": "null"
37979
+ }
37980
+ ],
37981
+ "title": "Override Link"
37982
+ },
37983
+ "mic_muting_enabled": {
37984
+ "description": "Whether to enable mic muting",
37985
+ "type": "boolean",
37986
+ "default": false,
37987
+ "title": "Mic Muting Enabled"
37988
+ },
37989
+ "transcript_enabled": {
37990
+ "description": "Whether the widget should show the conversation transcript as it goes on",
37991
+ "type": "boolean",
37992
+ "default": false,
37993
+ "title": "Transcript Enabled"
37994
+ },
37995
+ "text_input_enabled": {
37996
+ "description": "Whether the user should be able to send text messages",
37997
+ "type": "boolean",
37998
+ "default": true,
37999
+ "title": "Text Input Enabled"
38000
+ },
38001
+ "text_contents": {
38002
+ "description": "Text contents of the widget",
38003
+ "$ref": "#/components/schemas/WidgetTextContents"
38004
+ },
38005
+ "language_selector": {
38006
+ "description": "Whether to show the language selector",
38007
+ "type": "boolean",
38008
+ "default": false,
38009
+ "title": "Language Selector"
38010
+ },
38011
+ "supports_text_only": {
38012
+ "description": "Whether the widget can switch to text only mode",
38013
+ "type": "boolean",
38014
+ "default": true,
38015
+ "title": "Supports Text Only"
38016
+ },
38017
+ "custom_avatar_path": {
38018
+ "description": "The custom avatar path",
38019
+ "anyOf": [
38020
+ {
38021
+ "type": "string"
38022
+ },
38023
+ {
38024
+ "type": "null"
38025
+ }
38026
+ ],
38027
+ "title": "Custom Avatar Path"
38028
+ },
38029
+ "language_presets": {
38030
+ "description": "Language presets for the widget",
38031
+ "type": "object",
38032
+ "additionalProperties": {
38033
+ "$ref": "#/components/schemas/WidgetLanguagePreset"
38034
+ },
38035
+ "title": "Language Presets"
38036
+ }
38037
+ },
38038
+ "example": {
38039
+ "custom_avatar_path": "https://example.com/avatar.png",
38040
+ "language_selector": false
38041
+ },
38042
+ "title": "WidgetConfig"
38043
+ },
38044
+ "WidgetConfig-Output": {
38045
+ "type": "object",
38046
+ "properties": {
38047
+ "variant": {
38048
+ "description": "The variant of the widget",
38049
+ "default": "full",
38050
+ "$ref": "#/components/schemas/EmbedVariant"
38051
+ },
38052
+ "placement": {
38053
+ "description": "The placement of the widget on the screen",
38054
+ "default": "bottom-right",
38055
+ "$ref": "#/components/schemas/WidgetPlacement"
38056
+ },
35523
38057
  "expandable": {
35524
38058
  "description": "Whether the widget is expandable",
35525
38059
  "default": "never",
@@ -35768,12 +38302,34 @@
35768
38302
  "default": false,
35769
38303
  "title": "Mic Muting Enabled"
35770
38304
  },
38305
+ "transcript_enabled": {
38306
+ "description": "Whether the widget should show the conversation transcript as it goes on",
38307
+ "type": "boolean",
38308
+ "default": false,
38309
+ "title": "Transcript Enabled"
38310
+ },
38311
+ "text_input_enabled": {
38312
+ "description": "Whether the user should be able to send text messages",
38313
+ "type": "boolean",
38314
+ "default": true,
38315
+ "title": "Text Input Enabled"
38316
+ },
38317
+ "text_contents": {
38318
+ "description": "Text contents of the widget",
38319
+ "$ref": "#/components/schemas/WidgetTextContents"
38320
+ },
35771
38321
  "language_selector": {
35772
38322
  "description": "Whether to show the language selector",
35773
38323
  "type": "boolean",
35774
38324
  "default": false,
35775
38325
  "title": "Language Selector"
35776
38326
  },
38327
+ "supports_text_only": {
38328
+ "description": "Whether the widget can switch to text only mode",
38329
+ "type": "boolean",
38330
+ "default": true,
38331
+ "title": "Supports Text Only"
38332
+ },
35777
38333
  "custom_avatar_path": {
35778
38334
  "description": "The custom avatar path",
35779
38335
  "anyOf": [
@@ -35785,6 +38341,14 @@
35785
38341
  }
35786
38342
  ],
35787
38343
  "title": "Custom Avatar Path"
38344
+ },
38345
+ "language_presets": {
38346
+ "description": "Language presets for the widget",
38347
+ "type": "object",
38348
+ "additionalProperties": {
38349
+ "$ref": "#/components/schemas/WidgetLanguagePreset"
38350
+ },
38351
+ "title": "Language Presets"
35788
38352
  }
35789
38353
  },
35790
38354
  "example": {
@@ -35801,6 +38365,11 @@
35801
38365
  "default": "full",
35802
38366
  "$ref": "#/components/schemas/EmbedVariant"
35803
38367
  },
38368
+ "placement": {
38369
+ "description": "The placement of the widget on the screen",
38370
+ "default": "bottom-right",
38371
+ "$ref": "#/components/schemas/WidgetPlacement"
38372
+ },
35804
38373
  "expandable": {
35805
38374
  "description": "Whether the widget is expandable",
35806
38375
  "default": "never",
@@ -36049,6 +38618,22 @@
36049
38618
  "default": false,
36050
38619
  "title": "Mic Muting Enabled"
36051
38620
  },
38621
+ "transcript_enabled": {
38622
+ "description": "Whether the widget should show the conversation transcript as it goes on",
38623
+ "type": "boolean",
38624
+ "default": false,
38625
+ "title": "Transcript Enabled"
38626
+ },
38627
+ "text_input_enabled": {
38628
+ "description": "Whether the user should be able to send text messages",
38629
+ "type": "boolean",
38630
+ "default": true,
38631
+ "title": "Text Input Enabled"
38632
+ },
38633
+ "text_contents": {
38634
+ "description": "Text contents of the widget",
38635
+ "$ref": "#/components/schemas/WidgetTextContents"
38636
+ },
36052
38637
  "language": {
36053
38638
  "type": "string",
36054
38639
  "title": "Language"
@@ -36066,6 +38651,37 @@
36066
38651
  }
36067
38652
  ],
36068
38653
  "title": "Supported Language Overrides"
38654
+ },
38655
+ "language_presets": {
38656
+ "description": "Language presets for the widget",
38657
+ "type": "object",
38658
+ "additionalProperties": {
38659
+ "$ref": "#/components/schemas/WidgetLanguagePresetResponse"
38660
+ },
38661
+ "title": "Language Presets"
38662
+ },
38663
+ "text_only": {
38664
+ "description": "Whether the agent uses text-only mode",
38665
+ "type": "boolean",
38666
+ "default": false,
38667
+ "title": "Text Only"
38668
+ },
38669
+ "supports_text_only": {
38670
+ "description": "Whether the agent can be switched to text-only mode",
38671
+ "type": "boolean",
38672
+ "default": false,
38673
+ "title": "Supports Text Only"
38674
+ },
38675
+ "first_message": {
38676
+ "anyOf": [
38677
+ {
38678
+ "type": "string"
38679
+ },
38680
+ {
38681
+ "type": "null"
38682
+ }
38683
+ ],
38684
+ "title": "First Message"
36069
38685
  }
36070
38686
  },
36071
38687
  "example": {
@@ -36118,6 +38734,321 @@
36118
38734
  ],
36119
38735
  "title": "WidgetFeedbackMode"
36120
38736
  },
38737
+ "WidgetLanguagePreset": {
38738
+ "type": "object",
38739
+ "properties": {
38740
+ "text_contents": {
38741
+ "description": "The text contents for the selected language",
38742
+ "anyOf": [
38743
+ {
38744
+ "$ref": "#/components/schemas/WidgetTextContents"
38745
+ },
38746
+ {
38747
+ "type": "null"
38748
+ }
38749
+ ]
38750
+ }
38751
+ },
38752
+ "title": "WidgetLanguagePreset"
38753
+ },
38754
+ "WidgetLanguagePresetResponse": {
38755
+ "type": "object",
38756
+ "properties": {
38757
+ "first_message": {
38758
+ "anyOf": [
38759
+ {
38760
+ "type": "string"
38761
+ },
38762
+ {
38763
+ "type": "null"
38764
+ }
38765
+ ],
38766
+ "title": "First Message"
38767
+ },
38768
+ "text_contents": {
38769
+ "description": "The text contents for the selected language",
38770
+ "anyOf": [
38771
+ {
38772
+ "$ref": "#/components/schemas/WidgetTextContents"
38773
+ },
38774
+ {
38775
+ "type": "null"
38776
+ }
38777
+ ]
38778
+ }
38779
+ },
38780
+ "title": "WidgetLanguagePresetResponse"
38781
+ },
38782
+ "WidgetPlacement": {
38783
+ "type": "string",
38784
+ "enum": [
38785
+ "top-left",
38786
+ "top",
38787
+ "top-right",
38788
+ "bottom-left",
38789
+ "bottom",
38790
+ "bottom-right"
38791
+ ],
38792
+ "title": "WidgetPlacement"
38793
+ },
38794
+ "WidgetTextContents": {
38795
+ "type": "object",
38796
+ "properties": {
38797
+ "main_label": {
38798
+ "description": "Call to action displayed inside the compact and full variants.",
38799
+ "anyOf": [
38800
+ {
38801
+ "type": "string"
38802
+ },
38803
+ {
38804
+ "type": "null"
38805
+ }
38806
+ ],
38807
+ "title": "Main Label"
38808
+ },
38809
+ "start_call": {
38810
+ "description": "Text and ARIA label for the start call button.",
38811
+ "anyOf": [
38812
+ {
38813
+ "type": "string"
38814
+ },
38815
+ {
38816
+ "type": "null"
38817
+ }
38818
+ ],
38819
+ "title": "Start Call"
38820
+ },
38821
+ "new_call": {
38822
+ "description": "Text and ARIA label for the new call button. Displayed when the caller already finished at least one call in order ot start the next one.",
38823
+ "anyOf": [
38824
+ {
38825
+ "type": "string"
38826
+ },
38827
+ {
38828
+ "type": "null"
38829
+ }
38830
+ ],
38831
+ "title": "New Call"
38832
+ },
38833
+ "end_call": {
38834
+ "description": "Text and ARIA label for the end call button.",
38835
+ "anyOf": [
38836
+ {
38837
+ "type": "string"
38838
+ },
38839
+ {
38840
+ "type": "null"
38841
+ }
38842
+ ],
38843
+ "title": "End Call"
38844
+ },
38845
+ "mute_microphone": {
38846
+ "description": "ARIA label for the mute microphone button.",
38847
+ "anyOf": [
38848
+ {
38849
+ "type": "string"
38850
+ },
38851
+ {
38852
+ "type": "null"
38853
+ }
38854
+ ],
38855
+ "title": "Mute Microphone"
38856
+ },
38857
+ "change_language": {
38858
+ "description": "ARIA label for the change language dropdown.",
38859
+ "anyOf": [
38860
+ {
38861
+ "type": "string"
38862
+ },
38863
+ {
38864
+ "type": "null"
38865
+ }
38866
+ ],
38867
+ "title": "Change Language"
38868
+ },
38869
+ "collapse": {
38870
+ "description": "ARIA label for the collapse button.",
38871
+ "anyOf": [
38872
+ {
38873
+ "type": "string"
38874
+ },
38875
+ {
38876
+ "type": "null"
38877
+ }
38878
+ ],
38879
+ "title": "Collapse"
38880
+ },
38881
+ "expand": {
38882
+ "description": "ARIA label for the expand button.",
38883
+ "anyOf": [
38884
+ {
38885
+ "type": "string"
38886
+ },
38887
+ {
38888
+ "type": "null"
38889
+ }
38890
+ ],
38891
+ "title": "Expand"
38892
+ },
38893
+ "copied": {
38894
+ "description": "Text displayed when the user copies a value using the copy button.",
38895
+ "anyOf": [
38896
+ {
38897
+ "type": "string"
38898
+ },
38899
+ {
38900
+ "type": "null"
38901
+ }
38902
+ ],
38903
+ "title": "Copied"
38904
+ },
38905
+ "accept_terms": {
38906
+ "description": "Text and ARIA label for the accept terms button.",
38907
+ "anyOf": [
38908
+ {
38909
+ "type": "string"
38910
+ },
38911
+ {
38912
+ "type": "null"
38913
+ }
38914
+ ],
38915
+ "title": "Accept Terms"
38916
+ },
38917
+ "dismiss_terms": {
38918
+ "description": "Text and ARIA label for the cancel terms button.",
38919
+ "anyOf": [
38920
+ {
38921
+ "type": "string"
38922
+ },
38923
+ {
38924
+ "type": "null"
38925
+ }
38926
+ ],
38927
+ "title": "Dismiss Terms"
38928
+ },
38929
+ "listening_status": {
38930
+ "description": "Status displayed when the agent is listening.",
38931
+ "anyOf": [
38932
+ {
38933
+ "type": "string"
38934
+ },
38935
+ {
38936
+ "type": "null"
38937
+ }
38938
+ ],
38939
+ "title": "Listening Status"
38940
+ },
38941
+ "speaking_status": {
38942
+ "description": "Status displayed when the agent is speaking.",
38943
+ "anyOf": [
38944
+ {
38945
+ "type": "string"
38946
+ },
38947
+ {
38948
+ "type": "null"
38949
+ }
38950
+ ],
38951
+ "title": "Speaking Status"
38952
+ },
38953
+ "connecting_status": {
38954
+ "description": "Status displayed when the agent is connecting.",
38955
+ "anyOf": [
38956
+ {
38957
+ "type": "string"
38958
+ },
38959
+ {
38960
+ "type": "null"
38961
+ }
38962
+ ],
38963
+ "title": "Connecting Status"
38964
+ },
38965
+ "input_label": {
38966
+ "description": "ARIA label for the text message input.",
38967
+ "anyOf": [
38968
+ {
38969
+ "type": "string"
38970
+ },
38971
+ {
38972
+ "type": "null"
38973
+ }
38974
+ ],
38975
+ "title": "Input Label"
38976
+ },
38977
+ "input_placeholder": {
38978
+ "description": "Placeholder text for the text message input.",
38979
+ "anyOf": [
38980
+ {
38981
+ "type": "string"
38982
+ },
38983
+ {
38984
+ "type": "null"
38985
+ }
38986
+ ],
38987
+ "title": "Input Placeholder"
38988
+ },
38989
+ "user_ended_conversation": {
38990
+ "description": "Information message displayed when the user ends the conversation.",
38991
+ "anyOf": [
38992
+ {
38993
+ "type": "string"
38994
+ },
38995
+ {
38996
+ "type": "null"
38997
+ }
38998
+ ],
38999
+ "title": "User Ended Conversation"
39000
+ },
39001
+ "agent_ended_conversation": {
39002
+ "description": "Information message displayed when the agent ends the conversation.",
39003
+ "anyOf": [
39004
+ {
39005
+ "type": "string"
39006
+ },
39007
+ {
39008
+ "type": "null"
39009
+ }
39010
+ ],
39011
+ "title": "Agent Ended Conversation"
39012
+ },
39013
+ "conversation_id": {
39014
+ "description": "Text label used next to the conversation ID.",
39015
+ "anyOf": [
39016
+ {
39017
+ "type": "string"
39018
+ },
39019
+ {
39020
+ "type": "null"
39021
+ }
39022
+ ],
39023
+ "title": "Conversation Id"
39024
+ },
39025
+ "error_occurred": {
39026
+ "description": "Text label used when an error occurs.",
39027
+ "anyOf": [
39028
+ {
39029
+ "type": "string"
39030
+ },
39031
+ {
39032
+ "type": "null"
39033
+ }
39034
+ ],
39035
+ "title": "Error Occurred"
39036
+ },
39037
+ "copy_id": {
39038
+ "description": "Text and ARIA label used for the copy ID button.",
39039
+ "anyOf": [
39040
+ {
39041
+ "type": "string"
39042
+ },
39043
+ {
39044
+ "type": "null"
39045
+ }
39046
+ ],
39047
+ "title": "Copy Id"
39048
+ }
39049
+ },
39050
+ "title": "WidgetTextContents"
39051
+ },
36121
39052
  "WorkspaceBatchCallsResponse": {
36122
39053
  "type": "object",
36123
39054
  "properties": {