@elevenlabs/elevenlabs-js 2.13.0 → 2.15.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 (560) hide show
  1. package/Client.js +2 -2
  2. package/api/errors/UnauthorizedError.d.ts +8 -0
  3. package/api/errors/UnauthorizedError.js +52 -0
  4. package/api/errors/index.d.ts +1 -0
  5. package/api/errors/index.js +1 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -2
  7. package/api/resources/conversationalAi/resources/agents/client/Client.js +4 -2
  8. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -1
  9. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -1
  10. package/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -1
  11. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
  12. package/api/resources/speechToText/client/Client.d.ts +3 -0
  13. package/api/resources/speechToText/client/Client.js +5 -0
  14. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  15. package/api/resources/speechToText/index.d.ts +1 -0
  16. package/api/resources/speechToText/index.js +1 -0
  17. package/api/resources/speechToText/resources/index.d.ts +2 -0
  18. package/api/resources/speechToText/resources/index.js +41 -0
  19. package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
  20. package/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
  21. package/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
  22. package/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
  23. package/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
  24. package/api/resources/speechToText/resources/transcripts/index.js +18 -0
  25. package/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
  26. package/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +5 -0
  27. package/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  28. package/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
  29. package/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
  30. package/api/resources/studio/resources/projects/client/Client.js +11 -4
  31. package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
  32. package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.js +5 -0
  33. package/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
  34. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
  35. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
  36. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
  37. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
  38. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
  39. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
  40. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  41. package/api/resources/textToDialogue/types/index.js +2 -0
  42. package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  43. package/api/resources/textToSoundEffects/client/Client.js +1 -1
  44. package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +3 -1
  45. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  46. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  47. package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  48. package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  49. package/api/resources/textToVoice/client/Client.d.ts +16 -0
  50. package/api/resources/textToVoice/client/Client.js +84 -0
  51. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +36 -0
  52. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +5 -0
  53. package/api/resources/textToVoice/client/requests/index.d.ts +1 -0
  54. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +28 -0
  55. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +27 -0
  56. package/api/resources/textToVoice/types/index.d.ts +1 -0
  57. package/api/resources/textToVoice/types/index.js +1 -0
  58. package/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
  59. package/api/types/AgentConfig.d.ts +2 -0
  60. package/api/types/AgentConfigApiModelWorkflowOverride.d.ts +16 -0
  61. package/api/types/AgentConfigApiModelWorkflowOverride.js +5 -0
  62. package/api/types/AgentWorkflowRequestModel.d.ts +8 -0
  63. package/api/types/AgentWorkflowRequestModel.js +5 -0
  64. package/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
  65. package/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
  66. package/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
  67. package/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
  68. package/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
  69. package/api/types/BuiltInToolsWorkflowOverride.js +5 -0
  70. package/api/types/CaptionStyleTemplateModel.d.ts +1 -0
  71. package/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
  72. package/api/types/ConversationConfigWorkflowOverride.js +5 -0
  73. package/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
  74. package/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
  75. package/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
  76. package/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
  77. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  78. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  79. package/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
  80. package/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
  81. package/api/types/DubbingReleaseChannel.d.ts +9 -0
  82. package/api/types/DubbingReleaseChannel.js +11 -0
  83. package/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
  84. package/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
  85. package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
  86. package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
  87. package/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  88. package/api/types/Position.d.ts +7 -0
  89. package/api/types/Position.js +5 -0
  90. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  91. package/api/types/ProjectResponse.d.ts +2 -0
  92. package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
  93. package/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
  94. package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
  95. package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
  96. package/api/types/RagConfigWorkflowOverride.d.ts +14 -0
  97. package/api/types/RagConfigWorkflowOverride.js +5 -0
  98. package/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  99. package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
  100. package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
  101. package/api/types/SingleTestRunRequestModel.d.ts +2 -0
  102. package/api/types/SpeechHistoryItemResponse.d.ts +1 -1
  103. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  104. package/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
  105. package/api/types/TestRunMetadata.d.ts +10 -0
  106. package/api/types/TestRunMetadata.js +5 -0
  107. package/api/types/TestRunMetadataTestType.d.ts +8 -0
  108. package/api/types/TestRunMetadataTestType.js +10 -0
  109. package/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
  110. package/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
  111. package/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
  112. package/api/types/TurnConfigWorkflowOverride.js +5 -0
  113. package/api/types/UnitTestRunResponseModel.d.ts +2 -0
  114. package/api/types/WorkflowEdgeModel.d.ts +12 -0
  115. package/api/types/WorkflowEdgeModel.js +5 -0
  116. package/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
  117. package/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
  118. package/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
  119. package/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
  120. package/api/types/WorkflowEndNodeModel.d.ts +8 -0
  121. package/api/types/WorkflowEndNodeModel.js +5 -0
  122. package/api/types/WorkflowLlmConditionModel.d.ts +7 -0
  123. package/api/types/WorkflowLlmConditionModel.js +5 -0
  124. package/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
  125. package/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
  126. package/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
  127. package/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
  128. package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
  129. package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
  130. package/api/types/WorkflowResultConditionModel.d.ts +7 -0
  131. package/api/types/WorkflowResultConditionModel.js +5 -0
  132. package/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
  133. package/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
  134. package/api/types/WorkflowStartNodeModel.d.ts +8 -0
  135. package/api/types/WorkflowStartNodeModel.js +5 -0
  136. package/api/types/WorkflowToolLocator.d.ts +6 -0
  137. package/api/types/WorkflowToolLocator.js +5 -0
  138. package/api/types/WorkflowToolNodeModel.d.ts +9 -0
  139. package/api/types/WorkflowToolNodeModel.js +5 -0
  140. package/api/types/WorkflowToolResponseModelInput.d.ts +0 -1
  141. package/api/types/WorkflowToolResponseModelOutput.d.ts +0 -1
  142. package/api/types/WorkflowUnconditionalModel.d.ts +6 -0
  143. package/api/types/WorkflowUnconditionalModel.js +5 -0
  144. package/api/types/index.d.ts +35 -0
  145. package/api/types/index.js +35 -0
  146. package/dist/Client.js +2 -2
  147. package/dist/api/errors/UnauthorizedError.d.ts +8 -0
  148. package/dist/api/errors/UnauthorizedError.js +52 -0
  149. package/dist/api/errors/index.d.ts +1 -0
  150. package/dist/api/errors/index.js +1 -0
  151. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -2
  152. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +4 -2
  153. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -1
  154. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -1
  155. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -1
  156. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
  157. package/dist/api/resources/speechToText/client/Client.d.ts +3 -0
  158. package/dist/api/resources/speechToText/client/Client.js +5 -0
  159. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  160. package/dist/api/resources/speechToText/index.d.ts +1 -0
  161. package/dist/api/resources/speechToText/index.js +1 -0
  162. package/dist/api/resources/speechToText/resources/index.d.ts +2 -0
  163. package/dist/api/resources/speechToText/resources/index.js +41 -0
  164. package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
  165. package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
  166. package/dist/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
  167. package/dist/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
  168. package/dist/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
  169. package/dist/api/resources/speechToText/resources/transcripts/index.js +18 -0
  170. package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
  171. package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +5 -0
  172. package/dist/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  173. package/dist/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
  174. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
  175. package/dist/api/resources/studio/resources/projects/client/Client.js +11 -4
  176. package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
  177. package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.js +5 -0
  178. package/dist/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
  179. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
  180. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
  181. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
  182. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
  183. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
  184. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
  185. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  186. package/dist/api/resources/textToDialogue/types/index.js +2 -0
  187. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  188. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
  189. package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +3 -1
  190. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  191. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  192. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  193. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  194. package/dist/api/resources/textToVoice/client/Client.d.ts +16 -0
  195. package/dist/api/resources/textToVoice/client/Client.js +84 -0
  196. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +36 -0
  197. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +5 -0
  198. package/dist/api/resources/textToVoice/client/requests/index.d.ts +1 -0
  199. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +28 -0
  200. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +27 -0
  201. package/dist/api/resources/textToVoice/types/index.d.ts +1 -0
  202. package/dist/api/resources/textToVoice/types/index.js +1 -0
  203. package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
  204. package/dist/api/types/AgentConfig.d.ts +2 -0
  205. package/dist/api/types/AgentConfigApiModelWorkflowOverride.d.ts +16 -0
  206. package/dist/api/types/AgentConfigApiModelWorkflowOverride.js +5 -0
  207. package/dist/api/types/AgentWorkflowRequestModel.d.ts +8 -0
  208. package/dist/api/types/AgentWorkflowRequestModel.js +5 -0
  209. package/dist/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
  210. package/dist/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
  211. package/dist/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
  212. package/dist/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
  213. package/dist/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
  214. package/dist/api/types/BuiltInToolsWorkflowOverride.js +5 -0
  215. package/dist/api/types/CaptionStyleTemplateModel.d.ts +1 -0
  216. package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
  217. package/dist/api/types/ConversationConfigWorkflowOverride.js +5 -0
  218. package/dist/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
  219. package/dist/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
  220. package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
  221. package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
  222. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  223. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  224. package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
  225. package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
  226. package/dist/api/types/DubbingReleaseChannel.d.ts +9 -0
  227. package/dist/api/types/DubbingReleaseChannel.js +11 -0
  228. package/dist/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
  229. package/dist/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
  230. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
  231. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
  232. package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  233. package/dist/api/types/Position.d.ts +7 -0
  234. package/dist/api/types/Position.js +5 -0
  235. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  236. package/dist/api/types/ProjectResponse.d.ts +2 -0
  237. package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
  238. package/dist/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
  239. package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
  240. package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
  241. package/dist/api/types/RagConfigWorkflowOverride.d.ts +14 -0
  242. package/dist/api/types/RagConfigWorkflowOverride.js +5 -0
  243. package/dist/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  244. package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
  245. package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
  246. package/dist/api/types/SingleTestRunRequestModel.d.ts +2 -0
  247. package/dist/api/types/SpeechHistoryItemResponse.d.ts +1 -1
  248. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  249. package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
  250. package/dist/api/types/TestRunMetadata.d.ts +10 -0
  251. package/dist/api/types/TestRunMetadata.js +5 -0
  252. package/dist/api/types/TestRunMetadataTestType.d.ts +8 -0
  253. package/dist/api/types/TestRunMetadataTestType.js +10 -0
  254. package/dist/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
  255. package/dist/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
  256. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
  257. package/dist/api/types/TurnConfigWorkflowOverride.js +5 -0
  258. package/dist/api/types/UnitTestRunResponseModel.d.ts +2 -0
  259. package/dist/api/types/WorkflowEdgeModel.d.ts +12 -0
  260. package/dist/api/types/WorkflowEdgeModel.js +5 -0
  261. package/dist/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
  262. package/dist/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
  263. package/dist/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
  264. package/dist/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
  265. package/dist/api/types/WorkflowEndNodeModel.d.ts +8 -0
  266. package/dist/api/types/WorkflowEndNodeModel.js +5 -0
  267. package/dist/api/types/WorkflowLlmConditionModel.d.ts +7 -0
  268. package/dist/api/types/WorkflowLlmConditionModel.js +5 -0
  269. package/dist/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
  270. package/dist/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
  271. package/dist/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
  272. package/dist/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
  273. package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
  274. package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
  275. package/dist/api/types/WorkflowResultConditionModel.d.ts +7 -0
  276. package/dist/api/types/WorkflowResultConditionModel.js +5 -0
  277. package/dist/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
  278. package/dist/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
  279. package/dist/api/types/WorkflowStartNodeModel.d.ts +8 -0
  280. package/dist/api/types/WorkflowStartNodeModel.js +5 -0
  281. package/dist/api/types/WorkflowToolLocator.d.ts +6 -0
  282. package/dist/api/types/WorkflowToolLocator.js +5 -0
  283. package/dist/api/types/WorkflowToolNodeModel.d.ts +9 -0
  284. package/dist/api/types/WorkflowToolNodeModel.js +5 -0
  285. package/dist/api/types/WorkflowToolResponseModelInput.d.ts +0 -1
  286. package/dist/api/types/WorkflowToolResponseModelOutput.d.ts +0 -1
  287. package/dist/api/types/WorkflowUnconditionalModel.d.ts +6 -0
  288. package/dist/api/types/WorkflowUnconditionalModel.js +5 -0
  289. package/dist/api/types/index.d.ts +35 -0
  290. package/dist/api/types/index.js +35 -0
  291. package/dist/serialization/resources/speechToText/index.d.ts +1 -0
  292. package/dist/serialization/resources/speechToText/index.js +1 -0
  293. package/dist/serialization/resources/speechToText/resources/index.d.ts +2 -0
  294. package/dist/serialization/resources/speechToText/resources/index.js +41 -0
  295. package/dist/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
  296. package/dist/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
  297. package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
  298. package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
  299. package/dist/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
  301. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
  302. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
  303. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
  304. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
  305. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
  306. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
  307. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
  308. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
  309. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  310. package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
  311. package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
  312. package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
  313. package/dist/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +21 -0
  314. package/dist/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +52 -0
  315. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +1 -0
  316. package/dist/serialization/resources/textToVoice/client/requests/index.js +3 -1
  317. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +10 -0
  318. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +61 -0
  319. package/dist/serialization/resources/textToVoice/types/index.d.ts +1 -0
  320. package/dist/serialization/resources/textToVoice/types/index.js +1 -0
  321. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
  322. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
  323. package/dist/serialization/types/AgentConfig.d.ts +1 -0
  324. package/dist/serialization/types/AgentConfig.js +1 -0
  325. package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +18 -0
  326. package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.js +49 -0
  327. package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
  328. package/dist/serialization/types/AgentWorkflowRequestModel.js +46 -0
  329. package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
  330. package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
  331. package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
  332. package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
  333. package/dist/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
  334. package/dist/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
  335. package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
  336. package/dist/serialization/types/CaptionStyleTemplateModel.js +1 -0
  337. package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
  338. package/dist/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
  339. package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
  340. package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
  341. package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
  342. package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
  343. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  344. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  345. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  346. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  347. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
  348. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
  349. package/dist/serialization/types/DubbingReleaseChannel.d.ts +10 -0
  350. package/dist/serialization/types/DubbingReleaseChannel.js +41 -0
  351. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
  352. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
  353. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
  354. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
  355. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  356. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  357. package/dist/serialization/types/Position.d.ts +13 -0
  358. package/dist/serialization/types/Position.js +44 -0
  359. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  360. package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
  361. package/dist/serialization/types/ProjectResponse.d.ts +1 -0
  362. package/dist/serialization/types/ProjectResponse.js +1 -0
  363. package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
  364. package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
  365. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
  366. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
  367. package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
  368. package/dist/serialization/types/RagConfigWorkflowOverride.js +48 -0
  369. package/dist/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
  370. package/dist/serialization/types/ResourceMetadataResponseModel.js +2 -0
  371. package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
  372. package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
  373. package/dist/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
  374. package/dist/serialization/types/SingleTestRunRequestModel.js +1 -0
  375. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  376. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  377. package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
  378. package/dist/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
  379. package/dist/serialization/types/TestRunMetadata.d.ts +16 -0
  380. package/dist/serialization/types/TestRunMetadata.js +47 -0
  381. package/dist/serialization/types/TestRunMetadataTestType.d.ts +10 -0
  382. package/dist/serialization/types/TestRunMetadataTestType.js +41 -0
  383. package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
  384. package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
  385. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
  386. package/dist/serialization/types/TurnConfigWorkflowOverride.js +46 -0
  387. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  388. package/dist/serialization/types/UnitTestRunResponseModel.js +3 -0
  389. package/dist/serialization/types/WorkflowEdgeModel.d.ts +17 -0
  390. package/dist/serialization/types/WorkflowEdgeModel.js +48 -0
  391. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
  392. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
  393. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
  394. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
  395. package/dist/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
  396. package/dist/serialization/types/WorkflowEndNodeModel.js +44 -0
  397. package/dist/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
  398. package/dist/serialization/types/WorkflowLlmConditionModel.js +44 -0
  399. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
  400. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
  401. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
  402. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
  403. package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
  404. package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
  405. package/dist/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
  406. package/dist/serialization/types/WorkflowResultConditionModel.js +44 -0
  407. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
  408. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
  409. package/dist/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
  410. package/dist/serialization/types/WorkflowStartNodeModel.js +44 -0
  411. package/dist/serialization/types/WorkflowToolLocator.d.ts +12 -0
  412. package/dist/serialization/types/WorkflowToolLocator.js +43 -0
  413. package/dist/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
  414. package/dist/serialization/types/WorkflowToolNodeModel.js +46 -0
  415. package/dist/serialization/types/WorkflowToolResponseModelInput.d.ts +0 -2
  416. package/dist/serialization/types/WorkflowToolResponseModelInput.js +0 -2
  417. package/dist/serialization/types/WorkflowToolResponseModelOutput.d.ts +0 -2
  418. package/dist/serialization/types/WorkflowToolResponseModelOutput.js +0 -2
  419. package/dist/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
  420. package/dist/serialization/types/WorkflowUnconditionalModel.js +43 -0
  421. package/dist/serialization/types/index.d.ts +35 -0
  422. package/dist/serialization/types/index.js +35 -0
  423. package/dist/version.d.ts +1 -1
  424. package/dist/version.js +1 -1
  425. package/package.json +1 -1
  426. package/reference.md +150 -2
  427. package/serialization/resources/speechToText/index.d.ts +1 -0
  428. package/serialization/resources/speechToText/index.js +1 -0
  429. package/serialization/resources/speechToText/resources/index.d.ts +2 -0
  430. package/serialization/resources/speechToText/resources/index.js +41 -0
  431. package/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
  432. package/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
  433. package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
  434. package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
  435. package/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  436. package/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
  437. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
  438. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
  439. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
  440. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
  441. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
  442. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
  443. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
  444. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
  445. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  446. package/serialization/resources/textToDialogue/types/index.js +2 -0
  447. package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
  448. package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
  449. package/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +21 -0
  450. package/serialization/resources/textToVoice/client/requests/VoiceRemixRequestModel.js +52 -0
  451. package/serialization/resources/textToVoice/client/requests/index.d.ts +1 -0
  452. package/serialization/resources/textToVoice/client/requests/index.js +3 -1
  453. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +10 -0
  454. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +61 -0
  455. package/serialization/resources/textToVoice/types/index.d.ts +1 -0
  456. package/serialization/resources/textToVoice/types/index.js +1 -0
  457. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
  458. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
  459. package/serialization/types/AgentConfig.d.ts +1 -0
  460. package/serialization/types/AgentConfig.js +1 -0
  461. package/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +18 -0
  462. package/serialization/types/AgentConfigApiModelWorkflowOverride.js +49 -0
  463. package/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
  464. package/serialization/types/AgentWorkflowRequestModel.js +46 -0
  465. package/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
  466. package/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
  467. package/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
  468. package/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
  469. package/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
  470. package/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
  471. package/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
  472. package/serialization/types/CaptionStyleTemplateModel.js +1 -0
  473. package/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
  474. package/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
  475. package/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
  476. package/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
  477. package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
  478. package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
  479. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  480. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  481. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  482. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  483. package/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
  484. package/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
  485. package/serialization/types/DubbingReleaseChannel.d.ts +10 -0
  486. package/serialization/types/DubbingReleaseChannel.js +41 -0
  487. package/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
  488. package/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
  489. package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
  490. package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
  491. package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  492. package/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  493. package/serialization/types/Position.d.ts +13 -0
  494. package/serialization/types/Position.js +44 -0
  495. package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  496. package/serialization/types/ProjectExtendedResponse.js +1 -0
  497. package/serialization/types/ProjectResponse.d.ts +1 -0
  498. package/serialization/types/ProjectResponse.js +1 -0
  499. package/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
  500. package/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
  501. package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
  502. package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
  503. package/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
  504. package/serialization/types/RagConfigWorkflowOverride.js +48 -0
  505. package/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
  506. package/serialization/types/ResourceMetadataResponseModel.js +2 -0
  507. package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
  508. package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
  509. package/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
  510. package/serialization/types/SingleTestRunRequestModel.js +1 -0
  511. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  512. package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  513. package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
  514. package/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
  515. package/serialization/types/TestRunMetadata.d.ts +16 -0
  516. package/serialization/types/TestRunMetadata.js +47 -0
  517. package/serialization/types/TestRunMetadataTestType.d.ts +10 -0
  518. package/serialization/types/TestRunMetadataTestType.js +41 -0
  519. package/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
  520. package/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
  521. package/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
  522. package/serialization/types/TurnConfigWorkflowOverride.js +46 -0
  523. package/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  524. package/serialization/types/UnitTestRunResponseModel.js +3 -0
  525. package/serialization/types/WorkflowEdgeModel.d.ts +17 -0
  526. package/serialization/types/WorkflowEdgeModel.js +48 -0
  527. package/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
  528. package/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
  529. package/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
  530. package/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
  531. package/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
  532. package/serialization/types/WorkflowEndNodeModel.js +44 -0
  533. package/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
  534. package/serialization/types/WorkflowLlmConditionModel.js +44 -0
  535. package/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
  536. package/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
  537. package/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
  538. package/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
  539. package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
  540. package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
  541. package/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
  542. package/serialization/types/WorkflowResultConditionModel.js +44 -0
  543. package/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
  544. package/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
  545. package/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
  546. package/serialization/types/WorkflowStartNodeModel.js +44 -0
  547. package/serialization/types/WorkflowToolLocator.d.ts +12 -0
  548. package/serialization/types/WorkflowToolLocator.js +43 -0
  549. package/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
  550. package/serialization/types/WorkflowToolNodeModel.js +46 -0
  551. package/serialization/types/WorkflowToolResponseModelInput.d.ts +0 -2
  552. package/serialization/types/WorkflowToolResponseModelInput.js +0 -2
  553. package/serialization/types/WorkflowToolResponseModelOutput.d.ts +0 -2
  554. package/serialization/types/WorkflowToolResponseModelOutput.js +0 -2
  555. package/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
  556. package/serialization/types/WorkflowUnconditionalModel.js +43 -0
  557. package/serialization/types/index.d.ts +35 -0
  558. package/serialization/types/index.js +35 -0
  559. package/version.d.ts +1 -1
  560. package/version.js +1 -1
@@ -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 });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface RagConfigWorkflowOverride {
6
+ enabled?: boolean;
7
+ embeddingModel?: ElevenLabs.EmbeddingModelEnum;
8
+ /** Maximum vector distance of retrieved chunks. */
9
+ maxVectorDistance?: number;
10
+ /** Maximum total length of document chunks retrieved from RAG. */
11
+ maxDocumentsLength?: number;
12
+ /** Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length. */
13
+ maxRetrievedRagChunksCount?: number;
14
+ }
@@ -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 });
@@ -9,6 +9,8 @@ export interface ResourceMetadataResponseModel {
9
9
  resourceType: ElevenLabs.WorkspaceResourceType;
10
10
  /** The ID of the user who created the resource. */
11
11
  creatorUserId?: string;
12
+ /** The access level for anonymous users. If None, the resource is not shared publicly. */
13
+ anonymousAccessLevelOverride?: ElevenLabs.ResourceMetadataResponseModelAnonymousAccessLevelOverride;
12
14
  /** A mapping of roles to group IDs. When the resource is shared with a user, the group id is the user's id. */
13
15
  roleToGroupIds: Record<string, string[]>;
14
16
  /** List of options for sharing the resource further in the workspace. These are users who don't have access to the resource yet. */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ResourceMetadataResponseModelAnonymousAccessLevelOverride = "admin" | "editor" | "viewer";
5
+ export declare const ResourceMetadataResponseModelAnonymousAccessLevelOverride: {
6
+ readonly Admin: "admin";
7
+ readonly Editor: "editor";
8
+ readonly Viewer: "viewer";
9
+ };
@@ -0,0 +1,11 @@
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.ResourceMetadataResponseModelAnonymousAccessLevelOverride = void 0;
7
+ exports.ResourceMetadataResponseModelAnonymousAccessLevelOverride = {
8
+ Admin: "admin",
9
+ Editor: "editor",
10
+ Viewer: "viewer",
11
+ };
@@ -4,4 +4,6 @@
4
4
  export interface SingleTestRunRequestModel {
5
5
  /** ID of the test to run */
6
6
  testId: string;
7
+ /** ID of the workflow node to run the test on. If not provided, the test will be run on the agent's default workflow node. */
8
+ workflowNodeId?: string;
7
9
  }
@@ -32,7 +32,7 @@ export interface SpeechHistoryItemResponse {
32
32
  feedback?: ElevenLabs.FeedbackItem;
33
33
  /** The ID of the share link. */
34
34
  shareLinkId?: string;
35
- /** The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (conversational AI). */
35
+ /** The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (Agents Platform). */
36
36
  source?: ElevenLabs.SpeechHistoryItemResponseModelSource;
37
37
  /** The alignments of the history item. */
38
38
  alignments?: ElevenLabs.HistoryAlignmentsResponseModel;
@@ -18,4 +18,6 @@ export interface SpeechToTextChunkResponseModel {
18
18
  channelIndex?: number;
19
19
  /** Requested additional formats of the transcript. */
20
20
  additionalFormats?: (ElevenLabs.AdditionalFormatResponseModel | undefined)[];
21
+ /** The transcription ID of the response. */
22
+ transcriptionId?: string;
21
23
  }
@@ -6,4 +6,6 @@ export interface SpeechToTextWebhookResponseModel {
6
6
  message: string;
7
7
  /** The request ID of the webhook response. */
8
8
  requestId: string;
9
+ /** The transcription ID of the webhook response. */
10
+ transcriptionId?: string;
9
11
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface TestRunMetadata {
6
+ workspaceId: string;
7
+ testName: string;
8
+ ranByUserEmail: string;
9
+ testType?: ElevenLabs.TestRunMetadataTestType;
10
+ }
@@ -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 });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TestRunMetadataTestType = "llm" | "tool_call";
5
+ export declare const TestRunMetadataTestType: {
6
+ readonly Llm: "llm";
7
+ readonly ToolCall: "tool_call";
8
+ };
@@ -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.TestRunMetadataTestType = void 0;
7
+ exports.TestRunMetadataTestType = {
8
+ Llm: "llm",
9
+ ToolCall: "tool_call",
10
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface TtsConversationalConfigWorkflowOverride {
6
+ /** The model to use for TTS */
7
+ modelId?: ElevenLabs.TtsConversationalModel;
8
+ /** The voice ID to use for TTS */
9
+ voiceId?: string;
10
+ /** Additional supported voices for the agent */
11
+ supportedVoices?: ElevenLabs.SupportedVoice[];
12
+ /** The audio format to use for TTS */
13
+ agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
14
+ /** The optimization for streaming latency */
15
+ optimizeStreamingLatency?: ElevenLabs.TtsOptimizeStreamingLatency;
16
+ /** The stability of generated speech */
17
+ stability?: number;
18
+ /** The speed of generated speech */
19
+ speed?: number;
20
+ /** The similarity boost for generated speech */
21
+ similarityBoost?: number;
22
+ /** The pronunciation dictionary locators */
23
+ pronunciationDictionaryLocators?: ElevenLabs.PydanticPronunciationDictionaryVersionLocator[];
24
+ }
@@ -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 });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface TurnConfigWorkflowOverride {
6
+ /** Maximum wait time for the user's reply before re-engaging the user */
7
+ turnTimeout?: number;
8
+ /** Maximum wait time since the user last spoke before terminating the call */
9
+ silenceEndCallTimeout?: number;
10
+ /** The mode of turn detection */
11
+ mode?: ElevenLabs.TurnMode;
12
+ }
@@ -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 });
@@ -6,9 +6,11 @@ export interface UnitTestRunResponseModel {
6
6
  testRunId: string;
7
7
  testInvocationId: string;
8
8
  agentId: string;
9
+ workflowNodeId?: string;
9
10
  status: ElevenLabs.TestRunStatus;
10
11
  agentResponses?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
11
12
  testId: string;
12
13
  conditionResult?: ElevenLabs.TestConditionResultCommonModel;
13
14
  lastUpdatedAtUnix?: number;
15
+ metadata?: ElevenLabs.TestRunMetadata;
14
16
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowEdgeModel {
6
+ source: string;
7
+ target: string;
8
+ /** Condition that must be met for the edge to be traversed in the forward direction. */
9
+ forwardCondition?: ElevenLabs.WorkflowEdgeModelForwardCondition;
10
+ /** Condition that must be met for the edge to be traversed in the backward direction. */
11
+ backwardCondition?: ElevenLabs.WorkflowEdgeModelBackwardCondition;
12
+ }
@@ -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 });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type WorkflowEdgeModelBackwardCondition = ElevenLabs.WorkflowEdgeModelBackwardCondition.Llm | ElevenLabs.WorkflowEdgeModelBackwardCondition.Result | ElevenLabs.WorkflowEdgeModelBackwardCondition.Unconditional;
6
+ export declare namespace WorkflowEdgeModelBackwardCondition {
7
+ interface Llm extends ElevenLabs.WorkflowLlmConditionModel {
8
+ type: "llm";
9
+ }
10
+ interface Result extends ElevenLabs.WorkflowResultConditionModel {
11
+ type: "result";
12
+ }
13
+ interface Unconditional extends ElevenLabs.WorkflowUnconditionalModel {
14
+ type: "unconditional";
15
+ }
16
+ }
@@ -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 });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type WorkflowEdgeModelForwardCondition = ElevenLabs.WorkflowEdgeModelForwardCondition.Llm | ElevenLabs.WorkflowEdgeModelForwardCondition.Result | ElevenLabs.WorkflowEdgeModelForwardCondition.Unconditional;
6
+ export declare namespace WorkflowEdgeModelForwardCondition {
7
+ interface Llm extends ElevenLabs.WorkflowLlmConditionModel {
8
+ type: "llm";
9
+ }
10
+ interface Result extends ElevenLabs.WorkflowResultConditionModel {
11
+ type: "result";
12
+ }
13
+ interface Unconditional extends ElevenLabs.WorkflowUnconditionalModel {
14
+ type: "unconditional";
15
+ }
16
+ }
@@ -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 });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowEndNodeModel {
6
+ /** Position of the node in the workflow. */
7
+ position?: ElevenLabs.Position;
8
+ }
@@ -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 });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowLlmConditionModel {
5
+ label?: string;
6
+ condition: string;
7
+ }
@@ -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 });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowOverrideAgentNodeModel {
6
+ conversationConfig?: ElevenLabs.ConversationalConfigApiModelWorkflowOverride;
7
+ additionalPrompt?: string;
8
+ additionalKnowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
9
+ additionalToolIds?: string[];
10
+ /** Position of the node in the workflow. */
11
+ position?: ElevenLabs.Position;
12
+ label: string;
13
+ }
@@ -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 });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowPhoneNumberNodeModel {
6
+ /** Position of the node in the workflow. */
7
+ position?: ElevenLabs.Position;
8
+ transferDestination: ElevenLabs.WorkflowPhoneNumberNodeModelTransferDestination;
9
+ transferType?: ElevenLabs.TransferTypeEnum;
10
+ }
@@ -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 });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type WorkflowPhoneNumberNodeModelTransferDestination = ElevenLabs.WorkflowPhoneNumberNodeModelTransferDestination.Phone | ElevenLabs.WorkflowPhoneNumberNodeModelTransferDestination.SipUri;
6
+ export declare namespace WorkflowPhoneNumberNodeModelTransferDestination {
7
+ interface Phone extends ElevenLabs.PhoneNumberTransferDestination {
8
+ type: "phone";
9
+ }
10
+ interface SipUri extends ElevenLabs.SipUriTransferDestination {
11
+ type: "sip_uri";
12
+ }
13
+ }
@@ -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 });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowResultConditionModel {
5
+ label?: string;
6
+ successful: boolean;
7
+ }
@@ -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 });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowStandaloneAgentNodeModel {
6
+ /** Position of the node in the workflow. */
7
+ position?: ElevenLabs.Position;
8
+ agentId: string;
9
+ delayMs?: number;
10
+ transferMessage?: string;
11
+ enableTransferredAgentFirstMessage?: boolean;
12
+ }
@@ -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 });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowStartNodeModel {
6
+ /** Position of the node in the workflow. */
7
+ position?: ElevenLabs.Position;
8
+ }
@@ -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 });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowToolLocator {
5
+ toolId: string;
6
+ }
@@ -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 });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface WorkflowToolNodeModel {
6
+ /** Position of the node in the workflow. */
7
+ position?: ElevenLabs.Position;
8
+ tools?: ElevenLabs.WorkflowToolLocator[];
9
+ }
@@ -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 });
@@ -6,6 +6,5 @@ import * as ElevenLabs from "../index";
6
6
  * A common model for workflow tool responses.
7
7
  */
8
8
  export interface WorkflowToolResponseModelInput {
9
- finalTransfer?: ElevenLabs.TransferToAgentToolResultSuccessModel;
10
9
  steps?: ElevenLabs.WorkflowToolResponseModelInputStepsItem[];
11
10
  }
@@ -6,6 +6,5 @@ import * as ElevenLabs from "../index";
6
6
  * A common model for workflow tool responses.
7
7
  */
8
8
  export interface WorkflowToolResponseModelOutput {
9
- finalTransfer?: ElevenLabs.TransferToAgentToolResultSuccessModel;
10
9
  steps?: ElevenLabs.WorkflowToolResponseModelOutputStepsItem[];
11
10
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowUnconditionalModel {
5
+ label?: string;
6
+ }
@@ -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 });