@elevenlabs/elevenlabs-js 2.22.0 → 2.23.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 (392) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  3. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
  4. package/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
  5. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  6. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
  7. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
  8. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
  9. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  10. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
  11. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
  12. package/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
  13. package/api/resources/music/client/Client.d.ts +1 -1
  14. package/api/resources/music/client/Client.js +1 -1
  15. package/api/types/AgentMetadata.d.ts +1 -0
  16. package/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
  17. package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
  18. package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
  19. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
  20. package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  21. package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  22. package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  23. package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  24. package/api/types/ConversationFeedbackType.d.ts +5 -0
  25. package/api/types/ConversationFeedbackType.js +8 -0
  26. package/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
  27. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  28. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  29. package/api/types/ConversationInitiationSource.d.ts +1 -0
  30. package/api/types/ConversationInitiationSource.js +1 -0
  31. package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  32. package/api/types/DiscountResposneModel.d.ts +6 -0
  33. package/api/types/DiscountResposneModel.js +3 -0
  34. package/api/types/GetAgentResponseModel.d.ts +4 -0
  35. package/api/types/GetConversationResponseModel.d.ts +1 -0
  36. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  37. package/api/types/InvoiceResponse.d.ts +4 -2
  38. package/api/types/LanguagePresetInput.d.ts +2 -0
  39. package/api/types/LanguagePresetOutput.d.ts +2 -0
  40. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  41. package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
  42. package/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
  43. package/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
  44. package/api/types/ProjectExternalAudioResponseModel.js +3 -0
  45. package/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
  46. package/api/types/ProjectVideoResponseModel.d.ts +31 -0
  47. package/api/types/ProjectVideoResponseModel.js +3 -0
  48. package/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
  49. package/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
  50. package/api/types/SoftTimeoutConfig.d.ts +9 -0
  51. package/api/types/SoftTimeoutConfig.js +3 -0
  52. package/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
  53. package/api/types/SoftTimeoutConfigOverride.js +3 -0
  54. package/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
  55. package/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
  56. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
  57. package/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  58. package/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
  59. package/api/types/ToolRequestModelToolConfig.d.ts +1 -1
  60. package/api/types/ToolResponseModelToolConfig.d.ts +2 -6
  61. package/api/types/TtsConversationalModel.d.ts +1 -0
  62. package/api/types/TtsConversationalModel.js +1 -0
  63. package/api/types/TtsModelFamily.d.ts +1 -0
  64. package/api/types/TtsModelFamily.js +1 -0
  65. package/api/types/TurnConfig.d.ts +4 -0
  66. package/api/types/TurnConfigOverride.d.ts +5 -0
  67. package/api/types/TurnConfigOverride.js +3 -0
  68. package/api/types/TurnConfigOverrideConfig.d.ts +5 -0
  69. package/api/types/TurnConfigOverrideConfig.js +3 -0
  70. package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  71. package/api/types/UnitTestRunResponseModel.d.ts +1 -0
  72. package/api/types/WidgetConfig.d.ts +2 -0
  73. package/api/types/WidgetConfigResponse.d.ts +2 -0
  74. package/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
  75. package/api/types/WidgetEndFeedbackConfig.js +3 -0
  76. package/api/types/WidgetEndFeedbackType.d.ts +1 -0
  77. package/api/types/WidgetEndFeedbackType.js +3 -0
  78. package/api/types/WorkspaceResourceType.d.ts +4 -0
  79. package/api/types/WorkspaceResourceType.js +4 -0
  80. package/api/types/index.d.ts +16 -0
  81. package/api/types/index.js +16 -0
  82. package/dist/Client.js +2 -2
  83. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  84. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
  85. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +17 -1
  86. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  87. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
  88. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
  89. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
  90. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.js +3 -0
  91. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  92. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
  93. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
  94. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
  95. package/dist/api/resources/music/client/Client.d.ts +1 -1
  96. package/dist/api/resources/music/client/Client.js +1 -1
  97. package/dist/api/types/AgentMetadata.d.ts +1 -0
  98. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
  99. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
  100. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
  101. package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
  102. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
  103. package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  104. package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  105. package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  106. package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  107. package/dist/api/types/ConversationFeedbackType.d.ts +5 -0
  108. package/dist/api/types/ConversationFeedbackType.js +8 -0
  109. package/dist/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
  110. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  111. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  112. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  113. package/dist/api/types/ConversationInitiationSource.js +1 -0
  114. package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
  115. package/dist/api/types/DiscountResposneModel.d.ts +6 -0
  116. package/dist/api/types/DiscountResposneModel.js +3 -0
  117. package/dist/api/types/GetAgentResponseModel.d.ts +4 -0
  118. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  119. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  120. package/dist/api/types/InvoiceResponse.d.ts +4 -2
  121. package/dist/api/types/LanguagePresetInput.d.ts +2 -0
  122. package/dist/api/types/LanguagePresetOutput.d.ts +2 -0
  123. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  124. package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
  125. package/dist/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
  126. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
  127. package/dist/api/types/ProjectExternalAudioResponseModel.js +3 -0
  128. package/dist/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
  129. package/dist/api/types/ProjectVideoResponseModel.d.ts +31 -0
  130. package/dist/api/types/ProjectVideoResponseModel.js +3 -0
  131. package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
  132. package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
  133. package/dist/api/types/SoftTimeoutConfig.d.ts +9 -0
  134. package/dist/api/types/SoftTimeoutConfig.js +3 -0
  135. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
  136. package/dist/api/types/SoftTimeoutConfigOverride.js +3 -0
  137. package/dist/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
  138. package/dist/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
  139. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
  140. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  141. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
  142. package/dist/api/types/ToolRequestModelToolConfig.d.ts +1 -1
  143. package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -6
  144. package/dist/api/types/TtsConversationalModel.d.ts +1 -0
  145. package/dist/api/types/TtsConversationalModel.js +1 -0
  146. package/dist/api/types/TtsModelFamily.d.ts +1 -0
  147. package/dist/api/types/TtsModelFamily.js +1 -0
  148. package/dist/api/types/TurnConfig.d.ts +4 -0
  149. package/dist/api/types/TurnConfigOverride.d.ts +5 -0
  150. package/dist/api/types/TurnConfigOverride.js +3 -0
  151. package/dist/api/types/TurnConfigOverrideConfig.d.ts +5 -0
  152. package/dist/api/types/TurnConfigOverrideConfig.js +3 -0
  153. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  154. package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
  155. package/dist/api/types/WidgetConfig.d.ts +2 -0
  156. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  157. package/dist/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
  158. package/dist/api/types/WidgetEndFeedbackConfig.js +3 -0
  159. package/dist/api/types/WidgetEndFeedbackType.d.ts +1 -0
  160. package/dist/api/types/WidgetEndFeedbackType.js +3 -0
  161. package/dist/api/types/WorkspaceResourceType.d.ts +4 -0
  162. package/dist/api/types/WorkspaceResourceType.js +4 -0
  163. package/dist/api/types/index.d.ts +16 -0
  164. package/dist/api/types/index.js +16 -0
  165. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  166. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  167. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
  168. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
  169. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  170. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
  171. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
  172. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
  173. package/dist/serialization/types/AgentMetadata.d.ts +1 -0
  174. package/dist/serialization/types/AgentMetadata.js +1 -0
  175. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
  176. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
  177. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
  178. package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
  179. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
  180. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
  181. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  182. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  183. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  184. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  185. package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  186. package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  187. package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  188. package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  189. package/dist/serialization/types/ConversationFeedbackType.d.ts +7 -0
  190. package/dist/serialization/types/ConversationFeedbackType.js +39 -0
  191. package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
  192. package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
  193. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  194. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  195. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  196. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  197. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  198. package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
  199. package/dist/serialization/types/DiscountResposneModel.d.ts +10 -0
  200. package/dist/serialization/types/DiscountResposneModel.js +42 -0
  201. package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
  202. package/dist/serialization/types/GetAgentResponseModel.js +2 -0
  203. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  204. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  205. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  206. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  207. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  208. package/dist/serialization/types/InvoiceResponse.js +2 -0
  209. package/dist/serialization/types/LanguagePresetInput.d.ts +1 -0
  210. package/dist/serialization/types/LanguagePresetInput.js +1 -0
  211. package/dist/serialization/types/LanguagePresetOutput.d.ts +1 -0
  212. package/dist/serialization/types/LanguagePresetOutput.js +1 -0
  213. package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  214. package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
  215. package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
  216. package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
  217. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
  218. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
  219. package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
  220. package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
  221. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
  222. package/dist/serialization/types/ProjectVideoResponseModel.js +69 -0
  223. package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
  224. package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
  225. package/dist/serialization/types/SoftTimeoutConfig.d.ts +10 -0
  226. package/dist/serialization/types/SoftTimeoutConfig.js +42 -0
  227. package/dist/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
  228. package/dist/serialization/types/SoftTimeoutConfigOverride.js +41 -0
  229. package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
  230. package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
  231. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
  232. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
  233. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  234. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
  235. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
  236. package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -2
  237. package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
  238. package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -5
  239. package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
  240. package/dist/serialization/types/TtsConversationalModel.js +1 -0
  241. package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
  242. package/dist/serialization/types/TtsModelFamily.js +1 -1
  243. package/dist/serialization/types/TurnConfig.d.ts +3 -0
  244. package/dist/serialization/types/TurnConfig.js +3 -0
  245. package/dist/serialization/types/TurnConfigOverride.d.ts +10 -0
  246. package/dist/serialization/types/TurnConfigOverride.js +42 -0
  247. package/dist/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
  248. package/dist/serialization/types/TurnConfigOverrideConfig.js +42 -0
  249. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
  250. package/dist/serialization/types/TurnConfigWorkflowOverride.js +3 -0
  251. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  252. package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
  253. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  254. package/dist/serialization/types/WidgetConfig.js +2 -0
  255. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  256. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  257. package/dist/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
  258. package/dist/serialization/types/WidgetEndFeedbackConfig.js +42 -0
  259. package/dist/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
  260. package/dist/serialization/types/WidgetEndFeedbackType.js +39 -0
  261. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  262. package/dist/serialization/types/WorkspaceResourceType.js +4 -0
  263. package/dist/serialization/types/index.d.ts +16 -0
  264. package/dist/serialization/types/index.js +16 -0
  265. package/dist/version.d.ts +1 -1
  266. package/dist/version.js +1 -1
  267. package/dist/wrapper/ElevenLabsClient.d.ts +2 -2
  268. package/dist/wrapper/ElevenLabsClient.js +2 -1
  269. package/dist/wrapper/music.d.ts +11 -0
  270. package/dist/wrapper/music.js +32 -0
  271. package/dist/wrapper/realtime/connection.d.ts +59 -10
  272. package/dist/wrapper/realtime/connection.js +14 -14
  273. package/dist/wrapper/realtime/index.d.ts +1 -1
  274. package/dist/wrapper/realtime/scribe.d.ts +2 -2
  275. package/dist/wrapper/realtime/scribe.js +5 -5
  276. package/package.json +1 -1
  277. package/reference.md +51 -1
  278. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  279. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  280. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
  281. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
  282. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
  283. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
  284. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
  285. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
  286. package/serialization/types/AgentMetadata.d.ts +1 -0
  287. package/serialization/types/AgentMetadata.js +1 -0
  288. package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
  289. package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
  290. package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
  291. package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
  292. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
  293. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
  294. package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  295. package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  296. package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  297. package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  298. package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  299. package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  300. package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  301. package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  302. package/serialization/types/ConversationFeedbackType.d.ts +7 -0
  303. package/serialization/types/ConversationFeedbackType.js +39 -0
  304. package/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
  305. package/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
  306. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  307. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  308. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  309. package/serialization/types/ConversationInitiationSource.js +1 -0
  310. package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
  311. package/serialization/types/ConversationSummaryResponseModel.js +1 -0
  312. package/serialization/types/DiscountResposneModel.d.ts +10 -0
  313. package/serialization/types/DiscountResposneModel.js +42 -0
  314. package/serialization/types/GetAgentResponseModel.d.ts +2 -0
  315. package/serialization/types/GetAgentResponseModel.js +2 -0
  316. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  317. package/serialization/types/GetConversationResponseModel.js +1 -0
  318. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  319. package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  320. package/serialization/types/InvoiceResponse.d.ts +2 -0
  321. package/serialization/types/InvoiceResponse.js +2 -0
  322. package/serialization/types/LanguagePresetInput.d.ts +1 -0
  323. package/serialization/types/LanguagePresetInput.js +1 -0
  324. package/serialization/types/LanguagePresetOutput.d.ts +1 -0
  325. package/serialization/types/LanguagePresetOutput.js +1 -0
  326. package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  327. package/serialization/types/ProjectExtendedResponse.js +2 -0
  328. package/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
  329. package/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
  330. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
  331. package/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
  332. package/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
  333. package/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
  334. package/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
  335. package/serialization/types/ProjectVideoResponseModel.js +69 -0
  336. package/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
  337. package/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
  338. package/serialization/types/SoftTimeoutConfig.d.ts +10 -0
  339. package/serialization/types/SoftTimeoutConfig.js +42 -0
  340. package/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
  341. package/serialization/types/SoftTimeoutConfigOverride.js +41 -0
  342. package/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
  343. package/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
  344. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
  345. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
  346. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  347. package/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
  348. package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
  349. package/serialization/types/ToolRequestModelToolConfig.js +2 -2
  350. package/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
  351. package/serialization/types/ToolResponseModelToolConfig.js +2 -5
  352. package/serialization/types/TtsConversationalModel.d.ts +1 -1
  353. package/serialization/types/TtsConversationalModel.js +1 -0
  354. package/serialization/types/TtsModelFamily.d.ts +1 -1
  355. package/serialization/types/TtsModelFamily.js +1 -1
  356. package/serialization/types/TurnConfig.d.ts +3 -0
  357. package/serialization/types/TurnConfig.js +3 -0
  358. package/serialization/types/TurnConfigOverride.d.ts +10 -0
  359. package/serialization/types/TurnConfigOverride.js +42 -0
  360. package/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
  361. package/serialization/types/TurnConfigOverrideConfig.js +42 -0
  362. package/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
  363. package/serialization/types/TurnConfigWorkflowOverride.js +3 -0
  364. package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  365. package/serialization/types/UnitTestRunResponseModel.js +1 -0
  366. package/serialization/types/WidgetConfig.d.ts +2 -0
  367. package/serialization/types/WidgetConfig.js +2 -0
  368. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  369. package/serialization/types/WidgetConfigResponse.js +2 -0
  370. package/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
  371. package/serialization/types/WidgetEndFeedbackConfig.js +42 -0
  372. package/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
  373. package/serialization/types/WidgetEndFeedbackType.js +39 -0
  374. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  375. package/serialization/types/WorkspaceResourceType.js +4 -0
  376. package/serialization/types/index.d.ts +16 -0
  377. package/serialization/types/index.js +16 -0
  378. package/version.d.ts +1 -1
  379. package/version.js +1 -1
  380. package/wrapper/ElevenLabsClient.d.ts +2 -2
  381. package/wrapper/ElevenLabsClient.js +2 -1
  382. package/wrapper/music.d.ts +11 -0
  383. package/wrapper/music.js +32 -0
  384. package/wrapper/realtime/connection.d.ts +59 -10
  385. package/wrapper/realtime/connection.js +14 -14
  386. package/wrapper/realtime/index.d.ts +1 -1
  387. package/wrapper/realtime/scribe.d.ts +2 -2
  388. package/wrapper/realtime/scribe.js +5 -5
  389. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
  390. package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
  391. /package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +0 -0
  392. /package/{dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → api/types/ApiIntegrationWebhookToolConfigExternalInput.js} +0 -0
@@ -0,0 +1,15 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ProjectVideoResponseModel } from "./ProjectVideoResponseModel";
5
+ import { ProjectExternalAudioResponseModel } from "./ProjectExternalAudioResponseModel";
6
+ export declare const ProjectExtendedResponseModelAssetsItem: core.serialization.Schema<serializers.ProjectExtendedResponseModelAssetsItem.Raw, ElevenLabs.ProjectExtendedResponseModelAssetsItem>;
7
+ export declare namespace ProjectExtendedResponseModelAssetsItem {
8
+ type Raw = ProjectExtendedResponseModelAssetsItem.Video | ProjectExtendedResponseModelAssetsItem.Audio;
9
+ interface Video extends ProjectVideoResponseModel.Raw {
10
+ type: "video";
11
+ }
12
+ interface Audio extends ProjectExternalAudioResponseModel.Raw {
13
+ type: "audio";
14
+ }
15
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ProjectExtendedResponseModelAssetsItem = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ProjectVideoResponseModel_1 = require("./ProjectVideoResponseModel");
40
+ const ProjectExternalAudioResponseModel_1 = require("./ProjectExternalAudioResponseModel");
41
+ exports.ProjectExtendedResponseModelAssetsItem = core.serialization
42
+ .union("type", {
43
+ video: ProjectVideoResponseModel_1.ProjectVideoResponseModel,
44
+ audio: ProjectExternalAudioResponseModel_1.ProjectExternalAudioResponseModel,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -0,0 +1,29 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const ProjectExternalAudioResponseModel: core.serialization.ObjectSchema<serializers.ProjectExternalAudioResponseModel.Raw, ElevenLabs.ProjectExternalAudioResponseModel>;
5
+ export declare namespace ProjectExternalAudioResponseModel {
6
+ interface Raw {
7
+ external_audio_id: string;
8
+ filename: string;
9
+ signed_url: string;
10
+ offset_ms: number;
11
+ duration_ms: number;
12
+ start_time_ms: number;
13
+ end_time_ms: number;
14
+ order: string;
15
+ track_id: string;
16
+ created_at_ms: number;
17
+ updated_at_ms: number;
18
+ volume_gain_db?: number | null;
19
+ muted?: boolean | null;
20
+ fade_in_ms?: number | null;
21
+ fade_out_ms?: number | null;
22
+ source_external_audio_id?: string | null;
23
+ source_asset_id?: string | null;
24
+ pending_block_ids: string[];
25
+ import_speech_progress?: number | null;
26
+ speech_imported?: boolean | null;
27
+ current_snapshot_id?: string | null;
28
+ }
29
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ProjectExternalAudioResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ProjectExternalAudioResponseModel = core.serialization.object({
40
+ externalAudioId: core.serialization.property("external_audio_id", core.serialization.string()),
41
+ filename: core.serialization.string(),
42
+ signedUrl: core.serialization.property("signed_url", core.serialization.string()),
43
+ offsetMs: core.serialization.property("offset_ms", core.serialization.number()),
44
+ durationMs: core.serialization.property("duration_ms", core.serialization.number()),
45
+ startTimeMs: core.serialization.property("start_time_ms", core.serialization.number()),
46
+ endTimeMs: core.serialization.property("end_time_ms", core.serialization.number()),
47
+ order: core.serialization.string(),
48
+ trackId: core.serialization.property("track_id", core.serialization.string()),
49
+ createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
50
+ updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
51
+ volumeGainDb: core.serialization.property("volume_gain_db", core.serialization.number().optional()),
52
+ muted: core.serialization.boolean().optional(),
53
+ fadeInMs: core.serialization.property("fade_in_ms", core.serialization.number().optional()),
54
+ fadeOutMs: core.serialization.property("fade_out_ms", core.serialization.number().optional()),
55
+ sourceExternalAudioId: core.serialization.property("source_external_audio_id", core.serialization.string().optional()),
56
+ sourceAssetId: core.serialization.property("source_asset_id", core.serialization.string().optional()),
57
+ pendingBlockIds: core.serialization.property("pending_block_ids", core.serialization.list(core.serialization.string())),
58
+ importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
59
+ speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
60
+ currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
61
+ });
@@ -12,5 +12,6 @@ export declare namespace ProjectSnapshotExtendedResponseModel {
12
12
  audio_upload?: Record<string, unknown> | null;
13
13
  zip_upload?: Record<string, unknown> | null;
14
14
  character_alignments: CharacterAlignmentModel.Raw[];
15
+ audio_duration_secs: number;
15
16
  }
16
17
  }
@@ -45,4 +45,5 @@ exports.ProjectSnapshotExtendedResponseModel = core.serialization.object({
45
45
  audioUpload: core.serialization.property("audio_upload", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
46
46
  zipUpload: core.serialization.property("zip_upload", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
47
47
  characterAlignments: core.serialization.property("character_alignments", core.serialization.list(CharacterAlignmentModel_1.CharacterAlignmentModel)),
48
+ audioDurationSecs: core.serialization.property("audio_duration_secs", core.serialization.number()),
48
49
  });
@@ -0,0 +1,37 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ProjectVideoThumbnailSheetResponseModel } from "./ProjectVideoThumbnailSheetResponseModel";
5
+ export declare const ProjectVideoResponseModel: core.serialization.ObjectSchema<serializers.ProjectVideoResponseModel.Raw, ElevenLabs.ProjectVideoResponseModel>;
6
+ export declare namespace ProjectVideoResponseModel {
7
+ interface Raw {
8
+ video_id: string;
9
+ filename: string;
10
+ signed_url: string;
11
+ signed_preview_url?: string | null;
12
+ offset_ms: number;
13
+ duration_ms: number;
14
+ volume_gain_db: number;
15
+ muted: boolean;
16
+ width: number;
17
+ height: number;
18
+ codec: string;
19
+ order: string;
20
+ preview_job_progress: number;
21
+ created_at_ms: number;
22
+ updated_at_ms: number;
23
+ error?: string | null;
24
+ thumbnail_interval_seconds: number;
25
+ thumbnail_size: number[];
26
+ thumbnail_sheets: ProjectVideoThumbnailSheetResponseModel.Raw[];
27
+ start_time_ms: number;
28
+ end_time_ms: number;
29
+ asset_preview_signed_url?: string | null;
30
+ source_video_id?: string | null;
31
+ source_asset_id?: string | null;
32
+ pending_block_ids: string[];
33
+ import_speech_progress?: number | null;
34
+ speech_imported?: boolean | null;
35
+ current_snapshot_id?: string | null;
36
+ }
37
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ProjectVideoResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ProjectVideoThumbnailSheetResponseModel_1 = require("./ProjectVideoThumbnailSheetResponseModel");
40
+ exports.ProjectVideoResponseModel = core.serialization.object({
41
+ videoId: core.serialization.property("video_id", core.serialization.string()),
42
+ filename: core.serialization.string(),
43
+ signedUrl: core.serialization.property("signed_url", core.serialization.string()),
44
+ signedPreviewUrl: core.serialization.property("signed_preview_url", core.serialization.string().optional()),
45
+ offsetMs: core.serialization.property("offset_ms", core.serialization.number()),
46
+ durationMs: core.serialization.property("duration_ms", core.serialization.number()),
47
+ volumeGainDb: core.serialization.property("volume_gain_db", core.serialization.number()),
48
+ muted: core.serialization.boolean(),
49
+ width: core.serialization.number(),
50
+ height: core.serialization.number(),
51
+ codec: core.serialization.string(),
52
+ order: core.serialization.string(),
53
+ previewJobProgress: core.serialization.property("preview_job_progress", core.serialization.number()),
54
+ createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
55
+ updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
56
+ error: core.serialization.string().optional(),
57
+ thumbnailIntervalSeconds: core.serialization.property("thumbnail_interval_seconds", core.serialization.number()),
58
+ thumbnailSize: core.serialization.property("thumbnail_size", core.serialization.list(core.serialization.number())),
59
+ thumbnailSheets: core.serialization.property("thumbnail_sheets", core.serialization.list(ProjectVideoThumbnailSheetResponseModel_1.ProjectVideoThumbnailSheetResponseModel)),
60
+ startTimeMs: core.serialization.property("start_time_ms", core.serialization.number()),
61
+ endTimeMs: core.serialization.property("end_time_ms", core.serialization.number()),
62
+ assetPreviewSignedUrl: core.serialization.property("asset_preview_signed_url", core.serialization.string().optional()),
63
+ sourceVideoId: core.serialization.property("source_video_id", core.serialization.string().optional()),
64
+ sourceAssetId: core.serialization.property("source_asset_id", core.serialization.string().optional()),
65
+ pendingBlockIds: core.serialization.property("pending_block_ids", core.serialization.list(core.serialization.string())),
66
+ importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
67
+ speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
68
+ currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
69
+ });
@@ -0,0 +1,11 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const ProjectVideoThumbnailSheetResponseModel: core.serialization.ObjectSchema<serializers.ProjectVideoThumbnailSheetResponseModel.Raw, ElevenLabs.ProjectVideoThumbnailSheetResponseModel>;
5
+ export declare namespace ProjectVideoThumbnailSheetResponseModel {
6
+ interface Raw {
7
+ start_thumbnail_index: number;
8
+ thumbnail_count: number;
9
+ signed_cloud_url: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ProjectVideoThumbnailSheetResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ProjectVideoThumbnailSheetResponseModel = core.serialization.object({
40
+ startThumbnailIndex: core.serialization.property("start_thumbnail_index", core.serialization.number()),
41
+ thumbnailCount: core.serialization.property("thumbnail_count", core.serialization.number()),
42
+ signedCloudUrl: core.serialization.property("signed_cloud_url", core.serialization.string()),
43
+ });
@@ -0,0 +1,10 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const SoftTimeoutConfig: core.serialization.ObjectSchema<serializers.SoftTimeoutConfig.Raw, ElevenLabs.SoftTimeoutConfig>;
5
+ export declare namespace SoftTimeoutConfig {
6
+ interface Raw {
7
+ timeout_seconds?: number | null;
8
+ message?: string | null;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SoftTimeoutConfig = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.SoftTimeoutConfig = core.serialization.object({
40
+ timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
41
+ message: core.serialization.string().optional(),
42
+ });
@@ -0,0 +1,9 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const SoftTimeoutConfigOverride: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigOverride.Raw, ElevenLabs.SoftTimeoutConfigOverride>;
5
+ export declare namespace SoftTimeoutConfigOverride {
6
+ interface Raw {
7
+ message?: string | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SoftTimeoutConfigOverride = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.SoftTimeoutConfigOverride = core.serialization.object({
40
+ message: core.serialization.string().optional(),
41
+ });
@@ -0,0 +1,9 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const SoftTimeoutConfigOverrideConfig: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigOverrideConfig.Raw, ElevenLabs.SoftTimeoutConfigOverrideConfig>;
5
+ export declare namespace SoftTimeoutConfigOverrideConfig {
6
+ interface Raw {
7
+ message?: boolean | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SoftTimeoutConfigOverrideConfig = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.SoftTimeoutConfigOverrideConfig = core.serialization.object({
40
+ message: core.serialization.boolean().optional(),
41
+ });
@@ -0,0 +1,10 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const SoftTimeoutConfigWorkflowOverride: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigWorkflowOverride.Raw, ElevenLabs.SoftTimeoutConfigWorkflowOverride>;
5
+ export declare namespace SoftTimeoutConfigWorkflowOverride {
6
+ interface Raw {
7
+ timeout_seconds?: number | null;
8
+ message?: string | null;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SoftTimeoutConfigWorkflowOverride = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.SoftTimeoutConfigWorkflowOverride = core.serialization.object({
40
+ timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
41
+ message: core.serialization.string().optional(),
42
+ });
@@ -6,6 +6,8 @@ export declare const TestInvocationSummaryResponseModel: core.serialization.Obje
6
6
  export declare namespace TestInvocationSummaryResponseModel {
7
7
  interface Raw {
8
8
  id: string;
9
+ agent_id?: string | null;
10
+ branch_id?: string | null;
9
11
  created_at_unix_secs: number;
10
12
  test_run_count: number;
11
13
  passed_count: number;
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
39
39
  const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
40
40
  exports.TestInvocationSummaryResponseModel = core.serialization.object({
41
41
  id: core.serialization.string(),
42
+ agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
43
+ branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
42
44
  createdAtUnixSecs: core.serialization.property("created_at_unix_secs", core.serialization.number()),
43
45
  testRunCount: core.serialization.property("test_run_count", core.serialization.number()),
44
46
  passedCount: core.serialization.property("passed_count", core.serialization.number()),
@@ -1,14 +1,14 @@
1
1
  import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
- import { ApiIntegrationWebhookToolConfigInput } from "./ApiIntegrationWebhookToolConfigInput";
4
+ import { ApiIntegrationWebhookToolConfigExternalInput } from "./ApiIntegrationWebhookToolConfigExternalInput";
5
5
  import { ClientToolConfigInput } from "./ClientToolConfigInput";
6
6
  import { SystemToolConfigInput } from "./SystemToolConfigInput";
7
7
  import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
8
8
  export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
9
9
  export declare namespace ToolRequestModelToolConfig {
10
10
  type Raw = ToolRequestModelToolConfig.ApiIntegrationWebhook | ToolRequestModelToolConfig.Client | ToolRequestModelToolConfig.System | ToolRequestModelToolConfig.Webhook;
11
- interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigInput.Raw {
11
+ interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigExternalInput.Raw {
12
12
  type: "api_integration_webhook";
13
13
  }
14
14
  interface Client extends ClientToolConfigInput.Raw {
@@ -36,13 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ToolRequestModelToolConfig = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- const ApiIntegrationWebhookToolConfigInput_1 = require("./ApiIntegrationWebhookToolConfigInput");
39
+ const ApiIntegrationWebhookToolConfigExternalInput_1 = require("./ApiIntegrationWebhookToolConfigExternalInput");
40
40
  const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
41
41
  const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
42
42
  const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
43
43
  exports.ToolRequestModelToolConfig = core.serialization
44
44
  .union("type", {
45
- api_integration_webhook: ApiIntegrationWebhookToolConfigInput_1.ApiIntegrationWebhookToolConfigInput,
45
+ api_integration_webhook: ApiIntegrationWebhookToolConfigExternalInput_1.ApiIntegrationWebhookToolConfigExternalInput,
46
46
  client: ClientToolConfigInput_1.ClientToolConfigInput,
47
47
  system: SystemToolConfigInput_1.SystemToolConfigInput,
48
48
  webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
@@ -1,23 +1,19 @@
1
1
  import * as serializers from "../index";
2
2
  import * as ElevenLabs from "../../api/index";
3
3
  import * as core from "../../core";
4
- import { ApiIntegrationWebhookToolConfigOutput } from "./ApiIntegrationWebhookToolConfigOutput";
4
+ import { ApiIntegrationWebhookToolConfigExternalOutput } from "./ApiIntegrationWebhookToolConfigExternalOutput";
5
5
  import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
6
6
  import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
7
7
  import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
8
8
  export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
9
9
  export declare namespace ToolResponseModelToolConfig {
10
- type Raw = ToolResponseModelToolConfig.ApiIntegrationWebhook | ToolResponseModelToolConfig.Client | ToolResponseModelToolConfig.Mcp | ToolResponseModelToolConfig.System | ToolResponseModelToolConfig.Webhook;
11
- interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigOutput.Raw {
10
+ type Raw = ToolResponseModelToolConfig.ApiIntegrationWebhook | ToolResponseModelToolConfig.Client | ToolResponseModelToolConfig.System | ToolResponseModelToolConfig.Webhook;
11
+ interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigExternalOutput.Raw {
12
12
  type: "api_integration_webhook";
13
13
  }
14
14
  interface Client extends ClientToolConfigOutput.Raw {
15
15
  type: "client";
16
16
  }
17
- interface Mcp {
18
- type: "mcp";
19
- value?: unknown;
20
- }
21
17
  interface System extends SystemToolConfigOutput.Raw {
22
18
  type: "system";
23
19
  }