@elevenlabs/elevenlabs-js 2.16.0 → 2.17.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 (702) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/conversationalAi/client/Client.d.ts +3 -1
  3. package/api/resources/conversationalAi/client/Client.js +3 -1
  4. package/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -1
  5. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +7 -1
  6. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -1
  7. package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  8. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  9. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -1
  10. package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +3 -1
  11. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +4 -1
  12. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +4 -1
  13. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  14. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
  15. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +14 -3
  16. package/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -3
  17. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -1
  18. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -1
  19. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +10 -1
  20. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +9 -1
  21. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +9 -1
  22. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -1
  23. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +10 -3
  24. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +10 -3
  25. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +3 -1
  26. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +4 -1
  27. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +3 -1
  28. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  29. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +5 -1
  30. package/api/resources/conversationalAi/resources/tests/client/Client.js +5 -1
  31. package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  32. package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +5 -1
  33. package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  34. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +17 -0
  35. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +84 -0
  36. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +25 -0
  37. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  38. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +4 -1
  39. package/api/resources/conversationalAi/resources/tools/client/Client.js +4 -1
  40. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +4 -1
  41. package/api/resources/dubbing/client/Client.d.ts +8 -1
  42. package/api/resources/dubbing/client/Client.js +9 -2
  43. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +3 -2
  44. package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -1
  45. package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +11 -0
  46. package/api/resources/dubbing/types/DubbingCreateRequestMode.js +10 -0
  47. package/api/resources/dubbing/types/index.d.ts +1 -0
  48. package/api/resources/dubbing/types/index.js +1 -0
  49. package/api/resources/history/client/Client.d.ts +11 -1
  50. package/api/resources/history/client/Client.js +11 -1
  51. package/api/resources/history/client/requests/HistoryListRequest.d.ts +11 -1
  52. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +7 -4
  53. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -1
  54. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -1
  55. package/api/resources/pronunciationDictionaries/client/Client.d.ts +6 -1
  56. package/api/resources/pronunciationDictionaries/client/Client.js +6 -1
  57. package/api/resources/pronunciationDictionaries/client/requests/PronunciationDictionariesListRequest.d.ts +6 -1
  58. package/api/resources/speechToText/client/Client.d.ts +1 -0
  59. package/api/resources/speechToText/client/Client.js +1 -0
  60. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  61. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +8 -0
  62. package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  63. package/api/resources/studio/resources/projects/client/Client.js +3 -1
  64. package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +3 -1
  65. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
  66. package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +3 -2
  67. package/api/resources/studio/types/index.d.ts +1 -0
  68. package/api/resources/studio/types/index.js +1 -0
  69. package/api/resources/textToSpeech/client/Client.d.ts +4 -1
  70. package/api/resources/textToSpeech/client/Client.js +4 -1
  71. package/api/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +4 -2
  72. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +5 -0
  73. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
  74. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -0
  75. package/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
  76. package/api/resources/textToSpeech/types/{BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts → BodyTextToSpeechFullApplyTextNormalization.d.ts} +2 -2
  77. package/api/resources/textToSpeech/types/{BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → BodyTextToSpeechFullApplyTextNormalization.js} +2 -2
  78. package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts → api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts} +2 -2
  79. package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js} +2 -2
  80. package/api/resources/textToSpeech/types/index.d.ts +2 -2
  81. package/api/resources/textToSpeech/types/index.js +2 -2
  82. package/api/resources/textToVoice/client/Client.d.ts +3 -0
  83. package/api/resources/textToVoice/client/Client.js +3 -0
  84. package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  85. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  86. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -0
  87. package/api/resources/usage/client/Client.d.ts +6 -1
  88. package/api/resources/usage/client/Client.js +6 -1
  89. package/api/resources/usage/client/requests/UsageGetRequest.d.ts +6 -1
  90. package/api/resources/voices/client/Client.d.ts +30 -3
  91. package/api/resources/voices/client/Client.js +30 -3
  92. package/api/resources/voices/client/requests/VoicesGetAllRequest.d.ts +3 -1
  93. package/api/resources/voices/client/requests/VoicesGetRequest.d.ts +3 -1
  94. package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +15 -1
  95. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +9 -0
  96. package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
  97. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +1 -1
  98. package/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +2 -0
  99. package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  100. package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  101. package/api/types/AstAndOperatorNode.d.ts +7 -0
  102. package/api/types/AstAndOperatorNode.js +5 -0
  103. package/api/types/AstAndOperatorNodeChildrenItem.d.ts +46 -0
  104. package/api/types/AstAndOperatorNodeChildrenItem.js +5 -0
  105. package/api/types/AstBooleanNode.d.ts +6 -0
  106. package/api/types/AstBooleanNode.js +5 -0
  107. package/api/types/AstDynamicVariableNode.d.ts +6 -0
  108. package/api/types/AstDynamicVariableNode.js +5 -0
  109. package/api/types/AstEqualsOperatorNode.d.ts +8 -0
  110. package/api/types/AstEqualsOperatorNode.js +5 -0
  111. package/api/types/AstEqualsOperatorNodeLeft.d.ts +46 -0
  112. package/api/types/AstEqualsOperatorNodeLeft.js +5 -0
  113. package/api/types/AstEqualsOperatorNodeRight.d.ts +46 -0
  114. package/api/types/AstEqualsOperatorNodeRight.js +5 -0
  115. package/api/types/AstGreaterThanOperatorNode.d.ts +8 -0
  116. package/api/types/AstGreaterThanOperatorNode.js +5 -0
  117. package/api/types/AstGreaterThanOperatorNodeLeft.d.ts +46 -0
  118. package/api/types/AstGreaterThanOperatorNodeLeft.js +5 -0
  119. package/api/types/AstGreaterThanOperatorNodeRight.d.ts +46 -0
  120. package/api/types/AstGreaterThanOperatorNodeRight.js +5 -0
  121. package/api/types/AstGreaterThanOrEqualsOperatorNode.d.ts +8 -0
  122. package/api/types/AstGreaterThanOrEqualsOperatorNode.js +5 -0
  123. package/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +46 -0
  124. package/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +5 -0
  125. package/api/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +46 -0
  126. package/api/types/AstGreaterThanOrEqualsOperatorNodeRight.js +5 -0
  127. package/api/types/AstLessThanOperatorNode.d.ts +8 -0
  128. package/api/types/AstLessThanOperatorNode.js +5 -0
  129. package/api/types/AstLessThanOperatorNodeLeft.d.ts +46 -0
  130. package/api/types/AstLessThanOperatorNodeLeft.js +5 -0
  131. package/api/types/AstLessThanOperatorNodeRight.d.ts +46 -0
  132. package/api/types/AstLessThanOperatorNodeRight.js +5 -0
  133. package/api/types/AstLessThanOrEqualsOperatorNode.d.ts +8 -0
  134. package/api/types/AstLessThanOrEqualsOperatorNode.js +5 -0
  135. package/api/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +46 -0
  136. package/api/types/AstLessThanOrEqualsOperatorNodeLeft.js +5 -0
  137. package/api/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +46 -0
  138. package/api/types/AstLessThanOrEqualsOperatorNodeRight.js +5 -0
  139. package/api/types/AstNotEqualsOperatorNode.d.ts +8 -0
  140. package/api/types/AstNotEqualsOperatorNode.js +5 -0
  141. package/api/types/AstNotEqualsOperatorNodeLeft.d.ts +46 -0
  142. package/api/types/AstNotEqualsOperatorNodeLeft.js +5 -0
  143. package/api/types/AstNotEqualsOperatorNodeRight.d.ts +46 -0
  144. package/api/types/AstNotEqualsOperatorNodeRight.js +5 -0
  145. package/api/types/AstNumberNode.d.ts +6 -0
  146. package/api/types/AstNumberNode.js +5 -0
  147. package/api/types/AstOrOperatorNode.d.ts +7 -0
  148. package/api/types/AstOrOperatorNode.js +5 -0
  149. package/api/types/AstOrOperatorNodeChildrenItem.d.ts +46 -0
  150. package/api/types/AstOrOperatorNodeChildrenItem.js +5 -0
  151. package/api/types/AstStringNode.d.ts +6 -0
  152. package/api/types/AstStringNode.js +5 -0
  153. package/api/types/AstllmNode.d.ts +6 -0
  154. package/api/types/AstllmNode.js +5 -0
  155. package/api/types/ConversationChargingCommonModel.d.ts +2 -0
  156. package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  157. package/api/types/GetTestInvocationsPageResponseModel.d.ts +12 -0
  158. package/api/types/GetTestInvocationsPageResponseModel.js +5 -0
  159. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  160. package/api/types/GetUnitTestResponseModel.d.ts +2 -0
  161. package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  162. package/api/types/ListResponseMeta.d.ts +8 -0
  163. package/api/types/ListResponseMeta.js +5 -0
  164. package/api/types/McpServerConfigInput.d.ts +2 -0
  165. package/api/types/McpServerConfigOutput.d.ts +2 -0
  166. package/api/types/MusicPrompt.d.ts +2 -2
  167. package/api/types/PromptAgentApiModelInput.d.ts +1 -1
  168. package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  169. package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +1 -1
  170. package/api/types/SongSection.d.ts +2 -2
  171. package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
  172. package/api/types/TestFromConversationMetadataInput.d.ts +10 -0
  173. package/api/types/TestFromConversationMetadataInput.js +5 -0
  174. package/api/types/TestFromConversationMetadataOutput.d.ts +10 -0
  175. package/api/types/TestFromConversationMetadataOutput.js +5 -0
  176. package/api/types/TestInvocationSummaryResponseModel.d.ts +22 -0
  177. package/api/types/TestInvocationSummaryResponseModel.js +5 -0
  178. package/api/types/TextToSpeechRequest.d.ts +4 -0
  179. package/api/types/TextToSpeechRequest.js +5 -0
  180. package/api/types/WorkflowEdgeModelBackwardCondition.d.ts +4 -1
  181. package/api/types/WorkflowEdgeModelForwardCondition.d.ts +4 -1
  182. package/api/types/WorkflowEndNodeModel.d.ts +2 -0
  183. package/api/types/WorkflowExpressionConditionModel.d.ts +8 -0
  184. package/api/types/WorkflowExpressionConditionModel.js +5 -0
  185. package/api/types/WorkflowExpressionConditionModelExpression.d.ts +46 -0
  186. package/api/types/WorkflowExpressionConditionModelExpression.js +5 -0
  187. package/api/types/WorkflowOverrideAgentNodeModel.d.ts +2 -0
  188. package/api/types/WorkflowPhoneNumberNodeModel.d.ts +2 -0
  189. package/api/types/WorkflowStandaloneAgentNodeModel.d.ts +2 -0
  190. package/api/types/WorkflowStartNodeModel.d.ts +2 -0
  191. package/api/types/WorkflowToolNodeModel.d.ts +2 -0
  192. package/api/types/index.d.ts +35 -0
  193. package/api/types/index.js +35 -0
  194. package/dist/Client.js +2 -2
  195. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -1
  196. package/dist/api/resources/conversationalAi/client/Client.js +3 -1
  197. package/dist/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -1
  198. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +7 -1
  199. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -1
  200. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
  201. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
  202. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -1
  203. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +3 -1
  204. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +4 -1
  205. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +4 -1
  206. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  207. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
  208. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +14 -3
  209. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -3
  210. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -1
  211. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -1
  212. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +10 -1
  213. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +9 -1
  214. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +9 -1
  215. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -1
  216. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +10 -3
  217. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +10 -3
  218. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +3 -1
  219. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +4 -1
  220. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +3 -1
  221. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
  222. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +5 -1
  223. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +5 -1
  224. package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  225. package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +5 -1
  226. package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  227. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +17 -0
  228. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +84 -0
  229. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +25 -0
  230. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.js +5 -0
  231. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  232. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +4 -1
  233. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +4 -1
  234. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +4 -1
  235. package/dist/api/resources/dubbing/client/Client.d.ts +8 -1
  236. package/dist/api/resources/dubbing/client/Client.js +9 -2
  237. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +3 -2
  238. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -1
  239. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +11 -0
  240. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +10 -0
  241. package/dist/api/resources/dubbing/types/index.d.ts +1 -0
  242. package/dist/api/resources/dubbing/types/index.js +1 -0
  243. package/dist/api/resources/history/client/Client.d.ts +11 -1
  244. package/dist/api/resources/history/client/Client.js +11 -1
  245. package/dist/api/resources/history/client/requests/HistoryListRequest.d.ts +11 -1
  246. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +7 -4
  247. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -1
  248. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -1
  249. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +6 -1
  250. package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -1
  251. package/dist/api/resources/pronunciationDictionaries/client/requests/PronunciationDictionariesListRequest.d.ts +6 -1
  252. package/dist/api/resources/speechToText/client/Client.d.ts +1 -0
  253. package/dist/api/resources/speechToText/client/Client.js +1 -0
  254. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
  255. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +8 -0
  256. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
  257. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -1
  258. package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +3 -1
  259. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
  260. package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +3 -2
  261. package/dist/api/resources/studio/types/index.d.ts +1 -0
  262. package/dist/api/resources/studio/types/index.js +1 -0
  263. package/dist/api/resources/textToSpeech/client/Client.d.ts +4 -1
  264. package/dist/api/resources/textToSpeech/client/Client.js +4 -1
  265. package/dist/api/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +4 -2
  266. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.js +5 -0
  267. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +5 -0
  268. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
  269. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -0
  270. package/dist/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
  271. package/dist/api/resources/textToSpeech/types/{BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → BodyTextToSpeechFullApplyTextNormalization.d.ts} +2 -2
  272. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +11 -0
  273. package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts} +2 -2
  274. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +11 -0
  275. package/dist/api/resources/textToSpeech/types/index.d.ts +2 -2
  276. package/dist/api/resources/textToSpeech/types/index.js +2 -2
  277. package/dist/api/resources/textToVoice/client/Client.d.ts +3 -0
  278. package/dist/api/resources/textToVoice/client/Client.js +3 -0
  279. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
  280. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
  281. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -0
  282. package/dist/api/resources/usage/client/Client.d.ts +6 -1
  283. package/dist/api/resources/usage/client/Client.js +6 -1
  284. package/dist/api/resources/usage/client/requests/UsageGetRequest.d.ts +6 -1
  285. package/dist/api/resources/voices/client/Client.d.ts +30 -3
  286. package/dist/api/resources/voices/client/Client.js +30 -3
  287. package/dist/api/resources/voices/client/requests/VoicesGetAllRequest.d.ts +3 -1
  288. package/dist/api/resources/voices/client/requests/VoicesGetRequest.d.ts +3 -1
  289. package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +15 -1
  290. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +9 -0
  291. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
  292. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +1 -1
  293. package/dist/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +2 -0
  294. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  295. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  296. package/dist/api/types/AstAndOperatorNode.d.ts +7 -0
  297. package/dist/api/types/AstAndOperatorNode.js +5 -0
  298. package/dist/api/types/AstAndOperatorNodeChildrenItem.d.ts +46 -0
  299. package/dist/api/types/AstAndOperatorNodeChildrenItem.js +5 -0
  300. package/dist/api/types/AstBooleanNode.d.ts +6 -0
  301. package/dist/api/types/AstBooleanNode.js +5 -0
  302. package/dist/api/types/AstDynamicVariableNode.d.ts +6 -0
  303. package/dist/api/types/AstDynamicVariableNode.js +5 -0
  304. package/dist/api/types/AstEqualsOperatorNode.d.ts +8 -0
  305. package/dist/api/types/AstEqualsOperatorNode.js +5 -0
  306. package/dist/api/types/AstEqualsOperatorNodeLeft.d.ts +46 -0
  307. package/dist/api/types/AstEqualsOperatorNodeLeft.js +5 -0
  308. package/dist/api/types/AstEqualsOperatorNodeRight.d.ts +46 -0
  309. package/dist/api/types/AstEqualsOperatorNodeRight.js +5 -0
  310. package/dist/api/types/AstGreaterThanOperatorNode.d.ts +8 -0
  311. package/dist/api/types/AstGreaterThanOperatorNode.js +5 -0
  312. package/dist/api/types/AstGreaterThanOperatorNodeLeft.d.ts +46 -0
  313. package/dist/api/types/AstGreaterThanOperatorNodeLeft.js +5 -0
  314. package/dist/api/types/AstGreaterThanOperatorNodeRight.d.ts +46 -0
  315. package/dist/api/types/AstGreaterThanOperatorNodeRight.js +5 -0
  316. package/dist/api/types/AstGreaterThanOrEqualsOperatorNode.d.ts +8 -0
  317. package/dist/api/types/AstGreaterThanOrEqualsOperatorNode.js +5 -0
  318. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +46 -0
  319. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +5 -0
  320. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +46 -0
  321. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeRight.js +5 -0
  322. package/dist/api/types/AstLessThanOperatorNode.d.ts +8 -0
  323. package/dist/api/types/AstLessThanOperatorNode.js +5 -0
  324. package/dist/api/types/AstLessThanOperatorNodeLeft.d.ts +46 -0
  325. package/dist/api/types/AstLessThanOperatorNodeLeft.js +5 -0
  326. package/dist/api/types/AstLessThanOperatorNodeRight.d.ts +46 -0
  327. package/dist/api/types/AstLessThanOperatorNodeRight.js +5 -0
  328. package/dist/api/types/AstLessThanOrEqualsOperatorNode.d.ts +8 -0
  329. package/dist/api/types/AstLessThanOrEqualsOperatorNode.js +5 -0
  330. package/dist/api/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +46 -0
  331. package/dist/api/types/AstLessThanOrEqualsOperatorNodeLeft.js +5 -0
  332. package/dist/api/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +46 -0
  333. package/dist/api/types/AstLessThanOrEqualsOperatorNodeRight.js +5 -0
  334. package/dist/api/types/AstNotEqualsOperatorNode.d.ts +8 -0
  335. package/dist/api/types/AstNotEqualsOperatorNode.js +5 -0
  336. package/dist/api/types/AstNotEqualsOperatorNodeLeft.d.ts +46 -0
  337. package/dist/api/types/AstNotEqualsOperatorNodeLeft.js +5 -0
  338. package/dist/api/types/AstNotEqualsOperatorNodeRight.d.ts +46 -0
  339. package/dist/api/types/AstNotEqualsOperatorNodeRight.js +5 -0
  340. package/dist/api/types/AstNumberNode.d.ts +6 -0
  341. package/dist/api/types/AstNumberNode.js +5 -0
  342. package/dist/api/types/AstOrOperatorNode.d.ts +7 -0
  343. package/dist/api/types/AstOrOperatorNode.js +5 -0
  344. package/dist/api/types/AstOrOperatorNodeChildrenItem.d.ts +46 -0
  345. package/dist/api/types/AstOrOperatorNodeChildrenItem.js +5 -0
  346. package/dist/api/types/AstStringNode.d.ts +6 -0
  347. package/dist/api/types/AstStringNode.js +5 -0
  348. package/dist/api/types/AstllmNode.d.ts +6 -0
  349. package/dist/api/types/AstllmNode.js +5 -0
  350. package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
  351. package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  352. package/dist/api/types/GetTestInvocationsPageResponseModel.d.ts +12 -0
  353. package/dist/api/types/GetTestInvocationsPageResponseModel.js +5 -0
  354. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  355. package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
  356. package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  357. package/dist/api/types/ListResponseMeta.d.ts +8 -0
  358. package/dist/api/types/ListResponseMeta.js +5 -0
  359. package/dist/api/types/McpServerConfigInput.d.ts +2 -0
  360. package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
  361. package/dist/api/types/MusicPrompt.d.ts +2 -2
  362. package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
  363. package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  364. package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +1 -1
  365. package/dist/api/types/SongSection.d.ts +2 -2
  366. package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
  367. package/dist/api/types/TestFromConversationMetadataInput.d.ts +10 -0
  368. package/dist/api/types/TestFromConversationMetadataInput.js +5 -0
  369. package/dist/api/types/TestFromConversationMetadataOutput.d.ts +10 -0
  370. package/dist/api/types/TestFromConversationMetadataOutput.js +5 -0
  371. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +22 -0
  372. package/dist/api/types/TestInvocationSummaryResponseModel.js +5 -0
  373. package/dist/api/types/TextToSpeechRequest.d.ts +4 -0
  374. package/dist/api/types/TextToSpeechRequest.js +5 -0
  375. package/dist/api/types/WorkflowEdgeModelBackwardCondition.d.ts +4 -1
  376. package/dist/api/types/WorkflowEdgeModelForwardCondition.d.ts +4 -1
  377. package/dist/api/types/WorkflowEndNodeModel.d.ts +2 -0
  378. package/dist/api/types/WorkflowExpressionConditionModel.d.ts +8 -0
  379. package/dist/api/types/WorkflowExpressionConditionModel.js +5 -0
  380. package/dist/api/types/WorkflowExpressionConditionModelExpression.d.ts +46 -0
  381. package/dist/api/types/WorkflowExpressionConditionModelExpression.js +5 -0
  382. package/dist/api/types/WorkflowOverrideAgentNodeModel.d.ts +2 -0
  383. package/dist/api/types/WorkflowPhoneNumberNodeModel.d.ts +2 -0
  384. package/dist/api/types/WorkflowStandaloneAgentNodeModel.d.ts +2 -0
  385. package/dist/api/types/WorkflowStartNodeModel.d.ts +2 -0
  386. package/dist/api/types/WorkflowToolNodeModel.d.ts +2 -0
  387. package/dist/api/types/index.d.ts +35 -0
  388. package/dist/api/types/index.js +35 -0
  389. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
  390. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -1
  391. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  392. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  393. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  394. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
  395. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  396. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
  397. package/dist/serialization/resources/dubbing/types/DubbingCreateRequestMode.d.ts +10 -0
  398. package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → dubbing/types/DubbingCreateRequestMode.js} +2 -2
  399. package/dist/serialization/resources/dubbing/types/index.d.ts +1 -0
  400. package/dist/serialization/resources/dubbing/types/index.js +1 -0
  401. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -1
  402. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -1
  403. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
  404. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
  405. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
  406. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
  407. package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +2 -0
  408. package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +2 -0
  409. package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
  410. package/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +2 -2
  411. package/dist/serialization/resources/studio/types/index.d.ts +1 -0
  412. package/dist/serialization/resources/studio/types/index.js +1 -0
  413. package/dist/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +5 -4
  414. package/dist/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.js → BodyTextToSpeechFull.js} +5 -4
  415. package/dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -0
  416. package/dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +1 -0
  417. package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -2
  418. package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.js +3 -2
  419. package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -0
  420. package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +1 -0
  421. package/dist/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
  422. package/dist/serialization/resources/textToSpeech/client/requests/index.js +3 -3
  423. package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
  424. package/{serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js} +2 -2
  425. package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +10 -0
  426. package/dist/serialization/resources/textToSpeech/types/{BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → BodyTextToSpeechStreamApplyTextNormalization.js} +2 -2
  427. package/dist/serialization/resources/textToSpeech/types/index.d.ts +2 -2
  428. package/dist/serialization/resources/textToSpeech/types/index.js +2 -2
  429. package/dist/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +1 -0
  430. package/dist/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.js +1 -0
  431. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  432. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +1 -0
  433. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  434. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +1 -0
  435. package/dist/serialization/types/AstAndOperatorNode.d.ts +12 -0
  436. package/dist/serialization/types/AstAndOperatorNode.js +44 -0
  437. package/dist/serialization/types/AstAndOperatorNodeChildrenItem.d.ts +54 -0
  438. package/dist/serialization/types/AstAndOperatorNodeChildrenItem.js +66 -0
  439. package/dist/serialization/types/AstBooleanNode.d.ts +12 -0
  440. package/dist/serialization/types/AstBooleanNode.js +43 -0
  441. package/dist/serialization/types/AstDynamicVariableNode.d.ts +12 -0
  442. package/dist/serialization/types/AstDynamicVariableNode.js +43 -0
  443. package/dist/serialization/types/AstEqualsOperatorNode.d.ts +13 -0
  444. package/dist/serialization/types/AstEqualsOperatorNode.js +45 -0
  445. package/dist/serialization/types/AstEqualsOperatorNodeLeft.d.ts +54 -0
  446. package/dist/serialization/types/AstEqualsOperatorNodeLeft.js +66 -0
  447. package/dist/serialization/types/AstEqualsOperatorNodeRight.d.ts +54 -0
  448. package/dist/serialization/types/AstEqualsOperatorNodeRight.js +66 -0
  449. package/dist/serialization/types/AstGreaterThanOperatorNode.d.ts +13 -0
  450. package/dist/serialization/types/AstGreaterThanOperatorNode.js +45 -0
  451. package/dist/serialization/types/AstGreaterThanOperatorNodeLeft.d.ts +54 -0
  452. package/dist/serialization/types/AstGreaterThanOperatorNodeLeft.js +66 -0
  453. package/dist/serialization/types/AstGreaterThanOperatorNodeRight.d.ts +54 -0
  454. package/dist/serialization/types/AstGreaterThanOperatorNodeRight.js +66 -0
  455. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNode.d.ts +13 -0
  456. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNode.js +45 -0
  457. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +54 -0
  458. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +66 -0
  459. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +54 -0
  460. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.js +66 -0
  461. package/dist/serialization/types/AstLessThanOperatorNode.d.ts +13 -0
  462. package/dist/serialization/types/AstLessThanOperatorNode.js +45 -0
  463. package/dist/serialization/types/AstLessThanOperatorNodeLeft.d.ts +54 -0
  464. package/dist/serialization/types/AstLessThanOperatorNodeLeft.js +66 -0
  465. package/dist/serialization/types/AstLessThanOperatorNodeRight.d.ts +54 -0
  466. package/dist/serialization/types/AstLessThanOperatorNodeRight.js +66 -0
  467. package/dist/serialization/types/AstLessThanOrEqualsOperatorNode.d.ts +13 -0
  468. package/dist/serialization/types/AstLessThanOrEqualsOperatorNode.js +45 -0
  469. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +54 -0
  470. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.js +66 -0
  471. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +54 -0
  472. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeRight.js +66 -0
  473. package/dist/serialization/types/AstNotEqualsOperatorNode.d.ts +13 -0
  474. package/dist/serialization/types/AstNotEqualsOperatorNode.js +45 -0
  475. package/dist/serialization/types/AstNotEqualsOperatorNodeLeft.d.ts +54 -0
  476. package/dist/serialization/types/AstNotEqualsOperatorNodeLeft.js +66 -0
  477. package/dist/serialization/types/AstNotEqualsOperatorNodeRight.d.ts +54 -0
  478. package/dist/serialization/types/AstNotEqualsOperatorNodeRight.js +66 -0
  479. package/dist/serialization/types/AstNumberNode.d.ts +12 -0
  480. package/dist/serialization/types/AstNumberNode.js +43 -0
  481. package/dist/serialization/types/AstOrOperatorNode.d.ts +12 -0
  482. package/dist/serialization/types/AstOrOperatorNode.js +44 -0
  483. package/dist/serialization/types/AstOrOperatorNodeChildrenItem.d.ts +54 -0
  484. package/dist/serialization/types/AstOrOperatorNodeChildrenItem.js +66 -0
  485. package/dist/serialization/types/AstStringNode.d.ts +12 -0
  486. package/dist/serialization/types/AstStringNode.js +43 -0
  487. package/dist/serialization/types/AstllmNode.d.ts +12 -0
  488. package/dist/serialization/types/AstllmNode.js +43 -0
  489. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
  490. package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
  491. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  492. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  493. package/dist/serialization/types/GetTestInvocationsPageResponseModel.d.ts +17 -0
  494. package/dist/serialization/types/GetTestInvocationsPageResponseModel.js +48 -0
  495. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  496. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  497. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
  498. package/dist/serialization/types/GetUnitTestResponseModel.js +2 -0
  499. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  500. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  501. package/dist/serialization/types/ListResponseMeta.d.ts +14 -0
  502. package/dist/serialization/types/ListResponseMeta.js +45 -0
  503. package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
  504. package/dist/serialization/types/McpServerConfigInput.js +1 -0
  505. package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
  506. package/dist/serialization/types/McpServerConfigOutput.js +1 -0
  507. package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
  508. package/dist/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
  509. package/dist/serialization/types/TestFromConversationMetadataInput.d.ts +16 -0
  510. package/dist/serialization/types/TestFromConversationMetadataInput.js +47 -0
  511. package/dist/serialization/types/TestFromConversationMetadataOutput.d.ts +16 -0
  512. package/dist/serialization/types/TestFromConversationMetadataOutput.js +47 -0
  513. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +20 -0
  514. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +51 -0
  515. package/dist/serialization/types/TextToSpeechRequest.d.ts +10 -0
  516. package/dist/serialization/types/TextToSpeechRequest.js +41 -0
  517. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +5 -1
  518. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.js +2 -0
  519. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +5 -1
  520. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.js +2 -0
  521. package/dist/serialization/types/WorkflowEndNodeModel.d.ts +1 -0
  522. package/dist/serialization/types/WorkflowEndNodeModel.js +1 -0
  523. package/dist/serialization/types/WorkflowExpressionConditionModel.d.ts +14 -0
  524. package/dist/serialization/types/WorkflowExpressionConditionModel.js +45 -0
  525. package/dist/serialization/types/WorkflowExpressionConditionModelExpression.d.ts +54 -0
  526. package/dist/serialization/types/WorkflowExpressionConditionModelExpression.js +66 -0
  527. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +1 -0
  528. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.js +1 -0
  529. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +1 -0
  530. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.js +1 -0
  531. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +1 -0
  532. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.js +1 -0
  533. package/dist/serialization/types/WorkflowStartNodeModel.d.ts +1 -0
  534. package/dist/serialization/types/WorkflowStartNodeModel.js +1 -0
  535. package/dist/serialization/types/WorkflowToolNodeModel.d.ts +1 -0
  536. package/dist/serialization/types/WorkflowToolNodeModel.js +1 -0
  537. package/dist/serialization/types/index.d.ts +35 -0
  538. package/dist/serialization/types/index.js +35 -0
  539. package/dist/version.d.ts +1 -1
  540. package/dist/version.js +1 -1
  541. package/dist/wrapper/ElevenLabsClient.d.ts +0 -6
  542. package/package.json +2 -2
  543. package/reference.md +199 -20
  544. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
  545. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -1
  546. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
  547. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
  548. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  549. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
  550. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  551. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
  552. package/serialization/resources/dubbing/types/DubbingCreateRequestMode.d.ts +10 -0
  553. package/serialization/resources/dubbing/types/DubbingCreateRequestMode.js +41 -0
  554. package/serialization/resources/dubbing/types/index.d.ts +1 -0
  555. package/serialization/resources/dubbing/types/index.js +1 -0
  556. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -1
  557. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -1
  558. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
  559. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
  560. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
  561. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
  562. package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +2 -0
  563. package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +2 -0
  564. package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
  565. package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js +41 -0
  566. package/serialization/resources/studio/types/index.d.ts +1 -0
  567. package/serialization/resources/studio/types/index.js +1 -0
  568. package/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +5 -4
  569. package/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.js → BodyTextToSpeechFull.js} +5 -4
  570. package/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -0
  571. package/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +1 -0
  572. package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -2
  573. package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.js +3 -2
  574. package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -0
  575. package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +1 -0
  576. package/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
  577. package/serialization/resources/textToSpeech/client/requests/index.js +3 -3
  578. package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
  579. package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +41 -0
  580. package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +10 -0
  581. package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +41 -0
  582. package/serialization/resources/textToSpeech/types/index.d.ts +2 -2
  583. package/serialization/resources/textToSpeech/types/index.js +2 -2
  584. package/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +1 -0
  585. package/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.js +1 -0
  586. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  587. package/serialization/types/AgentPlatformSettingsRequestModel.js +1 -0
  588. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  589. package/serialization/types/AgentPlatformSettingsResponseModel.js +1 -0
  590. package/serialization/types/AstAndOperatorNode.d.ts +12 -0
  591. package/serialization/types/AstAndOperatorNode.js +44 -0
  592. package/serialization/types/AstAndOperatorNodeChildrenItem.d.ts +54 -0
  593. package/serialization/types/AstAndOperatorNodeChildrenItem.js +66 -0
  594. package/serialization/types/AstBooleanNode.d.ts +12 -0
  595. package/serialization/types/AstBooleanNode.js +43 -0
  596. package/serialization/types/AstDynamicVariableNode.d.ts +12 -0
  597. package/serialization/types/AstDynamicVariableNode.js +43 -0
  598. package/serialization/types/AstEqualsOperatorNode.d.ts +13 -0
  599. package/serialization/types/AstEqualsOperatorNode.js +45 -0
  600. package/serialization/types/AstEqualsOperatorNodeLeft.d.ts +54 -0
  601. package/serialization/types/AstEqualsOperatorNodeLeft.js +66 -0
  602. package/serialization/types/AstEqualsOperatorNodeRight.d.ts +54 -0
  603. package/serialization/types/AstEqualsOperatorNodeRight.js +66 -0
  604. package/serialization/types/AstGreaterThanOperatorNode.d.ts +13 -0
  605. package/serialization/types/AstGreaterThanOperatorNode.js +45 -0
  606. package/serialization/types/AstGreaterThanOperatorNodeLeft.d.ts +54 -0
  607. package/serialization/types/AstGreaterThanOperatorNodeLeft.js +66 -0
  608. package/serialization/types/AstGreaterThanOperatorNodeRight.d.ts +54 -0
  609. package/serialization/types/AstGreaterThanOperatorNodeRight.js +66 -0
  610. package/serialization/types/AstGreaterThanOrEqualsOperatorNode.d.ts +13 -0
  611. package/serialization/types/AstGreaterThanOrEqualsOperatorNode.js +45 -0
  612. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +54 -0
  613. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +66 -0
  614. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +54 -0
  615. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.js +66 -0
  616. package/serialization/types/AstLessThanOperatorNode.d.ts +13 -0
  617. package/serialization/types/AstLessThanOperatorNode.js +45 -0
  618. package/serialization/types/AstLessThanOperatorNodeLeft.d.ts +54 -0
  619. package/serialization/types/AstLessThanOperatorNodeLeft.js +66 -0
  620. package/serialization/types/AstLessThanOperatorNodeRight.d.ts +54 -0
  621. package/serialization/types/AstLessThanOperatorNodeRight.js +66 -0
  622. package/serialization/types/AstLessThanOrEqualsOperatorNode.d.ts +13 -0
  623. package/serialization/types/AstLessThanOrEqualsOperatorNode.js +45 -0
  624. package/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +54 -0
  625. package/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.js +66 -0
  626. package/serialization/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +54 -0
  627. package/serialization/types/AstLessThanOrEqualsOperatorNodeRight.js +66 -0
  628. package/serialization/types/AstNotEqualsOperatorNode.d.ts +13 -0
  629. package/serialization/types/AstNotEqualsOperatorNode.js +45 -0
  630. package/serialization/types/AstNotEqualsOperatorNodeLeft.d.ts +54 -0
  631. package/serialization/types/AstNotEqualsOperatorNodeLeft.js +66 -0
  632. package/serialization/types/AstNotEqualsOperatorNodeRight.d.ts +54 -0
  633. package/serialization/types/AstNotEqualsOperatorNodeRight.js +66 -0
  634. package/serialization/types/AstNumberNode.d.ts +12 -0
  635. package/serialization/types/AstNumberNode.js +43 -0
  636. package/serialization/types/AstOrOperatorNode.d.ts +12 -0
  637. package/serialization/types/AstOrOperatorNode.js +44 -0
  638. package/serialization/types/AstOrOperatorNodeChildrenItem.d.ts +54 -0
  639. package/serialization/types/AstOrOperatorNodeChildrenItem.js +66 -0
  640. package/serialization/types/AstStringNode.d.ts +12 -0
  641. package/serialization/types/AstStringNode.js +43 -0
  642. package/serialization/types/AstllmNode.d.ts +12 -0
  643. package/serialization/types/AstllmNode.js +43 -0
  644. package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
  645. package/serialization/types/ConversationChargingCommonModel.js +2 -0
  646. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  647. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  648. package/serialization/types/GetTestInvocationsPageResponseModel.d.ts +17 -0
  649. package/serialization/types/GetTestInvocationsPageResponseModel.js +48 -0
  650. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  651. package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  652. package/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
  653. package/serialization/types/GetUnitTestResponseModel.js +2 -0
  654. package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  655. package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  656. package/serialization/types/ListResponseMeta.d.ts +14 -0
  657. package/serialization/types/ListResponseMeta.js +45 -0
  658. package/serialization/types/McpServerConfigInput.d.ts +1 -0
  659. package/serialization/types/McpServerConfigInput.js +1 -0
  660. package/serialization/types/McpServerConfigOutput.d.ts +1 -0
  661. package/serialization/types/McpServerConfigOutput.js +1 -0
  662. package/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
  663. package/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
  664. package/serialization/types/TestFromConversationMetadataInput.d.ts +16 -0
  665. package/serialization/types/TestFromConversationMetadataInput.js +47 -0
  666. package/serialization/types/TestFromConversationMetadataOutput.d.ts +16 -0
  667. package/serialization/types/TestFromConversationMetadataOutput.js +47 -0
  668. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +20 -0
  669. package/serialization/types/TestInvocationSummaryResponseModel.js +51 -0
  670. package/serialization/types/TextToSpeechRequest.d.ts +10 -0
  671. package/serialization/types/TextToSpeechRequest.js +41 -0
  672. package/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +5 -1
  673. package/serialization/types/WorkflowEdgeModelBackwardCondition.js +2 -0
  674. package/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +5 -1
  675. package/serialization/types/WorkflowEdgeModelForwardCondition.js +2 -0
  676. package/serialization/types/WorkflowEndNodeModel.d.ts +1 -0
  677. package/serialization/types/WorkflowEndNodeModel.js +1 -0
  678. package/serialization/types/WorkflowExpressionConditionModel.d.ts +14 -0
  679. package/serialization/types/WorkflowExpressionConditionModel.js +45 -0
  680. package/serialization/types/WorkflowExpressionConditionModelExpression.d.ts +54 -0
  681. package/serialization/types/WorkflowExpressionConditionModelExpression.js +66 -0
  682. package/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +1 -0
  683. package/serialization/types/WorkflowOverrideAgentNodeModel.js +1 -0
  684. package/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +1 -0
  685. package/serialization/types/WorkflowPhoneNumberNodeModel.js +1 -0
  686. package/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +1 -0
  687. package/serialization/types/WorkflowStandaloneAgentNodeModel.js +1 -0
  688. package/serialization/types/WorkflowStartNodeModel.d.ts +1 -0
  689. package/serialization/types/WorkflowStartNodeModel.js +1 -0
  690. package/serialization/types/WorkflowToolNodeModel.d.ts +1 -0
  691. package/serialization/types/WorkflowToolNodeModel.js +1 -0
  692. package/serialization/types/index.d.ts +35 -0
  693. package/serialization/types/index.js +35 -0
  694. package/version.d.ts +1 -1
  695. package/version.js +1 -1
  696. package/wrapper/ElevenLabsClient.d.ts +0 -6
  697. package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
  698. package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
  699. package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
  700. package/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
  701. /package/api/resources/{textToSpeech/client/requests/TextToSpeechRequest.js → conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.js} +0 -0
  702. /package/{dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.js → api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.js} +0 -0
@@ -56,6 +56,90 @@ class Invocations {
56
56
  constructor(_options = {}) {
57
57
  this._options = _options;
58
58
  }
59
+ /**
60
+ * Lists all test invocations with pagination support and optional search filtering.
61
+ *
62
+ * @param {ElevenLabs.conversationalAi.tests.InvocationsListRequest} request
63
+ * @param {Invocations.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.conversationalAi.tests.invocations.list({
69
+ * agentId: "agent_id",
70
+ * pageSize: 1,
71
+ * cursor: "cursor"
72
+ * })
73
+ */
74
+ list(request, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
76
+ }
77
+ __list(request, requestOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c;
80
+ const { agentId, pageSize, cursor } = request;
81
+ const _queryParams = {};
82
+ _queryParams["agent_id"] = agentId;
83
+ if (pageSize != null) {
84
+ _queryParams["page_size"] = pageSize.toString();
85
+ }
86
+ if (cursor != null) {
87
+ _queryParams["cursor"] = cursor;
88
+ }
89
+ const _response = yield core.fetcher({
90
+ 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/test-invocations"),
91
+ method: "GET",
92
+ 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),
93
+ queryParameters: _queryParams,
94
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
95
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
96
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
+ });
98
+ if (_response.ok) {
99
+ return {
100
+ data: serializers.GetTestInvocationsPageResponseModel.parseOrThrow(_response.body, {
101
+ unrecognizedObjectKeys: "passthrough",
102
+ allowUnrecognizedUnionMembers: true,
103
+ allowUnrecognizedEnumValues: true,
104
+ breadcrumbsPrefix: ["response"],
105
+ }),
106
+ rawResponse: _response.rawResponse,
107
+ };
108
+ }
109
+ if (_response.error.reason === "status-code") {
110
+ switch (_response.error.statusCode) {
111
+ case 422:
112
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
113
+ unrecognizedObjectKeys: "passthrough",
114
+ allowUnrecognizedUnionMembers: true,
115
+ allowUnrecognizedEnumValues: true,
116
+ breadcrumbsPrefix: ["response"],
117
+ }), _response.rawResponse);
118
+ default:
119
+ throw new errors.ElevenLabsError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.body,
122
+ rawResponse: _response.rawResponse,
123
+ });
124
+ }
125
+ }
126
+ switch (_response.error.reason) {
127
+ case "non-json":
128
+ throw new errors.ElevenLabsError({
129
+ statusCode: _response.error.statusCode,
130
+ body: _response.error.rawBody,
131
+ rawResponse: _response.rawResponse,
132
+ });
133
+ case "timeout":
134
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/convai/test-invocations.");
135
+ case "unknown":
136
+ throw new errors.ElevenLabsError({
137
+ message: _response.error.errorMessage,
138
+ rawResponse: _response.rawResponse,
139
+ });
140
+ }
141
+ });
142
+ }
59
143
  /**
60
144
  * Gets a test invocation by ID.
61
145
  *
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * agentId: "agent_id",
8
+ * pageSize: 1,
9
+ * cursor: "cursor"
10
+ * }
11
+ */
12
+ export interface InvocationsListRequest {
13
+ /**
14
+ * Filter by agent ID
15
+ */
16
+ agentId: string;
17
+ /**
18
+ * How many Tests to return at maximum. Can not exceed 100, defaults to 30.
19
+ */
20
+ pageSize?: number;
21
+ /**
22
+ * Used for fetching next page. Cursor is returned in the response.
23
+ */
24
+ cursor?: string;
25
+ }
@@ -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 });
@@ -1 +1,2 @@
1
+ export { type InvocationsListRequest } from "./InvocationsListRequest";
1
2
  export { type ResubmitTestsRequestModel } from "./ResubmitTestsRequestModel";
@@ -119,7 +119,10 @@ export declare class Tools {
119
119
  * @throws {@link ElevenLabs.UnprocessableEntityError}
120
120
  *
121
121
  * @example
122
- * await client.conversationalAi.tools.getDependentAgents("tool_id")
122
+ * await client.conversationalAi.tools.getDependentAgents("tool_id", {
123
+ * cursor: "cursor",
124
+ * pageSize: 1
125
+ * })
123
126
  */
124
127
  getDependentAgents(toolId: string, request?: ElevenLabs.conversationalAi.ToolsGetDependentAgentsRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetToolDependentAgentsResponseModel>;
125
128
  private __getDependentAgents;
@@ -428,7 +428,10 @@ class Tools {
428
428
  * @throws {@link ElevenLabs.UnprocessableEntityError}
429
429
  *
430
430
  * @example
431
- * await client.conversationalAi.tools.getDependentAgents("tool_id")
431
+ * await client.conversationalAi.tools.getDependentAgents("tool_id", {
432
+ * cursor: "cursor",
433
+ * pageSize: 1
434
+ * })
432
435
  */
433
436
  getDependentAgents(toolId, request = {}, requestOptions) {
434
437
  return core.HttpResponsePromise.fromPromise(this.__getDependentAgents(toolId, request, requestOptions));
@@ -3,7 +3,10 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * cursor: "cursor",
8
+ * pageSize: 1
9
+ * }
7
10
  */
8
11
  export interface ToolsGetDependentAgentsRequest {
9
12
  /**
@@ -48,7 +48,14 @@ export declare class Dubbing {
48
48
  * @throws {@link ElevenLabs.UnprocessableEntityError}
49
49
  *
50
50
  * @example
51
- * await client.dubbing.list()
51
+ * await client.dubbing.list({
52
+ * cursor: "cursor",
53
+ * pageSize: 1,
54
+ * dubbingStatus: "dubbing",
55
+ * filterByCreator: "personal",
56
+ * orderBy: "created_at",
57
+ * orderDirection: "DESCENDING"
58
+ * })
52
59
  */
53
60
  list(request?: ElevenLabs.DubbingListRequest, requestOptions?: Dubbing.RequestOptions): core.HttpResponsePromise<ElevenLabs.DubbingMetadataPageResponseModel>;
54
61
  private __list;
@@ -80,7 +80,14 @@ class Dubbing {
80
80
  * @throws {@link ElevenLabs.UnprocessableEntityError}
81
81
  *
82
82
  * @example
83
- * await client.dubbing.list()
83
+ * await client.dubbing.list({
84
+ * cursor: "cursor",
85
+ * pageSize: 1,
86
+ * dubbingStatus: "dubbing",
87
+ * filterByCreator: "personal",
88
+ * orderBy: "created_at",
89
+ * orderDirection: "DESCENDING"
90
+ * })
84
91
  */
85
92
  list(request = {}, requestOptions) {
86
93
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -239,7 +246,7 @@ class Dubbing {
239
246
  _request.append("disable_voice_cloning", request.disableVoiceCloning.toString());
240
247
  }
241
248
  if (request.mode != null) {
242
- _request.append("mode", request.mode);
249
+ _request.append("mode", serializers.DubbingCreateRequestMode.jsonOrThrow(request.mode, { unrecognizedObjectKeys: "strip" }));
243
250
  }
244
251
  if (request.csvFps != null) {
245
252
  _request.append("csv_fps", request.csvFps.toString());
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as core from "../../../../../core";
5
+ import * as ElevenLabs from "../../../../index";
5
6
  /**
6
7
  * @example
7
8
  * {}
@@ -39,8 +40,8 @@ export interface BodyDubAVideoOrAnAudioFileV1DubbingPost {
39
40
  dubbingStudio?: boolean;
40
41
  /** Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. */
41
42
  disableVoiceCloning?: boolean;
42
- /** automatic or manual. Manual mode is only supported when creating a dubbing studio project */
43
- mode?: string;
43
+ /** The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use. */
44
+ mode?: ElevenLabs.DubbingCreateRequestMode;
44
45
  /** Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be inferred from timecodes. */
45
46
  csvFps?: number;
46
47
  }
@@ -4,7 +4,14 @@
4
4
  import * as ElevenLabs from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * cursor: "cursor",
9
+ * pageSize: 1,
10
+ * dubbingStatus: "dubbing",
11
+ * filterByCreator: "personal",
12
+ * orderBy: "created_at",
13
+ * orderDirection: "DESCENDING"
14
+ * }
8
15
  */
9
16
  export interface DubbingListRequest {
10
17
  /**
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use.
6
+ */
7
+ export type DubbingCreateRequestMode = "automatic" | "manual";
8
+ export declare const DubbingCreateRequestMode: {
9
+ readonly Automatic: "automatic";
10
+ readonly Manual: "manual";
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.DubbingCreateRequestMode = void 0;
7
+ exports.DubbingCreateRequestMode = {
8
+ Automatic: "automatic",
9
+ Manual: "manual",
10
+ };
@@ -1,3 +1,4 @@
1
1
  export * from "./DubbingListRequestDubbingStatus";
2
2
  export * from "./DubbingListRequestFilterByCreator";
3
3
  export * from "./DubbingListRequestOrderDirection";
4
+ export * from "./DubbingCreateRequestMode";
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DubbingListRequestDubbingStatus"), exports);
18
18
  __exportStar(require("./DubbingListRequestFilterByCreator"), exports);
19
19
  __exportStar(require("./DubbingListRequestOrderDirection"), exports);
20
+ __exportStar(require("./DubbingCreateRequestMode"), exports);
@@ -39,7 +39,17 @@ export declare class History {
39
39
  * @throws {@link ElevenLabs.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.history.list()
42
+ * await client.history.list({
43
+ * pageSize: 1,
44
+ * startAfterHistoryItemId: "start_after_history_item_id",
45
+ * voiceId: "voice_id",
46
+ * modelId: "model_id",
47
+ * dateBeforeUnix: 1,
48
+ * dateAfterUnix: 1,
49
+ * sortDirection: "asc",
50
+ * search: "search",
51
+ * source: "TTS"
52
+ * })
43
53
  */
44
54
  list(request?: ElevenLabs.HistoryListRequest, requestOptions?: History.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetSpeechHistoryResponse>;
45
55
  private __list;
@@ -65,7 +65,17 @@ class History {
65
65
  * @throws {@link ElevenLabs.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.history.list()
68
+ * await client.history.list({
69
+ * pageSize: 1,
70
+ * startAfterHistoryItemId: "start_after_history_item_id",
71
+ * voiceId: "voice_id",
72
+ * modelId: "model_id",
73
+ * dateBeforeUnix: 1,
74
+ * dateAfterUnix: 1,
75
+ * sortDirection: "asc",
76
+ * search: "search",
77
+ * source: "TTS"
78
+ * })
69
79
  */
70
80
  list(request = {}, requestOptions) {
71
81
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -4,7 +4,17 @@
4
4
  import * as ElevenLabs from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * pageSize: 1,
9
+ * startAfterHistoryItemId: "start_after_history_item_id",
10
+ * voiceId: "voice_id",
11
+ * modelId: "model_id",
12
+ * dateBeforeUnix: 1,
13
+ * dateAfterUnix: 1,
14
+ * sortDirection: "asc",
15
+ * search: "search",
16
+ * source: "TTS"
17
+ * }
8
18
  */
9
19
  export interface HistoryListRequest {
10
20
  /**
@@ -5,13 +5,14 @@ import * as ElevenLabs from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * respectSectionsDurations: undefined,
9
8
  * prompt: undefined,
10
9
  * musicPrompt: undefined,
11
10
  * compositionPlan: undefined,
12
11
  * musicLengthMs: undefined,
13
12
  * modelId: undefined,
14
- * seed: undefined
13
+ * seed: undefined,
14
+ * forceInstrumental: undefined,
15
+ * respectSectionsDurations: undefined
15
16
  * }
16
17
  */
17
18
  export interface BodyComposeMusicV1MusicPost {
@@ -19,8 +20,6 @@ export interface BodyComposeMusicV1MusicPost {
19
20
  * Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
20
21
  */
21
22
  outputFormat?: ElevenLabs.MusicComposeRequestOutputFormat;
22
- /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
23
- respectSectionsDurations?: boolean;
24
23
  /** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
25
24
  prompt?: string;
26
25
  /** A music prompt. Deprecated. Use `composition_plan` instead. */
@@ -33,4 +32,8 @@ export interface BodyComposeMusicV1MusicPost {
33
32
  modelId?: "music_v1";
34
33
  /** The seed to use for the generation. */
35
34
  seed?: number;
35
+ /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
36
+ forceInstrumental?: boolean;
37
+ /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
38
+ respectSectionsDurations?: boolean;
36
39
  }
@@ -10,7 +10,8 @@ import * as ElevenLabs from "../../../../index";
10
10
  * compositionPlan: undefined,
11
11
  * musicLengthMs: undefined,
12
12
  * modelId: undefined,
13
- * seed: undefined
13
+ * seed: undefined,
14
+ * forceInstrumental: undefined
14
15
  * }
15
16
  */
16
17
  export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
@@ -30,4 +31,6 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
30
31
  modelId?: "music_v1";
31
32
  /** The seed to use for the generation. */
32
33
  seed?: number;
34
+ /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
35
+ forceInstrumental?: boolean;
33
36
  }
@@ -10,7 +10,8 @@ import * as ElevenLabs from "../../../../index";
10
10
  * compositionPlan: undefined,
11
11
  * musicLengthMs: undefined,
12
12
  * modelId: undefined,
13
- * seed: undefined
13
+ * seed: undefined,
14
+ * forceInstrumental: undefined
14
15
  * }
15
16
  */
16
17
  export interface BodyStreamComposedMusicV1MusicStreamPost {
@@ -30,4 +31,6 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
30
31
  modelId?: "music_v1";
31
32
  /** The seed to use for the generation. */
32
33
  seed?: number;
34
+ /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
35
+ forceInstrumental?: boolean;
33
36
  }
@@ -110,7 +110,12 @@ export declare class PronunciationDictionaries {
110
110
  * @throws {@link ElevenLabs.UnprocessableEntityError}
111
111
  *
112
112
  * @example
113
- * await client.pronunciationDictionaries.list()
113
+ * await client.pronunciationDictionaries.list({
114
+ * cursor: "cursor",
115
+ * pageSize: 1,
116
+ * sort: "creation_time_unix",
117
+ * sortDirection: "sort_direction"
118
+ * })
114
119
  */
115
120
  list(request?: ElevenLabs.PronunciationDictionariesListRequest, requestOptions?: PronunciationDictionaries.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetPronunciationDictionariesMetadataResponseModel>;
116
121
  private __list;
@@ -437,7 +437,12 @@ class PronunciationDictionaries {
437
437
  * @throws {@link ElevenLabs.UnprocessableEntityError}
438
438
  *
439
439
  * @example
440
- * await client.pronunciationDictionaries.list()
440
+ * await client.pronunciationDictionaries.list({
441
+ * cursor: "cursor",
442
+ * pageSize: 1,
443
+ * sort: "creation_time_unix",
444
+ * sortDirection: "sort_direction"
445
+ * })
441
446
  */
442
447
  list(request = {}, requestOptions) {
443
448
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -4,7 +4,12 @@
4
4
  import * as ElevenLabs from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * cursor: "cursor",
9
+ * pageSize: 1,
10
+ * sort: "creation_time_unix",
11
+ * sortDirection: "sort_direction"
12
+ * }
8
13
  */
9
14
  export interface PronunciationDictionariesListRequest {
10
15
  /**
@@ -43,6 +43,7 @@ export declare class SpeechToText {
43
43
  *
44
44
  * @example
45
45
  * await client.speechToText.convert({
46
+ * enableLogging: true,
46
47
  * modelId: "model_id"
47
48
  * })
48
49
  */
@@ -72,6 +72,7 @@ class SpeechToText {
72
72
  *
73
73
  * @example
74
74
  * await client.speechToText.convert({
75
+ * enableLogging: true,
75
76
  * modelId: "model_id"
76
77
  * })
77
78
  */
@@ -6,11 +6,13 @@ import * as ElevenLabs from "../../../../index";
6
6
  /**
7
7
  * @example
8
8
  * {
9
+ * enableLogging: true,
9
10
  * modelId: "model_id"
10
11
  * }
11
12
  *
12
13
  * @example
13
14
  * {
15
+ * enableLogging: true,
14
16
  * modelId: "model_id"
15
17
  * }
16
18
  */
@@ -107,4 +107,12 @@ export interface BodyCreatePodcastV1StudioPodcastsPost {
107
107
  *
108
108
  */
109
109
  callbackUrl?: string;
110
+ /**
111
+ * This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'.
112
+ * When set to 'auto', the system will automatically decide whether to apply text normalization
113
+ * (e.g., spelling out numbers). With 'on', text normalization will always be applied, while
114
+ * with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.
115
+ *
116
+ */
117
+ applyTextNormalization?: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization;
110
118
  }
@@ -79,7 +79,9 @@ export declare class Projects {
79
79
  * @throws {@link ElevenLabs.UnprocessableEntityError}
80
80
  *
81
81
  * @example
82
- * await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM")
82
+ * await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM", {
83
+ * shareId: "share_id"
84
+ * })
83
85
  */
84
86
  get(projectId: string, request?: ElevenLabs.studio.ProjectsGetRequest, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<ElevenLabs.ProjectExtendedResponse>;
85
87
  private __get;
@@ -321,7 +321,9 @@ class Projects {
321
321
  * @throws {@link ElevenLabs.UnprocessableEntityError}
322
322
  *
323
323
  * @example
324
- * await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM")
324
+ * await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM", {
325
+ * shareId: "share_id"
326
+ * })
325
327
  */
326
328
  get(projectId, request = {}, requestOptions) {
327
329
  return core.HttpResponsePromise.fromPromise(this.__get(projectId, request, requestOptions));
@@ -3,7 +3,9 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * shareId: "share_id"
8
+ * }
7
9
  */
8
10
  export interface ProjectsGetRequest {
9
11
  /**
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = "auto" | "on" | "off" | "apply_english";
5
+ export declare const BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization: {
6
+ readonly Auto: "auto";
7
+ readonly On: "on";
8
+ readonly Off: "off";
9
+ readonly ApplyEnglish: "apply_english";
10
+ };
@@ -3,9 +3,10 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization = void 0;
7
- exports.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization = {
6
+ exports.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = void 0;
7
+ exports.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = {
8
8
  Auto: "auto",
9
9
  On: "on",
10
10
  Off: "off",
11
+ ApplyEnglish: "apply_english",
11
12
  };
@@ -3,3 +3,4 @@ export * from "./BodyCreatePodcastV1StudioPodcastsPostSourceItem";
3
3
  export * from "./BodyCreatePodcastV1StudioPodcastsPostSource";
4
4
  export * from "./BodyCreatePodcastV1StudioPodcastsPostQualityPreset";
5
5
  export * from "./BodyCreatePodcastV1StudioPodcastsPostDurationScale";
6
+ export * from "./BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization";
@@ -19,3 +19,4 @@ __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostSourceItem"), expor
19
19
  __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostSource"), exports);
20
20
  __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostQualityPreset"), exports);
21
21
  __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostDurationScale"), exports);
22
+ __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization"), exports);
@@ -34,7 +34,7 @@ export declare class TextToSpeech {
34
34
  * Converts text into speech using a voice of your choice and returns audio.
35
35
  * @throws {@link ElevenLabs.UnprocessableEntityError}
36
36
  */
37
- convert(voiceId: string, request: ElevenLabs.TextToSpeechRequest, requestOptions?: TextToSpeech.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
37
+ convert(voiceId: string, request: ElevenLabs.BodyTextToSpeechFull, requestOptions?: TextToSpeech.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
38
38
  private __convert;
39
39
  /**
40
40
  * Generate speech from text with precise character-level timing information for audio-text synchronization.
@@ -47,6 +47,9 @@ export declare class TextToSpeech {
47
47
  *
48
48
  * @example
49
49
  * await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
50
+ * enableLogging: true,
51
+ * optimizeStreamingLatency: 1,
52
+ * outputFormat: "mp3_22050_32",
50
53
  * text: "This is a test for the API of ElevenLabs."
51
54
  * })
52
55
  */
@@ -95,7 +95,7 @@ class TextToSpeech {
95
95
  contentType: "application/json",
96
96
  queryParameters: _queryParams,
97
97
  requestType: "json",
98
- body: serializers.TextToSpeechRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
98
+ body: serializers.BodyTextToSpeechFull.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
99
99
  responseType: "streaming",
100
100
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
101
101
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -149,6 +149,9 @@ class TextToSpeech {
149
149
  *
150
150
  * @example
151
151
  * await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
152
+ * enableLogging: true,
153
+ * optimizeStreamingLatency: 1,
154
+ * outputFormat: "mp3_22050_32",
152
155
  * text: "This is a test for the API of ElevenLabs."
153
156
  * })
154
157
  */