@elevenlabs/elevenlabs-js 2.12.2 → 2.14.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 (574) 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/conversations/client/Client.js +4 -1
  7. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
  8. package/api/resources/dubbing/resources/resource/client/Client.js +18 -1
  9. package/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +4 -0
  10. package/api/resources/speechToText/client/Client.d.ts +3 -0
  11. package/api/resources/speechToText/client/Client.js +5 -0
  12. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  13. package/api/resources/speechToText/index.d.ts +1 -0
  14. package/api/resources/speechToText/index.js +1 -0
  15. package/api/resources/speechToText/resources/index.d.ts +2 -0
  16. package/api/resources/speechToText/resources/index.js +41 -0
  17. package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
  18. package/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
  19. package/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
  20. package/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
  21. package/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
  22. package/api/resources/speechToText/resources/transcripts/index.js +18 -0
  23. package/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
  24. package/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  25. package/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
  26. package/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
  27. package/api/resources/studio/resources/projects/client/Client.js +11 -4
  28. package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
  29. package/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
  30. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
  31. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
  32. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
  33. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
  34. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
  35. package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
  36. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  37. package/api/resources/textToDialogue/types/index.js +2 -0
  38. package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  39. package/api/resources/textToSoundEffects/client/Client.js +1 -1
  40. package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +4 -0
  41. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  42. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  43. package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  44. package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  45. package/api/resources/workspace/resources/members/client/Client.d.ts +0 -15
  46. package/api/resources/workspace/resources/members/client/Client.js +0 -77
  47. package/api/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
  48. package/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
  49. package/api/types/AgentConfigApiModelWorkflowOverride.d.ts +14 -0
  50. package/api/types/AgentMetadataResponseModel.d.ts +2 -0
  51. package/api/types/AgentWorkflowRequestModel.d.ts +8 -0
  52. package/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
  53. package/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
  54. package/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
  55. package/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
  56. package/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
  57. package/api/types/BuiltInToolsWorkflowOverride.js +5 -0
  58. package/api/types/CaptionStyleTemplateModel.d.ts +1 -0
  59. package/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
  60. package/api/types/ConversationConfigWorkflowOverride.js +5 -0
  61. package/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
  62. package/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
  63. package/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
  64. package/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
  65. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  66. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  67. package/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
  68. package/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
  69. package/api/types/DubbingReleaseChannel.d.ts +9 -0
  70. package/api/types/DubbingReleaseChannel.js +11 -0
  71. package/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
  72. package/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
  73. package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
  74. package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
  75. package/api/types/InvoiceResponse.d.ts +3 -0
  76. package/api/types/InvoiceResponseModelPaymentIntentStatus.d.ts +13 -0
  77. package/api/types/InvoiceResponseModelPaymentIntentStatus.js +15 -0
  78. package/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  79. package/api/types/Position.d.ts +7 -0
  80. package/api/types/Position.js +5 -0
  81. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  82. package/api/types/ProjectResponse.d.ts +2 -0
  83. package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
  84. package/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
  85. package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
  86. package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
  87. package/api/types/RagConfigWorkflowOverride.d.ts +14 -0
  88. package/api/types/RagConfigWorkflowOverride.js +5 -0
  89. package/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  90. package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
  91. package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
  92. package/api/types/SingleTestRunRequestModel.d.ts +2 -0
  93. package/api/types/SpeechHistoryItemResponse.d.ts +1 -1
  94. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  95. package/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
  96. package/api/types/Subscription.d.ts +2 -0
  97. package/api/types/TestRunMetadata.d.ts +10 -0
  98. package/api/types/TestRunMetadata.js +5 -0
  99. package/api/types/TestRunMetadataTestType.d.ts +8 -0
  100. package/api/types/TestRunMetadataTestType.js +10 -0
  101. package/api/types/TtsConversationalConfigOverride.d.ts +6 -0
  102. package/api/types/TtsConversationalConfigOverrideConfig.d.ts +6 -0
  103. package/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
  104. package/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
  105. package/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
  106. package/api/types/TurnConfigWorkflowOverride.js +5 -0
  107. package/api/types/UnitTestRunResponseModel.d.ts +2 -0
  108. package/api/types/Voice.d.ts +2 -0
  109. package/api/types/VoicePreviewResponseModel.d.ts +2 -0
  110. package/api/types/WorkflowEdgeModel.d.ts +12 -0
  111. package/api/types/WorkflowEdgeModel.js +5 -0
  112. package/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
  113. package/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
  114. package/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
  115. package/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
  116. package/api/types/WorkflowEndNodeModel.d.ts +8 -0
  117. package/api/types/WorkflowEndNodeModel.js +5 -0
  118. package/api/types/WorkflowLlmConditionModel.d.ts +7 -0
  119. package/api/types/WorkflowLlmConditionModel.js +5 -0
  120. package/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
  121. package/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
  122. package/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
  123. package/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
  124. package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
  125. package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
  126. package/api/types/WorkflowResultConditionModel.d.ts +7 -0
  127. package/api/types/WorkflowResultConditionModel.js +5 -0
  128. package/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
  129. package/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
  130. package/api/types/WorkflowStartNodeModel.d.ts +8 -0
  131. package/api/types/WorkflowStartNodeModel.js +5 -0
  132. package/api/types/WorkflowToolLocator.d.ts +6 -0
  133. package/api/types/WorkflowToolLocator.js +5 -0
  134. package/api/types/WorkflowToolNodeModel.d.ts +9 -0
  135. package/api/types/WorkflowToolNodeModel.js +5 -0
  136. package/api/types/WorkflowUnconditionalModel.d.ts +6 -0
  137. package/api/types/WorkflowUnconditionalModel.js +5 -0
  138. package/api/types/index.d.ts +36 -1
  139. package/api/types/index.js +36 -1
  140. package/dist/Client.js +2 -2
  141. package/dist/api/errors/UnauthorizedError.d.ts +8 -0
  142. package/dist/api/errors/UnauthorizedError.js +52 -0
  143. package/dist/api/errors/index.d.ts +1 -0
  144. package/dist/api/errors/index.js +1 -0
  145. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -1
  146. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
  147. package/dist/api/resources/dubbing/resources/resource/client/Client.js +18 -1
  148. package/dist/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +4 -0
  149. package/dist/api/resources/speechToText/client/Client.d.ts +3 -0
  150. package/dist/api/resources/speechToText/client/Client.js +5 -0
  151. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  152. package/dist/api/resources/speechToText/index.d.ts +1 -0
  153. package/dist/api/resources/speechToText/index.js +1 -0
  154. package/dist/api/resources/speechToText/resources/index.d.ts +2 -0
  155. package/dist/api/resources/speechToText/resources/index.js +41 -0
  156. package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
  157. package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
  158. package/dist/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
  159. package/dist/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
  160. package/dist/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
  161. package/dist/api/resources/speechToText/resources/transcripts/index.js +18 -0
  162. package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
  163. package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +5 -0
  164. package/dist/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  165. package/dist/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
  166. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
  167. package/dist/api/resources/studio/resources/projects/client/Client.js +11 -4
  168. package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
  169. package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.js +5 -0
  170. package/dist/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
  171. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
  172. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
  173. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
  174. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
  175. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
  176. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
  177. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  178. package/dist/api/resources/textToDialogue/types/index.js +2 -0
  179. package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
  180. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
  181. package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +4 -0
  182. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  183. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  184. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  185. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  186. package/dist/api/resources/workspace/resources/members/client/Client.d.ts +0 -15
  187. package/dist/api/resources/workspace/resources/members/client/Client.js +0 -77
  188. package/dist/api/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
  189. package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
  190. package/dist/api/types/AgentConfigApiModelWorkflowOverride.d.ts +14 -0
  191. package/dist/api/types/AgentConfigApiModelWorkflowOverride.js +5 -0
  192. package/dist/api/types/AgentMetadataResponseModel.d.ts +2 -0
  193. package/dist/api/types/AgentWorkflowRequestModel.d.ts +8 -0
  194. package/dist/api/types/AgentWorkflowRequestModel.js +5 -0
  195. package/dist/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
  196. package/dist/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
  197. package/dist/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
  198. package/dist/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
  199. package/dist/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
  200. package/dist/api/types/BuiltInToolsWorkflowOverride.js +5 -0
  201. package/dist/api/types/CaptionStyleTemplateModel.d.ts +1 -0
  202. package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
  203. package/dist/api/types/ConversationConfigWorkflowOverride.js +5 -0
  204. package/dist/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
  205. package/dist/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
  206. package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
  207. package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
  208. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  209. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  210. package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
  211. package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
  212. package/dist/api/types/DubbingReleaseChannel.d.ts +9 -0
  213. package/dist/api/types/DubbingReleaseChannel.js +11 -0
  214. package/dist/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
  215. package/dist/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
  216. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
  217. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
  218. package/dist/api/types/InvoiceResponse.d.ts +3 -0
  219. package/dist/api/types/InvoiceResponseModelPaymentIntentStatus.d.ts +13 -0
  220. package/dist/api/types/InvoiceResponseModelPaymentIntentStatus.js +15 -0
  221. package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
  222. package/dist/api/types/Position.d.ts +7 -0
  223. package/dist/api/types/Position.js +5 -0
  224. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  225. package/dist/api/types/ProjectResponse.d.ts +2 -0
  226. package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
  227. package/dist/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
  228. package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
  229. package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
  230. package/dist/api/types/RagConfigWorkflowOverride.d.ts +14 -0
  231. package/dist/api/types/RagConfigWorkflowOverride.js +5 -0
  232. package/dist/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  233. package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
  234. package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
  235. package/dist/api/types/SingleTestRunRequestModel.d.ts +2 -0
  236. package/dist/api/types/SpeechHistoryItemResponse.d.ts +1 -1
  237. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  238. package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
  239. package/dist/api/types/Subscription.d.ts +2 -0
  240. package/dist/api/types/TestRunMetadata.d.ts +10 -0
  241. package/dist/api/types/TestRunMetadata.js +5 -0
  242. package/dist/api/types/TestRunMetadataTestType.d.ts +8 -0
  243. package/dist/api/types/TestRunMetadataTestType.js +10 -0
  244. package/dist/api/types/TtsConversationalConfigOverride.d.ts +6 -0
  245. package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +6 -0
  246. package/dist/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
  247. package/dist/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
  248. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
  249. package/dist/api/types/TurnConfigWorkflowOverride.js +5 -0
  250. package/dist/api/types/UnitTestRunResponseModel.d.ts +2 -0
  251. package/dist/api/types/Voice.d.ts +2 -0
  252. package/dist/api/types/VoicePreviewResponseModel.d.ts +2 -0
  253. package/dist/api/types/WorkflowEdgeModel.d.ts +12 -0
  254. package/dist/api/types/WorkflowEdgeModel.js +5 -0
  255. package/dist/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
  256. package/dist/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
  257. package/dist/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
  258. package/dist/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
  259. package/dist/api/types/WorkflowEndNodeModel.d.ts +8 -0
  260. package/dist/api/types/WorkflowEndNodeModel.js +5 -0
  261. package/dist/api/types/WorkflowLlmConditionModel.d.ts +7 -0
  262. package/dist/api/types/WorkflowLlmConditionModel.js +5 -0
  263. package/dist/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
  264. package/dist/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
  265. package/dist/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
  266. package/dist/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
  267. package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
  268. package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
  269. package/dist/api/types/WorkflowResultConditionModel.d.ts +7 -0
  270. package/dist/api/types/WorkflowResultConditionModel.js +5 -0
  271. package/dist/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
  272. package/dist/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
  273. package/dist/api/types/WorkflowStartNodeModel.d.ts +8 -0
  274. package/dist/api/types/WorkflowStartNodeModel.js +5 -0
  275. package/dist/api/types/WorkflowToolLocator.d.ts +6 -0
  276. package/dist/api/types/WorkflowToolLocator.js +5 -0
  277. package/dist/api/types/WorkflowToolNodeModel.d.ts +9 -0
  278. package/dist/api/types/WorkflowToolNodeModel.js +5 -0
  279. package/dist/api/types/WorkflowUnconditionalModel.d.ts +6 -0
  280. package/dist/api/types/WorkflowUnconditionalModel.js +5 -0
  281. package/dist/api/types/index.d.ts +36 -1
  282. package/dist/api/types/index.js +36 -1
  283. package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +1 -1
  284. package/dist/serialization/resources/speechToText/index.d.ts +1 -0
  285. package/dist/serialization/resources/speechToText/index.js +1 -0
  286. package/dist/serialization/resources/speechToText/resources/index.d.ts +2 -0
  287. package/dist/serialization/resources/speechToText/resources/index.js +41 -0
  288. package/dist/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
  289. package/dist/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
  290. package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
  291. package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
  292. package/dist/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  293. package/dist/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
  294. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
  295. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
  296. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
  297. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
  298. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
  299. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
  300. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
  301. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
  302. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  303. package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
  304. package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +2 -0
  305. package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +2 -0
  306. package/dist/serialization/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
  307. package/dist/serialization/resources/workspace/resources/members/client/requests/index.js +1 -3
  308. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
  309. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
  310. package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +17 -0
  311. package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.js +48 -0
  312. package/dist/serialization/types/AgentMetadataResponseModel.d.ts +1 -0
  313. package/dist/serialization/types/AgentMetadataResponseModel.js +1 -0
  314. package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
  315. package/dist/serialization/types/AgentWorkflowRequestModel.js +46 -0
  316. package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
  317. package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
  318. package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
  319. package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
  320. package/dist/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
  321. package/dist/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
  322. package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
  323. package/dist/serialization/types/CaptionStyleTemplateModel.js +1 -0
  324. package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
  325. package/dist/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
  326. package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
  327. package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
  328. package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
  329. package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
  330. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  331. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  332. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  333. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  334. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
  335. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
  336. package/dist/serialization/types/DubbingReleaseChannel.d.ts +10 -0
  337. package/dist/serialization/types/DubbingReleaseChannel.js +41 -0
  338. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
  339. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
  340. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
  341. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
  342. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  343. package/dist/serialization/types/InvoiceResponse.js +2 -0
  344. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatus.d.ts +10 -0
  345. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatus.js +49 -0
  346. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  347. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  348. package/dist/serialization/types/Position.d.ts +13 -0
  349. package/dist/serialization/{resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → types/Position.js} +5 -4
  350. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  351. package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
  352. package/dist/serialization/types/ProjectResponse.d.ts +1 -0
  353. package/dist/serialization/types/ProjectResponse.js +1 -0
  354. package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
  355. package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
  356. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
  357. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
  358. package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
  359. package/dist/serialization/types/RagConfigWorkflowOverride.js +48 -0
  360. package/dist/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
  361. package/dist/serialization/types/ResourceMetadataResponseModel.js +2 -0
  362. package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
  363. package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
  364. package/dist/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
  365. package/dist/serialization/types/SingleTestRunRequestModel.js +1 -0
  366. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  367. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  368. package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
  369. package/dist/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
  370. package/dist/serialization/types/Subscription.d.ts +1 -0
  371. package/dist/serialization/types/Subscription.js +1 -0
  372. package/dist/serialization/types/TestRunMetadata.d.ts +16 -0
  373. package/dist/serialization/types/TestRunMetadata.js +47 -0
  374. package/dist/serialization/types/TestRunMetadataTestType.d.ts +10 -0
  375. package/dist/serialization/types/TestRunMetadataTestType.js +41 -0
  376. package/dist/serialization/types/TtsConversationalConfigOverride.d.ts +3 -0
  377. package/dist/serialization/types/TtsConversationalConfigOverride.js +3 -0
  378. package/dist/serialization/types/TtsConversationalConfigOverrideConfig.d.ts +3 -0
  379. package/dist/serialization/types/TtsConversationalConfigOverrideConfig.js +3 -0
  380. package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
  381. package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
  382. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
  383. package/dist/serialization/types/TurnConfigWorkflowOverride.js +46 -0
  384. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  385. package/dist/serialization/types/UnitTestRunResponseModel.js +3 -0
  386. package/dist/serialization/types/Voice.d.ts +1 -0
  387. package/dist/serialization/types/Voice.js +1 -0
  388. package/dist/serialization/types/VoicePreviewResponseModel.d.ts +1 -0
  389. package/dist/serialization/types/VoicePreviewResponseModel.js +1 -0
  390. package/dist/serialization/types/WorkflowEdgeModel.d.ts +17 -0
  391. package/dist/serialization/types/WorkflowEdgeModel.js +48 -0
  392. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
  393. package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
  394. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
  395. package/dist/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
  396. package/dist/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
  397. package/{serialization/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → dist/serialization/types/WorkflowEndNodeModel.js} +5 -4
  398. package/dist/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
  399. package/dist/serialization/types/WorkflowLlmConditionModel.js +44 -0
  400. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
  401. package/dist/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
  402. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
  403. package/dist/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
  404. package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
  405. package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
  406. package/dist/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
  407. package/dist/serialization/types/WorkflowResultConditionModel.js +44 -0
  408. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
  409. package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
  410. package/dist/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
  411. package/dist/serialization/types/WorkflowStartNodeModel.js +44 -0
  412. package/dist/serialization/types/WorkflowToolLocator.d.ts +12 -0
  413. package/dist/serialization/types/WorkflowToolLocator.js +43 -0
  414. package/dist/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
  415. package/dist/serialization/types/WorkflowToolNodeModel.js +46 -0
  416. package/dist/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
  417. package/dist/serialization/types/{DeleteWorkspaceMemberResponseModel.js → WorkflowUnconditionalModel.js} +3 -3
  418. package/dist/serialization/types/index.d.ts +36 -1
  419. package/dist/serialization/types/index.js +36 -1
  420. package/dist/version.d.ts +1 -1
  421. package/dist/version.js +1 -1
  422. package/package.json +1 -1
  423. package/reference.md +75 -67
  424. package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +1 -1
  425. package/serialization/resources/speechToText/index.d.ts +1 -0
  426. package/serialization/resources/speechToText/index.js +1 -0
  427. package/serialization/resources/speechToText/resources/index.d.ts +2 -0
  428. package/serialization/resources/speechToText/resources/index.js +41 -0
  429. package/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
  430. package/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
  431. package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
  432. package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
  433. package/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
  434. package/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
  435. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
  436. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
  437. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
  438. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
  439. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
  440. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
  441. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
  442. package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
  443. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  444. package/serialization/resources/textToDialogue/types/index.js +2 -0
  445. package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +2 -0
  446. package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +2 -0
  447. package/serialization/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
  448. package/serialization/resources/workspace/resources/members/client/requests/index.js +1 -3
  449. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
  450. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
  451. package/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +17 -0
  452. package/serialization/types/AgentConfigApiModelWorkflowOverride.js +48 -0
  453. package/serialization/types/AgentMetadataResponseModel.d.ts +1 -0
  454. package/serialization/types/AgentMetadataResponseModel.js +1 -0
  455. package/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
  456. package/serialization/types/AgentWorkflowRequestModel.js +46 -0
  457. package/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
  458. package/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
  459. package/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
  460. package/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
  461. package/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
  462. package/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
  463. package/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
  464. package/serialization/types/CaptionStyleTemplateModel.js +1 -0
  465. package/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
  466. package/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
  467. package/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
  468. package/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
  469. package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
  470. package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
  471. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  472. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  473. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  474. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  475. package/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
  476. package/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
  477. package/serialization/types/DubbingReleaseChannel.d.ts +10 -0
  478. package/serialization/types/DubbingReleaseChannel.js +41 -0
  479. package/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
  480. package/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
  481. package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
  482. package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
  483. package/serialization/types/InvoiceResponse.d.ts +2 -0
  484. package/serialization/types/InvoiceResponse.js +2 -0
  485. package/serialization/types/InvoiceResponseModelPaymentIntentStatus.d.ts +10 -0
  486. package/serialization/types/InvoiceResponseModelPaymentIntentStatus.js +49 -0
  487. package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
  488. package/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
  489. package/serialization/types/Position.d.ts +13 -0
  490. package/serialization/types/Position.js +44 -0
  491. package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  492. package/serialization/types/ProjectExtendedResponse.js +1 -0
  493. package/serialization/types/ProjectResponse.d.ts +1 -0
  494. package/serialization/types/ProjectResponse.js +1 -0
  495. package/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
  496. package/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
  497. package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
  498. package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
  499. package/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
  500. package/serialization/types/RagConfigWorkflowOverride.js +48 -0
  501. package/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
  502. package/serialization/types/ResourceMetadataResponseModel.js +2 -0
  503. package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
  504. package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
  505. package/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
  506. package/serialization/types/SingleTestRunRequestModel.js +1 -0
  507. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  508. package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  509. package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
  510. package/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
  511. package/serialization/types/Subscription.d.ts +1 -0
  512. package/serialization/types/Subscription.js +1 -0
  513. package/serialization/types/TestRunMetadata.d.ts +16 -0
  514. package/serialization/types/TestRunMetadata.js +47 -0
  515. package/serialization/types/TestRunMetadataTestType.d.ts +10 -0
  516. package/serialization/types/TestRunMetadataTestType.js +41 -0
  517. package/serialization/types/TtsConversationalConfigOverride.d.ts +3 -0
  518. package/serialization/types/TtsConversationalConfigOverride.js +3 -0
  519. package/serialization/types/TtsConversationalConfigOverrideConfig.d.ts +3 -0
  520. package/serialization/types/TtsConversationalConfigOverrideConfig.js +3 -0
  521. package/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
  522. package/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
  523. package/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
  524. package/serialization/types/TurnConfigWorkflowOverride.js +46 -0
  525. package/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  526. package/serialization/types/UnitTestRunResponseModel.js +3 -0
  527. package/serialization/types/Voice.d.ts +1 -0
  528. package/serialization/types/Voice.js +1 -0
  529. package/serialization/types/VoicePreviewResponseModel.d.ts +1 -0
  530. package/serialization/types/VoicePreviewResponseModel.js +1 -0
  531. package/serialization/types/WorkflowEdgeModel.d.ts +17 -0
  532. package/serialization/types/WorkflowEdgeModel.js +48 -0
  533. package/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
  534. package/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
  535. package/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
  536. package/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
  537. package/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
  538. package/serialization/types/WorkflowEndNodeModel.js +44 -0
  539. package/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
  540. package/serialization/types/WorkflowLlmConditionModel.js +44 -0
  541. package/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
  542. package/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
  543. package/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
  544. package/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
  545. package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
  546. package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
  547. package/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
  548. package/serialization/types/WorkflowResultConditionModel.js +44 -0
  549. package/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
  550. package/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
  551. package/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
  552. package/serialization/types/WorkflowStartNodeModel.js +44 -0
  553. package/serialization/types/WorkflowToolLocator.d.ts +12 -0
  554. package/serialization/types/WorkflowToolLocator.js +43 -0
  555. package/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
  556. package/serialization/types/WorkflowToolNodeModel.js +46 -0
  557. package/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
  558. package/serialization/types/{DeleteWorkspaceMemberResponseModel.js → WorkflowUnconditionalModel.js} +3 -3
  559. package/serialization/types/index.d.ts +36 -1
  560. package/serialization/types/index.js +36 -1
  561. package/version.d.ts +1 -1
  562. package/version.js +1 -1
  563. package/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -13
  564. package/api/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -7
  565. package/dist/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -13
  566. package/dist/api/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -7
  567. package/dist/serialization/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -12
  568. package/dist/serialization/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -12
  569. package/serialization/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -12
  570. package/serialization/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -12
  571. /package/api/resources/{workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → speechToText/resources/transcripts/types/TranscriptsGetResponse.js} +0 -0
  572. /package/api/{types/DeleteWorkspaceMemberResponseModel.js → resources/studio/resources/projects/client/requests/ProjectsGetRequest.js} +0 -0
  573. /package/{dist/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → api/types/AgentConfigApiModelWorkflowOverride.js} +0 -0
  574. /package/{dist/api/types/DeleteWorkspaceMemberResponseModel.js → api/types/AgentWorkflowRequestModel.js} +0 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
+ */
7
+ export type BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = "auto" | "on" | "off";
8
+ export declare const BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization: {
9
+ readonly Auto: "auto";
10
+ readonly On: "on";
11
+ readonly Off: "off";
12
+ };
@@ -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.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = void 0;
7
+ exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = {
8
+ Auto: "auto",
9
+ On: "on",
10
+ Off: "off",
11
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
+ */
7
+ export type BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = "auto" | "on" | "off";
8
+ export declare const BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization: {
9
+ readonly Auto: "auto";
10
+ readonly On: "on";
11
+ readonly Off: "off";
12
+ };
@@ -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.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = void 0;
7
+ exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = {
8
+ Auto: "auto",
9
+ On: "on",
10
+ Off: "off",
11
+ };
@@ -1,2 +1,4 @@
1
1
  export * from "./TextToDialogueConvertRequestOutputFormat";
2
+ export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
2
3
  export * from "./TextToDialogueStreamRequestOutputFormat";
4
+ export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
18
+ __exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
18
19
  __exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
20
+ __exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
@@ -31,7 +31,7 @@ export declare class TextToSoundEffects {
31
31
  protected readonly _options: TextToSoundEffects.Options;
32
32
  constructor(_options?: TextToSoundEffects.Options);
33
33
  /**
34
- * Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects model in the world.
34
+ * Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
35
35
  * @throws {@link ElevenLabs.UnprocessableEntityError}
36
36
  */
37
37
  convert(request: ElevenLabs.CreateSoundEffectRequest, requestOptions?: TextToSoundEffects.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
@@ -68,7 +68,7 @@ class TextToSoundEffects {
68
68
  this._options = _options;
69
69
  }
70
70
  /**
71
- * Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects model in the world.
71
+ * Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
72
72
  * @throws {@link ElevenLabs.UnprocessableEntityError}
73
73
  */
74
74
  convert(request, requestOptions) {
@@ -15,8 +15,12 @@ export interface CreateSoundEffectRequest {
15
15
  outputFormat?: ElevenLabs.TextToSoundEffectsConvertRequestOutputFormat;
16
16
  /** The text that will get converted into a sound effect. */
17
17
  text: string;
18
+ /** Whether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'. */
19
+ loop?: boolean;
18
20
  /** The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 30. If set to None we will guess the optimal duration using the prompt. Defaults to None. */
19
21
  durationSeconds?: number;
20
22
  /** A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3. */
21
23
  promptInfluence?: number;
24
+ /** The model ID to use for the sound generation. */
25
+ modelId?: string;
22
26
  }
@@ -34,7 +34,7 @@ export interface StreamTextToSpeechRequest {
34
34
  text: string;
35
35
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
36
36
  modelId?: string;
37
- /** Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided. */
37
+ /** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
38
38
  languageCode?: string;
39
39
  /** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
40
40
  voiceSettings?: ElevenLabs.VoiceSettings;
@@ -34,7 +34,7 @@ export interface StreamTextToSpeechWithTimestampsRequest {
34
34
  text: string;
35
35
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
36
36
  modelId?: string;
37
- /** Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided. */
37
+ /** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
38
38
  languageCode?: string;
39
39
  /** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
40
40
  voiceSettings?: ElevenLabs.VoiceSettings;
@@ -34,7 +34,7 @@ export interface TextToSpeechRequest {
34
34
  text: string;
35
35
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
36
36
  modelId?: string;
37
- /** Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided. */
37
+ /** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
38
38
  languageCode?: string;
39
39
  /** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
40
40
  voiceSettings?: ElevenLabs.VoiceSettings;
@@ -32,7 +32,7 @@ export interface TextToSpeechWithTimestampsRequest {
32
32
  text: string;
33
33
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
34
34
  modelId?: string;
35
- /** Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided. */
35
+ /** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
36
36
  languageCode?: string;
37
37
  /** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
38
38
  voiceSettings?: ElevenLabs.VoiceSettings;
@@ -45,19 +45,4 @@ export declare class Members {
45
45
  */
46
46
  update(request: ElevenLabs.workspace.UpdateMemberRequest, requestOptions?: Members.RequestOptions): core.HttpResponsePromise<ElevenLabs.UpdateWorkspaceMemberResponseModel>;
47
47
  private __update;
48
- /**
49
- * Deletes a workspace member. This endpoint may only be called by workspace administrators.
50
- *
51
- * @param {ElevenLabs.workspace.BodyDeleteMemberV1WorkspaceMembersDelete} request
52
- * @param {Members.RequestOptions} requestOptions - Request-specific configuration.
53
- *
54
- * @throws {@link ElevenLabs.UnprocessableEntityError}
55
- *
56
- * @example
57
- * await client.workspace.members.delete({
58
- * email: "email"
59
- * })
60
- */
61
- delete(request: ElevenLabs.workspace.BodyDeleteMemberV1WorkspaceMembersDelete, requestOptions?: Members.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteWorkspaceMemberResponseModel>;
62
- private __delete;
63
48
  }
@@ -131,82 +131,5 @@ class Members {
131
131
  }
132
132
  });
133
133
  }
134
- /**
135
- * Deletes a workspace member. This endpoint may only be called by workspace administrators.
136
- *
137
- * @param {ElevenLabs.workspace.BodyDeleteMemberV1WorkspaceMembersDelete} request
138
- * @param {Members.RequestOptions} requestOptions - Request-specific configuration.
139
- *
140
- * @throws {@link ElevenLabs.UnprocessableEntityError}
141
- *
142
- * @example
143
- * await client.workspace.members.delete({
144
- * email: "email"
145
- * })
146
- */
147
- delete(request, requestOptions) {
148
- return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
149
- }
150
- __delete(request, requestOptions) {
151
- return __awaiter(this, void 0, void 0, function* () {
152
- var _a, _b, _c;
153
- const _response = yield core.fetcher({
154
- 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/workspace/members"),
155
- method: "DELETE",
156
- 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),
157
- contentType: "application/json",
158
- requestType: "json",
159
- body: serializers.workspace.BodyDeleteMemberV1WorkspaceMembersDelete.jsonOrThrow(request, {
160
- unrecognizedObjectKeys: "strip",
161
- }),
162
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
163
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
164
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
165
- });
166
- if (_response.ok) {
167
- return {
168
- data: serializers.DeleteWorkspaceMemberResponseModel.parseOrThrow(_response.body, {
169
- unrecognizedObjectKeys: "passthrough",
170
- allowUnrecognizedUnionMembers: true,
171
- allowUnrecognizedEnumValues: true,
172
- breadcrumbsPrefix: ["response"],
173
- }),
174
- rawResponse: _response.rawResponse,
175
- };
176
- }
177
- if (_response.error.reason === "status-code") {
178
- switch (_response.error.statusCode) {
179
- case 422:
180
- throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
181
- unrecognizedObjectKeys: "passthrough",
182
- allowUnrecognizedUnionMembers: true,
183
- allowUnrecognizedEnumValues: true,
184
- breadcrumbsPrefix: ["response"],
185
- }), _response.rawResponse);
186
- default:
187
- throw new errors.ElevenLabsError({
188
- statusCode: _response.error.statusCode,
189
- body: _response.error.body,
190
- rawResponse: _response.rawResponse,
191
- });
192
- }
193
- }
194
- switch (_response.error.reason) {
195
- case "non-json":
196
- throw new errors.ElevenLabsError({
197
- statusCode: _response.error.statusCode,
198
- body: _response.error.rawBody,
199
- rawResponse: _response.rawResponse,
200
- });
201
- case "timeout":
202
- throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/workspace/members.");
203
- case "unknown":
204
- throw new errors.ElevenLabsError({
205
- message: _response.error.errorMessage,
206
- rawResponse: _response.rawResponse,
207
- });
208
- }
209
- });
210
- }
211
134
  }
212
135
  exports.Members = Members;
@@ -1,2 +1 @@
1
1
  export { type UpdateMemberRequest } from "./UpdateMemberRequest";
2
- export { type BodyDeleteMemberV1WorkspaceMembersDelete } from "./BodyDeleteMemberV1WorkspaceMembersDelete";
@@ -5,4 +5,5 @@ import * as ElevenLabs from "../index";
5
5
  export interface AdhocAgentConfigOverrideForTestRequestModel {
6
6
  conversationConfig: ElevenLabs.ConversationalConfig;
7
7
  platformSettings: ElevenLabs.AgentPlatformSettingsRequestModel;
8
+ workflow?: ElevenLabs.AgentWorkflowRequestModel;
8
9
  }
@@ -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 AgentConfigApiModelWorkflowOverride {
6
+ /** If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion. */
7
+ firstMessage?: string;
8
+ /** Language of the agent - used for ASR and TTS */
9
+ language?: string;
10
+ /** Configuration for dynamic variables */
11
+ dynamicVariables?: ElevenLabs.DynamicVariablesConfigWorkflowOverride;
12
+ /** The prompt for the agent */
13
+ prompt?: ElevenLabs.PromptAgentApiModelWorkflowOverride;
14
+ }
@@ -4,4 +4,6 @@
4
4
  export interface AgentMetadataResponseModel {
5
5
  /** The creation time of the agent in unix seconds */
6
6
  createdAtUnixSecs: number;
7
+ /** The last update time of the agent in unix seconds */
8
+ updatedAtUnixSecs: number;
7
9
  }
@@ -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 AgentWorkflowRequestModel {
6
+ edges?: Record<string, ElevenLabs.WorkflowEdgeModel>;
7
+ nodes?: Record<string, ElevenLabs.AgentWorkflowRequestModelNodesValue>;
8
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export type AgentWorkflowRequestModelNodesValue = ElevenLabs.AgentWorkflowRequestModelNodesValue.End | ElevenLabs.AgentWorkflowRequestModelNodesValue.OverrideAgent | ElevenLabs.AgentWorkflowRequestModelNodesValue.PhoneNumber | ElevenLabs.AgentWorkflowRequestModelNodesValue.StandaloneAgent | ElevenLabs.AgentWorkflowRequestModelNodesValue.Start | ElevenLabs.AgentWorkflowRequestModelNodesValue.Tool;
6
+ export declare namespace AgentWorkflowRequestModelNodesValue {
7
+ interface End extends ElevenLabs.WorkflowEndNodeModel {
8
+ type: "end";
9
+ }
10
+ interface OverrideAgent extends ElevenLabs.WorkflowOverrideAgentNodeModel {
11
+ type: "override_agent";
12
+ }
13
+ interface PhoneNumber extends ElevenLabs.WorkflowPhoneNumberNodeModel {
14
+ type: "phone_number";
15
+ }
16
+ interface StandaloneAgent extends ElevenLabs.WorkflowStandaloneAgentNodeModel {
17
+ type: "standalone_agent";
18
+ }
19
+ interface Start extends ElevenLabs.WorkflowStartNodeModel {
20
+ type: "start";
21
+ }
22
+ interface Tool extends ElevenLabs.WorkflowToolNodeModel {
23
+ type: "tool";
24
+ }
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 });
@@ -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 AsrConversationalConfigWorkflowOverride {
6
+ /** The quality of the transcription */
7
+ quality?: ElevenLabs.AsrQuality;
8
+ /** The provider of the transcription service */
9
+ provider?: ElevenLabs.AsrProvider;
10
+ /** The format of the audio to be transcribed */
11
+ userInputAudioFormat?: ElevenLabs.AsrInputFormat;
12
+ /** Keywords to boost prediction probability for */
13
+ keywords?: string[];
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 });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface BuiltInToolsWorkflowOverride {
6
+ /** The end call tool */
7
+ endCall?: ElevenLabs.SystemToolConfigInput;
8
+ /** The language detection tool */
9
+ languageDetection?: ElevenLabs.SystemToolConfigInput;
10
+ /** The transfer to agent tool */
11
+ transferToAgent?: ElevenLabs.SystemToolConfigInput;
12
+ /** The transfer to number tool */
13
+ transferToNumber?: ElevenLabs.SystemToolConfigInput;
14
+ /** The skip turn tool */
15
+ skipTurn?: ElevenLabs.SystemToolConfigInput;
16
+ /** The play DTMF tool */
17
+ playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
18
+ /** The voicemail detection tool */
19
+ voicemailDetection?: ElevenLabs.SystemToolConfigInput;
20
+ }
@@ -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 });
@@ -4,4 +4,5 @@
4
4
  export interface CaptionStyleTemplateModel {
5
5
  key: string;
6
6
  label: string;
7
+ requiresHighFps?: boolean;
7
8
  }
@@ -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 ConversationConfigWorkflowOverride {
6
+ /** If enabled audio will not be processed and only text will be used, use to avoid audio pricing. */
7
+ textOnly?: boolean;
8
+ /** The maximum duration of a conversation in seconds */
9
+ maxDurationSeconds?: number;
10
+ /** The events that will be sent to the client */
11
+ clientEvents?: ElevenLabs.ClientEvent[];
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ /**
6
+ * Represents a message from a multi-voice agent.
7
+ */
8
+ export interface ConversationHistoryMultivoiceMessageModel {
9
+ parts: ElevenLabs.ConversationHistoryMultivoiceMessagePartModel[];
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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Represents a single voice part of a multi-voice message.
6
+ */
7
+ export interface ConversationHistoryMultivoiceMessagePartModel {
8
+ text: string;
9
+ voiceLabel?: string;
10
+ timeInCallSecs?: number;
11
+ }
@@ -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 });
@@ -5,6 +5,7 @@ import * as ElevenLabs from "../index";
5
5
  export interface ConversationHistoryTranscriptCommonModelInput {
6
6
  role: ElevenLabs.ConversationHistoryTranscriptCommonModelInputRole;
7
7
  message?: string;
8
+ multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
8
9
  toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
9
10
  toolResults?: ElevenLabs.ConversationHistoryTranscriptCommonModelInputToolResultsItem[];
10
11
  feedback?: ElevenLabs.UserFeedback;
@@ -5,6 +5,7 @@ import * as ElevenLabs from "../index";
5
5
  export interface ConversationHistoryTranscriptCommonModelOutput {
6
6
  role: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputRole;
7
7
  message?: string;
8
+ multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
8
9
  toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
9
10
  toolResults?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputToolResultsItem[];
10
11
  feedback?: ElevenLabs.UserFeedback;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../index";
5
+ export interface ConversationalConfigApiModelWorkflowOverride {
6
+ /** Configuration for conversational transcription */
7
+ asr?: ElevenLabs.AsrConversationalConfigWorkflowOverride;
8
+ /** Configuration for turn detection */
9
+ turn?: ElevenLabs.TurnConfigWorkflowOverride;
10
+ /** Configuration for conversational text to speech */
11
+ tts?: ElevenLabs.TtsConversationalConfigWorkflowOverride;
12
+ /** Configuration for conversational events */
13
+ conversation?: ElevenLabs.ConversationConfigWorkflowOverride;
14
+ /** Language presets for conversations */
15
+ languagePresets?: Record<string, ElevenLabs.LanguagePresetInput | undefined>;
16
+ /** Agent specific configuration */
17
+ agent?: ElevenLabs.AgentConfigApiModelWorkflowOverride;
18
+ }
@@ -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
+ export type DubbingReleaseChannel = "stable" | "release" | "experimental";
5
+ export declare const DubbingReleaseChannel: {
6
+ readonly Stable: "stable";
7
+ readonly Release: "release";
8
+ readonly Experimental: "experimental";
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.DubbingReleaseChannel = void 0;
7
+ exports.DubbingReleaseChannel = {
8
+ Stable: "stable",
9
+ Release: "release",
10
+ Experimental: "experimental",
11
+ };
@@ -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 DynamicVariablesConfigWorkflowOverride {
6
+ /** A dictionary of dynamic variable placeholders and their values */
7
+ dynamicVariablePlaceholders?: Record<string, ElevenLabs.DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue | undefined>;
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue = string | number | number | boolean;
@@ -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,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as ElevenLabs from "../index";
4
5
  export interface InvoiceResponse {
5
6
  /** The amount due in cents. */
6
7
  amountDueCents: number;
@@ -10,4 +11,6 @@ export interface InvoiceResponse {
10
11
  discountAmountOff?: number;
11
12
  /** The Unix timestamp of the next payment attempt. */
12
13
  nextPaymentAttemptUnix: number;
14
+ /** The status of this invoice's payment intent. None when there is no payment intent. */
15
+ paymentIntentStatus?: ElevenLabs.InvoiceResponseModelPaymentIntentStatus;
13
16
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type InvoiceResponseModelPaymentIntentStatus = "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method" | "succeeded";
5
+ export declare const InvoiceResponseModelPaymentIntentStatus: {
6
+ readonly Canceled: "canceled";
7
+ readonly Processing: "processing";
8
+ readonly RequiresAction: "requires_action";
9
+ readonly RequiresCapture: "requires_capture";
10
+ readonly RequiresConfirmation: "requires_confirmation";
11
+ readonly RequiresPaymentMethod: "requires_payment_method";
12
+ readonly Succeeded: "succeeded";
13
+ };
@@ -0,0 +1,15 @@
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.InvoiceResponseModelPaymentIntentStatus = void 0;
7
+ exports.InvoiceResponseModelPaymentIntentStatus = {
8
+ Canceled: "canceled",
9
+ Processing: "processing",
10
+ RequiresAction: "requires_action",
11
+ RequiresCapture: "requires_capture",
12
+ RequiresConfirmation: "requires_confirmation",
13
+ RequiresPaymentMethod: "requires_payment_method",
14
+ Succeeded: "succeeded",
15
+ };
@@ -8,4 +8,6 @@ import * as ElevenLabs from "../index";
8
8
  export interface MultichannelSpeechToTextResponseModel {
9
9
  /** List of transcripts, one for each audio channel. Each transcript contains the text and word-level details for its respective channel. */
10
10
  transcripts: ElevenLabs.SpeechToTextChunkResponseModel[];
11
+ /** The transcription ID of the response. */
12
+ transcriptionId?: string;
11
13
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Position {
5
+ x?: number;
6
+ y?: number;
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 });