@elevenlabs/elevenlabs-js 2.25.1 → 2.26.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 (384) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  3. package/api/resources/conversationalAi/client/Client.js +31 -26
  4. package/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
  5. package/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
  6. package/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
  7. package/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
  8. package/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
  9. package/api/resources/conversationalAi/resources/analytics/index.js +18 -0
  10. package/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
  11. package/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
  12. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
  13. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
  14. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
  16. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
  17. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
  18. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
  20. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
  21. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
  22. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
  23. package/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
  24. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
  25. package/api/resources/conversationalAi/resources/index.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/index.js +2 -1
  27. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
  28. package/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
  29. package/api/resources/dubbing/resources/resource/client/Client.js +81 -0
  30. package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
  31. package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
  32. package/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
  33. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
  34. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
  35. package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
  36. package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
  37. package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
  38. package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
  39. package/api/resources/studio/resources/projects/client/Client.js +5 -0
  40. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  41. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
  42. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
  43. package/api/resources/webhooks/client/Client.d.ts +49 -0
  44. package/api/resources/webhooks/client/Client.js +242 -0
  45. package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
  46. package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
  47. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
  48. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
  49. package/api/resources/webhooks/client/requests/index.d.ts +2 -0
  50. package/api/types/AgentDefinitionSource.d.ts +1 -0
  51. package/api/types/AgentDefinitionSource.js +1 -0
  52. package/api/types/AgentWorkflowRequestModel.d.ts +2 -0
  53. package/api/types/AgentWorkflowResponseModel.d.ts +2 -0
  54. package/api/types/ClientEvent.d.ts +1 -0
  55. package/api/types/ClientEvent.js +1 -0
  56. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
  57. package/api/types/CustomLlm.d.ts +2 -0
  58. package/api/types/CustomLlmapiType.d.ts +5 -0
  59. package/api/types/CustomLlmapiType.js +8 -0
  60. package/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
  61. package/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
  62. package/api/types/DubbingTranscriptUtterance.d.ts +2 -1
  63. package/api/types/DubbingTranscriptWord.d.ts +2 -2
  64. package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
  65. package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
  66. package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
  67. package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
  68. package/api/types/GetLiveCountResponse.d.ts +4 -0
  69. package/api/types/GetLiveCountResponse.js +3 -0
  70. package/api/types/MusicPrompt.d.ts +2 -2
  71. package/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
  72. package/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
  73. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
  74. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
  75. package/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
  76. package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
  77. package/api/types/ProjectResponseModelSourceType.d.ts +1 -0
  78. package/api/types/ProjectResponseModelSourceType.js +1 -0
  79. package/api/types/SegmentMigrationResponse.d.ts +3 -0
  80. package/api/types/SegmentMigrationResponse.js +3 -0
  81. package/api/types/SongSection.d.ts +2 -2
  82. package/api/types/SpeakerCreatedResponse.d.ts +4 -0
  83. package/api/types/SpeakerCreatedResponse.js +3 -0
  84. package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
  85. package/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
  86. package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
  87. package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
  88. package/api/types/TtsConversationalConfigInput.d.ts +0 -2
  89. package/api/types/TtsConversationalConfigOutput.d.ts +0 -2
  90. package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
  91. package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
  92. package/api/types/WebhookHmacSettings.d.ts +11 -0
  93. package/api/types/WebhookHmacSettings.js +3 -0
  94. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
  95. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
  96. package/api/types/WidgetTextContents.d.ts +14 -0
  97. package/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
  98. package/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
  99. package/api/types/index.d.ts +8 -0
  100. package/api/types/index.js +8 -0
  101. package/dist/Client.js +2 -2
  102. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  103. package/dist/api/resources/conversationalAi/client/Client.js +31 -26
  104. package/dist/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
  105. package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
  106. package/dist/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
  107. package/dist/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
  108. package/dist/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
  109. package/dist/api/resources/conversationalAi/resources/analytics/index.js +18 -0
  110. package/dist/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
  111. package/dist/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
  112. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
  113. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
  114. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
  115. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
  116. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
  117. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
  118. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
  119. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
  120. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
  121. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
  122. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
  123. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
  124. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
  125. package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
  126. package/dist/api/resources/conversationalAi/resources/index.js +2 -1
  127. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
  128. package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
  129. package/dist/api/resources/dubbing/resources/resource/client/Client.js +81 -0
  130. package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
  131. package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
  132. package/dist/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
  133. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
  134. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
  135. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
  136. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
  137. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
  138. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
  139. package/dist/api/resources/studio/resources/projects/client/Client.js +5 -0
  140. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  141. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
  142. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
  143. package/dist/api/resources/webhooks/client/Client.d.ts +49 -0
  144. package/dist/api/resources/webhooks/client/Client.js +242 -0
  145. package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
  146. package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
  147. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
  148. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
  149. package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
  150. package/dist/api/types/AgentDefinitionSource.d.ts +1 -0
  151. package/dist/api/types/AgentDefinitionSource.js +1 -0
  152. package/dist/api/types/AgentWorkflowRequestModel.d.ts +2 -0
  153. package/dist/api/types/AgentWorkflowResponseModel.d.ts +2 -0
  154. package/dist/api/types/ClientEvent.d.ts +1 -0
  155. package/dist/api/types/ClientEvent.js +1 -0
  156. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
  157. package/dist/api/types/CustomLlm.d.ts +2 -0
  158. package/dist/api/types/CustomLlmapiType.d.ts +5 -0
  159. package/dist/api/types/CustomLlmapiType.js +8 -0
  160. package/dist/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
  161. package/dist/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
  162. package/dist/api/types/DubbingTranscriptUtterance.d.ts +2 -1
  163. package/dist/api/types/DubbingTranscriptWord.d.ts +2 -2
  164. package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
  165. package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
  166. package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
  167. package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
  168. package/dist/api/types/GetLiveCountResponse.d.ts +4 -0
  169. package/dist/api/types/GetLiveCountResponse.js +3 -0
  170. package/dist/api/types/MusicPrompt.d.ts +2 -2
  171. package/dist/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
  172. package/dist/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
  173. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
  174. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
  175. package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
  176. package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
  177. package/dist/api/types/ProjectResponseModelSourceType.d.ts +1 -0
  178. package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
  179. package/dist/api/types/SegmentMigrationResponse.d.ts +3 -0
  180. package/dist/api/types/SegmentMigrationResponse.js +3 -0
  181. package/dist/api/types/SongSection.d.ts +2 -2
  182. package/dist/api/types/SpeakerCreatedResponse.d.ts +4 -0
  183. package/dist/api/types/SpeakerCreatedResponse.js +3 -0
  184. package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
  185. package/dist/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
  186. package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
  187. package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
  188. package/dist/api/types/TtsConversationalConfigInput.d.ts +0 -2
  189. package/dist/api/types/TtsConversationalConfigOutput.d.ts +0 -2
  190. package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
  191. package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
  192. package/dist/api/types/WebhookHmacSettings.d.ts +11 -0
  193. package/dist/api/types/WebhookHmacSettings.js +3 -0
  194. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
  195. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
  196. package/dist/api/types/WidgetTextContents.d.ts +14 -0
  197. package/dist/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
  198. package/dist/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
  199. package/dist/api/types/index.d.ts +8 -0
  200. package/dist/api/types/index.js +8 -0
  201. package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
  202. package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
  203. package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
  204. package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
  205. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
  206. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
  207. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
  208. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
  209. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
  210. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
  211. package/dist/serialization/resources/index.d.ts +2 -0
  212. package/dist/serialization/resources/index.js +3 -1
  213. package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
  214. package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
  215. package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
  216. package/dist/serialization/resources/webhooks/client/index.js +17 -0
  217. package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
  218. package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
  219. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
  220. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
  221. package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
  222. package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
  223. package/dist/serialization/resources/webhooks/index.d.ts +1 -0
  224. package/dist/serialization/resources/webhooks/index.js +17 -0
  225. package/dist/serialization/types/AgentDefinitionSource.d.ts +1 -1
  226. package/dist/serialization/types/AgentDefinitionSource.js +1 -1
  227. package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
  228. package/dist/serialization/types/AgentWorkflowRequestModel.js +1 -0
  229. package/dist/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
  230. package/dist/serialization/types/AgentWorkflowResponseModel.js +1 -0
  231. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  232. package/dist/serialization/types/ClientEvent.js +1 -0
  233. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
  234. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
  235. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  236. package/dist/serialization/types/CustomLlm.js +2 -0
  237. package/dist/serialization/types/CustomLlmapiType.d.ts +7 -0
  238. package/dist/serialization/types/CustomLlmapiType.js +39 -0
  239. package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
  240. package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
  241. package/dist/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
  242. package/dist/serialization/types/DubbingTranscriptUtterance.js +2 -1
  243. package/dist/serialization/types/DubbingTranscriptWord.d.ts +2 -2
  244. package/dist/serialization/types/DubbingTranscriptWord.js +2 -2
  245. package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
  246. package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
  247. package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
  248. package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
  249. package/dist/serialization/types/GetLiveCountResponse.d.ts +9 -0
  250. package/dist/serialization/types/GetLiveCountResponse.js +41 -0
  251. package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
  252. package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
  253. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
  254. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
  255. package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
  256. package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
  257. package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
  258. package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
  259. package/dist/serialization/types/SegmentMigrationResponse.d.ts +9 -0
  260. package/dist/serialization/types/SegmentMigrationResponse.js +41 -0
  261. package/dist/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
  262. package/dist/serialization/types/SpeakerCreatedResponse.js +42 -0
  263. package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
  264. package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
  265. package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
  266. package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
  267. package/dist/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
  268. package/dist/serialization/types/TtsConversationalConfigInput.js +0 -2
  269. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
  270. package/dist/serialization/types/TtsConversationalConfigOutput.js +0 -2
  271. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
  272. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
  273. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
  274. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
  275. package/dist/serialization/types/WebhookHmacSettings.d.ts +11 -0
  276. package/dist/serialization/types/WebhookHmacSettings.js +43 -0
  277. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
  278. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
  279. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
  280. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
  281. package/dist/serialization/types/WidgetTextContents.d.ts +7 -0
  282. package/dist/serialization/types/WidgetTextContents.js +7 -0
  283. package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
  284. package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
  285. package/dist/serialization/types/index.d.ts +8 -0
  286. package/dist/serialization/types/index.js +8 -0
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/dist/wrapper/realtime/connection.d.ts +110 -6
  290. package/dist/wrapper/realtime/connection.js +74 -2
  291. package/dist/wrapper/realtime/index.d.ts +1 -1
  292. package/package.json +1 -1
  293. package/reference.md +406 -0
  294. package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
  295. package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
  296. package/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
  297. package/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
  298. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
  299. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
  300. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
  301. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
  302. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
  303. package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
  304. package/serialization/resources/index.d.ts +2 -0
  305. package/serialization/resources/index.js +3 -1
  306. package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
  307. package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
  308. package/serialization/resources/webhooks/client/index.d.ts +1 -0
  309. package/serialization/resources/webhooks/client/index.js +17 -0
  310. package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
  311. package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
  312. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
  313. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
  314. package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
  315. package/serialization/resources/webhooks/client/requests/index.js +7 -0
  316. package/serialization/resources/webhooks/index.d.ts +1 -0
  317. package/serialization/resources/webhooks/index.js +17 -0
  318. package/serialization/types/AgentDefinitionSource.d.ts +1 -1
  319. package/serialization/types/AgentDefinitionSource.js +1 -1
  320. package/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
  321. package/serialization/types/AgentWorkflowRequestModel.js +1 -0
  322. package/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
  323. package/serialization/types/AgentWorkflowResponseModel.js +1 -0
  324. package/serialization/types/ClientEvent.d.ts +1 -1
  325. package/serialization/types/ClientEvent.js +1 -0
  326. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
  327. package/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
  328. package/serialization/types/CustomLlm.d.ts +2 -0
  329. package/serialization/types/CustomLlm.js +2 -0
  330. package/serialization/types/CustomLlmapiType.d.ts +7 -0
  331. package/serialization/types/CustomLlmapiType.js +39 -0
  332. package/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
  333. package/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
  334. package/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
  335. package/serialization/types/DubbingTranscriptUtterance.js +2 -1
  336. package/serialization/types/DubbingTranscriptWord.d.ts +2 -2
  337. package/serialization/types/DubbingTranscriptWord.js +2 -2
  338. package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
  339. package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
  340. package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
  341. package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
  342. package/serialization/types/GetLiveCountResponse.d.ts +9 -0
  343. package/serialization/types/GetLiveCountResponse.js +41 -0
  344. package/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
  345. package/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
  346. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
  347. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
  348. package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
  349. package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
  350. package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
  351. package/serialization/types/ProjectResponseModelSourceType.js +1 -1
  352. package/serialization/types/SegmentMigrationResponse.d.ts +9 -0
  353. package/serialization/types/SegmentMigrationResponse.js +41 -0
  354. package/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
  355. package/serialization/types/SpeakerCreatedResponse.js +42 -0
  356. package/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
  357. package/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
  358. package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
  359. package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
  360. package/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
  361. package/serialization/types/TtsConversationalConfigInput.js +0 -2
  362. package/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
  363. package/serialization/types/TtsConversationalConfigOutput.js +0 -2
  364. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
  365. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
  366. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
  367. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
  368. package/serialization/types/WebhookHmacSettings.d.ts +11 -0
  369. package/serialization/types/WebhookHmacSettings.js +43 -0
  370. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
  371. package/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
  372. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
  373. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
  374. package/serialization/types/WidgetTextContents.d.ts +7 -0
  375. package/serialization/types/WidgetTextContents.js +7 -0
  376. package/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
  377. package/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
  378. package/serialization/types/index.d.ts +8 -0
  379. package/serialization/types/index.js +8 -0
  380. package/version.d.ts +1 -1
  381. package/version.js +1 -1
  382. package/wrapper/realtime/connection.d.ts +110 -6
  383. package/wrapper/realtime/connection.js +74 -2
  384. package/wrapper/realtime/index.d.ts +1 -1
@@ -6,5 +6,6 @@ exports.AgentDefinitionSource = {
6
6
  Cli: "cli",
7
7
  Ui: "ui",
8
8
  Api: "api",
9
+ Template: "template",
9
10
  Unknown: "unknown",
10
11
  };
@@ -2,4 +2,6 @@ import type * as ElevenLabs from "../index";
2
2
  export interface AgentWorkflowRequestModel {
3
3
  edges?: Record<string, ElevenLabs.WorkflowEdgeModelInput>;
4
4
  nodes?: Record<string, ElevenLabs.AgentWorkflowRequestModelNodesValue>;
5
+ /** Whether to prevent loops in the workflow execution. */
6
+ preventSubagentLoops?: boolean;
5
7
  }
@@ -2,4 +2,6 @@ import type * as ElevenLabs from "../index";
2
2
  export interface AgentWorkflowResponseModel {
3
3
  edges: Record<string, ElevenLabs.WorkflowEdgeModelOutput>;
4
4
  nodes: Record<string, ElevenLabs.AgentWorkflowResponseModelNodesValue>;
5
+ /** Whether to prevent loops in the workflow execution. */
6
+ preventSubagentLoops: boolean;
5
7
  }
@@ -13,6 +13,7 @@ export declare const ClientEvent: {
13
13
  readonly McpConnectionStatus: "mcp_connection_status";
14
14
  readonly AgentToolRequest: "agent_tool_request";
15
15
  readonly AgentToolResponse: "agent_tool_response";
16
+ readonly AgentResponseMetadata: "agent_response_metadata";
16
17
  readonly VadScore: "vad_score";
17
18
  readonly AgentChatResponsePart: "agent_chat_response_part";
18
19
  readonly InternalTurnProbability: "internal_turn_probability";
@@ -17,6 +17,7 @@ exports.ClientEvent = {
17
17
  McpConnectionStatus: "mcp_connection_status",
18
18
  AgentToolRequest: "agent_tool_request",
19
19
  AgentToolResponse: "agent_tool_response",
20
+ AgentResponseMetadata: "agent_response_metadata",
20
21
  VadScore: "vad_score",
21
22
  AgentChatResponsePart: "agent_chat_response_part",
22
23
  InternalTurnProbability: "internal_turn_probability",
@@ -12,6 +12,7 @@ export interface ConversationHistoryMetadataCommonModel {
12
12
  batchCall?: ElevenLabs.ConversationHistoryBatchCallModel;
13
13
  terminationReason?: string;
14
14
  error?: ElevenLabs.ConversationHistoryErrorCommonModel;
15
+ warnings?: string[];
15
16
  mainLanguage?: string;
16
17
  ragUsage?: ElevenLabs.ConversationHistoryRagUsageCommonModel;
17
18
  textOnly?: boolean;
@@ -10,4 +10,6 @@ export interface CustomLlm {
10
10
  requestHeaders?: Record<string, ElevenLabs.CustomLlmRequestHeadersValue>;
11
11
  /** The API version to use for the request */
12
12
  apiVersion?: string;
13
+ /** The API type to use (chat_completions or responses) */
14
+ apiType?: ElevenLabs.CustomLlmapiType;
13
15
  }
@@ -0,0 +1,5 @@
1
+ export declare const CustomLlmapiType: {
2
+ readonly ChatCompletions: "chat_completions";
3
+ readonly Responses: "responses";
4
+ };
5
+ export type CustomLlmapiType = (typeof CustomLlmapiType)[keyof typeof CustomLlmapiType];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CustomLlmapiType = void 0;
5
+ exports.CustomLlmapiType = {
6
+ ChatCompletions: "chat_completions",
7
+ Responses: "responses",
8
+ };
@@ -0,0 +1,4 @@
1
+ export interface DeleteWorkspaceWebhookResponseModel {
2
+ /** The status of the workspace webhook deletion request. If the request was successful, the status will be 'ok'. Otherwise an error message with status 500 will be returned. */
3
+ status: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface DubbingTranscriptUtterance {
3
- speakerId: string;
3
+ text?: string;
4
+ speakerId?: string;
4
5
  startS?: number;
5
6
  endS?: number;
6
7
  words?: ElevenLabs.DubbingTranscriptWord[];
@@ -1,7 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface DubbingTranscriptWord {
3
- text: string;
4
- wordType: string;
3
+ text?: string;
4
+ wordType?: string;
5
5
  startS?: number;
6
6
  endS?: number;
7
7
  characters?: ElevenLabs.DubbingTranscriptCharacter[];
@@ -1,5 +1,7 @@
1
1
  export declare const ExtendedSubscriptionResponseModelBillingPeriod: {
2
2
  readonly MonthlyPeriod: "monthly_period";
3
+ readonly ThreeMonthPeriod: "3_month_period";
4
+ readonly SixMonthPeriod: "6_month_period";
3
5
  readonly AnnualPeriod: "annual_period";
4
6
  };
5
7
  export type ExtendedSubscriptionResponseModelBillingPeriod = (typeof ExtendedSubscriptionResponseModelBillingPeriod)[keyof typeof ExtendedSubscriptionResponseModelBillingPeriod];
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ExtendedSubscriptionResponseModelBillingPeriod = void 0;
5
5
  exports.ExtendedSubscriptionResponseModelBillingPeriod = {
6
6
  MonthlyPeriod: "monthly_period",
7
+ ThreeMonthPeriod: "3_month_period",
8
+ SixMonthPeriod: "6_month_period",
7
9
  AnnualPeriod: "annual_period",
8
10
  };
@@ -1,5 +1,7 @@
1
1
  export declare const ExtendedSubscriptionResponseModelCharacterRefreshPeriod: {
2
2
  readonly MonthlyPeriod: "monthly_period";
3
+ readonly ThreeMonthPeriod: "3_month_period";
4
+ readonly SixMonthPeriod: "6_month_period";
3
5
  readonly AnnualPeriod: "annual_period";
4
6
  };
5
7
  export type ExtendedSubscriptionResponseModelCharacterRefreshPeriod = (typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod];
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = void 0;
5
5
  exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = {
6
6
  MonthlyPeriod: "monthly_period",
7
+ ThreeMonthPeriod: "3_month_period",
8
+ SixMonthPeriod: "6_month_period",
7
9
  AnnualPeriod: "annual_period",
8
10
  };
@@ -0,0 +1,4 @@
1
+ export interface GetLiveCountResponse {
2
+ /** The number of active ongoing conversations. */
3
+ count: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface MusicPrompt {
3
- /** The styles that should be present in the entire song. Use English language for best result. */
3
+ /** The styles and musical directions that should be present in the entire song. Use English language for best result. */
4
4
  positiveGlobalStyles: string[];
5
- /** The styles that should not be present in the entire song. Use English language for best result. */
5
+ /** The styles and musical directions that should not be present in the entire song. Use English language for best result. */
6
6
  negativeGlobalStyles: string[];
7
7
  /** The sections of the song. */
8
8
  sections: ElevenLabs.SongSection[];
@@ -0,0 +1,4 @@
1
+ export interface PatchWorkspaceWebhookResponseModel {
2
+ /** The status of the workspace webhook patch request. If the request was successful, the status will be 'ok'. Otherwise an error message with status 500 will be returned. */
3
+ status: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  /** The billing period to change to. */
2
2
  export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: {
3
3
  readonly MonthlyPeriod: "monthly_period";
4
+ readonly ThreeMonthPeriod: "3_month_period";
5
+ readonly SixMonthPeriod: "6_month_period";
4
6
  readonly AnnualPeriod: "annual_period";
5
7
  };
6
8
  export type PendingSubscriptionSwitchResponseModelNextBillingPeriod = (typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod)[keyof typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod];
@@ -5,5 +5,7 @@ exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
5
5
  /** The billing period to change to. */
6
6
  exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = {
7
7
  MonthlyPeriod: "monthly_period",
8
+ ThreeMonthPeriod: "3_month_period",
9
+ SixMonthPeriod: "6_month_period",
8
10
  AnnualPeriod: "annual_period",
9
11
  };
@@ -4,5 +4,6 @@ export declare const ProjectExtendedResponseModelSourceType: {
4
4
  readonly Article: "article";
5
5
  readonly Genfm: "genfm";
6
6
  readonly Video: "video";
7
+ readonly Screenplay: "screenplay";
7
8
  };
8
9
  export type ProjectExtendedResponseModelSourceType = (typeof ProjectExtendedResponseModelSourceType)[keyof typeof ProjectExtendedResponseModelSourceType];
@@ -8,4 +8,5 @@ exports.ProjectExtendedResponseModelSourceType = {
8
8
  Article: "article",
9
9
  Genfm: "genfm",
10
10
  Video: "video",
11
+ Screenplay: "screenplay",
11
12
  };
@@ -4,5 +4,6 @@ export declare const ProjectResponseModelSourceType: {
4
4
  readonly Article: "article";
5
5
  readonly Genfm: "genfm";
6
6
  readonly Video: "video";
7
+ readonly Screenplay: "screenplay";
7
8
  };
8
9
  export type ProjectResponseModelSourceType = (typeof ProjectResponseModelSourceType)[keyof typeof ProjectResponseModelSourceType];
@@ -8,4 +8,5 @@ exports.ProjectResponseModelSourceType = {
8
8
  Article: "article",
9
9
  Genfm: "genfm",
10
10
  Video: "video",
11
+ Screenplay: "screenplay",
11
12
  };
@@ -0,0 +1,3 @@
1
+ export interface SegmentMigrationResponse {
2
+ version: number;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,9 +2,9 @@ import type * as ElevenLabs from "../index";
2
2
  export interface SongSection {
3
3
  /** The name of the section. Must be between 1 and 100 characters. */
4
4
  sectionName: string;
5
- /** The styles that should be present in this section. Use English language for best result. */
5
+ /** The styles and musical directions that should be present in this section. Use English language for best result. */
6
6
  positiveLocalStyles: string[];
7
- /** The styles that should not be present in this section. Use English language for best result. */
7
+ /** The styles and musical directions that should not be present in this section. Use English language for best result. */
8
8
  negativeLocalStyles: string[];
9
9
  /** The duration of the section in milliseconds. Must be between 3000ms and 120000ms. */
10
10
  durationMs: number;
@@ -0,0 +1,4 @@
1
+ export interface SpeakerCreatedResponse {
2
+ version: number;
3
+ speakerId: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,7 @@
1
1
  export declare const SubscriptionResponseModelBillingPeriod: {
2
2
  readonly MonthlyPeriod: "monthly_period";
3
+ readonly ThreeMonthPeriod: "3_month_period";
4
+ readonly SixMonthPeriod: "6_month_period";
3
5
  readonly AnnualPeriod: "annual_period";
4
6
  };
5
7
  export type SubscriptionResponseModelBillingPeriod = (typeof SubscriptionResponseModelBillingPeriod)[keyof typeof SubscriptionResponseModelBillingPeriod];
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.SubscriptionResponseModelBillingPeriod = void 0;
5
5
  exports.SubscriptionResponseModelBillingPeriod = {
6
6
  MonthlyPeriod: "monthly_period",
7
+ ThreeMonthPeriod: "3_month_period",
8
+ SixMonthPeriod: "6_month_period",
7
9
  AnnualPeriod: "annual_period",
8
10
  };
@@ -1,5 +1,7 @@
1
1
  export declare const SubscriptionResponseModelCharacterRefreshPeriod: {
2
2
  readonly MonthlyPeriod: "monthly_period";
3
+ readonly ThreeMonthPeriod: "3_month_period";
4
+ readonly SixMonthPeriod: "6_month_period";
3
5
  readonly AnnualPeriod: "annual_period";
4
6
  };
5
7
  export type SubscriptionResponseModelCharacterRefreshPeriod = (typeof SubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof SubscriptionResponseModelCharacterRefreshPeriod];
@@ -4,5 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.SubscriptionResponseModelCharacterRefreshPeriod = void 0;
5
5
  exports.SubscriptionResponseModelCharacterRefreshPeriod = {
6
6
  MonthlyPeriod: "monthly_period",
7
+ ThreeMonthPeriod: "3_month_period",
8
+ SixMonthPeriod: "6_month_period",
7
9
  AnnualPeriod: "annual_period",
8
10
  };
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigInput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
- /** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
10
- suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
11
9
  /** The audio format to use for TTS */
12
10
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
13
11
  /** The optimization for streaming latency */
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigOutput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
- /** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
10
- suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
11
9
  /** The audio format to use for TTS */
12
10
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
13
11
  /** The optimization for streaming latency */
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigWorkflowOverrideInput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
- /** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
10
- suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
11
9
  /** The audio format to use for TTS */
12
10
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
13
11
  /** The optimization for streaming latency */
@@ -6,8 +6,6 @@ export interface TtsConversationalConfigWorkflowOverrideOutput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
- /** Suggested audio tags to boost expressive speech (only for eleven_expressive model). The agent can still use other tags not listed here. */
10
- suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
11
9
  /** The audio format to use for TTS */
12
10
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
13
11
  /** The optimization for streaming latency */
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Settings for creating an HMAC-authenticated webhook
3
+ */
4
+ export interface WebhookHmacSettings {
5
+ /** The authentication type for this webhook */
6
+ authType: "hmac";
7
+ /** The display name for this webhook */
8
+ name: string;
9
+ /** The HTTPS callback URL that will be called when this webhook is triggered */
10
+ webhookUrl: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
- /**
3
- * Configuration for a webhook that will be called by an LLM tool.
4
- */
5
2
  export interface WebhookToolApiSchemaConfigInput {
3
+ /** Headers that should be included in the request */
4
+ requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigInputRequestHeadersValue>;
6
5
  /** The URL that the webhook will be sent to. May include path parameters, e.g. https://example.com/agents/{agent_id} */
7
6
  url: string;
8
7
  /** The HTTP method to use for the webhook */
@@ -13,8 +12,6 @@ export interface WebhookToolApiSchemaConfigInput {
13
12
  queryParamsSchema?: ElevenLabs.QueryParamsJsonSchema;
14
13
  /** Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body */
15
14
  requestBodySchema?: ElevenLabs.ObjectJsonSchemaPropertyInput;
16
- /** Headers that should be included in the request */
17
- requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigInputRequestHeadersValue>;
18
15
  /** Content type for the request body. Only applies to POST/PUT/PATCH requests. */
19
16
  contentType?: ElevenLabs.WebhookToolApiSchemaConfigInputContentType;
20
17
  /** Optional auth connection to use for authentication with this webhook */
@@ -1,8 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
- /**
3
- * Configuration for a webhook that will be called by an LLM tool.
4
- */
5
2
  export interface WebhookToolApiSchemaConfigOutput {
3
+ /** Headers that should be included in the request */
4
+ requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigOutputRequestHeadersValue>;
6
5
  /** The URL that the webhook will be sent to. May include path parameters, e.g. https://example.com/agents/{agent_id} */
7
6
  url: string;
8
7
  /** The HTTP method to use for the webhook */
@@ -13,8 +12,6 @@ export interface WebhookToolApiSchemaConfigOutput {
13
12
  queryParamsSchema?: ElevenLabs.QueryParamsJsonSchema;
14
13
  /** Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body */
15
14
  requestBodySchema?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
16
- /** Headers that should be included in the request */
17
- requestHeaders?: Record<string, ElevenLabs.WebhookToolApiSchemaConfigOutputRequestHeadersValue>;
18
15
  /** Content type for the request body. Only applies to POST/PUT/PATCH requests. */
19
16
  contentType?: ElevenLabs.WebhookToolApiSchemaConfigOutputContentType;
20
17
  /** Optional auth connection to use for authentication with this webhook */
@@ -49,4 +49,18 @@ export interface WidgetTextContents {
49
49
  errorOccurred?: string;
50
50
  /** Text and ARIA label used for the copy ID button. */
51
51
  copyId?: string;
52
+ /** Text displayed to prompt the user for feedback. */
53
+ initiateFeedback?: string;
54
+ /** Text displayed to request additional feedback details. */
55
+ requestFollowUpFeedback?: string;
56
+ /** Text displayed to thank the user for providing feedback. */
57
+ thanksForFeedback?: string;
58
+ /** Additional text displayed explaining the value of user feedback. */
59
+ thanksForFeedbackDetails?: string;
60
+ /** Placeholder text for the follow-up feedback input field. */
61
+ followUpFeedbackPlaceholder?: string;
62
+ /** Text and ARIA label for the submit button. */
63
+ submit?: string;
64
+ /** Text and ARIA label for the go back button. */
65
+ goBack?: string;
52
66
  }
@@ -0,0 +1,4 @@
1
+ export interface WorkspaceCreateWebhookResponseModel {
2
+ webhookId: string;
3
+ webhookSecret?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -269,6 +269,7 @@ export * from "./CreateTranscriptRequest";
269
269
  export * from "./CreateTwilioPhoneNumberRequest";
270
270
  export * from "./CreateUnitTestResponseModel";
271
271
  export * from "./CustomLlm";
272
+ export * from "./CustomLlmapiType";
272
273
  export * from "./CustomLlmRequestHeadersValue";
273
274
  export * from "./DashboardCallSuccessChartModel";
274
275
  export * from "./DashboardCriteriaChartModel";
@@ -286,6 +287,7 @@ export * from "./DeleteVoiceResponseModel";
286
287
  export * from "./DeleteVoiceSampleResponseModel";
287
288
  export * from "./DeleteWorkspaceGroupMemberResponseModel";
288
289
  export * from "./DeleteWorkspaceInviteResponseModel";
290
+ export * from "./DeleteWorkspaceWebhookResponseModel";
289
291
  export * from "./DependentAvailableAgentIdentifier";
290
292
  export * from "./DependentAvailableAgentIdentifierAccessLevel";
291
293
  export * from "./DependentAvailableToolIdentifier";
@@ -377,6 +379,7 @@ export * from "./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem";
377
379
  export * from "./GetKnowledgeBaseTextResponseModel";
378
380
  export * from "./GetKnowledgeBaseUrlResponseModel";
379
381
  export * from "./GetLibraryVoicesResponse";
382
+ export * from "./GetLiveCountResponse";
380
383
  export * from "./GetPhoneNumberInboundSipTrunkConfigResponseModel";
381
384
  export * from "./GetPhoneNumberOutboundSipTrunkConfigResponseModel";
382
385
  export * from "./GetPhoneNumberResponse";
@@ -490,6 +493,7 @@ export * from "./OutboundCallRecipient";
490
493
  export * from "./OutboundCallRecipientResponseModel";
491
494
  export * from "./OutboundSipTrunkConfigRequestModel";
492
495
  export * from "./OutputFormat";
496
+ export * from "./PatchWorkspaceWebhookResponseModel";
493
497
  export * from "./PdfExportOptions";
494
498
  export * from "./PendingCancellationResponseModel";
495
499
  export * from "./PendingSubscriptionSwitchResponseModel";
@@ -607,6 +611,7 @@ export * from "./SegmentCreateResponse";
607
611
  export * from "./SegmentDeleteResponse";
608
612
  export * from "./SegmentDubResponse";
609
613
  export * from "./SegmentedJsonExportOptions";
614
+ export * from "./SegmentMigrationResponse";
610
615
  export * from "./SegmentSubtitleFrame";
611
616
  export * from "./SegmentTranscriptionResponse";
612
617
  export * from "./SegmentTranslationResponse";
@@ -635,6 +640,7 @@ export * from "./SongMetadata";
635
640
  export * from "./SongSection";
636
641
  export * from "./SortDirection";
637
642
  export * from "./SpeakerAudioResponseModel";
643
+ export * from "./SpeakerCreatedResponse";
638
644
  export * from "./SpeakerResponseModel";
639
645
  export * from "./SpeakerSegment";
640
646
  export * from "./SpeakerSeparationResponseModel";
@@ -776,6 +782,7 @@ export * from "./VoiceSharingState";
776
782
  export * from "./VoiceVerificationResponse";
777
783
  export * from "./WebhookAuthMethodType";
778
784
  export * from "./WebhookEventType";
785
+ export * from "./WebhookHmacSettings";
779
786
  export * from "./WebhookToolApiSchemaConfigInput";
780
787
  export * from "./WebhookToolApiSchemaConfigInputContentType";
781
788
  export * from "./WebhookToolApiSchemaConfigInputMethod";
@@ -849,6 +856,7 @@ export * from "./WorkspaceApiKeyResponseModel";
849
856
  export * from "./WorkspaceApiKeyResponseModelPermissionsItem";
850
857
  export * from "./WorkspaceBatchCallsResponse";
851
858
  export * from "./WorkspaceCreateApiKeyResponseModel";
859
+ export * from "./WorkspaceCreateWebhookResponseModel";
852
860
  export * from "./WorkspaceGroupByNameResponseModel";
853
861
  export * from "./WorkspaceResourceType";
854
862
  export * from "./WorkspaceServiceAccountListResponseModel";
@@ -285,6 +285,7 @@ __exportStar(require("./CreateTranscriptRequest"), exports);
285
285
  __exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
286
286
  __exportStar(require("./CreateUnitTestResponseModel"), exports);
287
287
  __exportStar(require("./CustomLlm"), exports);
288
+ __exportStar(require("./CustomLlmapiType"), exports);
288
289
  __exportStar(require("./CustomLlmRequestHeadersValue"), exports);
289
290
  __exportStar(require("./DashboardCallSuccessChartModel"), exports);
290
291
  __exportStar(require("./DashboardCriteriaChartModel"), exports);
@@ -302,6 +303,7 @@ __exportStar(require("./DeleteVoiceResponseModel"), exports);
302
303
  __exportStar(require("./DeleteVoiceSampleResponseModel"), exports);
303
304
  __exportStar(require("./DeleteWorkspaceGroupMemberResponseModel"), exports);
304
305
  __exportStar(require("./DeleteWorkspaceInviteResponseModel"), exports);
306
+ __exportStar(require("./DeleteWorkspaceWebhookResponseModel"), exports);
305
307
  __exportStar(require("./DependentAvailableAgentIdentifier"), exports);
306
308
  __exportStar(require("./DependentAvailableAgentIdentifierAccessLevel"), exports);
307
309
  __exportStar(require("./DependentAvailableToolIdentifier"), exports);
@@ -393,6 +395,7 @@ __exportStar(require("./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsIt
393
395
  __exportStar(require("./GetKnowledgeBaseTextResponseModel"), exports);
394
396
  __exportStar(require("./GetKnowledgeBaseUrlResponseModel"), exports);
395
397
  __exportStar(require("./GetLibraryVoicesResponse"), exports);
398
+ __exportStar(require("./GetLiveCountResponse"), exports);
396
399
  __exportStar(require("./GetPhoneNumberInboundSipTrunkConfigResponseModel"), exports);
397
400
  __exportStar(require("./GetPhoneNumberOutboundSipTrunkConfigResponseModel"), exports);
398
401
  __exportStar(require("./GetPhoneNumberResponse"), exports);
@@ -506,6 +509,7 @@ __exportStar(require("./OutboundCallRecipient"), exports);
506
509
  __exportStar(require("./OutboundCallRecipientResponseModel"), exports);
507
510
  __exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
508
511
  __exportStar(require("./OutputFormat"), exports);
512
+ __exportStar(require("./PatchWorkspaceWebhookResponseModel"), exports);
509
513
  __exportStar(require("./PdfExportOptions"), exports);
510
514
  __exportStar(require("./PendingCancellationResponseModel"), exports);
511
515
  __exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
@@ -623,6 +627,7 @@ __exportStar(require("./SegmentCreateResponse"), exports);
623
627
  __exportStar(require("./SegmentDeleteResponse"), exports);
624
628
  __exportStar(require("./SegmentDubResponse"), exports);
625
629
  __exportStar(require("./SegmentedJsonExportOptions"), exports);
630
+ __exportStar(require("./SegmentMigrationResponse"), exports);
626
631
  __exportStar(require("./SegmentSubtitleFrame"), exports);
627
632
  __exportStar(require("./SegmentTranscriptionResponse"), exports);
628
633
  __exportStar(require("./SegmentTranslationResponse"), exports);
@@ -651,6 +656,7 @@ __exportStar(require("./SongMetadata"), exports);
651
656
  __exportStar(require("./SongSection"), exports);
652
657
  __exportStar(require("./SortDirection"), exports);
653
658
  __exportStar(require("./SpeakerAudioResponseModel"), exports);
659
+ __exportStar(require("./SpeakerCreatedResponse"), exports);
654
660
  __exportStar(require("./SpeakerResponseModel"), exports);
655
661
  __exportStar(require("./SpeakerSegment"), exports);
656
662
  __exportStar(require("./SpeakerSeparationResponseModel"), exports);
@@ -792,6 +798,7 @@ __exportStar(require("./VoiceSharingState"), exports);
792
798
  __exportStar(require("./VoiceVerificationResponse"), exports);
793
799
  __exportStar(require("./WebhookAuthMethodType"), exports);
794
800
  __exportStar(require("./WebhookEventType"), exports);
801
+ __exportStar(require("./WebhookHmacSettings"), exports);
795
802
  __exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
796
803
  __exportStar(require("./WebhookToolApiSchemaConfigInputContentType"), exports);
797
804
  __exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
@@ -865,6 +872,7 @@ __exportStar(require("./WorkspaceApiKeyResponseModel"), exports);
865
872
  __exportStar(require("./WorkspaceApiKeyResponseModelPermissionsItem"), exports);
866
873
  __exportStar(require("./WorkspaceBatchCallsResponse"), exports);
867
874
  __exportStar(require("./WorkspaceCreateApiKeyResponseModel"), exports);
875
+ __exportStar(require("./WorkspaceCreateWebhookResponseModel"), exports);
868
876
  __exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
869
877
  __exportStar(require("./WorkspaceResourceType"), exports);
870
878
  __exportStar(require("./WorkspaceServiceAccountListResponseModel"), exports);
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../../../../../../../api/index";
2
+ import * as core from "../../../../../../../core";
3
+ import type * as serializers from "../../../../../../index";
4
+ export declare const BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost: core.serialization.Schema<serializers.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.Raw, ElevenLabs.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost>;
5
+ export declare namespace BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost {
6
+ interface Raw {
7
+ segment_ids: string[];
8
+ speaker_id: string;
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.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost = void 0;
38
+ const core = __importStar(require("../../../../../../../core"));
39
+ exports.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost = core.serialization.object({
40
+ segmentIds: core.serialization.property("segment_ids", core.serialization.list(core.serialization.string())),
41
+ speakerId: core.serialization.property("speaker_id", core.serialization.string()),
42
+ });