@elevenlabs/elevenlabs-js 2.45.0 → 2.47.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 (1504) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +3 -0
  4. package/Client.js +31 -26
  5. package/README.md +92 -0
  6. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
  7. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
  8. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  9. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
  10. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
  11. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  12. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +32 -3
  13. package/api/resources/conversationalAi/resources/conversations/client/Client.js +106 -6
  14. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  15. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
  16. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  17. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +15 -2
  18. package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  20. package/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  21. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
  22. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
  23. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  24. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +7 -1
  25. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
  26. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
  27. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  29. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
  30. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
  31. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  32. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
  33. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
  34. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
  35. package/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  36. package/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  37. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
  38. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
  39. package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  41. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
  42. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
  43. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
  44. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
  45. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  48. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +3 -0
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  55. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  56. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  57. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  58. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  59. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  60. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  61. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  62. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  63. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  64. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  65. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  66. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  67. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  68. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
  69. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
  70. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  71. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
  72. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
  73. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
  74. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
  75. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +5 -0
  76. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
  77. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
  78. package/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
  79. package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
  80. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
  81. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
  82. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
  83. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
  84. package/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
  85. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
  86. package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  87. package/api/resources/index.d.ts +2 -0
  88. package/api/resources/index.js +3 -1
  89. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  90. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  91. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  92. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  93. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  94. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  95. package/api/resources/speechEngine/client/Client.d.ts +89 -0
  96. package/api/resources/speechEngine/client/Client.js +363 -0
  97. package/api/resources/speechEngine/client/index.d.ts +1 -0
  98. package/api/resources/speechEngine/client/index.js +17 -0
  99. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  100. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  101. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  102. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  103. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  104. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  105. package/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  106. package/api/resources/speechEngine/client/requests/index.js +2 -0
  107. package/api/resources/speechEngine/index.d.ts +1 -0
  108. package/api/resources/speechEngine/index.js +17 -0
  109. package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  110. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  111. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  112. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
  113. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
  114. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  115. package/api/resources/voices/client/Client.d.ts +5 -2
  116. package/api/resources/voices/client/Client.js +8 -2
  117. package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  118. package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
  119. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
  120. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  121. package/api/resources/workspace/client/Client.d.ts +6 -0
  122. package/api/resources/workspace/client/Client.js +22 -12
  123. package/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  124. package/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  125. package/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  126. package/api/resources/workspace/resources/analytics/client/index.js +2 -0
  127. package/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  128. package/api/resources/workspace/resources/analytics/index.js +18 -0
  129. package/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  130. package/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  131. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  132. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  133. package/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  134. package/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  135. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  136. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  137. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  138. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  139. package/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  140. package/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  141. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  142. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  143. package/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  144. package/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  145. package/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
  146. package/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
  147. package/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
  148. package/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
  149. package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
  150. package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
  151. package/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
  152. package/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
  153. package/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
  154. package/api/resources/workspace/resources/auditLogs/index.js +17 -0
  155. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  156. package/api/resources/workspace/resources/index.d.ts +3 -0
  157. package/api/resources/workspace/resources/index.js +4 -1
  158. package/api/types/AccountChangeActivityId.d.ts +6 -0
  159. package/api/types/AccountChangeActivityId.js +3 -0
  160. package/api/types/ActorModel.d.ts +16 -0
  161. package/api/types/ActorModel.js +3 -0
  162. package/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
  163. package/api/types/AgentAlertingMonitorConfig.js +3 -0
  164. package/api/types/AgentAlertingSettings.d.ts +5 -0
  165. package/api/types/AgentAlertingSettings.js +3 -0
  166. package/api/types/AgentMetadataDbModel.d.ts +7 -0
  167. package/api/types/AgentMetadataDbModel.js +3 -0
  168. package/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  169. package/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  170. package/api/types/AgentTopicResponseModel.d.ts +3 -0
  171. package/api/types/ApiIntegrationDocResponse.d.ts +8 -0
  172. package/api/types/ApiIntegrationDocResponse.js +3 -0
  173. package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
  174. package/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
  175. package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
  176. package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
  177. package/api/types/AuthenticationActivityId.d.ts +6 -0
  178. package/api/types/AuthenticationActivityId.js +3 -0
  179. package/api/types/AuthorizationMethod.d.ts +1 -0
  180. package/api/types/AuthorizationMethod.js +1 -0
  181. package/api/types/BackgroundMusicConfig.d.ts +11 -0
  182. package/api/types/BackgroundMusicConfig.js +3 -0
  183. package/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
  184. package/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
  185. package/api/types/BackgroundMusicPresetId.d.ts +13 -0
  186. package/api/types/BackgroundMusicPresetId.js +16 -0
  187. package/api/types/BackgroundMusicSourceType.d.ts +4 -0
  188. package/api/types/BackgroundMusicSourceType.js +3 -0
  189. package/api/types/BaseTurnConfig.d.ts +17 -0
  190. package/api/types/BaseTurnConfig.js +3 -0
  191. package/api/types/CancelCalendarEventParams.d.ts +3 -0
  192. package/api/types/CancelCalendarEventParams.js +3 -0
  193. package/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
  194. package/api/types/CancelGroupSessionForAllParams.js +3 -0
  195. package/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
  196. package/api/types/CancelGroupSessionRegistrationParams.js +3 -0
  197. package/api/types/ClientEvent.d.ts +1 -0
  198. package/api/types/ClientEvent.js +1 -0
  199. package/api/types/CodeToolAllowedDomain.d.ts +6 -0
  200. package/api/types/CodeToolAllowedDomain.js +3 -0
  201. package/api/types/ColumnUnit.d.ts +1 -0
  202. package/api/types/ColumnUnit.js +1 -0
  203. package/api/types/ContextualUpdateInfo.d.ts +6 -0
  204. package/api/types/ContextualUpdateInfo.js +3 -0
  205. package/api/types/ConvAiWebhooks.d.ts +2 -0
  206. package/api/types/ConversationAsrUsageModel.d.ts +8 -0
  207. package/api/types/ConversationAsrUsageModel.js +3 -0
  208. package/api/types/ConversationChargingCommonModel.d.ts +2 -0
  209. package/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
  210. package/api/types/ConversationConfigInput.js +3 -0
  211. package/api/types/ConversationConfigOutput.d.ts +17 -0
  212. package/api/types/ConversationConfigOutput.js +3 -0
  213. package/{dist/api/types/ConversationConfigWorkflowOverride.d.ts → api/types/ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
  214. package/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
  215. package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  216. package/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
  217. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  218. package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  219. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  220. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  221. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  222. package/api/types/ConversationInitiationSource.d.ts +1 -0
  223. package/api/types/ConversationInitiationSource.js +1 -0
  224. package/api/types/ConversationTagResponseModel.d.ts +8 -0
  225. package/api/types/ConversationTagResponseModel.js +3 -0
  226. package/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  227. package/api/types/ConversationTokenResponseModel.js +3 -0
  228. package/api/types/ConversationTtsUsageModel.d.ts +10 -0
  229. package/api/types/ConversationTtsUsageModel.js +3 -0
  230. package/api/types/ConversationVoiceRewardModel.d.ts +4 -0
  231. package/api/types/ConversationVoiceRewardModel.js +3 -0
  232. package/api/types/ConversationVoiceUsageModel.d.ts +4 -0
  233. package/api/types/ConversationVoiceUsageModel.js +3 -0
  234. package/api/types/ConversationalConfig.d.ts +1 -1
  235. package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  236. package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  237. package/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
  238. package/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
  239. package/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
  240. package/api/types/CreateServiceParams.d.ts +1 -1
  241. package/api/types/CreateSimulationTestRequest.d.ts +4 -0
  242. package/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  243. package/api/types/CreateSpeechEngineResponse.js +3 -0
  244. package/api/types/Currency.d.ts +1 -0
  245. package/api/types/Currency.js +1 -0
  246. package/api/types/DeleteCalendarEventParams.d.ts +7 -0
  247. package/api/types/DeleteGroupSessionParams.d.ts +13 -0
  248. package/api/types/DeleteGroupSessionParams.js +3 -0
  249. package/api/types/DeviceModel.d.ts +13 -0
  250. package/api/types/DeviceModel.js +3 -0
  251. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  252. package/api/types/EntityManagementActivityId.d.ts +6 -0
  253. package/api/types/EntityManagementActivityId.js +3 -0
  254. package/api/types/GenerationSourceContext.d.ts +0 -2
  255. package/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  256. package/api/types/GetClientAppointmentsParams.d.ts +1 -0
  257. package/api/types/GetConversationResponseModel.d.ts +2 -0
  258. package/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
  259. package/api/types/GetConversationTagsPageResponseModel.js +3 -0
  260. package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  261. package/api/types/GetSimulationTestResponseModel.d.ts +4 -0
  262. package/api/types/GetSipLogMessagesResponse.d.ts +6 -0
  263. package/api/types/GetSipLogMessagesResponse.js +3 -0
  264. package/api/types/GroupManagementActivityId.d.ts +6 -0
  265. package/api/types/GroupManagementActivityId.js +3 -0
  266. package/api/types/HttpRequestModel.d.ts +16 -0
  267. package/api/types/HttpRequestModel.js +3 -0
  268. package/api/types/ImageAnalysis.d.ts +6 -0
  269. package/api/types/ImageAnalysis.js +3 -0
  270. package/api/types/ImageAnalysisResult.d.ts +11 -0
  271. package/api/types/ImageAnalysisResult.js +3 -0
  272. package/api/types/ImageAnalysisStatus.d.ts +6 -0
  273. package/api/types/ImageAnalysisStatus.js +9 -0
  274. package/api/types/ImageSubject.d.ts +4 -0
  275. package/api/types/ImageSubject.js +3 -0
  276. package/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  277. package/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  278. package/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
  279. package/api/types/KnowledgeBaseRagToolConfig.js +3 -0
  280. package/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
  281. package/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
  282. package/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
  283. package/api/types/KnowledgeBaseRagToolStatus.js +9 -0
  284. package/api/types/LeaveMessageParams.d.ts +3 -0
  285. package/api/types/LeaveMessageParams.js +3 -0
  286. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  287. package/api/types/ListCalendarEventsParams.d.ts +1 -0
  288. package/api/types/ListGroupSessionsParams.d.ts +10 -0
  289. package/api/types/ListGroupSessionsParams.js +3 -0
  290. package/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
  291. package/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
  292. package/api/types/ListSpeechEnginesResponse.d.ts +8 -0
  293. package/api/types/ListSpeechEnginesResponse.js +3 -0
  294. package/api/types/Llm.d.ts +10 -0
  295. package/api/types/Llm.js +10 -0
  296. package/api/types/LlmInfoModelInput.d.ts +2 -0
  297. package/api/types/LlmInfoModelOutput.d.ts +2 -0
  298. package/api/types/McpServerConfigInput.d.ts +1 -1
  299. package/api/types/McpServerConfigOutput.d.ts +1 -1
  300. package/api/types/Monitor.d.ts +5 -0
  301. package/api/types/Monitor.js +8 -0
  302. package/api/types/OAuth2JwtResponse.d.ts +2 -0
  303. package/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
  304. package/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
  305. package/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  306. package/api/types/Price.d.ts +8 -0
  307. package/api/types/Price.js +3 -0
  308. package/api/types/ProcedureCompilerMode.d.ts +1 -5
  309. package/api/types/ProcedureCompilerMode.js +0 -5
  310. package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  311. package/api/types/ProjectImageResponseModel.d.ts +6 -2
  312. package/api/types/ProjectVideoResponseModel.d.ts +2 -3
  313. package/api/types/PromptAgentApiModelInput.d.ts +1 -1
  314. package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  315. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  316. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  317. package/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  318. package/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  319. package/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  320. package/api/types/RegisterForGroupSessionParams.d.ts +6 -0
  321. package/api/types/RegisterForGroupSessionParams.js +3 -0
  322. package/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  323. package/api/types/ReportKnowledgeGapParams.js +3 -0
  324. package/api/types/ResourceAccessInfo.d.ts +2 -0
  325. package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  326. package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
  327. package/api/types/ReviewResponseModel.d.ts +1 -0
  328. package/api/types/ScheduleGroupSessionParams.d.ts +11 -0
  329. package/api/types/ScheduleGroupSessionParams.js +3 -0
  330. package/api/types/SeverityId.d.ts +6 -0
  331. package/api/types/SeverityId.js +3 -0
  332. package/api/types/SimulationTestModel.d.ts +4 -0
  333. package/api/types/SipLogMessage.d.ts +12 -0
  334. package/api/types/SipLogMessage.js +3 -0
  335. package/api/types/SipLogMessageDirection.d.ts +5 -0
  336. package/api/types/SipLogMessageDirection.js +8 -0
  337. package/api/types/SmsConversationInfo.d.ts +7 -0
  338. package/api/types/SmsConversationInfo.js +3 -0
  339. package/api/types/SmsConversationInfoDirection.d.ts +5 -0
  340. package/api/types/SmsConversationInfoDirection.js +8 -0
  341. package/api/types/SpeechEngineConfig.d.ts +7 -0
  342. package/api/types/SpeechEngineConfig.js +3 -0
  343. package/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
  344. package/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
  345. package/api/types/SpeechEngineResponse.d.ts +16 -0
  346. package/api/types/SpeechEngineResponse.js +3 -0
  347. package/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
  348. package/api/types/SpeechEngineSummaryResponse.js +3 -0
  349. package/api/types/StatusId.d.ts +6 -0
  350. package/api/types/StatusId.js +3 -0
  351. package/api/types/Subscription.d.ts +2 -0
  352. package/api/types/SubscriptionResponse.d.ts +2 -0
  353. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  354. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  355. package/api/types/TurnConfig.d.ts +2 -2
  356. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  357. package/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
  358. package/api/types/UpdateGroupSessionSeatsParams.js +3 -0
  359. package/api/types/UpdateSimulationTestRequest.d.ts +4 -0
  360. package/api/types/UrlModel.d.ts +19 -0
  361. package/api/types/UrlModel.js +3 -0
  362. package/api/types/UserAccessManagementActivityId.d.ts +6 -0
  363. package/api/types/UserAccessManagementActivityId.js +3 -0
  364. package/api/types/UserModel.d.ts +22 -0
  365. package/api/types/UserModel.js +3 -0
  366. package/api/types/UserTypeId.d.ts +6 -0
  367. package/api/types/UserTypeId.js +3 -0
  368. package/api/types/WebhookHmacSettings.d.ts +2 -0
  369. package/api/types/WebhookTranscriptFormat.d.ts +5 -0
  370. package/api/types/WebhookTranscriptFormat.js +8 -0
  371. package/api/types/WidgetConfigResponse.d.ts +2 -0
  372. package/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  373. package/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
  374. package/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
  375. package/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
  376. package/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
  377. package/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
  378. package/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
  379. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  380. package/api/types/WorkspaceGroupPermission.js +2 -0
  381. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  382. package/api/types/WorkspaceResourceType.d.ts +1 -0
  383. package/api/types/WorkspaceResourceType.js +1 -0
  384. package/api/types/index.d.ts +77 -4
  385. package/api/types/index.js +77 -4
  386. package/dist/BaseClient.js +2 -2
  387. package/dist/Client.d.ts +3 -0
  388. package/dist/Client.js +31 -26
  389. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
  390. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
  391. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  392. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
  393. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
  394. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  395. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +32 -3
  396. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +106 -6
  397. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  398. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
  399. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js +3 -0
  400. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  401. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +15 -2
  402. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  403. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  404. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  405. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
  406. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
  407. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  408. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +7 -1
  409. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
  410. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
  411. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  412. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  413. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
  414. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +3 -0
  415. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
  416. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +3 -0
  417. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  418. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +3 -0
  419. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
  420. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js +3 -0
  421. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
  422. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
  423. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  424. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  425. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
  426. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
  427. package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  428. package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  429. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
  430. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
  431. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
  432. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
  433. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  434. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  435. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  436. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js +3 -0
  437. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  438. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  439. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +3 -0
  440. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  441. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  442. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  443. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  444. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  445. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  446. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  447. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  448. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  449. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  450. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  451. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  452. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  453. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  454. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  455. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  456. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  457. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
  458. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
  459. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  460. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
  461. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
  462. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
  463. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
  464. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +5 -0
  465. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
  466. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
  467. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
  468. package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
  469. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
  470. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
  471. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
  472. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
  473. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
  474. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
  475. package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  476. package/dist/api/resources/index.d.ts +2 -0
  477. package/dist/api/resources/index.js +3 -1
  478. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  479. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  480. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  481. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  482. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  483. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  484. package/dist/api/resources/speechEngine/client/Client.d.ts +89 -0
  485. package/dist/api/resources/speechEngine/client/Client.js +363 -0
  486. package/dist/api/resources/speechEngine/client/index.d.ts +1 -0
  487. package/dist/api/resources/speechEngine/client/index.js +17 -0
  488. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  489. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  490. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  491. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  492. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  493. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  494. package/dist/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  495. package/dist/api/resources/speechEngine/client/requests/index.js +2 -0
  496. package/dist/api/resources/speechEngine/index.d.ts +1 -0
  497. package/dist/api/resources/speechEngine/index.js +17 -0
  498. package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  499. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  500. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  501. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
  502. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
  503. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  504. package/dist/api/resources/voices/client/Client.d.ts +5 -2
  505. package/dist/api/resources/voices/client/Client.js +8 -2
  506. package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  507. package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
  508. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
  509. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  510. package/dist/api/resources/workspace/client/Client.d.ts +6 -0
  511. package/dist/api/resources/workspace/client/Client.js +22 -12
  512. package/dist/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  513. package/dist/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  514. package/dist/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  515. package/dist/api/resources/workspace/resources/analytics/client/index.js +2 -0
  516. package/dist/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  517. package/dist/api/resources/workspace/resources/analytics/index.js +18 -0
  518. package/dist/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  519. package/dist/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  520. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  521. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  522. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  523. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  524. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  525. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  526. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  527. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  528. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  529. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  530. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  531. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  532. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  533. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  534. package/dist/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
  535. package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
  536. package/dist/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
  537. package/dist/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
  538. package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
  539. package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
  540. package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
  541. package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
  542. package/dist/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
  543. package/dist/api/resources/workspace/resources/auditLogs/index.js +17 -0
  544. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  545. package/dist/api/resources/workspace/resources/index.d.ts +3 -0
  546. package/dist/api/resources/workspace/resources/index.js +4 -1
  547. package/dist/api/types/AccountChangeActivityId.d.ts +6 -0
  548. package/dist/api/types/AccountChangeActivityId.js +3 -0
  549. package/dist/api/types/ActorModel.d.ts +16 -0
  550. package/dist/api/types/ActorModel.js +3 -0
  551. package/dist/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
  552. package/dist/api/types/AgentAlertingMonitorConfig.js +3 -0
  553. package/dist/api/types/AgentAlertingSettings.d.ts +5 -0
  554. package/dist/api/types/AgentAlertingSettings.js +3 -0
  555. package/dist/api/types/AgentMetadataDbModel.d.ts +7 -0
  556. package/dist/api/types/AgentMetadataDbModel.js +3 -0
  557. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  558. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  559. package/dist/api/types/AgentTopicResponseModel.d.ts +3 -0
  560. package/dist/api/types/ApiIntegrationDocResponse.d.ts +8 -0
  561. package/dist/api/types/ApiIntegrationDocResponse.js +3 -0
  562. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
  563. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
  564. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
  565. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
  566. package/dist/api/types/AuthenticationActivityId.d.ts +6 -0
  567. package/dist/api/types/AuthenticationActivityId.js +3 -0
  568. package/dist/api/types/AuthorizationMethod.d.ts +1 -0
  569. package/dist/api/types/AuthorizationMethod.js +1 -0
  570. package/dist/api/types/BackgroundMusicConfig.d.ts +11 -0
  571. package/dist/api/types/BackgroundMusicConfig.js +3 -0
  572. package/dist/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
  573. package/dist/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
  574. package/dist/api/types/BackgroundMusicPresetId.d.ts +13 -0
  575. package/dist/api/types/BackgroundMusicPresetId.js +16 -0
  576. package/dist/api/types/BackgroundMusicSourceType.d.ts +4 -0
  577. package/dist/api/types/BackgroundMusicSourceType.js +3 -0
  578. package/dist/api/types/BaseTurnConfig.d.ts +17 -0
  579. package/dist/api/types/BaseTurnConfig.js +3 -0
  580. package/dist/api/types/CancelCalendarEventParams.d.ts +3 -0
  581. package/dist/api/types/CancelCalendarEventParams.js +3 -0
  582. package/dist/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
  583. package/dist/api/types/CancelGroupSessionForAllParams.js +3 -0
  584. package/dist/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
  585. package/dist/api/types/CancelGroupSessionRegistrationParams.js +3 -0
  586. package/dist/api/types/ClientEvent.d.ts +1 -0
  587. package/dist/api/types/ClientEvent.js +1 -0
  588. package/dist/api/types/CodeToolAllowedDomain.d.ts +6 -0
  589. package/dist/api/types/CodeToolAllowedDomain.js +3 -0
  590. package/dist/api/types/ColumnUnit.d.ts +1 -0
  591. package/dist/api/types/ColumnUnit.js +1 -0
  592. package/dist/api/types/ContextualUpdateInfo.d.ts +6 -0
  593. package/dist/api/types/ContextualUpdateInfo.js +3 -0
  594. package/dist/api/types/ConvAiWebhooks.d.ts +2 -0
  595. package/dist/api/types/ConversationAsrUsageModel.d.ts +8 -0
  596. package/dist/api/types/ConversationAsrUsageModel.js +3 -0
  597. package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
  598. package/dist/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
  599. package/dist/api/types/ConversationConfigInput.js +3 -0
  600. package/dist/api/types/ConversationConfigOutput.d.ts +17 -0
  601. package/dist/api/types/ConversationConfigOutput.js +3 -0
  602. package/{api/types/ConversationConfigWorkflowOverride.d.ts → dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
  603. package/dist/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
  604. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  605. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
  606. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  607. package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  608. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  609. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  610. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  611. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  612. package/dist/api/types/ConversationInitiationSource.js +1 -0
  613. package/dist/api/types/ConversationTagResponseModel.d.ts +8 -0
  614. package/dist/api/types/ConversationTagResponseModel.js +3 -0
  615. package/dist/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  616. package/dist/api/types/ConversationTokenResponseModel.js +3 -0
  617. package/dist/api/types/ConversationTtsUsageModel.d.ts +10 -0
  618. package/dist/api/types/ConversationTtsUsageModel.js +3 -0
  619. package/dist/api/types/ConversationVoiceRewardModel.d.ts +4 -0
  620. package/dist/api/types/ConversationVoiceRewardModel.js +3 -0
  621. package/dist/api/types/ConversationVoiceUsageModel.d.ts +4 -0
  622. package/dist/api/types/ConversationVoiceUsageModel.js +3 -0
  623. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  624. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  625. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  626. package/dist/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
  627. package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
  628. package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
  629. package/dist/api/types/CreateServiceParams.d.ts +1 -1
  630. package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -0
  631. package/dist/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  632. package/dist/api/types/CreateSpeechEngineResponse.js +3 -0
  633. package/dist/api/types/Currency.d.ts +1 -0
  634. package/dist/api/types/Currency.js +1 -0
  635. package/dist/api/types/DeleteCalendarEventParams.d.ts +7 -0
  636. package/dist/api/types/DeleteGroupSessionParams.d.ts +13 -0
  637. package/dist/api/types/DeleteGroupSessionParams.js +3 -0
  638. package/dist/api/types/DeviceModel.d.ts +13 -0
  639. package/dist/api/types/DeviceModel.js +3 -0
  640. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  641. package/dist/api/types/EntityManagementActivityId.d.ts +6 -0
  642. package/dist/api/types/EntityManagementActivityId.js +3 -0
  643. package/dist/api/types/GenerationSourceContext.d.ts +0 -2
  644. package/dist/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  645. package/dist/api/types/GetClientAppointmentsParams.d.ts +1 -0
  646. package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
  647. package/dist/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
  648. package/dist/api/types/GetConversationTagsPageResponseModel.js +3 -0
  649. package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  650. package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -0
  651. package/dist/api/types/GetSipLogMessagesResponse.d.ts +6 -0
  652. package/dist/api/types/GetSipLogMessagesResponse.js +3 -0
  653. package/dist/api/types/GroupManagementActivityId.d.ts +6 -0
  654. package/dist/api/types/GroupManagementActivityId.js +3 -0
  655. package/dist/api/types/HttpRequestModel.d.ts +16 -0
  656. package/dist/api/types/HttpRequestModel.js +3 -0
  657. package/dist/api/types/ImageAnalysis.d.ts +6 -0
  658. package/dist/api/types/ImageAnalysis.js +3 -0
  659. package/dist/api/types/ImageAnalysisResult.d.ts +11 -0
  660. package/dist/api/types/ImageAnalysisResult.js +3 -0
  661. package/dist/api/types/ImageAnalysisStatus.d.ts +6 -0
  662. package/dist/api/types/ImageAnalysisStatus.js +9 -0
  663. package/dist/api/types/ImageSubject.d.ts +4 -0
  664. package/dist/api/types/ImageSubject.js +3 -0
  665. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  666. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  667. package/dist/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
  668. package/dist/api/types/KnowledgeBaseRagToolConfig.js +3 -0
  669. package/dist/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
  670. package/dist/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
  671. package/dist/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
  672. package/dist/api/types/KnowledgeBaseRagToolStatus.js +9 -0
  673. package/dist/api/types/LeaveMessageParams.d.ts +3 -0
  674. package/dist/api/types/LeaveMessageParams.js +3 -0
  675. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  676. package/dist/api/types/ListCalendarEventsParams.d.ts +1 -0
  677. package/dist/api/types/ListGroupSessionsParams.d.ts +10 -0
  678. package/dist/api/types/ListGroupSessionsParams.js +3 -0
  679. package/dist/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
  680. package/dist/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
  681. package/dist/api/types/ListSpeechEnginesResponse.d.ts +8 -0
  682. package/dist/api/types/ListSpeechEnginesResponse.js +3 -0
  683. package/dist/api/types/Llm.d.ts +10 -0
  684. package/dist/api/types/Llm.js +10 -0
  685. package/dist/api/types/LlmInfoModelInput.d.ts +2 -0
  686. package/dist/api/types/LlmInfoModelOutput.d.ts +2 -0
  687. package/dist/api/types/McpServerConfigInput.d.ts +1 -1
  688. package/dist/api/types/McpServerConfigOutput.d.ts +1 -1
  689. package/dist/api/types/Monitor.d.ts +5 -0
  690. package/dist/api/types/Monitor.js +8 -0
  691. package/dist/api/types/OAuth2JwtResponse.d.ts +2 -0
  692. package/dist/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
  693. package/dist/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
  694. package/dist/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  695. package/dist/api/types/Price.d.ts +8 -0
  696. package/dist/api/types/Price.js +3 -0
  697. package/dist/api/types/ProcedureCompilerMode.d.ts +1 -5
  698. package/dist/api/types/ProcedureCompilerMode.js +0 -5
  699. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  700. package/dist/api/types/ProjectImageResponseModel.d.ts +6 -2
  701. package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -3
  702. package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
  703. package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  704. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  705. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  706. package/dist/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  707. package/dist/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  708. package/dist/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  709. package/dist/api/types/RegisterForGroupSessionParams.d.ts +6 -0
  710. package/dist/api/types/RegisterForGroupSessionParams.js +3 -0
  711. package/dist/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  712. package/dist/api/types/ReportKnowledgeGapParams.js +3 -0
  713. package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
  714. package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  715. package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
  716. package/dist/api/types/ReviewResponseModel.d.ts +1 -0
  717. package/dist/api/types/ScheduleGroupSessionParams.d.ts +11 -0
  718. package/dist/api/types/ScheduleGroupSessionParams.js +3 -0
  719. package/dist/api/types/SeverityId.d.ts +6 -0
  720. package/dist/api/types/SeverityId.js +3 -0
  721. package/dist/api/types/SimulationTestModel.d.ts +4 -0
  722. package/dist/api/types/SipLogMessage.d.ts +12 -0
  723. package/dist/api/types/SipLogMessage.js +3 -0
  724. package/dist/api/types/SipLogMessageDirection.d.ts +5 -0
  725. package/dist/api/types/SipLogMessageDirection.js +8 -0
  726. package/dist/api/types/SmsConversationInfo.d.ts +7 -0
  727. package/dist/api/types/SmsConversationInfo.js +3 -0
  728. package/dist/api/types/SmsConversationInfoDirection.d.ts +5 -0
  729. package/dist/api/types/SmsConversationInfoDirection.js +8 -0
  730. package/dist/api/types/SpeechEngineConfig.d.ts +7 -0
  731. package/dist/api/types/SpeechEngineConfig.js +3 -0
  732. package/dist/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
  733. package/dist/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
  734. package/dist/api/types/SpeechEngineResponse.d.ts +16 -0
  735. package/dist/api/types/SpeechEngineResponse.js +3 -0
  736. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
  737. package/dist/api/types/SpeechEngineSummaryResponse.js +3 -0
  738. package/dist/api/types/StatusId.d.ts +6 -0
  739. package/dist/api/types/StatusId.js +3 -0
  740. package/dist/api/types/Subscription.d.ts +2 -0
  741. package/dist/api/types/SubscriptionResponse.d.ts +2 -0
  742. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  743. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  744. package/dist/api/types/TurnConfig.d.ts +2 -2
  745. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  746. package/dist/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
  747. package/dist/api/types/UpdateGroupSessionSeatsParams.js +3 -0
  748. package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -0
  749. package/dist/api/types/UrlModel.d.ts +19 -0
  750. package/dist/api/types/UrlModel.js +3 -0
  751. package/dist/api/types/UserAccessManagementActivityId.d.ts +6 -0
  752. package/dist/api/types/UserAccessManagementActivityId.js +3 -0
  753. package/dist/api/types/UserModel.d.ts +22 -0
  754. package/dist/api/types/UserModel.js +3 -0
  755. package/dist/api/types/UserTypeId.d.ts +6 -0
  756. package/dist/api/types/UserTypeId.js +3 -0
  757. package/dist/api/types/WebhookHmacSettings.d.ts +2 -0
  758. package/dist/api/types/WebhookTranscriptFormat.d.ts +5 -0
  759. package/dist/api/types/WebhookTranscriptFormat.js +8 -0
  760. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  761. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  762. package/dist/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
  763. package/dist/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
  764. package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
  765. package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
  766. package/dist/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
  767. package/dist/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
  768. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  769. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  770. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  771. package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
  772. package/dist/api/types/WorkspaceResourceType.js +1 -0
  773. package/dist/api/types/index.d.ts +77 -4
  774. package/dist/api/types/index.js +77 -4
  775. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  776. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  777. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  778. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  779. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
  780. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
  781. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
  782. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
  783. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  784. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
  785. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
  786. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
  787. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  788. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  789. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
  790. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
  791. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  792. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  793. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  794. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  795. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  796. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  797. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  798. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  799. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +3 -0
  800. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +3 -0
  801. package/dist/serialization/resources/index.d.ts +2 -0
  802. package/dist/serialization/resources/index.js +3 -1
  803. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  804. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  805. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  806. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  807. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  808. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  809. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  810. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  811. package/dist/serialization/resources/speechEngine/client/index.d.ts +1 -0
  812. package/dist/serialization/resources/speechEngine/client/index.js +17 -0
  813. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  814. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  815. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  816. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  817. package/dist/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  818. package/dist/serialization/resources/speechEngine/client/requests/index.js +7 -0
  819. package/dist/serialization/resources/speechEngine/index.d.ts +1 -0
  820. package/dist/serialization/resources/speechEngine/index.js +17 -0
  821. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  822. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  823. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  824. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  825. package/dist/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  826. package/dist/serialization/resources/workspace/resources/analytics/index.js +17 -0
  827. package/dist/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  828. package/dist/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  829. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  830. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  831. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  832. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  833. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  834. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  835. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  836. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  837. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  838. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  839. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  840. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  841. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  842. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  843. package/dist/serialization/resources/workspace/resources/index.d.ts +1 -0
  844. package/dist/serialization/resources/workspace/resources/index.js +2 -1
  845. package/dist/serialization/types/AccountChangeActivityId.d.ts +7 -0
  846. package/dist/serialization/types/{DubbingModel.js → AccountChangeActivityId.js} +2 -2
  847. package/dist/serialization/types/ActorModel.d.ts +13 -0
  848. package/dist/serialization/types/ActorModel.js +45 -0
  849. package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
  850. package/dist/serialization/types/AgentAlertingMonitorConfig.js +41 -0
  851. package/dist/serialization/types/AgentAlertingSettings.d.ts +10 -0
  852. package/dist/serialization/types/AgentAlertingSettings.js +42 -0
  853. package/dist/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  854. package/dist/serialization/types/AgentMetadataDbModel.js +45 -0
  855. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  856. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  857. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  858. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  859. package/dist/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  860. package/dist/serialization/types/AgentTopicResponseModel.js +3 -0
  861. package/dist/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
  862. package/dist/serialization/types/ApiIntegrationDocResponse.js +43 -0
  863. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
  864. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
  865. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
  866. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
  867. package/dist/serialization/types/AuthenticationActivityId.d.ts +7 -0
  868. package/{serialization/types/DubbingModel.js → dist/serialization/types/AuthenticationActivityId.js} +2 -2
  869. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  870. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  871. package/dist/serialization/types/BackgroundMusicConfig.d.ts +14 -0
  872. package/dist/serialization/types/BackgroundMusicConfig.js +46 -0
  873. package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
  874. package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
  875. package/dist/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
  876. package/dist/serialization/types/BackgroundMusicPresetId.js +49 -0
  877. package/dist/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
  878. package/dist/serialization/types/BackgroundMusicSourceType.js +39 -0
  879. package/dist/serialization/types/BaseTurnConfig.d.ts +17 -0
  880. package/dist/serialization/types/BaseTurnConfig.js +49 -0
  881. package/dist/serialization/types/CancelCalendarEventParams.d.ts +9 -0
  882. package/dist/serialization/types/CancelCalendarEventParams.js +41 -0
  883. package/dist/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
  884. package/dist/serialization/types/CancelGroupSessionForAllParams.js +41 -0
  885. package/dist/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
  886. package/dist/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
  887. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  888. package/dist/serialization/types/ClientEvent.js +1 -0
  889. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  890. package/dist/serialization/types/CodeToolAllowedDomain.js +42 -0
  891. package/dist/serialization/types/ColumnUnit.d.ts +1 -1
  892. package/dist/serialization/types/ColumnUnit.js +1 -1
  893. package/dist/serialization/types/ContextualUpdateInfo.d.ts +10 -0
  894. package/dist/serialization/types/ContextualUpdateInfo.js +42 -0
  895. package/dist/serialization/types/ConvAiWebhooks.d.ts +2 -0
  896. package/dist/serialization/types/ConvAiWebhooks.js +2 -0
  897. package/dist/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
  898. package/dist/serialization/types/ConversationAsrUsageModel.js +43 -0
  899. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
  900. package/dist/serialization/types/ConversationChargingCommonModel.js +4 -0
  901. package/dist/serialization/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +2 -2
  902. package/dist/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
  903. package/dist/serialization/types/ConversationConfigOutput.d.ts +17 -0
  904. package/dist/serialization/types/ConversationConfigOutput.js +49 -0
  905. package/dist/serialization/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
  906. package/dist/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
  907. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  908. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
  909. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
  910. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
  911. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  912. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
  913. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  914. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
  915. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  916. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  917. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  918. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  919. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  920. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  921. package/dist/serialization/types/ConversationTagResponseModel.d.ts +14 -0
  922. package/dist/serialization/types/ConversationTagResponseModel.js +46 -0
  923. package/dist/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  924. package/{serialization/types/ConversationTokenDbModel.js → dist/serialization/types/ConversationTokenResponseModel.js} +3 -3
  925. package/dist/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
  926. package/dist/serialization/types/ConversationTtsUsageModel.js +45 -0
  927. package/dist/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
  928. package/dist/serialization/types/ConversationVoiceRewardModel.js +42 -0
  929. package/dist/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
  930. package/dist/serialization/types/ConversationVoiceUsageModel.js +42 -0
  931. package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
  932. package/dist/serialization/types/ConversationalConfig.js +2 -2
  933. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
  934. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
  935. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
  936. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
  937. package/dist/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
  938. package/dist/serialization/types/CreateOAuth2JwtRequest.js +2 -0
  939. package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  940. package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
  941. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
  942. package/dist/serialization/types/CreateSimulationTestRequest.js +3 -0
  943. package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  944. package/dist/serialization/types/CreateSpeechEngineResponse.js +41 -0
  945. package/dist/serialization/types/Currency.d.ts +1 -1
  946. package/dist/serialization/types/Currency.js +1 -1
  947. package/dist/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
  948. package/dist/serialization/types/DeleteGroupSessionParams.js +41 -0
  949. package/dist/serialization/types/DeviceModel.d.ts +11 -0
  950. package/dist/serialization/types/DeviceModel.js +43 -0
  951. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  952. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  953. package/dist/serialization/types/EntityManagementActivityId.d.ts +7 -0
  954. package/dist/serialization/types/EntityManagementActivityId.js +39 -0
  955. package/dist/serialization/types/GenerationSourceContext.d.ts +0 -1
  956. package/dist/serialization/types/GenerationSourceContext.js +0 -1
  957. package/dist/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  958. package/dist/serialization/types/GetAgentLinkResponseModel.js +2 -2
  959. package/dist/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
  960. package/dist/serialization/types/GetClientAppointmentsParams.js +1 -0
  961. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  962. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  963. package/dist/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
  964. package/dist/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
  965. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
  966. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
  967. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
  968. package/dist/serialization/types/GetSimulationTestResponseModel.js +3 -0
  969. package/dist/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
  970. package/dist/serialization/types/GetSipLogMessagesResponse.js +44 -0
  971. package/dist/serialization/types/GroupManagementActivityId.d.ts +7 -0
  972. package/dist/serialization/types/GroupManagementActivityId.js +39 -0
  973. package/dist/serialization/types/HttpRequestModel.d.ts +13 -0
  974. package/dist/serialization/types/HttpRequestModel.js +45 -0
  975. package/dist/serialization/types/ImageAnalysis.d.ts +13 -0
  976. package/dist/serialization/types/ImageAnalysis.js +45 -0
  977. package/dist/serialization/types/ImageAnalysisResult.d.ts +16 -0
  978. package/dist/serialization/types/ImageAnalysisResult.js +48 -0
  979. package/dist/serialization/types/ImageAnalysisStatus.d.ts +7 -0
  980. package/dist/serialization/types/ImageAnalysisStatus.js +39 -0
  981. package/dist/serialization/types/ImageSubject.d.ts +10 -0
  982. package/dist/serialization/types/ImageSubject.js +42 -0
  983. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  984. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  985. package/dist/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
  986. package/dist/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
  987. package/dist/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
  988. package/dist/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
  989. package/dist/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
  990. package/dist/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
  991. package/dist/serialization/types/LeaveMessageParams.d.ts +9 -0
  992. package/dist/serialization/types/LeaveMessageParams.js +41 -0
  993. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  994. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  995. package/dist/serialization/types/ListCalendarEventsParams.d.ts +1 -0
  996. package/dist/serialization/types/ListCalendarEventsParams.js +1 -0
  997. package/dist/serialization/types/ListGroupSessionsParams.d.ts +9 -0
  998. package/dist/serialization/types/ListGroupSessionsParams.js +41 -0
  999. package/dist/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
  1000. package/dist/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
  1001. package/dist/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  1002. package/dist/serialization/types/ListSpeechEnginesResponse.js +44 -0
  1003. package/dist/serialization/types/Llm.d.ts +1 -1
  1004. package/dist/serialization/types/Llm.js +10 -0
  1005. package/dist/serialization/types/LlmInfoModelInput.d.ts +2 -0
  1006. package/dist/serialization/types/LlmInfoModelInput.js +2 -0
  1007. package/dist/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  1008. package/dist/serialization/types/LlmInfoModelOutput.js +2 -0
  1009. package/dist/serialization/types/Monitor.d.ts +7 -0
  1010. package/dist/serialization/types/Monitor.js +39 -0
  1011. package/dist/serialization/types/OAuth2JwtResponse.d.ts +2 -0
  1012. package/dist/serialization/types/OAuth2JwtResponse.js +2 -0
  1013. package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
  1014. package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
  1015. package/dist/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  1016. package/dist/serialization/types/PhoneNumberAgentInfo.js +2 -0
  1017. package/dist/serialization/types/Price.d.ts +11 -0
  1018. package/dist/serialization/types/Price.js +43 -0
  1019. package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  1020. package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
  1021. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  1022. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
  1023. package/dist/serialization/types/ProjectImageResponseModel.d.ts +8 -2
  1024. package/dist/serialization/types/ProjectImageResponseModel.js +8 -2
  1025. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
  1026. package/dist/serialization/types/ProjectVideoResponseModel.js +2 -3
  1027. package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  1028. package/dist/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  1029. package/dist/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  1030. package/dist/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  1031. package/dist/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
  1032. package/dist/serialization/types/RegisterForGroupSessionParams.js +41 -0
  1033. package/dist/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  1034. package/dist/serialization/types/ReportKnowledgeGapParams.js +41 -0
  1035. package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
  1036. package/dist/serialization/types/ResourceAccessInfo.js +2 -0
  1037. package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  1038. package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
  1039. package/dist/serialization/types/ReviewResponseModel.d.ts +1 -0
  1040. package/dist/serialization/types/ReviewResponseModel.js +1 -0
  1041. package/dist/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
  1042. package/dist/serialization/types/ScheduleGroupSessionParams.js +41 -0
  1043. package/dist/serialization/types/SeverityId.d.ts +7 -0
  1044. package/dist/serialization/types/SeverityId.js +39 -0
  1045. package/dist/serialization/types/SimulationTestModel.d.ts +3 -0
  1046. package/dist/serialization/types/SimulationTestModel.js +3 -0
  1047. package/dist/serialization/types/SipLogMessage.d.ts +18 -0
  1048. package/dist/serialization/types/SipLogMessage.js +50 -0
  1049. package/dist/serialization/types/SipLogMessageDirection.d.ts +7 -0
  1050. package/dist/serialization/types/SipLogMessageDirection.js +39 -0
  1051. package/dist/serialization/types/SmsConversationInfo.d.ts +13 -0
  1052. package/dist/serialization/types/SmsConversationInfo.js +45 -0
  1053. package/dist/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
  1054. package/dist/serialization/types/SmsConversationInfoDirection.js +39 -0
  1055. package/dist/serialization/types/SpeechEngineConfig.d.ts +11 -0
  1056. package/dist/serialization/types/SpeechEngineConfig.js +43 -0
  1057. package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
  1058. package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
  1059. package/dist/serialization/types/SpeechEngineResponse.d.ts +28 -0
  1060. package/dist/serialization/types/SpeechEngineResponse.js +60 -0
  1061. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  1062. package/dist/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  1063. package/dist/serialization/types/StatusId.d.ts +7 -0
  1064. package/dist/serialization/types/StatusId.js +39 -0
  1065. package/dist/serialization/types/Subscription.d.ts +2 -0
  1066. package/dist/serialization/types/Subscription.js +2 -0
  1067. package/dist/serialization/types/SubscriptionResponse.d.ts +2 -0
  1068. package/dist/serialization/types/SubscriptionResponse.js +2 -0
  1069. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  1070. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  1071. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  1072. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  1073. package/dist/serialization/types/TurnConfig.d.ts +1 -1
  1074. package/dist/serialization/types/TurnConfig.js +1 -1
  1075. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  1076. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  1077. package/dist/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
  1078. package/dist/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
  1079. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
  1080. package/dist/serialization/types/UpdateSimulationTestRequest.js +3 -0
  1081. package/dist/serialization/types/UrlModel.d.ts +14 -0
  1082. package/dist/serialization/types/UrlModel.js +46 -0
  1083. package/dist/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
  1084. package/dist/serialization/types/UserAccessManagementActivityId.js +39 -0
  1085. package/dist/serialization/types/UserModel.d.ts +16 -0
  1086. package/dist/serialization/types/UserModel.js +48 -0
  1087. package/dist/serialization/types/UserTypeId.d.ts +7 -0
  1088. package/dist/serialization/types/UserTypeId.js +39 -0
  1089. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -0
  1090. package/dist/serialization/types/WebhookHmacSettings.js +1 -0
  1091. package/dist/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
  1092. package/dist/serialization/types/WebhookTranscriptFormat.js +39 -0
  1093. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1094. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  1095. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  1096. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  1097. package/dist/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
  1098. package/dist/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
  1099. package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
  1100. package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
  1101. package/dist/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
  1102. package/dist/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
  1103. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  1104. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  1105. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  1106. package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  1107. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1108. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  1109. package/dist/serialization/types/index.d.ts +77 -4
  1110. package/dist/serialization/types/index.js +77 -4
  1111. package/dist/version.d.ts +1 -1
  1112. package/dist/version.js +1 -1
  1113. package/dist/wrapper/ElevenLabsClient.d.ts +5 -2
  1114. package/dist/wrapper/ElevenLabsClient.js +9 -1
  1115. package/dist/wrapper/index.d.ts +1 -0
  1116. package/dist/wrapper/index.js +8 -1
  1117. package/dist/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  1118. package/dist/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  1119. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  1120. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  1121. package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  1122. package/dist/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  1123. package/dist/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  1124. package/dist/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  1125. package/dist/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  1126. package/dist/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  1127. package/dist/wrapper/speech-engine/index.d.ts +7 -0
  1128. package/dist/wrapper/speech-engine/index.js +47 -0
  1129. package/dist/wrapper/speech-engine/namespace.d.ts +27 -0
  1130. package/dist/wrapper/speech-engine/namespace.js +37 -0
  1131. package/dist/wrapper/speech-engine/types.d.ts +67 -0
  1132. package/dist/wrapper/speech-engine/types.js +15 -0
  1133. package/package.json +1 -1
  1134. package/reference.md +2258 -993
  1135. package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  1136. package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  1137. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  1138. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  1139. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
  1140. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
  1141. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
  1142. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
  1143. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  1144. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
  1145. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
  1146. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
  1147. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  1148. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  1149. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
  1150. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
  1151. package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  1152. package/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  1153. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  1154. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  1155. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  1156. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  1157. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  1158. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  1159. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +3 -0
  1160. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +3 -0
  1161. package/serialization/resources/index.d.ts +2 -0
  1162. package/serialization/resources/index.js +3 -1
  1163. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  1164. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  1165. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  1166. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  1167. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  1168. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  1169. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  1170. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  1171. package/serialization/resources/speechEngine/client/index.d.ts +1 -0
  1172. package/serialization/resources/speechEngine/client/index.js +17 -0
  1173. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  1174. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  1175. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  1176. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  1177. package/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  1178. package/serialization/resources/speechEngine/client/requests/index.js +7 -0
  1179. package/serialization/resources/speechEngine/index.d.ts +1 -0
  1180. package/serialization/resources/speechEngine/index.js +17 -0
  1181. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  1182. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  1183. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  1184. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  1185. package/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  1186. package/serialization/resources/workspace/resources/analytics/index.js +17 -0
  1187. package/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  1188. package/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  1189. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  1190. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  1191. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  1192. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  1193. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  1194. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  1195. package/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  1196. package/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  1197. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  1198. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  1199. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  1200. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  1201. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  1202. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  1203. package/serialization/resources/workspace/resources/index.d.ts +1 -0
  1204. package/serialization/resources/workspace/resources/index.js +2 -1
  1205. package/serialization/types/AccountChangeActivityId.d.ts +7 -0
  1206. package/serialization/types/AccountChangeActivityId.js +39 -0
  1207. package/serialization/types/ActorModel.d.ts +13 -0
  1208. package/serialization/types/ActorModel.js +45 -0
  1209. package/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
  1210. package/serialization/types/AgentAlertingMonitorConfig.js +41 -0
  1211. package/serialization/types/AgentAlertingSettings.d.ts +10 -0
  1212. package/serialization/types/AgentAlertingSettings.js +42 -0
  1213. package/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  1214. package/serialization/types/AgentMetadataDbModel.js +45 -0
  1215. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  1216. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  1217. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  1218. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  1219. package/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  1220. package/serialization/types/AgentTopicResponseModel.js +3 -0
  1221. package/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
  1222. package/serialization/types/ApiIntegrationDocResponse.js +43 -0
  1223. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
  1224. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
  1225. package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
  1226. package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
  1227. package/serialization/types/AuthenticationActivityId.d.ts +7 -0
  1228. package/serialization/types/AuthenticationActivityId.js +39 -0
  1229. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  1230. package/serialization/types/AuthorizationMethod.js +1 -0
  1231. package/serialization/types/BackgroundMusicConfig.d.ts +14 -0
  1232. package/serialization/types/BackgroundMusicConfig.js +46 -0
  1233. package/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
  1234. package/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
  1235. package/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
  1236. package/serialization/types/BackgroundMusicPresetId.js +49 -0
  1237. package/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
  1238. package/serialization/types/BackgroundMusicSourceType.js +39 -0
  1239. package/serialization/types/BaseTurnConfig.d.ts +17 -0
  1240. package/serialization/types/BaseTurnConfig.js +49 -0
  1241. package/serialization/types/CancelCalendarEventParams.d.ts +9 -0
  1242. package/serialization/types/CancelCalendarEventParams.js +41 -0
  1243. package/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
  1244. package/serialization/types/CancelGroupSessionForAllParams.js +41 -0
  1245. package/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
  1246. package/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
  1247. package/serialization/types/ClientEvent.d.ts +1 -1
  1248. package/serialization/types/ClientEvent.js +1 -0
  1249. package/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  1250. package/serialization/types/CodeToolAllowedDomain.js +42 -0
  1251. package/serialization/types/ColumnUnit.d.ts +1 -1
  1252. package/serialization/types/ColumnUnit.js +1 -1
  1253. package/serialization/types/ContextualUpdateInfo.d.ts +10 -0
  1254. package/serialization/types/ContextualUpdateInfo.js +42 -0
  1255. package/serialization/types/ConvAiWebhooks.d.ts +2 -0
  1256. package/serialization/types/ConvAiWebhooks.js +2 -0
  1257. package/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
  1258. package/serialization/types/ConversationAsrUsageModel.js +43 -0
  1259. package/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
  1260. package/serialization/types/ConversationChargingCommonModel.js +4 -0
  1261. package/serialization/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +2 -2
  1262. package/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
  1263. package/serialization/types/ConversationConfigOutput.d.ts +17 -0
  1264. package/serialization/types/ConversationConfigOutput.js +49 -0
  1265. package/serialization/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
  1266. package/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
  1267. package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  1268. package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
  1269. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
  1270. package/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
  1271. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  1272. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
  1273. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  1274. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
  1275. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  1276. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  1277. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  1278. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  1279. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  1280. package/serialization/types/ConversationInitiationSource.js +1 -0
  1281. package/serialization/types/ConversationTagResponseModel.d.ts +14 -0
  1282. package/serialization/types/ConversationTagResponseModel.js +46 -0
  1283. package/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  1284. package/{dist/serialization/types/ConversationTokenDbModel.js → serialization/types/ConversationTokenResponseModel.js} +3 -3
  1285. package/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
  1286. package/serialization/types/ConversationTtsUsageModel.js +45 -0
  1287. package/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
  1288. package/serialization/types/ConversationVoiceRewardModel.js +42 -0
  1289. package/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
  1290. package/serialization/types/ConversationVoiceUsageModel.js +42 -0
  1291. package/serialization/types/ConversationalConfig.d.ts +2 -2
  1292. package/serialization/types/ConversationalConfig.js +2 -2
  1293. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
  1294. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
  1295. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
  1296. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
  1297. package/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
  1298. package/serialization/types/CreateOAuth2JwtRequest.js +2 -0
  1299. package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  1300. package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
  1301. package/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
  1302. package/serialization/types/CreateSimulationTestRequest.js +3 -0
  1303. package/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  1304. package/serialization/types/CreateSpeechEngineResponse.js +41 -0
  1305. package/serialization/types/Currency.d.ts +1 -1
  1306. package/serialization/types/Currency.js +1 -1
  1307. package/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
  1308. package/serialization/types/DeleteGroupSessionParams.js +41 -0
  1309. package/serialization/types/DeviceModel.d.ts +11 -0
  1310. package/serialization/types/DeviceModel.js +43 -0
  1311. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  1312. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  1313. package/serialization/types/EntityManagementActivityId.d.ts +7 -0
  1314. package/serialization/types/EntityManagementActivityId.js +39 -0
  1315. package/serialization/types/GenerationSourceContext.d.ts +0 -1
  1316. package/serialization/types/GenerationSourceContext.js +0 -1
  1317. package/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  1318. package/serialization/types/GetAgentLinkResponseModel.js +2 -2
  1319. package/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
  1320. package/serialization/types/GetClientAppointmentsParams.js +1 -0
  1321. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  1322. package/serialization/types/GetConversationResponseModel.js +1 -0
  1323. package/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
  1324. package/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
  1325. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
  1326. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
  1327. package/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
  1328. package/serialization/types/GetSimulationTestResponseModel.js +3 -0
  1329. package/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
  1330. package/serialization/types/GetSipLogMessagesResponse.js +44 -0
  1331. package/serialization/types/GroupManagementActivityId.d.ts +7 -0
  1332. package/serialization/types/GroupManagementActivityId.js +39 -0
  1333. package/serialization/types/HttpRequestModel.d.ts +13 -0
  1334. package/serialization/types/HttpRequestModel.js +45 -0
  1335. package/serialization/types/ImageAnalysis.d.ts +13 -0
  1336. package/serialization/types/ImageAnalysis.js +45 -0
  1337. package/serialization/types/ImageAnalysisResult.d.ts +16 -0
  1338. package/serialization/types/ImageAnalysisResult.js +48 -0
  1339. package/serialization/types/ImageAnalysisStatus.d.ts +7 -0
  1340. package/serialization/types/ImageAnalysisStatus.js +39 -0
  1341. package/serialization/types/ImageSubject.d.ts +10 -0
  1342. package/serialization/types/ImageSubject.js +42 -0
  1343. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  1344. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  1345. package/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
  1346. package/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
  1347. package/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
  1348. package/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
  1349. package/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
  1350. package/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
  1351. package/serialization/types/LeaveMessageParams.d.ts +9 -0
  1352. package/serialization/types/LeaveMessageParams.js +41 -0
  1353. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  1354. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  1355. package/serialization/types/ListCalendarEventsParams.d.ts +1 -0
  1356. package/serialization/types/ListCalendarEventsParams.js +1 -0
  1357. package/serialization/types/ListGroupSessionsParams.d.ts +9 -0
  1358. package/serialization/types/ListGroupSessionsParams.js +41 -0
  1359. package/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
  1360. package/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
  1361. package/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  1362. package/serialization/types/ListSpeechEnginesResponse.js +44 -0
  1363. package/serialization/types/Llm.d.ts +1 -1
  1364. package/serialization/types/Llm.js +10 -0
  1365. package/serialization/types/LlmInfoModelInput.d.ts +2 -0
  1366. package/serialization/types/LlmInfoModelInput.js +2 -0
  1367. package/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  1368. package/serialization/types/LlmInfoModelOutput.js +2 -0
  1369. package/serialization/types/Monitor.d.ts +7 -0
  1370. package/serialization/types/Monitor.js +39 -0
  1371. package/serialization/types/OAuth2JwtResponse.d.ts +2 -0
  1372. package/serialization/types/OAuth2JwtResponse.js +2 -0
  1373. package/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
  1374. package/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
  1375. package/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  1376. package/serialization/types/PhoneNumberAgentInfo.js +2 -0
  1377. package/serialization/types/Price.d.ts +11 -0
  1378. package/serialization/types/Price.js +43 -0
  1379. package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  1380. package/serialization/types/ProcedureCompilerMode.js +1 -1
  1381. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  1382. package/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
  1383. package/serialization/types/ProjectImageResponseModel.d.ts +8 -2
  1384. package/serialization/types/ProjectImageResponseModel.js +8 -2
  1385. package/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
  1386. package/serialization/types/ProjectVideoResponseModel.js +2 -3
  1387. package/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  1388. package/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  1389. package/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  1390. package/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  1391. package/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
  1392. package/serialization/types/RegisterForGroupSessionParams.js +41 -0
  1393. package/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  1394. package/serialization/types/ReportKnowledgeGapParams.js +41 -0
  1395. package/serialization/types/ResourceAccessInfo.d.ts +2 -0
  1396. package/serialization/types/ResourceAccessInfo.js +2 -0
  1397. package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  1398. package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
  1399. package/serialization/types/ReviewResponseModel.d.ts +1 -0
  1400. package/serialization/types/ReviewResponseModel.js +1 -0
  1401. package/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
  1402. package/serialization/types/ScheduleGroupSessionParams.js +41 -0
  1403. package/serialization/types/SeverityId.d.ts +7 -0
  1404. package/serialization/types/SeverityId.js +39 -0
  1405. package/serialization/types/SimulationTestModel.d.ts +3 -0
  1406. package/serialization/types/SimulationTestModel.js +3 -0
  1407. package/serialization/types/SipLogMessage.d.ts +18 -0
  1408. package/serialization/types/SipLogMessage.js +50 -0
  1409. package/serialization/types/SipLogMessageDirection.d.ts +7 -0
  1410. package/serialization/types/SipLogMessageDirection.js +39 -0
  1411. package/serialization/types/SmsConversationInfo.d.ts +13 -0
  1412. package/serialization/types/SmsConversationInfo.js +45 -0
  1413. package/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
  1414. package/serialization/types/SmsConversationInfoDirection.js +39 -0
  1415. package/serialization/types/SpeechEngineConfig.d.ts +11 -0
  1416. package/serialization/types/SpeechEngineConfig.js +43 -0
  1417. package/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
  1418. package/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
  1419. package/serialization/types/SpeechEngineResponse.d.ts +28 -0
  1420. package/serialization/types/SpeechEngineResponse.js +60 -0
  1421. package/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  1422. package/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  1423. package/serialization/types/StatusId.d.ts +7 -0
  1424. package/serialization/types/StatusId.js +39 -0
  1425. package/serialization/types/Subscription.d.ts +2 -0
  1426. package/serialization/types/Subscription.js +2 -0
  1427. package/serialization/types/SubscriptionResponse.d.ts +2 -0
  1428. package/serialization/types/SubscriptionResponse.js +2 -0
  1429. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  1430. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  1431. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  1432. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  1433. package/serialization/types/TurnConfig.d.ts +1 -1
  1434. package/serialization/types/TurnConfig.js +1 -1
  1435. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  1436. package/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  1437. package/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
  1438. package/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
  1439. package/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
  1440. package/serialization/types/UpdateSimulationTestRequest.js +3 -0
  1441. package/serialization/types/UrlModel.d.ts +14 -0
  1442. package/serialization/types/UrlModel.js +46 -0
  1443. package/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
  1444. package/serialization/types/UserAccessManagementActivityId.js +39 -0
  1445. package/serialization/types/UserModel.d.ts +16 -0
  1446. package/serialization/types/UserModel.js +48 -0
  1447. package/serialization/types/UserTypeId.d.ts +7 -0
  1448. package/serialization/types/UserTypeId.js +39 -0
  1449. package/serialization/types/WebhookHmacSettings.d.ts +1 -0
  1450. package/serialization/types/WebhookHmacSettings.js +1 -0
  1451. package/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
  1452. package/serialization/types/WebhookTranscriptFormat.js +39 -0
  1453. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  1454. package/serialization/types/WidgetConfigResponse.js +2 -0
  1455. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  1456. package/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  1457. package/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
  1458. package/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
  1459. package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
  1460. package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
  1461. package/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
  1462. package/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
  1463. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  1464. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  1465. package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  1466. package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  1467. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1468. package/serialization/types/WorkspaceResourceType.js +1 -0
  1469. package/serialization/types/index.d.ts +77 -4
  1470. package/serialization/types/index.js +77 -4
  1471. package/version.d.ts +1 -1
  1472. package/version.js +1 -1
  1473. package/wrapper/ElevenLabsClient.d.ts +5 -2
  1474. package/wrapper/ElevenLabsClient.js +9 -1
  1475. package/wrapper/index.d.ts +1 -0
  1476. package/wrapper/index.js +8 -1
  1477. package/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  1478. package/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  1479. package/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  1480. package/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  1481. package/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  1482. package/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  1483. package/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  1484. package/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  1485. package/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  1486. package/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  1487. package/wrapper/speech-engine/index.d.ts +7 -0
  1488. package/wrapper/speech-engine/index.js +47 -0
  1489. package/wrapper/speech-engine/namespace.d.ts +27 -0
  1490. package/wrapper/speech-engine/namespace.js +37 -0
  1491. package/wrapper/speech-engine/types.d.ts +67 -0
  1492. package/wrapper/speech-engine/types.js +15 -0
  1493. package/api/types/DubbingModel.d.ts +0 -7
  1494. package/api/types/DubbingModel.js +0 -10
  1495. package/dist/api/types/DubbingModel.d.ts +0 -7
  1496. package/dist/api/types/DubbingModel.js +0 -10
  1497. package/dist/serialization/types/DubbingModel.d.ts +0 -7
  1498. package/serialization/types/DubbingModel.d.ts +0 -7
  1499. /package/api/{types/ConversationConfig.js → resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js} +0 -0
  1500. /package/api/{types/ConversationConfigWorkflowOverride.js → resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js} +0 -0
  1501. /package/api/{types/ConversationTokenDbModel.js → resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js} +0 -0
  1502. /package/{dist/api/types/ConversationConfig.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js} +0 -0
  1503. /package/{dist/api/types/ConversationConfigWorkflowOverride.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js} +0 -0
  1504. /package/{dist/api/types/ConversationTokenDbModel.js → api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js} +0 -0
@@ -0,0 +1,79 @@
1
+ import { type SpeechEngineEventMap, type SpeechEngineEventName, type WebSocketLike } from "./types";
2
+ /**
3
+ * Wraps a WebSocket connection from the ElevenLabs Speech Engine API into a
4
+ * typed, event-driven session.
5
+ *
6
+ * The ElevenLabs API connects to the developer's server via WebSocket. Each
7
+ * connection represents one conversation. The session emits events for
8
+ * transcripts and lifecycle changes, and provides methods to send LLM
9
+ * responses back. When a new transcript arrives, the previous transcript's
10
+ * abort signal is fired automatically, cancelling any in-flight LLM call.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * import { SpeechEngine } from "@elevenlabs/elevenlabs-js";
15
+ *
16
+ * wss.on("connection", (ws) => {
17
+ * const session = new SpeechEngine.Session(ws);
18
+ *
19
+ * session.on(SpeechEngine.USER_TRANSCRIPT, async (transcript, { signal }) => {
20
+ * const response = await llm.generate(transcript, { signal });
21
+ * session.sendResponse(response);
22
+ * });
23
+ * });
24
+ * ```
25
+ */
26
+ export declare class SpeechEngineSession {
27
+ private ws;
28
+ private emitter;
29
+ private currentAbortController;
30
+ private currentEventId;
31
+ private inTranscriptHandler;
32
+ private _conversationId;
33
+ private closed;
34
+ private log;
35
+ constructor(ws: WebSocketLike, options?: {
36
+ debug?: boolean;
37
+ });
38
+ on<E extends SpeechEngineEventName>(event: E, listener: (...args: SpeechEngineEventMap[E]) => void): this;
39
+ off<E extends SpeechEngineEventName>(event: E, listener: (...args: SpeechEngineEventMap[E]) => void): this;
40
+ once<E extends SpeechEngineEventName>(event: E, listener: (...args: SpeechEngineEventMap[E]) => void): this;
41
+ /**
42
+ * Send an LLM response back to the Speech Engine API for TTS synthesis.
43
+ *
44
+ * Accepts a complete string, an `AsyncIterable<string>` for streaming
45
+ * token-by-token responses, or an LLM stream that yields event objects
46
+ * (e.g. an OpenAI Responses API stream). Event objects are automatically
47
+ * parsed to extract text deltas.
48
+ */
49
+ sendResponse(response: string | AsyncIterable<unknown>): Promise<void>;
50
+ /**
51
+ * Close the session and the underlying WebSocket connection.
52
+ */
53
+ close(): void;
54
+ /**
55
+ * The conversation ID assigned by the Speech Engine API, available after
56
+ * the `init` event.
57
+ */
58
+ get conversationId(): string | undefined;
59
+ /**
60
+ * Whether the session is still open.
61
+ */
62
+ get isOpen(): boolean;
63
+ private setupWebSocket;
64
+ private handleMessage;
65
+ private streamResponse;
66
+ /**
67
+ * Extract text content from a stream chunk. Handles plain strings and
68
+ * common LLM stream event formats:
69
+ *
70
+ * - OpenAI Responses API (`response.output_text.delta`)
71
+ * - OpenAI Chat Completions API (`choices[0].delta.content`)
72
+ * - Anthropic Messages API (`content_block_delta` with `text_delta`)
73
+ * - Google Gemini API (`candidates[0].content.parts[0].text`)
74
+ */
75
+ private extractText;
76
+ private sendAgentResponse;
77
+ private send;
78
+ private abortCurrent;
79
+ }
@@ -0,0 +1,300 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __asyncValues = (this && this.__asyncValues) || function (o) {
12
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
13
+ var m = o[Symbol.asyncIterator], i;
14
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
15
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
16
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
17
+ };
18
+ var __importDefault = (this && this.__importDefault) || function (mod) {
19
+ return (mod && mod.__esModule) ? mod : { "default": mod };
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.SpeechEngineSession = void 0;
23
+ const node_events_1 = require("node:events");
24
+ const ws_1 = __importDefault(require("ws"));
25
+ const types_1 = require("./types");
26
+ /**
27
+ * Wraps a WebSocket connection from the ElevenLabs Speech Engine API into a
28
+ * typed, event-driven session.
29
+ *
30
+ * The ElevenLabs API connects to the developer's server via WebSocket. Each
31
+ * connection represents one conversation. The session emits events for
32
+ * transcripts and lifecycle changes, and provides methods to send LLM
33
+ * responses back. When a new transcript arrives, the previous transcript's
34
+ * abort signal is fired automatically, cancelling any in-flight LLM call.
35
+ *
36
+ * @example
37
+ * ```typescript
38
+ * import { SpeechEngine } from "@elevenlabs/elevenlabs-js";
39
+ *
40
+ * wss.on("connection", (ws) => {
41
+ * const session = new SpeechEngine.Session(ws);
42
+ *
43
+ * session.on(SpeechEngine.USER_TRANSCRIPT, async (transcript, { signal }) => {
44
+ * const response = await llm.generate(transcript, { signal });
45
+ * session.sendResponse(response);
46
+ * });
47
+ * });
48
+ * ```
49
+ */
50
+ class SpeechEngineSession {
51
+ constructor(ws, options) {
52
+ this.emitter = new node_events_1.EventEmitter();
53
+ this.currentAbortController = null;
54
+ this.inTranscriptHandler = false;
55
+ this.closed = false;
56
+ this.ws = ws;
57
+ this.log = (options === null || options === void 0 ? void 0 : options.debug) ? (...args) => console.log("[SpeechEngine]", ...args) : () => { };
58
+ this.setupWebSocket();
59
+ }
60
+ // -----------------------------------------------------------------------
61
+ // Event emitter interface
62
+ // -----------------------------------------------------------------------
63
+ on(event, listener) {
64
+ this.emitter.on(event, listener);
65
+ return this;
66
+ }
67
+ off(event, listener) {
68
+ this.emitter.off(event, listener);
69
+ return this;
70
+ }
71
+ once(event, listener) {
72
+ this.emitter.once(event, listener);
73
+ return this;
74
+ }
75
+ // -----------------------------------------------------------------------
76
+ // Sending responses
77
+ // -----------------------------------------------------------------------
78
+ /**
79
+ * Send an LLM response back to the Speech Engine API for TTS synthesis.
80
+ *
81
+ * Accepts a complete string, an `AsyncIterable<string>` for streaming
82
+ * token-by-token responses, or an LLM stream that yields event objects
83
+ * (e.g. an OpenAI Responses API stream). Event objects are automatically
84
+ * parsed to extract text deltas.
85
+ */
86
+ sendResponse(response) {
87
+ if (this.closed) {
88
+ throw new Error("Cannot send response: session is closed");
89
+ }
90
+ if (!this.inTranscriptHandler) {
91
+ console.warn("[SpeechEngine] sendResponse() called outside of an onTranscript handler. " +
92
+ "Responses can only be sent in reply to a user transcript. " +
93
+ "To have the agent speak first, set a first message in your Speech Engine conversation config on the client.");
94
+ return Promise.resolve();
95
+ }
96
+ if (typeof response === "string") {
97
+ this.log(`sending string response: "${response}", event_id=${this.currentEventId}`);
98
+ this.sendAgentResponse(response, false);
99
+ this.sendAgentResponse("", true);
100
+ return Promise.resolve();
101
+ }
102
+ else {
103
+ this.log(`starting streamed response, event_id=${this.currentEventId}`);
104
+ return this.streamResponse(response).catch((err) => {
105
+ if ((0, types_1.isAbortError)(err))
106
+ return;
107
+ this.emitter.emit("error", err instanceof Error ? err : new Error(String(err)));
108
+ });
109
+ }
110
+ }
111
+ /**
112
+ * Close the session and the underlying WebSocket connection.
113
+ */
114
+ close() {
115
+ if (this.closed)
116
+ return;
117
+ this.closed = true;
118
+ this.inTranscriptHandler = false;
119
+ this.abortCurrent();
120
+ this.ws.close();
121
+ }
122
+ /**
123
+ * The conversation ID assigned by the Speech Engine API, available after
124
+ * the `init` event.
125
+ */
126
+ get conversationId() {
127
+ return this._conversationId;
128
+ }
129
+ /**
130
+ * Whether the session is still open.
131
+ */
132
+ get isOpen() {
133
+ return !this.closed && this.ws.readyState === ws_1.default.OPEN;
134
+ }
135
+ // -----------------------------------------------------------------------
136
+ // Internals
137
+ // -----------------------------------------------------------------------
138
+ setupWebSocket() {
139
+ this.ws.on("message", (data) => {
140
+ try {
141
+ const msg = JSON.parse(data.toString());
142
+ this.handleMessage(msg);
143
+ }
144
+ catch (err) {
145
+ this.emitter.emit("error", err instanceof Error ? err : new Error(String(err)));
146
+ }
147
+ });
148
+ this.ws.on("close", () => {
149
+ this.closed = true;
150
+ this.inTranscriptHandler = false;
151
+ this.abortCurrent();
152
+ this.emitter.emit("disconnected");
153
+ });
154
+ this.ws.on("error", (err) => {
155
+ this.emitter.emit("error", err);
156
+ });
157
+ }
158
+ handleMessage(msg) {
159
+ switch (msg.type) {
160
+ case "init": {
161
+ this._conversationId = msg.conversation_id;
162
+ this.log(`session initialized, conversation_id=${msg.conversation_id}`);
163
+ this.emitter.emit("init", msg.conversation_id);
164
+ break;
165
+ }
166
+ case "user_transcript": {
167
+ if (msg.event_id !== undefined && msg.event_id === this.currentEventId && this.currentAbortController !== null) {
168
+ this.log(`skipping duplicate transcript, event_id=${msg.event_id}`);
169
+ break;
170
+ }
171
+ const wasActive = this.currentAbortController !== null;
172
+ this.abortCurrent();
173
+ if (wasActive) {
174
+ this.log(`interrupted: aborting previous response (event_id=${this.currentEventId}) for new transcript (event_id=${msg.event_id})`);
175
+ }
176
+ this.currentAbortController = new AbortController();
177
+ this.currentEventId = msg.event_id;
178
+ this.log(`received transcript, event_id=${msg.event_id}, messages=${msg.user_transcript.length}`);
179
+ this.inTranscriptHandler = true;
180
+ this.emitter.emit("user_transcript", msg.user_transcript, this.currentAbortController.signal);
181
+ break;
182
+ }
183
+ case "ping": {
184
+ this.send({ type: "pong" });
185
+ break;
186
+ }
187
+ case "close": {
188
+ this.inTranscriptHandler = false;
189
+ this.abortCurrent();
190
+ this.emitter.emit("close");
191
+ break;
192
+ }
193
+ case "error": {
194
+ this.emitter.emit("error", new Error(msg.message));
195
+ break;
196
+ }
197
+ default: {
198
+ // Unknown message types are silently ignored so the SDK
199
+ // stays forward-compatible as the protocol evolves.
200
+ break;
201
+ }
202
+ }
203
+ }
204
+ streamResponse(stream) {
205
+ return __awaiter(this, void 0, void 0, function* () {
206
+ var _a, stream_1, stream_1_1;
207
+ var _b, e_1, _c, _d;
208
+ const eventId = this.currentEventId;
209
+ let chunks = 0;
210
+ try {
211
+ for (_a = true, stream_1 = __asyncValues(stream); stream_1_1 = yield stream_1.next(), _b = stream_1_1.done, !_b; _a = true) {
212
+ _d = stream_1_1.value;
213
+ _a = false;
214
+ const chunk = _d;
215
+ if (this.closed) {
216
+ this.log(`stream stopped: session closed after ${chunks} chunks, event_id=${eventId}`);
217
+ return;
218
+ }
219
+ const text = this.extractText(chunk);
220
+ if (text) {
221
+ chunks++;
222
+ this.sendAgentResponse(text, false, eventId);
223
+ }
224
+ }
225
+ }
226
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
227
+ finally {
228
+ try {
229
+ if (!_a && !_b && (_c = stream_1.return)) yield _c.call(stream_1);
230
+ }
231
+ finally { if (e_1) throw e_1.error; }
232
+ }
233
+ if (!this.closed) {
234
+ this.log(`stream complete: ${chunks} chunks sent, event_id=${eventId}`);
235
+ this.sendAgentResponse("", true, eventId);
236
+ }
237
+ });
238
+ }
239
+ /**
240
+ * Extract text content from a stream chunk. Handles plain strings and
241
+ * common LLM stream event formats:
242
+ *
243
+ * - OpenAI Responses API (`response.output_text.delta`)
244
+ * - OpenAI Chat Completions API (`choices[0].delta.content`)
245
+ * - Anthropic Messages API (`content_block_delta` with `text_delta`)
246
+ * - Google Gemini API (`candidates[0].content.parts[0].text`)
247
+ */
248
+ extractText(chunk) {
249
+ var _a, _b, _c;
250
+ if (typeof chunk === "string")
251
+ return chunk;
252
+ if (typeof chunk !== "object" || chunk === null)
253
+ return null;
254
+ const event = chunk;
255
+ // OpenAI Responses API: { type: "response.output_text.delta", delta: "text" }
256
+ if (event.type === "response.output_text.delta" && typeof event.delta === "string") {
257
+ return event.delta;
258
+ }
259
+ // OpenAI Chat Completions API: { choices: [{ delta: { content: "text" } }] }
260
+ if (Array.isArray(event.choices)) {
261
+ const content = (_a = event.choices[0]) === null || _a === void 0 ? void 0 : _a.delta;
262
+ if (typeof content === "object" && content !== null && typeof content.content === "string") {
263
+ return content.content;
264
+ }
265
+ }
266
+ // Anthropic Messages API: { type: "content_block_delta", delta: { type: "text_delta", text: "text" } }
267
+ if (event.type === "content_block_delta" && typeof event.delta === "object" && event.delta !== null) {
268
+ const delta = event.delta;
269
+ if (delta.type === "text_delta" && typeof delta.text === "string") {
270
+ return delta.text;
271
+ }
272
+ }
273
+ // Google Gemini API: { candidates: [{ content: { parts: [{ text: "text" }] } }] }
274
+ if (Array.isArray(event.candidates)) {
275
+ const content = (_b = event.candidates[0]) === null || _b === void 0 ? void 0 : _b.content;
276
+ if (typeof content === "object" && content !== null) {
277
+ const parts = content.parts;
278
+ if (Array.isArray(parts) && typeof ((_c = parts[0]) === null || _c === void 0 ? void 0 : _c.text) === "string") {
279
+ return parts[0].text;
280
+ }
281
+ }
282
+ }
283
+ return null;
284
+ }
285
+ sendAgentResponse(content, isFinal, eventId) {
286
+ this.send({ type: "agent_response", content, event_id: eventId !== null && eventId !== void 0 ? eventId : this.currentEventId, is_final: isFinal });
287
+ }
288
+ send(msg) {
289
+ if (this.closed)
290
+ return;
291
+ this.ws.send(JSON.stringify(msg));
292
+ }
293
+ abortCurrent() {
294
+ if (this.currentAbortController) {
295
+ this.currentAbortController.abort();
296
+ this.currentAbortController = null;
297
+ }
298
+ }
299
+ }
300
+ exports.SpeechEngineSession = SpeechEngineSession;
@@ -0,0 +1,7 @@
1
+ export * as SpeechEngine from "./namespace";
2
+ export { SpeechEngineSession } from "./SpeechEngineSession";
3
+ export { SpeechEngineServer, type SpeechEngineServerOptions } from "./SpeechEngineServer";
4
+ export { SpeechEngineResource } from "./SpeechEngineResource";
5
+ export { SpeechEngineAttachment } from "./SpeechEngineAttachment";
6
+ export { SpeechEngineClientWrapper } from "./SpeechEngineClientWrapper";
7
+ export type { TranscriptMessage, InitMessage, UserTranscriptMessage, PingMessage, CloseMessage, ErrorMessage, IncomingMessage, AgentResponseMessage, PongMessage, OutgoingMessage, SpeechEngineEventMap, SpeechEngineEventName, SpeechEngineCallbacks, WebSocketLike, } from "./types";
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.SpeechEngineClientWrapper = exports.SpeechEngineAttachment = exports.SpeechEngineResource = exports.SpeechEngineServer = exports.SpeechEngineSession = exports.SpeechEngine = void 0;
37
+ exports.SpeechEngine = __importStar(require("./namespace"));
38
+ var SpeechEngineSession_1 = require("./SpeechEngineSession");
39
+ Object.defineProperty(exports, "SpeechEngineSession", { enumerable: true, get: function () { return SpeechEngineSession_1.SpeechEngineSession; } });
40
+ var SpeechEngineServer_1 = require("./SpeechEngineServer");
41
+ Object.defineProperty(exports, "SpeechEngineServer", { enumerable: true, get: function () { return SpeechEngineServer_1.SpeechEngineServer; } });
42
+ var SpeechEngineResource_1 = require("./SpeechEngineResource");
43
+ Object.defineProperty(exports, "SpeechEngineResource", { enumerable: true, get: function () { return SpeechEngineResource_1.SpeechEngineResource; } });
44
+ var SpeechEngineAttachment_1 = require("./SpeechEngineAttachment");
45
+ Object.defineProperty(exports, "SpeechEngineAttachment", { enumerable: true, get: function () { return SpeechEngineAttachment_1.SpeechEngineAttachment; } });
46
+ var SpeechEngineClientWrapper_1 = require("./SpeechEngineClientWrapper");
47
+ Object.defineProperty(exports, "SpeechEngineClientWrapper", { enumerable: true, get: function () { return SpeechEngineClientWrapper_1.SpeechEngineClientWrapper; } });
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Speech Engine namespace — provides event constants and classes for handling
3
+ * incoming WebSocket connections from the ElevenLabs Speech Engine API.
4
+ *
5
+ * @example
6
+ * ```typescript
7
+ * import { SpeechEngine } from "@elevenlabs/elevenlabs-js";
8
+ *
9
+ * const session = new SpeechEngine.Session(ws);
10
+ * session.on(SpeechEngine.USER_TRANSCRIPT, async (transcript, signal) => { ... });
11
+ * ```
12
+ */
13
+ /** Fired when the session is initialized with a conversation ID. */
14
+ export declare const INIT: "init";
15
+ /** Fired when the Speech Engine API sends a user transcript. */
16
+ export declare const USER_TRANSCRIPT: "user_transcript";
17
+ /** Fired when the user disconnects the call. */
18
+ export declare const CLOSE: "close";
19
+ /** Fired when an error occurs (protocol or WebSocket level). */
20
+ export declare const ERROR: "error";
21
+ /** Fired when the underlying WebSocket connection drops. */
22
+ export declare const DISCONNECTED: "disconnected";
23
+ export { SpeechEngineSession as Session } from "./SpeechEngineSession";
24
+ export { SpeechEngineServer as Server, type SpeechEngineServerOptions as ServerOptions } from "./SpeechEngineServer";
25
+ export { SpeechEngineAttachment as Attachment } from "./SpeechEngineAttachment";
26
+ export { SpeechEngineResource as Resource } from "./SpeechEngineResource";
27
+ export { SpeechEngineClientWrapper as Client } from "./SpeechEngineClientWrapper";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * Speech Engine namespace — provides event constants and classes for handling
4
+ * incoming WebSocket connections from the ElevenLabs Speech Engine API.
5
+ *
6
+ * @example
7
+ * ```typescript
8
+ * import { SpeechEngine } from "@elevenlabs/elevenlabs-js";
9
+ *
10
+ * const session = new SpeechEngine.Session(ws);
11
+ * session.on(SpeechEngine.USER_TRANSCRIPT, async (transcript, signal) => { ... });
12
+ * ```
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Client = exports.Resource = exports.Attachment = exports.Server = exports.Session = exports.DISCONNECTED = exports.ERROR = exports.CLOSE = exports.USER_TRANSCRIPT = exports.INIT = void 0;
16
+ // -- Event name constants (use these with session.on) -------------------------
17
+ /** Fired when the session is initialized with a conversation ID. */
18
+ exports.INIT = "init";
19
+ /** Fired when the Speech Engine API sends a user transcript. */
20
+ exports.USER_TRANSCRIPT = "user_transcript";
21
+ /** Fired when the user disconnects the call. */
22
+ exports.CLOSE = "close";
23
+ /** Fired when an error occurs (protocol or WebSocket level). */
24
+ exports.ERROR = "error";
25
+ /** Fired when the underlying WebSocket connection drops. */
26
+ exports.DISCONNECTED = "disconnected";
27
+ // -- Re-exported classes ------------------------------------------------------
28
+ var SpeechEngineSession_1 = require("./SpeechEngineSession");
29
+ Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return SpeechEngineSession_1.SpeechEngineSession; } });
30
+ var SpeechEngineServer_1 = require("./SpeechEngineServer");
31
+ Object.defineProperty(exports, "Server", { enumerable: true, get: function () { return SpeechEngineServer_1.SpeechEngineServer; } });
32
+ var SpeechEngineAttachment_1 = require("./SpeechEngineAttachment");
33
+ Object.defineProperty(exports, "Attachment", { enumerable: true, get: function () { return SpeechEngineAttachment_1.SpeechEngineAttachment; } });
34
+ var SpeechEngineResource_1 = require("./SpeechEngineResource");
35
+ Object.defineProperty(exports, "Resource", { enumerable: true, get: function () { return SpeechEngineResource_1.SpeechEngineResource; } });
36
+ var SpeechEngineClientWrapper_1 = require("./SpeechEngineClientWrapper");
37
+ Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return SpeechEngineClientWrapper_1.SpeechEngineClientWrapper; } });
@@ -0,0 +1,67 @@
1
+ import type WebSocket from "ws";
2
+ import type { SpeechEngineSession } from "./SpeechEngineSession";
3
+ export interface InitMessage {
4
+ type: "init";
5
+ conversation_id: string;
6
+ }
7
+ export interface TranscriptMessage {
8
+ role: "user" | "agent";
9
+ content: string;
10
+ }
11
+ export interface UserTranscriptMessage {
12
+ type: "user_transcript";
13
+ user_transcript: TranscriptMessage[];
14
+ event_id?: number;
15
+ }
16
+ export interface PingMessage {
17
+ type: "ping";
18
+ }
19
+ export interface CloseMessage {
20
+ type: "close";
21
+ }
22
+ export interface ErrorMessage {
23
+ type: "error";
24
+ message: string;
25
+ }
26
+ export type IncomingMessage = InitMessage | UserTranscriptMessage | PingMessage | CloseMessage | ErrorMessage;
27
+ export interface AgentResponseMessage {
28
+ type: "agent_response";
29
+ content: string;
30
+ event_id: number | undefined;
31
+ is_final: boolean;
32
+ }
33
+ export interface PongMessage {
34
+ type: "pong";
35
+ }
36
+ export type OutgoingMessage = AgentResponseMessage | PongMessage;
37
+ export interface SpeechEngineEventMap {
38
+ user_transcript: [transcript: TranscriptMessage[], signal: AbortSignal];
39
+ init: [conversationId: string];
40
+ close: [];
41
+ error: [error: Error];
42
+ disconnected: [];
43
+ }
44
+ export type SpeechEngineEventName = keyof SpeechEngineEventMap;
45
+ export interface SpeechEngineCallbacks {
46
+ /** Enable debug logging. */
47
+ debug?: boolean;
48
+ /** Fired once when the session is initialized with a conversation ID. */
49
+ onInit?(conversationId: string, session: SpeechEngineSession): void;
50
+ /** Fired each time the Speech Engine API sends a user transcript. */
51
+ onTranscript?(transcript: TranscriptMessage[], signal: AbortSignal, session: SpeechEngineSession): void;
52
+ /** Fired when ElevenLabs sends a clean close message ending the conversation. */
53
+ onClose?(session: SpeechEngineSession): void;
54
+ /** Fired when the underlying WebSocket drops unexpectedly. */
55
+ onDisconnect?(session: SpeechEngineSession): void;
56
+ /** Fired on protocol-level or WebSocket-level errors. */
57
+ onError?(error: Error, session: SpeechEngineSession): void;
58
+ }
59
+ export declare function isAbortError(err: unknown): boolean;
60
+ export interface WebSocketLike {
61
+ on(event: "message", listener: (data: WebSocket.Data) => void): void;
62
+ on(event: "close", listener: (code: number, reason: Buffer) => void): void;
63
+ on(event: "error", listener: (err: Error) => void): void;
64
+ send(data: string): void;
65
+ close(): void;
66
+ readyState: number;
67
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isAbortError = isAbortError;
4
+ // ---------------------------------------------------------------------------
5
+ // Abort detection
6
+ // ---------------------------------------------------------------------------
7
+ function isAbortError(err) {
8
+ if (err instanceof DOMException && err.name === "AbortError")
9
+ return true;
10
+ if (err instanceof Error && err.name === "AbortError")
11
+ return true;
12
+ if (err instanceof Error && /\babort/i.test(err.message))
13
+ return true;
14
+ return false;
15
+ }
@@ -1,7 +0,0 @@
1
- export declare const DubbingModel: {
2
- readonly DubbingV1TtsV3: "dubbing_v1_tts_v3";
3
- readonly DubbingV2: "dubbing_v2";
4
- readonly DubbingV3: "dubbing_v3";
5
- readonly DubbingE2EV1: "dubbing_e2e_v1";
6
- };
7
- export type DubbingModel = (typeof DubbingModel)[keyof typeof DubbingModel];
@@ -1,10 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DubbingModel = void 0;
5
- exports.DubbingModel = {
6
- DubbingV1TtsV3: "dubbing_v1_tts_v3",
7
- DubbingV2: "dubbing_v2",
8
- DubbingV3: "dubbing_v3",
9
- DubbingE2EV1: "dubbing_e2e_v1",
10
- };
@@ -1,7 +0,0 @@
1
- export declare const DubbingModel: {
2
- readonly DubbingV1TtsV3: "dubbing_v1_tts_v3";
3
- readonly DubbingV2: "dubbing_v2";
4
- readonly DubbingV3: "dubbing_v3";
5
- readonly DubbingE2EV1: "dubbing_e2e_v1";
6
- };
7
- export type DubbingModel = (typeof DubbingModel)[keyof typeof DubbingModel];
@@ -1,10 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DubbingModel = void 0;
5
- exports.DubbingModel = {
6
- DubbingV1TtsV3: "dubbing_v1_tts_v3",
7
- DubbingV2: "dubbing_v2",
8
- DubbingV3: "dubbing_v3",
9
- DubbingE2EV1: "dubbing_e2e_v1",
10
- };
@@ -1,7 +0,0 @@
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 DubbingModel: core.serialization.Schema<serializers.DubbingModel.Raw, ElevenLabs.DubbingModel>;
5
- export declare namespace DubbingModel {
6
- type Raw = "dubbing_v1_tts_v3" | "dubbing_v2" | "dubbing_v3" | "dubbing_e2e_v1";
7
- }
@@ -1,7 +0,0 @@
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 DubbingModel: core.serialization.Schema<serializers.DubbingModel.Raw, ElevenLabs.DubbingModel>;
5
- export declare namespace DubbingModel {
6
- type Raw = "dubbing_v1_tts_v3" | "dubbing_v2" | "dubbing_v3" | "dubbing_e2e_v1";
7
- }