@elevenlabs/elevenlabs-js 2.6.0 → 2.8.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 (1464) hide show
  1. package/Client.d.ts +14 -1
  2. package/Client.js +77 -12
  3. package/api/resources/audioIsolation/client/Client.d.ts +1 -1
  4. package/api/resources/audioIsolation/client/Client.js +2 -2
  5. package/api/resources/audioNative/client/Client.d.ts +1 -1
  6. package/api/resources/audioNative/client/Client.js +3 -3
  7. package/api/resources/conversationalAi/client/Client.d.ts +1 -1
  8. package/api/resources/conversationalAi/client/Client.js +5 -5
  9. package/api/resources/conversationalAi/conversation/Conversation.js +5 -2
  10. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
  11. package/api/resources/conversationalAi/resources/agents/client/Client.js +12 -12
  12. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
  13. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
  14. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
  15. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  16. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
  17. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  18. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
  19. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  20. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
  22. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
  23. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  24. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
  25. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
  26. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +16 -1
  27. package/api/resources/conversationalAi/resources/conversations/client/Client.js +98 -5
  28. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
  29. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  30. package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/conversations/index.js +1 -0
  33. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
  34. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  35. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
  36. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  37. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
  38. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
  39. package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  41. package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
  42. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
  43. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  44. package/api/resources/conversationalAi/resources/index.d.ts +2 -1
  45. package/api/resources/conversationalAi/resources/index.js +3 -2
  46. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
  47. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  48. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
  54. package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
  55. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  56. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
  57. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
  58. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
  59. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  60. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
  61. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  62. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
  63. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  64. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
  65. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  66. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
  67. package/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
  68. package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
  69. package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  70. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
  71. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  72. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
  73. package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
  74. package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
  75. package/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
  76. package/api/resources/dubbing/client/Client.d.ts +14 -1
  77. package/api/resources/dubbing/client/Client.js +94 -4
  78. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  79. package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
  80. package/api/resources/dubbing/client/requests/index.d.ts +1 -0
  81. package/api/resources/dubbing/index.d.ts +1 -0
  82. package/api/resources/dubbing/index.js +1 -0
  83. package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
  84. package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  85. package/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
  86. package/api/resources/dubbing/resources/resource/client/Client.js +5 -5
  87. package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
  88. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  89. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
  90. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  91. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
  92. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
  93. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
  94. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  95. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
  96. package/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
  97. package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
  98. package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
  99. package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
  100. package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
  101. package/api/resources/dubbing/types/index.d.ts +2 -0
  102. package/api/resources/dubbing/types/index.js +18 -0
  103. package/api/resources/forcedAlignment/client/Client.d.ts +1 -1
  104. package/api/resources/forcedAlignment/client/Client.js +1 -1
  105. package/api/resources/history/client/Client.d.ts +1 -1
  106. package/api/resources/history/client/Client.js +5 -5
  107. package/api/resources/index.d.ts +3 -1
  108. package/api/resources/index.js +4 -2
  109. package/api/resources/models/client/Client.d.ts +1 -1
  110. package/api/resources/models/client/Client.js +1 -1
  111. package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  112. package/api/resources/pronunciationDictionaries/client/Client.js +5 -5
  113. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  114. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
  115. package/api/resources/samples/client/Client.d.ts +1 -1
  116. package/api/resources/samples/client/Client.js +1 -1
  117. package/api/resources/serviceAccounts/client/Client.d.ts +48 -0
  118. package/api/resources/serviceAccounts/client/Client.js +134 -0
  119. package/api/resources/serviceAccounts/client/index.d.ts +1 -0
  120. package/api/resources/serviceAccounts/client/index.js +2 -0
  121. package/api/resources/serviceAccounts/index.d.ts +2 -0
  122. package/api/resources/serviceAccounts/index.js +18 -0
  123. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
  124. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
  125. package/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
  126. package/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  127. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
  128. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
  129. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  130. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
  131. package/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  132. package/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  133. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
  134. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
  135. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
  136. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
  137. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
  138. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
  139. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  140. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  141. package/api/resources/serviceAccounts/resources/index.d.ts +3 -0
  142. package/api/resources/serviceAccounts/resources/index.js +42 -0
  143. package/api/resources/speechToSpeech/client/Client.d.ts +1 -1
  144. package/api/resources/speechToSpeech/client/Client.js +2 -2
  145. package/api/resources/speechToText/client/Client.d.ts +3 -3
  146. package/api/resources/speechToText/client/Client.js +9 -3
  147. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +9 -0
  148. package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
  149. package/api/resources/speechToText/types/index.d.ts +1 -0
  150. package/api/resources/speechToText/types/index.js +1 -0
  151. package/api/resources/studio/client/Client.d.ts +1 -1
  152. package/api/resources/studio/client/Client.js +1 -1
  153. package/api/resources/studio/resources/projects/client/Client.d.ts +2 -5
  154. package/api/resources/studio/resources/projects/client/Client.js +16 -13
  155. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
  156. package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
  157. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  158. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
  159. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  160. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
  161. package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  162. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  163. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  164. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
  165. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  166. package/api/resources/textToDialogue/client/Client.d.ts +1 -1
  167. package/api/resources/textToDialogue/client/Client.js +2 -2
  168. package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  169. package/api/resources/textToSoundEffects/client/Client.js +1 -1
  170. package/api/resources/textToSpeech/client/Client.d.ts +1 -1
  171. package/api/resources/textToSpeech/client/Client.js +4 -4
  172. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  173. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  174. package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  175. package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  176. package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
  177. package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  178. package/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
  179. package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  180. package/api/resources/textToVoice/client/Client.d.ts +1 -18
  181. package/api/resources/textToVoice/client/Client.js +3 -80
  182. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
  183. package/api/resources/textToVoice/client/requests/index.d.ts +0 -1
  184. package/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
  185. package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  186. package/api/resources/usage/client/Client.d.ts +1 -1
  187. package/api/resources/usage/client/Client.js +1 -1
  188. package/api/resources/user/client/Client.d.ts +1 -1
  189. package/api/resources/user/client/Client.js +1 -1
  190. package/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
  191. package/api/resources/user/resources/subscription/client/Client.js +1 -1
  192. package/api/resources/voices/client/Client.d.ts +1 -1
  193. package/api/resources/voices/client/Client.js +17 -9
  194. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
  195. package/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
  196. package/api/resources/voices/resources/ivc/client/Client.js +1 -1
  197. package/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
  198. package/api/resources/voices/resources/pvc/client/Client.js +3 -3
  199. package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
  200. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  201. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
  202. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
  203. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
  204. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  205. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
  206. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  207. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
  208. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  209. package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
  210. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  211. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
  212. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  213. package/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
  214. package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
  215. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  216. package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  217. package/api/resources/voices/resources/settings/client/Client.js +3 -3
  218. package/api/resources/webhooks/client/Client.d.ts +1 -1
  219. package/api/resources/webhooks/client/Client.js +1 -1
  220. package/api/resources/workspace/client/Client.d.ts +1 -1
  221. package/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
  222. package/api/resources/workspace/resources/groups/client/Client.js +1 -1
  223. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
  224. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  225. package/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
  226. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  227. package/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
  228. package/api/resources/workspace/resources/members/client/Client.js +2 -2
  229. package/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
  230. package/api/resources/workspace/resources/resources/client/Client.js +3 -3
  231. package/api/types/AddProjectRequest.d.ts +1 -130
  232. package/api/types/AgentConfig.d.ts +11 -1
  233. package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  234. package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  235. package/api/types/AgentSummaryResponseModel.d.ts +2 -0
  236. package/api/types/AgentTestingSettings.d.ts +10 -0
  237. package/api/types/AsrProvider.d.ts +1 -5
  238. package/api/types/AsrProvider.js +0 -5
  239. package/api/types/BatchCallRecipientStatus.d.ts +2 -1
  240. package/api/types/BatchCallRecipientStatus.js +1 -0
  241. package/api/types/BuiltInToolsInput.d.ts +2 -0
  242. package/api/types/BuiltInToolsOutput.d.ts +2 -0
  243. package/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
  244. package/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
  245. package/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
  246. package/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
  247. package/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
  248. package/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
  249. package/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
  250. package/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
  251. package/api/types/CaptionStyleModel.d.ts +29 -0
  252. package/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
  253. package/api/types/CaptionStyleModelTextAlign.js +11 -0
  254. package/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
  255. package/api/types/CaptionStyleModelTextStyle.js +10 -0
  256. package/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
  257. package/api/types/CaptionStyleModelTextWeight.js +10 -0
  258. package/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
  259. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
  260. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
  261. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
  262. package/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
  263. package/api/types/CaptionStyleTemplateModel.d.ts +7 -0
  264. package/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
  265. package/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
  266. package/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
  267. package/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
  268. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
  269. package/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
  270. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
  271. package/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
  272. package/api/types/ClientToolConfigInput.d.ts +6 -0
  273. package/api/types/ClientToolConfigOutput.d.ts +6 -0
  274. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  275. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  276. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  277. package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
  278. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  279. package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
  280. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
  281. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
  282. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
  283. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
  284. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
  285. package/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
  286. package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
  287. package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
  288. package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
  289. package/api/types/ConversationInitiationSource.d.ts +2 -1
  290. package/api/types/ConversationInitiationSource.js +1 -0
  291. package/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
  292. package/api/types/ConversationSimulationSpecification.d.ts +1 -1
  293. package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  294. package/api/types/ConversationalConfig.d.ts +1 -1
  295. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
  296. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
  297. package/api/types/CustomLlm.d.ts +2 -0
  298. package/api/types/DubbedSegment.d.ts +1 -0
  299. package/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
  300. package/api/types/DubbingMetadataResponse.d.ts +4 -0
  301. package/api/types/DynamicVariableAssignment.d.ts +14 -0
  302. package/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
  303. package/api/types/EndCallToolResultModel.d.ts +8 -0
  304. package/api/types/FeaturesUsageCommonModel.d.ts +4 -0
  305. package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
  306. package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
  307. package/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
  308. package/api/types/Llm.d.ts +5 -1
  309. package/api/types/Llm.js +4 -0
  310. package/api/types/McpToolConfigInput.d.ts +6 -0
  311. package/api/types/McpToolConfigOutput.d.ts +6 -0
  312. package/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
  313. package/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
  314. package/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
  315. package/api/types/PlayDtmfResultSuccessModel.js +5 -0
  316. package/api/types/ProjectExtendedResponse.d.ts +4 -0
  317. package/api/types/ProjectResponse.d.ts +4 -0
  318. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  319. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  320. package/api/types/PromptAgentApiModelOverride.d.ts +2 -0
  321. package/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  322. package/api/types/SaveVoicePreviewRequest.d.ts +4 -0
  323. package/api/types/SaveVoicePreviewRequest.js +5 -0
  324. package/api/types/SegmentSubtitleFrame.d.ts +8 -0
  325. package/api/types/SegmentSubtitleFrame.js +5 -0
  326. package/api/types/SkipTurnToolResponseModel.d.ts +7 -0
  327. package/api/types/SkipTurnToolResponseModel.js +5 -0
  328. package/api/types/SpeakerSegment.d.ts +1 -0
  329. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  330. package/api/types/SystemToolConfigInput.d.ts +6 -0
  331. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  332. package/api/types/SystemToolConfigOutput.d.ts +6 -0
  333. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  334. package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
  335. package/api/types/TokenResponseModel.d.ts +6 -0
  336. package/api/types/TokenResponseModel.js +5 -0
  337. package/api/types/Tool.d.ts +3 -0
  338. package/api/types/ToolResponseModel.d.ts +1 -0
  339. package/api/types/ToolType.d.ts +10 -0
  340. package/api/types/ToolType.js +12 -0
  341. package/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
  342. package/api/types/ToolUsageStatsResponseModel.js +5 -0
  343. package/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
  344. package/api/types/TransferToAgentToolResultErrorModel.js +5 -0
  345. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
  346. package/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
  347. package/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
  348. package/api/types/TransferToNumberResultErrorModel.js +5 -0
  349. package/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
  350. package/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
  351. package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
  352. package/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
  353. package/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
  354. package/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
  355. package/api/types/VoiceResponseModelSafetyControl.js +0 -1
  356. package/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
  357. package/api/types/VoicemailDetectionToolConfig.js +5 -0
  358. package/api/types/WebhookToolConfigInput.d.ts +6 -0
  359. package/api/types/WebhookToolConfigOutput.d.ts +6 -0
  360. package/api/types/WidgetConfig.d.ts +4 -0
  361. package/api/types/WidgetConfigResponse.d.ts +4 -0
  362. package/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
  363. package/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
  364. package/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
  365. package/api/types/WorkspaceApiKeyResponseModel.js +5 -0
  366. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
  367. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
  368. package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
  369. package/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
  370. package/api/types/WorkspaceResourceType.d.ts +2 -1
  371. package/api/types/WorkspaceResourceType.js +1 -0
  372. package/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
  373. package/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
  374. package/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
  375. package/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
  376. package/api/types/index.d.ts +54 -21
  377. package/api/types/index.js +54 -21
  378. package/dist/Client.d.ts +14 -1
  379. package/dist/Client.js +77 -12
  380. package/dist/api/resources/audioIsolation/client/Client.d.ts +1 -1
  381. package/dist/api/resources/audioIsolation/client/Client.js +2 -2
  382. package/dist/api/resources/audioNative/client/Client.d.ts +1 -1
  383. package/dist/api/resources/audioNative/client/Client.js +3 -3
  384. package/dist/api/resources/conversationalAi/client/Client.d.ts +1 -1
  385. package/dist/api/resources/conversationalAi/client/Client.js +5 -5
  386. package/dist/api/resources/conversationalAi/conversation/Conversation.js +5 -2
  387. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
  388. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +12 -12
  389. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
  390. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
  391. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
  392. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  393. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
  394. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  395. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
  396. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  397. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
  398. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
  399. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
  400. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  401. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
  402. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
  403. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +16 -1
  404. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +98 -5
  405. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
  406. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js +5 -0
  407. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  408. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  409. package/dist/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  410. package/dist/api/resources/conversationalAi/resources/conversations/index.js +1 -0
  411. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
  412. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  413. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
  414. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  415. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
  416. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
  417. package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  418. package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  419. package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
  420. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
  421. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  422. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
  423. package/dist/api/resources/conversationalAi/resources/index.js +3 -2
  424. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
  425. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  426. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
  427. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
  428. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
  429. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
  430. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
  431. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
  432. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
  433. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  434. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
  435. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
  436. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
  437. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  438. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
  439. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  440. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
  441. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  442. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
  443. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  444. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
  445. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
  446. package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
  447. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  448. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
  449. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  450. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
  451. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
  452. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
  453. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
  454. package/dist/api/resources/dubbing/client/Client.d.ts +14 -1
  455. package/dist/api/resources/dubbing/client/Client.js +94 -4
  456. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  457. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
  458. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.js +5 -0
  459. package/dist/api/resources/dubbing/client/requests/index.d.ts +1 -0
  460. package/dist/api/resources/dubbing/index.d.ts +1 -0
  461. package/dist/api/resources/dubbing/index.js +1 -0
  462. package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
  463. package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  464. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
  465. package/dist/api/resources/dubbing/resources/resource/client/Client.js +5 -5
  466. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
  467. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  468. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
  469. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  470. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
  471. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
  472. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
  473. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  474. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
  475. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
  476. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
  477. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
  478. package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
  479. package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
  480. package/dist/api/resources/dubbing/types/index.d.ts +2 -0
  481. package/dist/api/resources/dubbing/types/index.js +18 -0
  482. package/dist/api/resources/forcedAlignment/client/Client.d.ts +1 -1
  483. package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
  484. package/dist/api/resources/history/client/Client.d.ts +1 -1
  485. package/dist/api/resources/history/client/Client.js +5 -5
  486. package/dist/api/resources/index.d.ts +3 -1
  487. package/dist/api/resources/index.js +4 -2
  488. package/dist/api/resources/models/client/Client.d.ts +1 -1
  489. package/dist/api/resources/models/client/Client.js +1 -1
  490. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  491. package/dist/api/resources/pronunciationDictionaries/client/Client.js +5 -5
  492. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  493. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
  494. package/dist/api/resources/samples/client/Client.d.ts +1 -1
  495. package/dist/api/resources/samples/client/Client.js +1 -1
  496. package/dist/api/resources/serviceAccounts/client/Client.d.ts +48 -0
  497. package/dist/api/resources/serviceAccounts/client/Client.js +134 -0
  498. package/dist/api/resources/serviceAccounts/client/index.d.ts +1 -0
  499. package/dist/api/resources/serviceAccounts/client/index.js +2 -0
  500. package/dist/api/resources/serviceAccounts/index.d.ts +2 -0
  501. package/dist/api/resources/serviceAccounts/index.js +18 -0
  502. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
  503. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
  504. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
  505. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  506. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
  507. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +5 -0
  508. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
  509. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +5 -0
  510. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  511. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
  512. package/dist/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  513. package/dist/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  514. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
  515. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +5 -0
  516. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
  517. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
  518. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
  519. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +5 -0
  520. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
  521. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
  522. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  523. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  524. package/dist/api/resources/serviceAccounts/resources/index.d.ts +3 -0
  525. package/dist/api/resources/serviceAccounts/resources/index.js +42 -0
  526. package/dist/api/resources/speechToSpeech/client/Client.d.ts +1 -1
  527. package/dist/api/resources/speechToSpeech/client/Client.js +2 -2
  528. package/dist/api/resources/speechToText/client/Client.d.ts +3 -3
  529. package/dist/api/resources/speechToText/client/Client.js +9 -3
  530. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +9 -0
  531. package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
  532. package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.js +5 -0
  533. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  534. package/dist/api/resources/speechToText/types/index.js +1 -0
  535. package/dist/api/resources/studio/client/Client.d.ts +1 -1
  536. package/dist/api/resources/studio/client/Client.js +1 -1
  537. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +2 -5
  538. package/dist/api/resources/studio/resources/projects/client/Client.js +16 -13
  539. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
  540. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
  541. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  542. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
  543. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  544. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
  545. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  546. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  547. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  548. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
  549. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  550. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
  551. package/dist/api/resources/textToDialogue/client/Client.js +2 -2
  552. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  553. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
  554. package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
  555. package/dist/api/resources/textToSpeech/client/Client.js +4 -4
  556. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  557. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  558. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  559. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  560. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
  561. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  562. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
  563. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  564. package/dist/api/resources/textToVoice/client/Client.d.ts +1 -18
  565. package/dist/api/resources/textToVoice/client/Client.js +3 -80
  566. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
  567. package/dist/api/resources/textToVoice/client/requests/index.d.ts +0 -1
  568. package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
  569. package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  570. package/dist/api/resources/usage/client/Client.d.ts +1 -1
  571. package/dist/api/resources/usage/client/Client.js +1 -1
  572. package/dist/api/resources/user/client/Client.d.ts +1 -1
  573. package/dist/api/resources/user/client/Client.js +1 -1
  574. package/dist/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
  575. package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
  576. package/dist/api/resources/voices/client/Client.d.ts +1 -1
  577. package/dist/api/resources/voices/client/Client.js +17 -9
  578. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
  579. package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
  580. package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
  581. package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
  582. package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
  583. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
  584. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  585. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
  586. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
  587. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
  588. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  589. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
  590. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  591. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
  592. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  593. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
  594. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  595. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
  596. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  597. package/dist/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
  598. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
  599. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  600. package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
  601. package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
  602. package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
  603. package/dist/api/resources/webhooks/client/Client.js +1 -1
  604. package/dist/api/resources/workspace/client/Client.d.ts +1 -1
  605. package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
  606. package/dist/api/resources/workspace/resources/groups/client/Client.js +1 -1
  607. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
  608. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  609. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
  610. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  611. package/dist/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
  612. package/dist/api/resources/workspace/resources/members/client/Client.js +2 -2
  613. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
  614. package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -3
  615. package/dist/api/types/AddProjectRequest.d.ts +1 -130
  616. package/dist/api/types/AgentConfig.d.ts +11 -1
  617. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  618. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  619. package/dist/api/types/AgentSummaryResponseModel.d.ts +2 -0
  620. package/dist/api/types/AgentTestingSettings.d.ts +10 -0
  621. package/dist/api/types/AgentTestingSettings.js +5 -0
  622. package/dist/api/types/AsrProvider.d.ts +1 -5
  623. package/dist/api/types/AsrProvider.js +0 -5
  624. package/dist/api/types/BatchCallRecipientStatus.d.ts +2 -1
  625. package/dist/api/types/BatchCallRecipientStatus.js +1 -0
  626. package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
  627. package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
  628. package/dist/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
  629. package/dist/api/types/CaptionStyleCharacterAnimationModel.js +5 -0
  630. package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
  631. package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
  632. package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
  633. package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
  634. package/dist/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
  635. package/dist/api/types/CaptionStyleHorizontalPlacementModel.js +5 -0
  636. package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
  637. package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
  638. package/dist/api/types/CaptionStyleModel.d.ts +29 -0
  639. package/dist/api/types/CaptionStyleModel.js +5 -0
  640. package/dist/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
  641. package/dist/api/types/CaptionStyleModelTextAlign.js +11 -0
  642. package/dist/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
  643. package/dist/api/types/CaptionStyleModelTextStyle.js +10 -0
  644. package/dist/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
  645. package/dist/api/types/CaptionStyleModelTextWeight.js +10 -0
  646. package/dist/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
  647. package/dist/api/types/CaptionStyleSectionAnimationModel.js +5 -0
  648. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
  649. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
  650. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
  651. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
  652. package/dist/api/types/CaptionStyleTemplateModel.d.ts +7 -0
  653. package/dist/api/types/CaptionStyleTemplateModel.js +5 -0
  654. package/dist/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
  655. package/dist/api/types/CaptionStyleVerticalPlacementModel.js +5 -0
  656. package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
  657. package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
  658. package/dist/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
  659. package/dist/api/types/CaptionStyleWordAnimationModel.js +5 -0
  660. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
  661. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
  662. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
  663. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
  664. package/dist/api/types/ClientToolConfigInput.d.ts +6 -0
  665. package/dist/api/types/ClientToolConfigOutput.d.ts +6 -0
  666. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  667. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  668. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  669. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
  670. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +5 -0
  671. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  672. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
  673. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +5 -0
  674. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
  675. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +5 -0
  676. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
  677. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
  678. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
  679. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +5 -0
  680. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
  681. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +5 -0
  682. package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
  683. package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
  684. package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
  685. package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
  686. package/dist/api/types/ConversationInitiationSource.d.ts +2 -1
  687. package/dist/api/types/ConversationInitiationSource.js +1 -0
  688. package/dist/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
  689. package/dist/api/types/ConversationInitiationSourceInfo.js +5 -0
  690. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
  691. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  692. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  693. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
  694. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
  695. package/dist/api/types/CustomLlm.d.ts +2 -0
  696. package/dist/api/types/DubbedSegment.d.ts +1 -0
  697. package/dist/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
  698. package/dist/api/types/DubbingMetadataPageResponseModel.js +5 -0
  699. package/dist/api/types/DubbingMetadataResponse.d.ts +4 -0
  700. package/dist/api/types/DynamicVariableAssignment.d.ts +14 -0
  701. package/dist/api/types/DynamicVariableAssignment.js +5 -0
  702. package/dist/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
  703. package/dist/api/types/DynamicVariableUpdateCommonModel.js +5 -0
  704. package/dist/api/types/EndCallToolResultModel.d.ts +8 -0
  705. package/dist/api/types/EndCallToolResultModel.js +5 -0
  706. package/dist/api/types/FeaturesUsageCommonModel.d.ts +4 -0
  707. package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
  708. package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
  709. package/dist/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
  710. package/dist/api/types/LanguageDetectionToolResultModel.js +5 -0
  711. package/dist/api/types/Llm.d.ts +5 -1
  712. package/dist/api/types/Llm.js +4 -0
  713. package/dist/api/types/McpToolConfigInput.d.ts +6 -0
  714. package/dist/api/types/McpToolConfigOutput.d.ts +6 -0
  715. package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
  716. package/dist/api/types/MultichannelSpeechToTextResponseModel.js +5 -0
  717. package/dist/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
  718. package/dist/api/types/PlayDtmfResultErrorModel.js +5 -0
  719. package/dist/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
  720. package/dist/api/types/PlayDtmfResultSuccessModel.js +5 -0
  721. package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
  722. package/dist/api/types/ProjectResponse.d.ts +4 -0
  723. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  724. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  725. package/dist/api/types/PromptAgentApiModelOverride.d.ts +2 -0
  726. package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  727. package/dist/api/types/SaveVoicePreviewRequest.d.ts +4 -0
  728. package/dist/api/types/SaveVoicePreviewRequest.js +5 -0
  729. package/dist/api/types/SegmentSubtitleFrame.d.ts +8 -0
  730. package/dist/api/types/SegmentSubtitleFrame.js +5 -0
  731. package/dist/api/types/SkipTurnToolResponseModel.d.ts +7 -0
  732. package/dist/api/types/SkipTurnToolResponseModel.js +5 -0
  733. package/dist/api/types/SpeakerSegment.d.ts +1 -0
  734. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  735. package/dist/api/types/SystemToolConfigInput.d.ts +6 -0
  736. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  737. package/dist/api/types/SystemToolConfigOutput.d.ts +6 -0
  738. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  739. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
  740. package/dist/api/types/TokenResponseModel.d.ts +6 -0
  741. package/dist/api/types/TokenResponseModel.js +5 -0
  742. package/dist/api/types/Tool.d.ts +3 -0
  743. package/dist/api/types/ToolResponseModel.d.ts +1 -0
  744. package/dist/api/types/ToolType.d.ts +10 -0
  745. package/dist/api/types/ToolType.js +12 -0
  746. package/dist/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
  747. package/dist/api/types/ToolUsageStatsResponseModel.js +5 -0
  748. package/dist/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
  749. package/dist/api/types/TransferToAgentToolResultErrorModel.js +5 -0
  750. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
  751. package/dist/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
  752. package/dist/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
  753. package/dist/api/types/TransferToNumberResultErrorModel.js +5 -0
  754. package/dist/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
  755. package/dist/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
  756. package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
  757. package/dist/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
  758. package/dist/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
  759. package/dist/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
  760. package/dist/api/types/VoiceResponseModelSafetyControl.js +0 -1
  761. package/dist/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
  762. package/dist/api/types/VoicemailDetectionToolConfig.js +5 -0
  763. package/dist/api/types/WebhookToolConfigInput.d.ts +6 -0
  764. package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -0
  765. package/dist/api/types/WidgetConfig.d.ts +4 -0
  766. package/dist/api/types/WidgetConfigResponse.d.ts +4 -0
  767. package/dist/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
  768. package/dist/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
  769. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
  770. package/dist/api/types/WorkspaceApiKeyResponseModel.js +5 -0
  771. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
  772. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
  773. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
  774. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
  775. package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
  776. package/dist/api/types/WorkspaceResourceType.js +1 -0
  777. package/dist/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
  778. package/dist/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
  779. package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
  780. package/dist/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
  781. package/dist/api/types/index.d.ts +54 -21
  782. package/dist/api/types/index.js +54 -21
  783. package/dist/environments.d.ts +4 -20
  784. package/dist/environments.js +4 -16
  785. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
  786. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
  787. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
  788. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
  789. package/dist/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  790. package/dist/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
  791. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
  792. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
  793. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  794. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  795. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  796. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
  797. package/dist/serialization/resources/dubbing/index.d.ts +1 -0
  798. package/dist/serialization/resources/dubbing/index.js +1 -0
  799. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
  800. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
  801. package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
  802. package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
  803. package/dist/serialization/resources/dubbing/types/index.d.ts +2 -0
  804. package/dist/serialization/resources/dubbing/types/index.js +18 -0
  805. package/dist/serialization/resources/index.d.ts +3 -1
  806. package/dist/serialization/resources/index.js +4 -2
  807. package/dist/serialization/resources/serviceAccounts/index.d.ts +1 -0
  808. package/dist/serialization/resources/serviceAccounts/index.js +17 -0
  809. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
  810. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  811. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
  812. package/dist/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
  813. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
  814. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
  815. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  816. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
  817. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  818. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  819. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
  820. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
  821. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
  822. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
  823. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
  824. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
  825. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
  826. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
  827. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  828. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  829. package/dist/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
  830. package/dist/serialization/resources/serviceAccounts/resources/index.js +42 -0
  831. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
  832. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -0
  833. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  834. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  835. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  836. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
  837. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
  838. package/dist/serialization/resources/textToVoice/client/requests/index.js +1 -3
  839. package/dist/serialization/types/AddProjectRequest.d.ts +2 -34
  840. package/dist/serialization/types/AddProjectRequest.js +1 -33
  841. package/dist/serialization/types/AgentConfig.d.ts +9 -2
  842. package/dist/serialization/types/AgentConfig.js +8 -1
  843. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  844. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  845. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  846. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  847. package/dist/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
  848. package/dist/serialization/types/AgentSummaryResponseModel.js +1 -0
  849. package/dist/serialization/types/AgentTestingSettings.d.ts +12 -0
  850. package/dist/serialization/types/AgentTestingSettings.js +43 -0
  851. package/dist/serialization/types/AsrProvider.d.ts +1 -1
  852. package/dist/serialization/types/AsrProvider.js +1 -1
  853. package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  854. package/dist/serialization/types/BatchCallRecipientStatus.js +1 -1
  855. package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
  856. package/dist/serialization/types/BuiltInToolsInput.js +1 -0
  857. package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  858. package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
  859. package/dist/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
  860. package/dist/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
  861. package/dist/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
  862. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostSourceType.js → CaptionStyleCharacterAnimationModelEnterType.js} +2 -2
  863. package/dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
  864. package/{serialization/types/BodyAddProjectV1ProjectsAddPostFiction.js → dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.js} +2 -2
  865. package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
  866. package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
  867. package/dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
  868. package/{serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js → dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js} +2 -2
  869. package/dist/serialization/types/CaptionStyleModel.d.ts +43 -0
  870. package/dist/serialization/types/CaptionStyleModel.js +74 -0
  871. package/dist/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
  872. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostFiction.js → CaptionStyleModelTextAlign.js} +2 -2
  873. package/dist/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
  874. package/dist/serialization/types/CaptionStyleModelTextStyle.js +41 -0
  875. package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
  876. package/dist/serialization/types/CaptionStyleModelTextWeight.js +41 -0
  877. package/dist/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
  878. package/dist/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
  879. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
  880. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
  881. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
  882. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
  883. package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
  884. package/dist/serialization/types/CaptionStyleTemplateModel.js +44 -0
  885. package/dist/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
  886. package/dist/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
  887. package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
  888. package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
  889. package/dist/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
  890. package/{serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → dist/serialization/types/CaptionStyleWordAnimationModel.js} +6 -3
  891. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
  892. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
  893. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
  894. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
  895. package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
  896. package/dist/serialization/types/ClientToolConfigInput.js +4 -0
  897. package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  898. package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
  899. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  900. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  901. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  902. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
  903. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  904. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  905. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
  906. package/dist/serialization/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +6 -8
  907. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  908. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  909. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
  910. package/{serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +6 -8
  911. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
  912. package/dist/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
  913. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
  914. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
  915. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
  916. package/{serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +13 -5
  917. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
  918. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
  919. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
  920. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
  921. package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
  922. package/dist/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
  923. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
  924. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
  925. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
  926. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
  927. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  928. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  929. package/dist/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
  930. package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → ConversationInitiationSourceInfo.js} +5 -5
  931. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  932. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
  933. package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
  934. package/dist/serialization/types/ConversationalConfig.d.ts +1 -1
  935. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  936. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
  937. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  938. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  939. package/dist/serialization/types/CustomLlm.d.ts +1 -0
  940. package/dist/serialization/types/CustomLlm.js +1 -0
  941. package/dist/serialization/types/DubbedSegment.d.ts +2 -0
  942. package/dist/serialization/types/DubbedSegment.js +2 -0
  943. package/dist/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
  944. package/dist/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
  945. package/dist/serialization/types/DubbingMetadataResponse.d.ts +2 -0
  946. package/dist/serialization/types/DubbingMetadataResponse.js +2 -0
  947. package/dist/serialization/types/DynamicVariableAssignment.d.ts +14 -0
  948. package/dist/serialization/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → DynamicVariableAssignment.js} +5 -3
  949. package/dist/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
  950. package/dist/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
  951. package/dist/serialization/types/EndCallToolResultModel.d.ts +14 -0
  952. package/dist/serialization/types/EndCallToolResultModel.js +45 -0
  953. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  954. package/dist/serialization/types/FeaturesUsageCommonModel.js +4 -0
  955. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  956. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
  957. package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
  958. package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
  959. package/dist/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
  960. package/dist/serialization/types/LanguageDetectionToolResultModel.js +45 -0
  961. package/dist/serialization/types/Llm.d.ts +1 -1
  962. package/dist/serialization/types/Llm.js +4 -0
  963. package/dist/serialization/types/McpToolConfigInput.d.ts +4 -0
  964. package/dist/serialization/types/McpToolConfigInput.js +4 -0
  965. package/dist/serialization/types/McpToolConfigOutput.d.ts +4 -0
  966. package/dist/serialization/types/McpToolConfigOutput.js +4 -0
  967. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
  968. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
  969. package/dist/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
  970. package/dist/serialization/types/PlayDtmfResultErrorModel.js +45 -0
  971. package/dist/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
  972. package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
  973. package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  974. package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
  975. package/dist/serialization/types/ProjectResponse.d.ts +3 -0
  976. package/dist/serialization/types/ProjectResponse.js +3 -0
  977. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  978. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  979. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  980. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  981. package/dist/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
  982. package/dist/serialization/types/PromptAgentApiModelOverride.js +1 -0
  983. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
  984. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
  985. package/dist/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
  986. package/dist/serialization/types/SaveVoicePreviewRequest.js +41 -0
  987. package/dist/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
  988. package/dist/serialization/types/SegmentSubtitleFrame.js +45 -0
  989. package/dist/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
  990. package/dist/serialization/types/SkipTurnToolResponseModel.js +44 -0
  991. package/dist/serialization/types/SpeakerSegment.d.ts +2 -0
  992. package/dist/serialization/types/SpeakerSegment.js +2 -0
  993. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  994. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  995. package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
  996. package/dist/serialization/types/SystemToolConfigInput.js +4 -0
  997. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  998. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  999. package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  1000. package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
  1001. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  1002. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  1003. package/dist/serialization/types/TokenResponseModel.d.ts +12 -0
  1004. package/dist/serialization/types/TokenResponseModel.js +43 -0
  1005. package/dist/serialization/types/Tool.d.ts +3 -0
  1006. package/dist/serialization/types/Tool.js +3 -0
  1007. package/dist/serialization/types/ToolResponseModel.d.ts +2 -0
  1008. package/dist/serialization/types/ToolResponseModel.js +2 -0
  1009. package/dist/serialization/types/ToolType.d.ts +10 -0
  1010. package/dist/serialization/types/ToolType.js +41 -0
  1011. package/dist/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
  1012. package/dist/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
  1013. package/dist/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
  1014. package/dist/serialization/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → TransferToAgentToolResultErrorModel.js} +5 -3
  1015. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
  1016. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
  1017. package/dist/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
  1018. package/dist/serialization/types/TransferToNumberResultErrorModel.js +45 -0
  1019. package/dist/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
  1020. package/dist/serialization/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → TransferToNumberResultSipSuccessModel.js} +6 -5
  1021. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
  1022. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
  1023. package/dist/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
  1024. package/dist/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
  1025. package/dist/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
  1026. package/dist/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
  1027. package/dist/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
  1028. package/dist/serialization/types/VoicemailDetectionToolConfig.js +43 -0
  1029. package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  1030. package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
  1031. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  1032. package/dist/serialization/types/WebhookToolConfigOutput.js +4 -0
  1033. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  1034. package/dist/serialization/types/WidgetConfig.js +2 -0
  1035. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1036. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  1037. package/dist/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
  1038. package/dist/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
  1039. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
  1040. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
  1041. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
  1042. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
  1043. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
  1044. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
  1045. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1046. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  1047. package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
  1048. package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
  1049. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
  1050. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
  1051. package/dist/serialization/types/index.d.ts +54 -21
  1052. package/dist/serialization/types/index.js +54 -21
  1053. package/dist/version.d.ts +1 -1
  1054. package/dist/version.js +1 -1
  1055. package/environments.d.ts +4 -20
  1056. package/environments.js +4 -16
  1057. package/package.json +1 -1
  1058. package/reference.md +556 -91
  1059. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
  1060. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
  1061. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
  1062. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
  1063. package/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  1064. package/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
  1065. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
  1066. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
  1067. package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  1068. package/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  1069. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  1070. package/serialization/resources/conversationalAi/resources/index.js +3 -2
  1071. package/serialization/resources/dubbing/index.d.ts +1 -0
  1072. package/serialization/resources/dubbing/index.js +1 -0
  1073. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
  1074. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
  1075. package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
  1076. package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
  1077. package/serialization/resources/dubbing/types/index.d.ts +2 -0
  1078. package/serialization/resources/dubbing/types/index.js +18 -0
  1079. package/serialization/resources/index.d.ts +3 -1
  1080. package/serialization/resources/index.js +4 -2
  1081. package/serialization/resources/serviceAccounts/index.d.ts +1 -0
  1082. package/serialization/resources/serviceAccounts/index.js +17 -0
  1083. package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
  1084. package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  1085. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
  1086. package/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
  1087. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
  1088. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
  1089. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  1090. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
  1091. package/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  1092. package/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  1093. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
  1094. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
  1095. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
  1096. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
  1097. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
  1098. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
  1099. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
  1100. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
  1101. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  1102. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  1103. package/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
  1104. package/serialization/resources/serviceAccounts/resources/index.js +42 -0
  1105. package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
  1106. package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -0
  1107. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  1108. package/serialization/resources/speechToText/types/index.js +1 -0
  1109. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  1110. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
  1111. package/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
  1112. package/serialization/resources/textToVoice/client/requests/index.js +1 -3
  1113. package/serialization/types/AddProjectRequest.d.ts +2 -34
  1114. package/serialization/types/AddProjectRequest.js +1 -33
  1115. package/serialization/types/AgentConfig.d.ts +9 -2
  1116. package/serialization/types/AgentConfig.js +8 -1
  1117. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  1118. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  1119. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  1120. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  1121. package/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
  1122. package/serialization/types/AgentSummaryResponseModel.js +1 -0
  1123. package/serialization/types/AgentTestingSettings.d.ts +12 -0
  1124. package/serialization/types/AgentTestingSettings.js +43 -0
  1125. package/serialization/types/AsrProvider.d.ts +1 -1
  1126. package/serialization/types/AsrProvider.js +1 -1
  1127. package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  1128. package/serialization/types/BatchCallRecipientStatus.js +1 -1
  1129. package/serialization/types/BuiltInToolsInput.d.ts +1 -0
  1130. package/serialization/types/BuiltInToolsInput.js +1 -0
  1131. package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  1132. package/serialization/types/BuiltInToolsOutput.js +1 -0
  1133. package/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
  1134. package/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
  1135. package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
  1136. package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.js +41 -0
  1137. package/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
  1138. package/serialization/types/CaptionStyleCharacterAnimationModelExitType.js +41 -0
  1139. package/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
  1140. package/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
  1141. package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
  1142. package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js +41 -0
  1143. package/serialization/types/CaptionStyleModel.d.ts +43 -0
  1144. package/serialization/types/CaptionStyleModel.js +74 -0
  1145. package/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
  1146. package/serialization/types/CaptionStyleModelTextAlign.js +41 -0
  1147. package/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
  1148. package/serialization/types/CaptionStyleModelTextStyle.js +41 -0
  1149. package/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
  1150. package/serialization/types/CaptionStyleModelTextWeight.js +41 -0
  1151. package/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
  1152. package/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
  1153. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
  1154. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
  1155. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
  1156. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
  1157. package/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
  1158. package/serialization/types/CaptionStyleTemplateModel.js +44 -0
  1159. package/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
  1160. package/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
  1161. package/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
  1162. package/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
  1163. package/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
  1164. package/{dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → serialization/types/CaptionStyleWordAnimationModel.js} +6 -11
  1165. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
  1166. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
  1167. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
  1168. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
  1169. package/serialization/types/ClientToolConfigInput.d.ts +4 -0
  1170. package/serialization/types/ClientToolConfigInput.js +4 -0
  1171. package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  1172. package/serialization/types/ClientToolConfigOutput.js +4 -0
  1173. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  1174. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  1175. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  1176. package/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
  1177. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  1178. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  1179. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
  1180. package/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +7 -2
  1181. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  1182. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  1183. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
  1184. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +46 -0
  1185. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
  1186. package/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
  1187. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
  1188. package/{dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js → serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
  1189. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
  1190. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +53 -0
  1191. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
  1192. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
  1193. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
  1194. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
  1195. package/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
  1196. package/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
  1197. package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
  1198. package/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
  1199. package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
  1200. package/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
  1201. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  1202. package/serialization/types/ConversationInitiationSource.js +1 -0
  1203. package/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
  1204. package/serialization/types/ConversationInitiationSourceInfo.js +45 -0
  1205. package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  1206. package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
  1207. package/serialization/types/ConversationSummaryResponseModel.js +2 -0
  1208. package/serialization/types/ConversationalConfig.d.ts +1 -1
  1209. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  1210. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
  1211. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  1212. package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  1213. package/serialization/types/CustomLlm.d.ts +1 -0
  1214. package/serialization/types/CustomLlm.js +1 -0
  1215. package/serialization/types/DubbedSegment.d.ts +2 -0
  1216. package/serialization/types/DubbedSegment.js +2 -0
  1217. package/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
  1218. package/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
  1219. package/serialization/types/DubbingMetadataResponse.d.ts +2 -0
  1220. package/serialization/types/DubbingMetadataResponse.js +2 -0
  1221. package/serialization/types/DynamicVariableAssignment.d.ts +14 -0
  1222. package/serialization/types/DynamicVariableAssignment.js +45 -0
  1223. package/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
  1224. package/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
  1225. package/serialization/types/EndCallToolResultModel.d.ts +14 -0
  1226. package/serialization/types/EndCallToolResultModel.js +45 -0
  1227. package/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  1228. package/serialization/types/FeaturesUsageCommonModel.js +4 -0
  1229. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  1230. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
  1231. package/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
  1232. package/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
  1233. package/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
  1234. package/serialization/types/LanguageDetectionToolResultModel.js +45 -0
  1235. package/serialization/types/Llm.d.ts +1 -1
  1236. package/serialization/types/Llm.js +4 -0
  1237. package/serialization/types/McpToolConfigInput.d.ts +4 -0
  1238. package/serialization/types/McpToolConfigInput.js +4 -0
  1239. package/serialization/types/McpToolConfigOutput.d.ts +4 -0
  1240. package/serialization/types/McpToolConfigOutput.js +4 -0
  1241. package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
  1242. package/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
  1243. package/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
  1244. package/serialization/types/PlayDtmfResultErrorModel.js +45 -0
  1245. package/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
  1246. package/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
  1247. package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  1248. package/serialization/types/ProjectExtendedResponse.js +3 -0
  1249. package/serialization/types/ProjectResponse.d.ts +3 -0
  1250. package/serialization/types/ProjectResponse.js +3 -0
  1251. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  1252. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  1253. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  1254. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  1255. package/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
  1256. package/serialization/types/PromptAgentApiModelOverride.js +1 -0
  1257. package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
  1258. package/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
  1259. package/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
  1260. package/serialization/types/SaveVoicePreviewRequest.js +41 -0
  1261. package/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
  1262. package/serialization/types/SegmentSubtitleFrame.js +45 -0
  1263. package/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
  1264. package/serialization/types/SkipTurnToolResponseModel.js +44 -0
  1265. package/serialization/types/SpeakerSegment.d.ts +2 -0
  1266. package/serialization/types/SpeakerSegment.js +2 -0
  1267. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  1268. package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  1269. package/serialization/types/SystemToolConfigInput.d.ts +4 -0
  1270. package/serialization/types/SystemToolConfigInput.js +4 -0
  1271. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  1272. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  1273. package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  1274. package/serialization/types/SystemToolConfigOutput.js +4 -0
  1275. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  1276. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  1277. package/serialization/types/TokenResponseModel.d.ts +12 -0
  1278. package/serialization/types/TokenResponseModel.js +43 -0
  1279. package/serialization/types/Tool.d.ts +3 -0
  1280. package/serialization/types/Tool.js +3 -0
  1281. package/serialization/types/ToolResponseModel.d.ts +2 -0
  1282. package/serialization/types/ToolResponseModel.js +2 -0
  1283. package/serialization/types/ToolType.d.ts +10 -0
  1284. package/serialization/types/ToolType.js +41 -0
  1285. package/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
  1286. package/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
  1287. package/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
  1288. package/serialization/types/TransferToAgentToolResultErrorModel.js +45 -0
  1289. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
  1290. package/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
  1291. package/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
  1292. package/serialization/types/TransferToNumberResultErrorModel.js +45 -0
  1293. package/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
  1294. package/serialization/types/TransferToNumberResultSipSuccessModel.js +46 -0
  1295. package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
  1296. package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
  1297. package/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
  1298. package/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
  1299. package/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
  1300. package/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
  1301. package/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
  1302. package/serialization/types/VoicemailDetectionToolConfig.js +43 -0
  1303. package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  1304. package/serialization/types/WebhookToolConfigInput.js +4 -0
  1305. package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  1306. package/serialization/types/WebhookToolConfigOutput.js +4 -0
  1307. package/serialization/types/WidgetConfig.d.ts +2 -0
  1308. package/serialization/types/WidgetConfig.js +2 -0
  1309. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1310. package/serialization/types/WidgetConfigResponse.js +2 -0
  1311. package/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
  1312. package/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
  1313. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
  1314. package/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
  1315. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
  1316. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
  1317. package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
  1318. package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
  1319. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1320. package/serialization/types/WorkspaceResourceType.js +1 -0
  1321. package/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
  1322. package/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
  1323. package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
  1324. package/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
  1325. package/serialization/types/index.d.ts +54 -21
  1326. package/serialization/types/index.js +54 -21
  1327. package/version.d.ts +1 -1
  1328. package/version.js +1 -1
  1329. package/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
  1330. package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
  1331. package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  1332. package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
  1333. package/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
  1334. package/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
  1335. package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
  1336. package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
  1337. package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  1338. package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
  1339. package/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
  1340. package/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
  1341. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
  1342. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
  1343. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
  1344. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
  1345. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
  1346. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
  1347. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
  1348. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
  1349. package/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
  1350. package/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
  1351. package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
  1352. package/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
  1353. package/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
  1354. package/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
  1355. package/dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
  1356. package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
  1357. package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  1358. package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
  1359. package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
  1360. package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
  1361. package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
  1362. package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
  1363. package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  1364. package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
  1365. package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
  1366. package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
  1367. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
  1368. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
  1369. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
  1370. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
  1371. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
  1372. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
  1373. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
  1374. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
  1375. package/dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
  1376. package/dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
  1377. package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
  1378. package/dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
  1379. package/dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
  1380. package/dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
  1381. package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
  1382. package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
  1383. package/dist/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
  1384. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  1385. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
  1386. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
  1387. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  1388. package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
  1389. package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
  1390. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
  1391. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
  1392. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
  1393. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
  1394. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
  1395. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
  1396. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
  1397. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
  1398. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
  1399. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
  1400. package/dist/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
  1401. package/dist/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
  1402. package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
  1403. package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
  1404. package/dist/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
  1405. package/dist/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
  1406. package/dist/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
  1407. package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
  1408. package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
  1409. package/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
  1410. package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  1411. package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -41
  1412. package/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
  1413. package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
  1414. package/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  1415. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
  1416. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
  1417. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js +0 -45
  1418. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
  1419. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
  1420. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
  1421. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
  1422. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
  1423. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js +0 -51
  1424. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
  1425. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
  1426. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
  1427. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
  1428. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
  1429. package/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
  1430. package/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
  1431. package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
  1432. package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
  1433. package/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
  1434. package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
  1435. package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js +0 -43
  1436. package/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
  1437. /package/api/resources/{textToVoice/client/requests/SaveVoicePreviewRequest.js → conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js} +0 -0
  1438. /package/api/{types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → resources/dubbing/client/requests/DubbingListRequest.js} +0 -0
  1439. /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +0 -0
  1440. /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js} +0 -0
  1441. /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js} +0 -0
  1442. /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js} +0 -0
  1443. /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → resources/speechToText/types/SpeechToTextConvertResponse.js} +0 -0
  1444. /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → AgentTestingSettings.js} +0 -0
  1445. /package/api/types/{BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → CaptionStyleCharacterAnimationModel.js} +0 -0
  1446. /package/api/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → CaptionStyleHorizontalPlacementModel.js} +0 -0
  1447. /package/api/types/{BodyEditProjectContentV1ProjectsProjectIdContentPost.js → CaptionStyleModel.js} +0 -0
  1448. /package/api/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleSectionAnimationModel.js} +0 -0
  1449. /package/api/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → CaptionStyleTemplateModel.js} +0 -0
  1450. /package/api/types/{ConversationHistoryTranscriptToolResultCommonModel.js → CaptionStyleVerticalPlacementModel.js} +0 -0
  1451. /package/{dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js → api/types/CaptionStyleWordAnimationModel.js} +0 -0
  1452. /package/{dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +0 -0
  1453. /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +0 -0
  1454. /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +0 -0
  1455. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +0 -0
  1456. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js} +0 -0
  1457. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → api/types/ConversationInitiationSourceInfo.js} +0 -0
  1458. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → api/types/DubbingMetadataPageResponseModel.js} +0 -0
  1459. /package/{dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → api/types/DynamicVariableAssignment.js} +0 -0
  1460. /package/{dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → api/types/DynamicVariableUpdateCommonModel.js} +0 -0
  1461. /package/{dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js → api/types/EndCallToolResultModel.js} +0 -0
  1462. /package/{dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → api/types/LanguageDetectionToolResultModel.js} +0 -0
  1463. /package/{dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → api/types/MultichannelSpeechToTextResponseModel.js} +0 -0
  1464. /package/{dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.js → api/types/PlayDtmfResultErrorModel.js} +0 -0
@@ -89,7 +89,7 @@ class Conversations {
89
89
  const _queryParams = {};
90
90
  _queryParams["agent_id"] = agentId;
91
91
  const _response = yield core.fetcher({
92
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/conversation/get-signed-url"),
92
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/get-signed-url"),
93
93
  method: "GET",
94
94
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
95
  queryParameters: _queryParams,
@@ -142,6 +142,93 @@ class Conversations {
142
142
  }
143
143
  });
144
144
  }
145
+ /**
146
+ * Get a WebRTC session token for real-time communication.
147
+ *
148
+ * @param {ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest} request
149
+ * @param {Conversations.RequestOptions} requestOptions - Request-specific configuration.
150
+ *
151
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
152
+ *
153
+ * @example
154
+ * await client.conversationalAi.conversations.getWebrtcToken({
155
+ * agentId: "21m00Tcm4TlvDq8ikWAM"
156
+ * })
157
+ */
158
+ getWebrtcToken(request, requestOptions) {
159
+ return core.HttpResponsePromise.fromPromise(this.__getWebrtcToken(request, requestOptions));
160
+ }
161
+ __getWebrtcToken(request, requestOptions) {
162
+ return __awaiter(this, void 0, void 0, function* () {
163
+ var _a, _b, _c;
164
+ const { agentId, participantName, source, version } = request;
165
+ const _queryParams = {};
166
+ _queryParams["agent_id"] = agentId;
167
+ if (participantName != null) {
168
+ _queryParams["participant_name"] = participantName;
169
+ }
170
+ if (source != null) {
171
+ _queryParams["source"] = serializers.ConversationInitiationSource.jsonOrThrow(source, {
172
+ unrecognizedObjectKeys: "strip",
173
+ });
174
+ }
175
+ if (version != null) {
176
+ _queryParams["version"] = version;
177
+ }
178
+ const _response = yield core.fetcher({
179
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/token"),
180
+ method: "GET",
181
+ headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
+ queryParameters: _queryParams,
183
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
184
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
185
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
186
+ });
187
+ if (_response.ok) {
188
+ return {
189
+ data: serializers.TokenResponseModel.parseOrThrow(_response.body, {
190
+ unrecognizedObjectKeys: "passthrough",
191
+ allowUnrecognizedUnionMembers: true,
192
+ allowUnrecognizedEnumValues: true,
193
+ breadcrumbsPrefix: ["response"],
194
+ }),
195
+ rawResponse: _response.rawResponse,
196
+ };
197
+ }
198
+ if (_response.error.reason === "status-code") {
199
+ switch (_response.error.statusCode) {
200
+ case 422:
201
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
202
+ unrecognizedObjectKeys: "passthrough",
203
+ allowUnrecognizedUnionMembers: true,
204
+ allowUnrecognizedEnumValues: true,
205
+ breadcrumbsPrefix: ["response"],
206
+ }), _response.rawResponse);
207
+ default:
208
+ throw new errors.ElevenLabsError({
209
+ statusCode: _response.error.statusCode,
210
+ body: _response.error.body,
211
+ rawResponse: _response.rawResponse,
212
+ });
213
+ }
214
+ }
215
+ switch (_response.error.reason) {
216
+ case "non-json":
217
+ throw new errors.ElevenLabsError({
218
+ statusCode: _response.error.statusCode,
219
+ body: _response.error.rawBody,
220
+ rawResponse: _response.rawResponse,
221
+ });
222
+ case "timeout":
223
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/convai/conversation/token.");
224
+ case "unknown":
225
+ throw new errors.ElevenLabsError({
226
+ message: _response.error.errorMessage,
227
+ rawResponse: _response.rawResponse,
228
+ });
229
+ }
230
+ });
231
+ }
145
232
  /**
146
233
  * Get all conversations of agents that user owns. With option to restrict to a specific agent.
147
234
  *
@@ -159,7 +246,7 @@ class Conversations {
159
246
  __list() {
160
247
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
161
248
  var _a, _b, _c;
162
- const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, pageSize } = request;
249
+ const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, userId, pageSize, summaryMode, } = request;
163
250
  const _queryParams = {};
164
251
  if (cursor != null) {
165
252
  _queryParams["cursor"] = cursor;
@@ -178,11 +265,17 @@ class Conversations {
178
265
  if (callStartAfterUnix != null) {
179
266
  _queryParams["call_start_after_unix"] = callStartAfterUnix.toString();
180
267
  }
268
+ if (userId != null) {
269
+ _queryParams["user_id"] = userId;
270
+ }
181
271
  if (pageSize != null) {
182
272
  _queryParams["page_size"] = pageSize.toString();
183
273
  }
274
+ if (summaryMode != null) {
275
+ _queryParams["summary_mode"] = serializers.conversationalAi.ConversationsListRequestSummaryMode.jsonOrThrow(summaryMode, { unrecognizedObjectKeys: "strip" });
276
+ }
184
277
  const _response = yield core.fetcher({
185
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/conversations"),
278
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
186
279
  method: "GET",
187
280
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
281
  queryParameters: _queryParams,
@@ -253,7 +346,7 @@ class Conversations {
253
346
  return __awaiter(this, void 0, void 0, function* () {
254
347
  var _a, _b, _c;
255
348
  const _response = yield core.fetcher({
256
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/conversations/${encodeURIComponent(conversationId)}`),
349
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${encodeURIComponent(conversationId)}`),
257
350
  method: "GET",
258
351
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
259
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -323,7 +416,7 @@ class Conversations {
323
416
  return __awaiter(this, void 0, void 0, function* () {
324
417
  var _a, _b, _c;
325
418
  const _response = yield core.fetcher({
326
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/conversations/${encodeURIComponent(conversationId)}`),
419
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${encodeURIComponent(conversationId)}`),
327
420
  method: "DELETE",
328
421
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
422
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * agentId: "21m00Tcm4TlvDq8ikWAM"
9
+ * }
10
+ */
11
+ export interface ConversationsGetWebrtcTokenRequest {
12
+ /**
13
+ * The id of the agent you're taking the action on.
14
+ */
15
+ agentId: string;
16
+ /**
17
+ * Optional custom participant name. If not provided, user ID will be used
18
+ */
19
+ participantName?: string;
20
+ /**
21
+ * The source of the conversation initiation.
22
+ */
23
+ source?: ElevenLabs.ConversationInitiationSource;
24
+ /**
25
+ * The SDK version number
26
+ */
27
+ version?: string;
28
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,8 +27,16 @@ export interface ConversationsListRequest {
27
27
  * Unix timestamp (in seconds) to filter conversations after to this start date.
28
28
  */
29
29
  callStartAfterUnix?: number;
30
+ /**
31
+ * Filter conversations by the user ID who initiated them.
32
+ */
33
+ userId?: string;
30
34
  /**
31
35
  * How many conversations to return at maximum. Can not exceed 100, defaults to 30.
32
36
  */
33
37
  pageSize?: number;
38
+ /**
39
+ * Whether to include transcript summaries in the response.
40
+ */
41
+ summaryMode?: ElevenLabs.conversationalAi.ConversationsListRequestSummaryMode;
34
42
  }
@@ -1,2 +1,3 @@
1
1
  export { type ConversationsGetSignedUrlRequest } from "./ConversationsGetSignedUrlRequest";
2
+ export { type ConversationsGetWebrtcTokenRequest } from "./ConversationsGetWebrtcTokenRequest";
2
3
  export { type ConversationsListRequest } from "./ConversationsListRequest";
@@ -1,2 +1,3 @@
1
+ export * from "./types";
1
2
  export * from "./client";
2
3
  export * from "./resources";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
18
19
  __exportStar(require("./resources"), exports);
@@ -5,7 +5,7 @@ import * as environments from "../../../../../../../../environments";
5
5
  import * as core from "../../../../../../../../core";
6
6
  export declare namespace Audio {
7
7
  interface Options {
8
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
8
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
9
9
  /** Specify a custom URL to connect the client to. */
10
10
  baseUrl?: core.Supplier<string>;
11
11
  /** Override the xi-api-key header */
@@ -67,7 +67,7 @@ class Audio {
67
67
  return __awaiter(this, void 0, void 0, function* () {
68
68
  var _a, _b, _c;
69
69
  const _response = yield core.fetcher({
70
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/conversations/${encodeURIComponent(conversationId)}/audio`),
70
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${encodeURIComponent(conversationId)}/audio`),
71
71
  method: "GET",
72
72
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
73
  responseType: "streaming",
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
6
6
  import * as ElevenLabs from "../../../../../../../index";
7
7
  export declare namespace Feedback {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -77,7 +77,7 @@ class Feedback {
77
77
  return __awaiter(this, void 0, void 0, function* () {
78
78
  var _a, _b, _c;
79
79
  const _response = yield core.fetcher({
80
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/conversations/${encodeURIComponent(conversationId)}/feedback`),
80
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${encodeURIComponent(conversationId)}/feedback`),
81
81
  method: "POST",
82
82
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Whether to include transcript summaries in the response.
6
+ */
7
+ export type ConversationsListRequestSummaryMode = "exclude" | "include";
8
+ export declare const ConversationsListRequestSummaryMode: {
9
+ readonly Exclude: "exclude";
10
+ readonly Include: "include";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ConversationsListRequestSummaryMode = void 0;
7
+ exports.ConversationsListRequestSummaryMode = {
8
+ Exclude: "exclude",
9
+ Include: "include",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./ConversationsListRequestSummaryMode";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ConversationsListRequestSummaryMode"), exports);
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
6
6
  import { Settings } from "../resources/settings/client/Client";
7
7
  export declare namespace Dashboard {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
6
6
  import * as ElevenLabs from "../../../../../../../index";
7
7
  export declare namespace Settings {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -73,7 +73,7 @@ class Settings {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
74
  var _a, _b, _c;
75
75
  const _response = yield core.fetcher({
76
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/settings/dashboard"),
76
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/settings/dashboard"),
77
77
  method: "GET",
78
78
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -143,7 +143,7 @@ class Settings {
143
143
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
144
144
  var _a, _b, _c;
145
145
  const _response = yield core.fetcher({
146
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/settings/dashboard"),
146
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/settings/dashboard"),
147
147
  method: "PATCH",
148
148
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
149
  contentType: "application/json",
@@ -1,8 +1,9 @@
1
+ export * as conversations from "./conversations";
2
+ export * from "./conversations/types";
1
3
  export * as phoneNumbers from "./phoneNumbers";
2
4
  export * from "./phoneNumbers/types";
3
5
  export * as dashboard from "./dashboard";
4
6
  export * as knowledgeBase from "./knowledgeBase";
5
- export * as conversations from "./conversations";
6
7
  export * as twilio from "./twilio";
7
8
  export * as agents from "./agents";
8
9
  export * as llmUsage from "./llmUsage";
@@ -36,12 +36,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.mcpServers = exports.sipTrunk = exports.batchCalls = exports.secrets = exports.settings = exports.tools = exports.llmUsage = exports.agents = exports.twilio = exports.conversations = exports.knowledgeBase = exports.dashboard = exports.phoneNumbers = void 0;
39
+ exports.mcpServers = exports.sipTrunk = exports.batchCalls = exports.secrets = exports.settings = exports.tools = exports.llmUsage = exports.agents = exports.twilio = exports.knowledgeBase = exports.dashboard = exports.phoneNumbers = exports.conversations = void 0;
40
+ exports.conversations = __importStar(require("./conversations"));
41
+ __exportStar(require("./conversations/types"), exports);
40
42
  exports.phoneNumbers = __importStar(require("./phoneNumbers"));
41
43
  __exportStar(require("./phoneNumbers/types"), exports);
42
44
  exports.dashboard = __importStar(require("./dashboard"));
43
45
  exports.knowledgeBase = __importStar(require("./knowledgeBase"));
44
- exports.conversations = __importStar(require("./conversations"));
45
46
  exports.twilio = __importStar(require("./twilio"));
46
47
  exports.agents = __importStar(require("./agents"));
47
48
  exports.llmUsage = __importStar(require("./llmUsage"));
@@ -8,7 +8,7 @@ import { Documents } from "../resources/documents/client/Client";
8
8
  import { Document } from "../resources/document/client/Client";
9
9
  export declare namespace KnowledgeBase {
10
10
  interface Options {
11
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
11
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
12
12
  /** Specify a custom URL to connect the client to. */
13
13
  baseUrl?: core.Supplier<string>;
14
14
  /** Override the xi-api-key header */
@@ -111,7 +111,7 @@ class KnowledgeBase {
111
111
  _queryParams["use_typesense"] = useTypesense.toString();
112
112
  }
113
113
  const _response = yield core.fetcher({
114
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/knowledge-base"),
114
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base"),
115
115
  method: "GET",
116
116
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  queryParameters: _queryParams,
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
6
6
  import * as ElevenLabs from "../../../../../../../index";
7
7
  export declare namespace Document {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -77,7 +77,7 @@ class Document {
77
77
  return __awaiter(this, void 0, void 0, function* () {
78
78
  var _a, _b, _c;
79
79
  const _response = yield core.fetcher({
80
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/rag-index`),
80
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/rag-index`),
81
81
  method: "POST",
82
82
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
@@ -7,7 +7,7 @@ import * as ElevenLabs from "../../../../../../../index";
7
7
  import { Chunk } from "../resources/chunk/client/Client";
8
8
  export declare namespace Documents {
9
9
  interface Options {
10
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
10
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
11
11
  /** Specify a custom URL to connect the client to. */
12
12
  baseUrl?: core.Supplier<string>;
13
13
  /** Override the xi-api-key header */
@@ -81,7 +81,7 @@ class Documents {
81
81
  return __awaiter(this, void 0, void 0, function* () {
82
82
  var _a, _b, _c;
83
83
  const _response = yield core.fetcher({
84
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/knowledge-base/url"),
84
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/url"),
85
85
  method: "POST",
86
86
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
@@ -162,7 +162,7 @@ class Documents {
162
162
  }
163
163
  const _maybeEncodedRequest = yield _request.getRequest();
164
164
  const _response = yield core.fetcher({
165
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/knowledge-base/file"),
165
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/file"),
166
166
  method: "POST",
167
167
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  requestType: "file",
@@ -237,7 +237,7 @@ class Documents {
237
237
  return __awaiter(this, void 0, void 0, function* () {
238
238
  var _a, _b, _c;
239
239
  const _response = yield core.fetcher({
240
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/knowledge-base/text"),
240
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/text"),
241
241
  method: "POST",
242
242
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
@@ -316,7 +316,7 @@ class Documents {
316
316
  _queryParams["agent_id"] = agentId;
317
317
  }
318
318
  const _response = yield core.fetcher({
319
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
319
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
320
320
  method: "GET",
321
321
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
322
  queryParameters: _queryParams,
@@ -393,7 +393,7 @@ class Documents {
393
393
  _queryParams["force"] = force.toString();
394
394
  }
395
395
  const _response = yield core.fetcher({
396
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
396
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
397
397
  method: "DELETE",
398
398
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
399
399
  queryParameters: _queryParams,
@@ -459,7 +459,7 @@ class Documents {
459
459
  return __awaiter(this, void 0, void 0, function* () {
460
460
  var _a, _b, _c;
461
461
  const _response = yield core.fetcher({
462
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
462
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}`),
463
463
  method: "PATCH",
464
464
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
465
465
  contentType: "application/json",
@@ -541,7 +541,7 @@ class Documents {
541
541
  _queryParams["page_size"] = pageSize.toString();
542
542
  }
543
543
  const _response = yield core.fetcher({
544
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/dependent-agents`),
544
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/dependent-agents`),
545
545
  method: "GET",
546
546
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
547
547
  queryParameters: _queryParams,
@@ -612,7 +612,7 @@ class Documents {
612
612
  return __awaiter(this, void 0, void 0, function* () {
613
613
  var _a, _b, _c;
614
614
  const _response = yield core.fetcher({
615
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/content`),
615
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/content`),
616
616
  method: "GET",
617
617
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
618
618
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../../../core";
6
6
  import * as ElevenLabs from "../../../../../../../../../index";
7
7
  export declare namespace Chunk {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -75,7 +75,7 @@ class Chunk {
75
75
  return __awaiter(this, void 0, void 0, function* () {
76
76
  var _a, _b, _c;
77
77
  const _response = yield core.fetcher({
78
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/chunk/${encodeURIComponent(chunkId)}`),
78
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${encodeURIComponent(documentationId)}/chunk/${encodeURIComponent(chunkId)}`),
79
79
  method: "GET",
80
80
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
6
6
  import * as ElevenLabs from "../../../../../index";
7
7
  export declare namespace LlmUsage {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
9
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  /** Override the xi-api-key header */
@@ -78,7 +78,7 @@ class LlmUsage {
78
78
  return __awaiter(this, void 0, void 0, function* () {
79
79
  var _a, _b, _c;
80
80
  const _response = yield core.fetcher({
81
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/llm-usage/calculate"),
81
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/llm-usage/calculate"),
82
82
  method: "POST",
83
83
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
@@ -9,7 +9,7 @@ import { ApprovalPolicy } from "../resources/approvalPolicy/client/Client";
9
9
  import { ToolApprovals } from "../resources/toolApprovals/client/Client";
10
10
  export declare namespace McpServers {
11
11
  interface Options {
12
- environment?: core.Supplier<environments.ElevenLabsEnvironment | environments.ElevenLabsEnvironmentUrls>;
12
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
13
13
  /** Specify a custom URL to connect the client to. */
14
14
  baseUrl?: core.Supplier<string>;
15
15
  /** Override the xi-api-key header */
@@ -88,7 +88,7 @@ class McpServers {
88
88
  return __awaiter(this, void 0, void 0, function* () {
89
89
  var _a, _b, _c;
90
90
  const _response = yield core.fetcher({
91
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/mcp-servers"),
91
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/mcp-servers"),
92
92
  method: "GET",
93
93
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
@@ -163,7 +163,7 @@ class McpServers {
163
163
  return __awaiter(this, void 0, void 0, function* () {
164
164
  var _a, _b, _c;
165
165
  const _response = yield core.fetcher({
166
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/convai/mcp-servers"),
166
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/mcp-servers"),
167
167
  method: "POST",
168
168
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
@@ -238,7 +238,7 @@ class McpServers {
238
238
  return __awaiter(this, void 0, void 0, function* () {
239
239
  var _a, _b, _c;
240
240
  const _response = yield core.fetcher({
241
- url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}`),
241
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${encodeURIComponent(mcpServerId)}`),
242
242
  method: "GET",
243
243
  headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
244
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,