@elevenlabs/elevenlabs-js 2.46.0 → 2.48.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 (796) hide show
  1. package/.fern/metadata.json +1 -1
  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/conversation/Conversation.js +1 -0
  7. package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  8. package/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  10. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  11. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  13. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  19. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -2
  20. package/api/resources/conversationalAi/resources/conversations/client/Client.js +7 -3
  21. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  22. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  23. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
  24. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  26. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  27. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -1
  28. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  29. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  30. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  31. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  32. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  33. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  35. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  36. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  37. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  38. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  39. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  40. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  41. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  42. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  43. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  44. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  45. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  48. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  50. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
  51. package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  52. package/api/resources/index.d.ts +2 -0
  53. package/api/resources/index.js +3 -1
  54. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  55. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  56. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  57. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  58. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  59. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  60. package/api/resources/speechEngine/client/Client.d.ts +89 -0
  61. package/api/resources/speechEngine/client/Client.js +363 -0
  62. package/api/resources/speechEngine/client/index.d.ts +1 -0
  63. package/api/resources/speechEngine/client/index.js +17 -0
  64. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  65. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  66. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  67. package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  68. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  69. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  70. package/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  71. package/api/resources/speechEngine/client/requests/index.js +2 -0
  72. package/api/resources/speechEngine/index.d.ts +1 -0
  73. package/api/resources/speechEngine/index.js +17 -0
  74. package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  75. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  76. package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  77. package/api/resources/voices/client/Client.js +3 -0
  78. package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  79. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  80. package/api/resources/workspace/client/Client.d.ts +3 -0
  81. package/api/resources/workspace/client/Client.js +19 -14
  82. package/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  83. package/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  84. package/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  85. package/api/resources/workspace/resources/analytics/client/index.js +2 -0
  86. package/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  87. package/api/resources/workspace/resources/analytics/index.js +18 -0
  88. package/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  89. package/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  90. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  91. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  92. package/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  93. package/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  94. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  95. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  96. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  97. package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  98. package/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  99. package/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  100. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  101. package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  102. package/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  103. package/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  104. package/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  105. package/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  106. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  107. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  108. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  109. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  110. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  111. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  112. package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  113. package/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  114. package/api/resources/workspace/resources/index.d.ts +1 -0
  115. package/api/resources/workspace/resources/index.js +2 -1
  116. package/api/types/AgentAlertingMonitorConfig.d.ts +6 -0
  117. package/api/types/AgentAlertingMonitorConfig.js +3 -0
  118. package/api/types/AgentAlertingSettings.d.ts +7 -0
  119. package/api/types/AgentAlertingSettings.js +3 -0
  120. package/api/types/AgentMetadataDbModel.d.ts +7 -0
  121. package/api/types/AgentMetadataDbModel.js +3 -0
  122. package/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  123. package/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  124. package/api/types/AgentTopicResponseModel.d.ts +3 -0
  125. package/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  126. package/api/types/BackgroundMusicPresetId.d.ts +4 -0
  127. package/api/types/BackgroundMusicPresetId.js +4 -0
  128. package/api/types/BaseTurnConfig.d.ts +17 -0
  129. package/api/types/BaseTurnConfig.js +3 -0
  130. package/api/types/ClientEvent.d.ts +1 -0
  131. package/api/types/ClientEvent.js +1 -0
  132. package/api/types/CodeToolAllowedDomain.d.ts +6 -0
  133. package/api/types/CodeToolAllowedDomain.js +3 -0
  134. package/api/types/ConversationInitiationSource.d.ts +1 -0
  135. package/api/types/ConversationInitiationSource.js +1 -0
  136. package/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  137. package/api/types/ConversationTokenResponseModel.js +3 -0
  138. package/api/types/CreateBearerAuthRequest.d.ts +8 -0
  139. package/api/types/CreateBearerAuthRequest.js +3 -0
  140. package/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  141. package/api/types/CreateSpeechEngineResponse.js +3 -0
  142. package/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  143. package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  144. package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  145. package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  146. package/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  147. package/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  148. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  149. package/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  150. package/api/types/ListCustomerFacingAgentsParams.js +3 -0
  151. package/api/types/ListSpeechEnginesResponse.d.ts +9 -0
  152. package/api/types/ListSpeechEnginesResponse.js +3 -0
  153. package/api/types/Llm.d.ts +6 -0
  154. package/api/types/Llm.js +6 -0
  155. package/api/types/LlmInfoModelInput.d.ts +2 -0
  156. package/api/types/LlmInfoModelOutput.d.ts +2 -0
  157. package/api/types/LoadProcedureToolConfig.d.ts +4 -0
  158. package/api/types/LoadProcedureToolConfig.js +3 -0
  159. package/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  160. package/api/types/LoadProcedureToolErrorStatus.js +8 -0
  161. package/api/types/Monitor.d.ts +5 -0
  162. package/api/types/Monitor.js +8 -0
  163. package/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  164. package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  165. package/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  166. package/api/types/ProcedureAtVersion.d.ts +12 -0
  167. package/api/types/ProcedureAtVersion.js +3 -0
  168. package/api/types/ProcedureCompilerMode.d.ts +1 -1
  169. package/api/types/ProcedureCompilerMode.js +1 -1
  170. package/api/types/PromptAgentApiModelInput.d.ts +2 -2
  171. package/api/types/PromptAgentApiModelOutput.d.ts +2 -2
  172. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -2
  173. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -2
  174. package/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  175. package/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  176. package/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  177. package/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  178. package/api/types/ReportKnowledgeGapParams.js +3 -0
  179. package/api/types/SlackBotAuthResponse.d.ts +10 -0
  180. package/api/types/SlackBotAuthResponse.js +3 -0
  181. package/api/types/SpeechEngineResponse.d.ts +27 -0
  182. package/api/types/SpeechEngineResponse.js +3 -0
  183. package/api/types/SpeechEngineSummaryResponse.d.ts +10 -0
  184. package/api/types/SpeechEngineSummaryResponse.js +3 -0
  185. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  186. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  187. package/api/types/TurnConfig.d.ts +2 -2
  188. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  189. package/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  190. package/api/types/UpdateBasicAuthRequest.js +3 -0
  191. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  192. package/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  193. package/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  194. package/api/types/UpdateOAuth2JwtRequest.js +3 -0
  195. package/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  196. package/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  197. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  198. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  199. package/api/types/WebhookHmacSettings.d.ts +2 -0
  200. package/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  201. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  202. package/api/types/WorkspaceGroupPermission.js +2 -0
  203. package/api/types/WorkspaceResourceType.d.ts +2 -0
  204. package/api/types/WorkspaceResourceType.js +2 -0
  205. package/api/types/index.d.ts +25 -1
  206. package/api/types/index.js +25 -1
  207. package/dist/BaseClient.js +2 -2
  208. package/dist/Client.d.ts +3 -0
  209. package/dist/Client.js +31 -26
  210. package/dist/api/resources/conversationalAi/conversation/Conversation.js +1 -0
  211. package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  212. package/dist/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  213. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  214. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  215. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  216. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  217. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  218. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  219. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  220. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  221. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  222. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  223. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -2
  224. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +7 -3
  225. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
  226. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
  227. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
  228. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  229. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  230. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
  231. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -1
  232. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
  233. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
  234. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
  235. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js +3 -0
  236. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
  237. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
  238. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +3 -0
  239. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  240. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  241. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
  242. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
  243. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
  244. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
  245. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
  246. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
  247. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
  248. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
  249. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
  250. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
  251. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
  252. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
  253. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
  254. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
  255. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
  256. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
  257. package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  258. package/dist/api/resources/index.d.ts +2 -0
  259. package/dist/api/resources/index.js +3 -1
  260. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  261. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  262. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
  263. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
  264. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  265. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  266. package/dist/api/resources/speechEngine/client/Client.d.ts +89 -0
  267. package/dist/api/resources/speechEngine/client/Client.js +363 -0
  268. package/dist/api/resources/speechEngine/client/index.d.ts +1 -0
  269. package/dist/api/resources/speechEngine/client/index.js +17 -0
  270. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
  271. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
  272. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
  273. package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
  274. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
  275. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
  276. package/dist/api/resources/speechEngine/client/requests/index.d.ts +3 -0
  277. package/dist/api/resources/speechEngine/client/requests/index.js +2 -0
  278. package/dist/api/resources/speechEngine/index.d.ts +1 -0
  279. package/dist/api/resources/speechEngine/index.js +17 -0
  280. package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
  281. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
  282. package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
  283. package/dist/api/resources/voices/client/Client.js +3 -0
  284. package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
  285. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  286. package/dist/api/resources/workspace/client/Client.d.ts +3 -0
  287. package/dist/api/resources/workspace/client/Client.js +19 -14
  288. package/dist/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
  289. package/dist/api/resources/workspace/resources/analytics/client/Client.js +16 -0
  290. package/dist/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
  291. package/dist/api/resources/workspace/resources/analytics/client/index.js +2 -0
  292. package/dist/api/resources/workspace/resources/analytics/index.d.ts +2 -0
  293. package/dist/api/resources/workspace/resources/analytics/index.js +18 -0
  294. package/dist/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  295. package/dist/api/resources/workspace/resources/analytics/resources/index.js +42 -0
  296. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
  297. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
  298. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  299. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  300. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  301. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
  302. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  303. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
  304. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  305. package/dist/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  306. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
  307. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
  308. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  309. package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  310. package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  311. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  312. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  313. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  314. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  315. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  316. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  317. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  318. package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  319. package/dist/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  320. package/dist/api/resources/workspace/resources/index.d.ts +1 -0
  321. package/dist/api/resources/workspace/resources/index.js +2 -1
  322. package/dist/api/types/AgentAlertingMonitorConfig.d.ts +6 -0
  323. package/dist/api/types/AgentAlertingMonitorConfig.js +3 -0
  324. package/dist/api/types/AgentAlertingSettings.d.ts +7 -0
  325. package/dist/api/types/AgentAlertingSettings.js +3 -0
  326. package/dist/api/types/AgentMetadataDbModel.d.ts +7 -0
  327. package/dist/api/types/AgentMetadataDbModel.js +3 -0
  328. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
  329. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
  330. package/dist/api/types/AgentTopicResponseModel.d.ts +3 -0
  331. package/dist/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  332. package/dist/api/types/BackgroundMusicPresetId.d.ts +4 -0
  333. package/dist/api/types/BackgroundMusicPresetId.js +4 -0
  334. package/dist/api/types/BaseTurnConfig.d.ts +17 -0
  335. package/dist/api/types/BaseTurnConfig.js +3 -0
  336. package/dist/api/types/ClientEvent.d.ts +1 -0
  337. package/dist/api/types/ClientEvent.js +1 -0
  338. package/dist/api/types/CodeToolAllowedDomain.d.ts +6 -0
  339. package/dist/api/types/CodeToolAllowedDomain.js +3 -0
  340. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  341. package/dist/api/types/ConversationInitiationSource.js +1 -0
  342. package/dist/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
  343. package/dist/api/types/ConversationTokenResponseModel.js +3 -0
  344. package/dist/api/types/CreateBearerAuthRequest.d.ts +8 -0
  345. package/dist/api/types/CreateBearerAuthRequest.js +3 -0
  346. package/dist/api/types/CreateSpeechEngineResponse.d.ts +4 -0
  347. package/dist/api/types/CreateSpeechEngineResponse.js +3 -0
  348. package/dist/api/types/GetAgentLinkResponseModel.d.ts +1 -1
  349. package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  350. package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  351. package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  352. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
  353. package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
  354. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  355. package/dist/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  356. package/dist/api/types/ListCustomerFacingAgentsParams.js +3 -0
  357. package/dist/api/types/ListSpeechEnginesResponse.d.ts +9 -0
  358. package/dist/api/types/ListSpeechEnginesResponse.js +3 -0
  359. package/dist/api/types/Llm.d.ts +6 -0
  360. package/dist/api/types/Llm.js +6 -0
  361. package/dist/api/types/LlmInfoModelInput.d.ts +2 -0
  362. package/dist/api/types/LlmInfoModelOutput.d.ts +2 -0
  363. package/dist/api/types/LoadProcedureToolConfig.d.ts +4 -0
  364. package/dist/api/types/LoadProcedureToolConfig.js +3 -0
  365. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  366. package/dist/api/types/LoadProcedureToolErrorStatus.js +8 -0
  367. package/dist/api/types/Monitor.d.ts +5 -0
  368. package/dist/api/types/Monitor.js +8 -0
  369. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  370. package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  371. package/dist/api/types/PhoneNumberAgentInfo.d.ts +4 -0
  372. package/dist/api/types/ProcedureAtVersion.d.ts +12 -0
  373. package/dist/api/types/ProcedureAtVersion.js +3 -0
  374. package/dist/api/types/ProcedureCompilerMode.d.ts +1 -1
  375. package/dist/api/types/ProcedureCompilerMode.js +1 -1
  376. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -2
  377. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -2
  378. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -2
  379. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -2
  380. package/dist/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
  381. package/dist/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
  382. package/dist/api/types/RegionalProcessingSurchargeInfo.js +3 -0
  383. package/dist/api/types/ReportKnowledgeGapParams.d.ts +3 -0
  384. package/dist/api/types/ReportKnowledgeGapParams.js +3 -0
  385. package/dist/api/types/SlackBotAuthResponse.d.ts +10 -0
  386. package/dist/api/types/SlackBotAuthResponse.js +3 -0
  387. package/dist/api/types/SpeechEngineResponse.d.ts +27 -0
  388. package/dist/api/types/SpeechEngineResponse.js +3 -0
  389. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +10 -0
  390. package/dist/api/types/SpeechEngineSummaryResponse.js +3 -0
  391. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  392. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  393. package/dist/api/types/TurnConfig.d.ts +2 -2
  394. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  395. package/dist/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  396. package/dist/api/types/UpdateBasicAuthRequest.js +3 -0
  397. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  398. package/dist/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  399. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  400. package/dist/api/types/UpdateOAuth2JwtRequest.js +3 -0
  401. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  402. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  403. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  404. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  405. package/dist/api/types/WebhookHmacSettings.d.ts +2 -0
  406. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  407. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  408. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  409. package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
  410. package/dist/api/types/WorkspaceResourceType.js +2 -0
  411. package/dist/api/types/index.d.ts +25 -1
  412. package/dist/api/types/index.js +25 -1
  413. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  414. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  415. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  416. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  417. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  418. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  419. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +2 -0
  420. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +2 -0
  421. package/dist/serialization/resources/index.d.ts +2 -0
  422. package/dist/serialization/resources/index.js +3 -1
  423. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  424. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  425. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  426. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  427. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  428. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  429. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  430. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  431. package/dist/serialization/resources/speechEngine/client/index.d.ts +1 -0
  432. package/dist/serialization/resources/speechEngine/client/index.js +17 -0
  433. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  434. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  435. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  436. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  437. package/dist/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  438. package/dist/serialization/resources/speechEngine/client/requests/index.js +7 -0
  439. package/dist/serialization/resources/speechEngine/index.d.ts +1 -0
  440. package/dist/serialization/resources/speechEngine/index.js +17 -0
  441. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  442. package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  443. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  444. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  445. package/dist/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  446. package/dist/serialization/resources/workspace/resources/analytics/index.js +17 -0
  447. package/dist/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  448. package/dist/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  449. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  450. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  451. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  452. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  453. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  454. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  455. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  456. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  457. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  458. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  459. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  460. package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  461. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  462. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  463. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  464. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  465. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  466. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  467. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  468. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  469. package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  470. package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  471. package/dist/serialization/resources/workspace/resources/index.d.ts +1 -0
  472. package/dist/serialization/resources/workspace/resources/index.js +2 -1
  473. package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +10 -0
  474. package/dist/serialization/types/AgentAlertingMonitorConfig.js +42 -0
  475. package/dist/serialization/types/AgentAlertingSettings.d.ts +11 -0
  476. package/dist/serialization/types/AgentAlertingSettings.js +43 -0
  477. package/dist/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  478. package/dist/serialization/types/AgentMetadataDbModel.js +45 -0
  479. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  480. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  481. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  482. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  483. package/dist/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  484. package/dist/serialization/types/AgentTopicResponseModel.js +3 -0
  485. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  486. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  487. package/dist/serialization/types/BackgroundMusicPresetId.d.ts +1 -1
  488. package/dist/serialization/types/BackgroundMusicPresetId.js +11 -1
  489. package/dist/serialization/types/BaseTurnConfig.d.ts +17 -0
  490. package/dist/serialization/types/BaseTurnConfig.js +49 -0
  491. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  492. package/dist/serialization/types/ClientEvent.js +1 -0
  493. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  494. package/dist/serialization/types/CodeToolAllowedDomain.js +42 -0
  495. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  496. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  497. package/dist/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  498. package/dist/serialization/types/{ConversationTokenDbModel.js → ConversationTokenResponseModel.js} +3 -3
  499. package/dist/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  500. package/dist/serialization/types/CreateBearerAuthRequest.js +43 -0
  501. package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  502. package/dist/serialization/types/CreateSpeechEngineResponse.js +41 -0
  503. package/dist/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  504. package/dist/serialization/types/GetAgentLinkResponseModel.js +2 -2
  505. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  506. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  507. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  508. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  509. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  510. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  511. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  512. package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  513. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  514. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  515. package/dist/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  516. package/dist/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  517. package/dist/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  518. package/dist/serialization/types/ListSpeechEnginesResponse.js +44 -0
  519. package/dist/serialization/types/Llm.d.ts +1 -1
  520. package/dist/serialization/types/Llm.js +6 -0
  521. package/dist/serialization/types/LlmInfoModelInput.d.ts +2 -0
  522. package/dist/serialization/types/LlmInfoModelInput.js +2 -0
  523. package/dist/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  524. package/dist/serialization/types/LlmInfoModelOutput.js +2 -0
  525. package/dist/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  526. package/dist/serialization/types/LoadProcedureToolConfig.js +42 -0
  527. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  528. package/dist/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  529. package/dist/serialization/types/Monitor.d.ts +7 -0
  530. package/dist/serialization/types/Monitor.js +39 -0
  531. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  532. package/dist/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  533. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  534. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  535. package/dist/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  536. package/dist/serialization/types/PhoneNumberAgentInfo.js +2 -0
  537. package/dist/serialization/types/ProcedureAtVersion.d.ts +13 -0
  538. package/dist/serialization/types/ProcedureAtVersion.js +45 -0
  539. package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  540. package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
  541. package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  542. package/dist/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  543. package/dist/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  544. package/dist/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  545. package/dist/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  546. package/dist/serialization/types/ReportKnowledgeGapParams.js +41 -0
  547. package/dist/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  548. package/dist/serialization/types/SlackBotAuthResponse.js +45 -0
  549. package/dist/serialization/types/SpeechEngineResponse.d.ts +28 -0
  550. package/dist/serialization/types/SpeechEngineResponse.js +60 -0
  551. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  552. package/dist/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  553. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  554. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  555. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  556. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  557. package/dist/serialization/types/TurnConfig.d.ts +1 -1
  558. package/dist/serialization/types/TurnConfig.js +1 -1
  559. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  560. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  561. package/dist/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  562. package/dist/serialization/types/UpdateBasicAuthRequest.js +43 -0
  563. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  564. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  565. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  566. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  567. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  568. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  569. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  570. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  571. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -0
  572. package/dist/serialization/types/WebhookHmacSettings.js +1 -0
  573. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  574. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  575. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  576. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  577. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  578. package/dist/serialization/types/WorkspaceResourceType.js +2 -0
  579. package/dist/serialization/types/index.d.ts +25 -1
  580. package/dist/serialization/types/index.js +25 -1
  581. package/dist/version.d.ts +1 -1
  582. package/dist/version.js +1 -1
  583. package/dist/wrapper/ElevenLabsClient.d.ts +5 -2
  584. package/dist/wrapper/ElevenLabsClient.js +9 -1
  585. package/dist/wrapper/index.d.ts +1 -0
  586. package/dist/wrapper/index.js +8 -1
  587. package/dist/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  588. package/dist/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  589. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  590. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  591. package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  592. package/dist/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  593. package/dist/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  594. package/dist/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  595. package/dist/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  596. package/dist/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  597. package/dist/wrapper/speech-engine/index.d.ts +7 -0
  598. package/dist/wrapper/speech-engine/index.js +47 -0
  599. package/dist/wrapper/speech-engine/namespace.d.ts +27 -0
  600. package/dist/wrapper/speech-engine/namespace.js +37 -0
  601. package/dist/wrapper/speech-engine/types.d.ts +67 -0
  602. package/dist/wrapper/speech-engine/types.js +15 -0
  603. package/package.json +1 -1
  604. package/reference.md +725 -33
  605. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
  606. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +53 -0
  607. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  608. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
  609. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
  610. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
  611. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +2 -0
  612. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +2 -0
  613. package/serialization/resources/index.d.ts +2 -0
  614. package/serialization/resources/index.js +3 -1
  615. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  616. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  617. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  618. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  619. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
  620. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
  621. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  622. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  623. package/serialization/resources/speechEngine/client/index.d.ts +1 -0
  624. package/serialization/resources/speechEngine/client/index.js +17 -0
  625. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
  626. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
  627. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
  628. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
  629. package/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
  630. package/serialization/resources/speechEngine/client/requests/index.js +7 -0
  631. package/serialization/resources/speechEngine/index.d.ts +1 -0
  632. package/serialization/resources/speechEngine/index.js +17 -0
  633. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
  634. package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
  635. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  636. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  637. package/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
  638. package/serialization/resources/workspace/resources/analytics/index.js +17 -0
  639. package/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
  640. package/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
  641. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
  642. package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
  643. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
  644. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
  645. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
  646. package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
  647. package/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
  648. package/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
  649. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
  650. package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
  651. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
  652. package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
  653. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  654. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  655. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  656. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  657. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  658. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  659. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  660. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  661. package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  662. package/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  663. package/serialization/resources/workspace/resources/index.d.ts +1 -0
  664. package/serialization/resources/workspace/resources/index.js +2 -1
  665. package/serialization/types/AgentAlertingMonitorConfig.d.ts +10 -0
  666. package/serialization/types/AgentAlertingMonitorConfig.js +42 -0
  667. package/serialization/types/AgentAlertingSettings.d.ts +11 -0
  668. package/serialization/types/AgentAlertingSettings.js +43 -0
  669. package/serialization/types/AgentMetadataDbModel.d.ts +13 -0
  670. package/serialization/types/AgentMetadataDbModel.js +45 -0
  671. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  672. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  673. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  674. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  675. package/serialization/types/AgentTopicResponseModel.d.ts +3 -0
  676. package/serialization/types/AgentTopicResponseModel.js +3 -0
  677. package/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  678. package/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  679. package/serialization/types/BackgroundMusicPresetId.d.ts +1 -1
  680. package/serialization/types/BackgroundMusicPresetId.js +11 -1
  681. package/serialization/types/BaseTurnConfig.d.ts +17 -0
  682. package/serialization/types/BaseTurnConfig.js +49 -0
  683. package/serialization/types/ClientEvent.d.ts +1 -1
  684. package/serialization/types/ClientEvent.js +1 -0
  685. package/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
  686. package/serialization/types/CodeToolAllowedDomain.js +42 -0
  687. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  688. package/serialization/types/ConversationInitiationSource.js +1 -0
  689. package/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
  690. package/serialization/types/{ConversationTokenDbModel.js → ConversationTokenResponseModel.js} +3 -3
  691. package/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  692. package/serialization/types/CreateBearerAuthRequest.js +43 -0
  693. package/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
  694. package/serialization/types/CreateSpeechEngineResponse.js +41 -0
  695. package/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
  696. package/serialization/types/GetAgentLinkResponseModel.js +2 -2
  697. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  698. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  699. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  700. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  701. package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  702. package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  703. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
  704. package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
  705. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  706. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  707. package/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  708. package/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  709. package/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
  710. package/serialization/types/ListSpeechEnginesResponse.js +44 -0
  711. package/serialization/types/Llm.d.ts +1 -1
  712. package/serialization/types/Llm.js +6 -0
  713. package/serialization/types/LlmInfoModelInput.d.ts +2 -0
  714. package/serialization/types/LlmInfoModelInput.js +2 -0
  715. package/serialization/types/LlmInfoModelOutput.d.ts +2 -0
  716. package/serialization/types/LlmInfoModelOutput.js +2 -0
  717. package/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  718. package/serialization/types/LoadProcedureToolConfig.js +42 -0
  719. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  720. package/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  721. package/serialization/types/Monitor.d.ts +7 -0
  722. package/serialization/types/Monitor.js +39 -0
  723. package/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  724. package/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  725. package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  726. package/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  727. package/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
  728. package/serialization/types/PhoneNumberAgentInfo.js +2 -0
  729. package/serialization/types/ProcedureAtVersion.d.ts +13 -0
  730. package/serialization/types/ProcedureAtVersion.js +45 -0
  731. package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  732. package/serialization/types/ProcedureCompilerMode.js +1 -1
  733. package/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
  734. package/serialization/types/ReadMetadataChapterDbModel.js +1 -0
  735. package/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
  736. package/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
  737. package/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
  738. package/serialization/types/ReportKnowledgeGapParams.js +41 -0
  739. package/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  740. package/serialization/types/SlackBotAuthResponse.js +45 -0
  741. package/serialization/types/SpeechEngineResponse.d.ts +28 -0
  742. package/serialization/types/SpeechEngineResponse.js +60 -0
  743. package/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
  744. package/serialization/types/SpeechEngineSummaryResponse.js +44 -0
  745. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  746. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  747. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  748. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  749. package/serialization/types/TurnConfig.d.ts +1 -1
  750. package/serialization/types/TurnConfig.js +1 -1
  751. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
  752. package/serialization/types/TurnConfigWorkflowOverride.js +1 -1
  753. package/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  754. package/serialization/types/UpdateBasicAuthRequest.js +43 -0
  755. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  756. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  757. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  758. package/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  759. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  760. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  761. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  762. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  763. package/serialization/types/WebhookHmacSettings.d.ts +1 -0
  764. package/serialization/types/WebhookHmacSettings.js +1 -0
  765. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
  766. package/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
  767. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  768. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  769. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  770. package/serialization/types/WorkspaceResourceType.js +2 -0
  771. package/serialization/types/index.d.ts +25 -1
  772. package/serialization/types/index.js +25 -1
  773. package/version.d.ts +1 -1
  774. package/version.js +1 -1
  775. package/wrapper/ElevenLabsClient.d.ts +5 -2
  776. package/wrapper/ElevenLabsClient.js +9 -1
  777. package/wrapper/index.d.ts +1 -0
  778. package/wrapper/index.js +8 -1
  779. package/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
  780. package/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
  781. package/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
  782. package/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
  783. package/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
  784. package/wrapper/speech-engine/SpeechEngineResource.js +261 -0
  785. package/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
  786. package/wrapper/speech-engine/SpeechEngineServer.js +135 -0
  787. package/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
  788. package/wrapper/speech-engine/SpeechEngineSession.js +300 -0
  789. package/wrapper/speech-engine/index.d.ts +7 -0
  790. package/wrapper/speech-engine/index.js +47 -0
  791. package/wrapper/speech-engine/namespace.d.ts +27 -0
  792. package/wrapper/speech-engine/namespace.js +37 -0
  793. package/wrapper/speech-engine/types.d.ts +67 -0
  794. package/wrapper/speech-engine/types.js +15 -0
  795. /package/api/{types/ConversationTokenDbModel.js → resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js} +0 -0
  796. /package/{dist/api/types/ConversationTokenDbModel.js → api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js} +0 -0
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.AgentAlertingSettings = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AgentAlertingMonitorConfig_1 = require("./AgentAlertingMonitorConfig");
40
+ exports.AgentAlertingSettings = core.serialization.object({
41
+ monitorConfigs: core.serialization.property("monitor_configs", core.serialization.record(core.serialization.string(), AgentAlertingMonitorConfig_1.AgentAlertingMonitorConfig).optional()),
42
+ autoResolveAfterInactiveMinutes: core.serialization.property("auto_resolve_after_inactive_minutes", core.serialization.number().optional()),
43
+ });
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AgentDefinitionSource } from "./AgentDefinitionSource";
5
+ export declare const AgentMetadataDbModel: core.serialization.ObjectSchema<serializers.AgentMetadataDbModel.Raw, ElevenLabs.AgentMetadataDbModel>;
6
+ export declare namespace AgentMetadataDbModel {
7
+ interface Raw {
8
+ created_at_unix_secs: number;
9
+ updated_at_unix_secs: number;
10
+ created_from?: AgentDefinitionSource.Raw | null;
11
+ last_updated_from?: AgentDefinitionSource.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.AgentMetadataDbModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AgentDefinitionSource_1 = require("./AgentDefinitionSource");
40
+ exports.AgentMetadataDbModel = core.serialization.object({
41
+ createdAtUnixSecs: core.serialization.property("created_at_unix_secs", core.serialization.number()),
42
+ updatedAtUnixSecs: core.serialization.property("updated_at_unix_secs", core.serialization.number()),
43
+ createdFrom: core.serialization.property("created_from", AgentDefinitionSource_1.AgentDefinitionSource.optional()),
44
+ lastUpdatedFrom: core.serialization.property("last_updated_from", AgentDefinitionSource_1.AgentDefinitionSource.optional()),
45
+ });
@@ -1,6 +1,7 @@
1
1
  import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { AgentAlertingSettings } from "./AgentAlertingSettings";
4
5
  import { AgentCallLimits } from "./AgentCallLimits";
5
6
  import { AgentTestingSettings } from "./AgentTestingSettings";
6
7
  import { AgentTrustContext } from "./AgentTrustContext";
@@ -32,5 +33,6 @@ export declare namespace AgentPlatformSettingsRequestModel {
32
33
  privacy?: PrivacyConfigInput.Raw | null;
33
34
  trust_context?: AgentTrustContext.Raw | null;
34
35
  analysis_llm?: Llm.Raw | null;
36
+ alerting?: AgentAlertingSettings.Raw | null;
35
37
  }
36
38
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.AgentPlatformSettingsRequestModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const AgentAlertingSettings_1 = require("./AgentAlertingSettings");
39
40
  const AgentCallLimits_1 = require("./AgentCallLimits");
40
41
  const AgentTestingSettings_1 = require("./AgentTestingSettings");
41
42
  const AgentTrustContext_1 = require("./AgentTrustContext");
@@ -65,4 +66,5 @@ exports.AgentPlatformSettingsRequestModel = core.serialization.object({
65
66
  privacy: PrivacyConfigInput_1.PrivacyConfigInput.optional(),
66
67
  trustContext: core.serialization.property("trust_context", AgentTrustContext_1.AgentTrustContext.optional()),
67
68
  analysisLlm: core.serialization.property("analysis_llm", Llm_1.Llm.optional()),
69
+ alerting: AgentAlertingSettings_1.AgentAlertingSettings.optional(),
68
70
  });
@@ -1,6 +1,7 @@
1
1
  import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { AgentAlertingSettings } from "./AgentAlertingSettings";
4
5
  import { AgentCallLimits } from "./AgentCallLimits";
5
6
  import { AgentTestingSettings } from "./AgentTestingSettings";
6
7
  import { AgentTrustContext } from "./AgentTrustContext";
@@ -33,6 +34,7 @@ export declare namespace AgentPlatformSettingsResponseModel {
33
34
  privacy?: PrivacyConfigOutput.Raw | null;
34
35
  trust_context?: AgentTrustContext.Raw | null;
35
36
  analysis_llm?: Llm.Raw | null;
37
+ alerting?: AgentAlertingSettings.Raw | null;
36
38
  safety?: SafetyResponseModel.Raw | null;
37
39
  }
38
40
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.AgentPlatformSettingsResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const AgentAlertingSettings_1 = require("./AgentAlertingSettings");
39
40
  const AgentCallLimits_1 = require("./AgentCallLimits");
40
41
  const AgentTestingSettings_1 = require("./AgentTestingSettings");
41
42
  const AgentTrustContext_1 = require("./AgentTrustContext");
@@ -66,5 +67,6 @@ exports.AgentPlatformSettingsResponseModel = core.serialization.object({
66
67
  privacy: PrivacyConfigOutput_1.PrivacyConfigOutput.optional(),
67
68
  trustContext: core.serialization.property("trust_context", AgentTrustContext_1.AgentTrustContext.optional()),
68
69
  analysisLlm: core.serialization.property("analysis_llm", Llm_1.Llm.optional()),
70
+ alerting: AgentAlertingSettings_1.AgentAlertingSettings.optional(),
69
71
  safety: SafetyResponseModel_1.SafetyResponseModel.optional(),
70
72
  });
@@ -8,5 +8,8 @@ export declare namespace AgentTopicResponseModel {
8
8
  label: string;
9
9
  description: string;
10
10
  conversation_count: number;
11
+ parent_topic_id?: string | null;
12
+ x_2d?: number | null;
13
+ y_2d?: number | null;
11
14
  }
12
15
  }
@@ -41,4 +41,7 @@ exports.AgentTopicResponseModel = core.serialization.object({
41
41
  label: core.serialization.string(),
42
42
  description: core.serialization.string(),
43
43
  conversationCount: core.serialization.property("conversation_count", core.serialization.number()),
44
+ parentTopicId: core.serialization.property("parent_topic_id", core.serialization.string().optional()),
45
+ x2D: core.serialization.property("x_2d", core.serialization.number().optional()),
46
+ y2D: core.serialization.property("y_2d", core.serialization.number().optional()),
44
47
  });
@@ -14,6 +14,7 @@ export declare namespace AudioIsolationHistoryItemResponseModel {
14
14
  source_video_url?: string | null;
15
15
  supports_video: boolean;
16
16
  processing: boolean;
17
+ video_processing_failed: boolean;
17
18
  preview_b64?: string | null;
18
19
  }
19
20
  }
@@ -47,5 +47,6 @@ exports.AudioIsolationHistoryItemResponseModel = core.serialization.object({
47
47
  sourceVideoUrl: core.serialization.property("source_video_url", core.serialization.string().optional()),
48
48
  supportsVideo: core.serialization.property("supports_video", core.serialization.boolean()),
49
49
  processing: core.serialization.boolean(),
50
+ videoProcessingFailed: core.serialization.property("video_processing_failed", core.serialization.boolean()),
50
51
  previewB64: core.serialization.property("preview_b64", core.serialization.string().optional()),
51
52
  });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const BackgroundMusicPresetId: core.serialization.Schema<serializers.BackgroundMusicPresetId.Raw, ElevenLabs.BackgroundMusicPresetId>;
5
5
  export declare namespace BackgroundMusicPresetId {
6
- type Raw = "typing" | "elevator1" | "elevator2" | "elevator3" | "elevator4";
6
+ type Raw = "office2" | "office1" | "restaurant" | "city" | "typing" | "elevator1" | "elevator2" | "elevator3" | "elevator4";
7
7
  }
@@ -36,4 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BackgroundMusicPresetId = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.BackgroundMusicPresetId = core.serialization.enum_(["typing", "elevator1", "elevator2", "elevator3", "elevator4"]);
39
+ exports.BackgroundMusicPresetId = core.serialization.enum_([
40
+ "office2",
41
+ "office1",
42
+ "restaurant",
43
+ "city",
44
+ "typing",
45
+ "elevator1",
46
+ "elevator2",
47
+ "elevator3",
48
+ "elevator4",
49
+ ]);
@@ -0,0 +1,17 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { SpellingPatience } from "./SpellingPatience";
5
+ import { TurnEagerness } from "./TurnEagerness";
6
+ export declare const BaseTurnConfig: core.serialization.ObjectSchema<serializers.BaseTurnConfig.Raw, ElevenLabs.BaseTurnConfig>;
7
+ export declare namespace BaseTurnConfig {
8
+ interface Raw {
9
+ turn_timeout?: number | null;
10
+ initial_wait_time?: number | null;
11
+ silence_end_call_timeout?: number | null;
12
+ turn_eagerness?: TurnEagerness.Raw | null;
13
+ spelling_patience?: SpellingPatience.Raw | null;
14
+ speculative_turn?: boolean | null;
15
+ retranscribe_on_turn_timeout?: boolean | null;
16
+ }
17
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BaseTurnConfig = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const SpellingPatience_1 = require("./SpellingPatience");
40
+ const TurnEagerness_1 = require("./TurnEagerness");
41
+ exports.BaseTurnConfig = core.serialization.object({
42
+ turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
43
+ initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
44
+ silenceEndCallTimeout: core.serialization.property("silence_end_call_timeout", core.serialization.number().optional()),
45
+ turnEagerness: core.serialization.property("turn_eagerness", TurnEagerness_1.TurnEagerness.optional()),
46
+ spellingPatience: core.serialization.property("spelling_patience", SpellingPatience_1.SpellingPatience.optional()),
47
+ speculativeTurn: core.serialization.property("speculative_turn", core.serialization.boolean().optional()),
48
+ retranscribeOnTurnTimeout: core.serialization.property("retranscribe_on_turn_timeout", core.serialization.boolean().optional()),
49
+ });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const ClientEvent: core.serialization.Schema<serializers.ClientEvent.Raw, ElevenLabs.ClientEvent>;
5
5
  export declare namespace ClientEvent {
6
- type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_request" | "agent_tool_response" | "agent_response_metadata" | "vad_score" | "agent_chat_response_part" | "client_error" | "guardrail_triggered" | "dtmf_request" | "agent_response_complete" | "internal_turn_probability" | "internal_tentative_agent_response";
6
+ type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_request" | "agent_tool_response" | "agent_tool_response_full_payload" | "agent_response_metadata" | "vad_score" | "agent_chat_response_part" | "client_error" | "guardrail_triggered" | "dtmf_request" | "agent_response_complete" | "internal_turn_probability" | "internal_tentative_agent_response";
7
7
  }
@@ -51,6 +51,7 @@ exports.ClientEvent = core.serialization.enum_([
51
51
  "mcp_connection_status",
52
52
  "agent_tool_request",
53
53
  "agent_tool_response",
54
+ "agent_tool_response_full_payload",
54
55
  "agent_response_metadata",
55
56
  "vad_score",
56
57
  "agent_chat_response_part",
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CodeToolAllowedDomain: core.serialization.ObjectSchema<serializers.CodeToolAllowedDomain.Raw, ElevenLabs.CodeToolAllowedDomain>;
5
+ export declare namespace CodeToolAllowedDomain {
6
+ interface Raw {
7
+ domain: string;
8
+ name: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CodeToolAllowedDomain = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.CodeToolAllowedDomain = core.serialization.object({
40
+ domain: core.serialization.string(),
41
+ name: core.serialization.string(),
42
+ });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const ConversationInitiationSource: core.serialization.Schema<serializers.ConversationInitiationSource.Raw, ElevenLabs.ConversationInitiationSource>;
5
5
  export declare namespace ConversationInitiationSource {
6
- type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "template_preview";
6
+ type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "template_preview" | "genesys_bot_connector";
7
7
  }
@@ -55,4 +55,5 @@ exports.ConversationInitiationSource = core.serialization.enum_([
55
55
  "zendesk_integration",
56
56
  "slack_integration",
57
57
  "template_preview",
58
+ "genesys_bot_connector",
58
59
  ]);
@@ -2,14 +2,14 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { ConversationTokenPurpose } from "./ConversationTokenPurpose";
5
- export declare const ConversationTokenDbModel: core.serialization.ObjectSchema<serializers.ConversationTokenDbModel.Raw, ElevenLabs.ConversationTokenDbModel>;
6
- export declare namespace ConversationTokenDbModel {
5
+ export declare const ConversationTokenResponseModel: core.serialization.ObjectSchema<serializers.ConversationTokenResponseModel.Raw, ElevenLabs.ConversationTokenResponseModel>;
6
+ export declare namespace ConversationTokenResponseModel {
7
7
  interface Raw {
8
8
  agent_id: string;
9
9
  conversation_token: string;
10
10
  expiration_time_unix_secs?: number | null;
11
11
  conversation_id?: string | null;
12
- purpose?: ConversationTokenPurpose.Raw | null;
12
+ purpose: ConversationTokenPurpose.Raw;
13
13
  token_requester_user_id?: string | null;
14
14
  }
15
15
  }
@@ -34,14 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.ConversationTokenDbModel = void 0;
37
+ exports.ConversationTokenResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const ConversationTokenPurpose_1 = require("./ConversationTokenPurpose");
40
- exports.ConversationTokenDbModel = core.serialization.object({
40
+ exports.ConversationTokenResponseModel = core.serialization.object({
41
41
  agentId: core.serialization.property("agent_id", core.serialization.string()),
42
42
  conversationToken: core.serialization.property("conversation_token", core.serialization.string()),
43
43
  expirationTimeUnixSecs: core.serialization.property("expiration_time_unix_secs", core.serialization.number().optional()),
44
44
  conversationId: core.serialization.property("conversation_id", core.serialization.string().optional()),
45
- purpose: ConversationTokenPurpose_1.ConversationTokenPurpose.optional(),
45
+ purpose: ConversationTokenPurpose_1.ConversationTokenPurpose,
46
46
  tokenRequesterUserId: core.serialization.property("token_requester_user_id", core.serialization.string().optional()),
47
47
  });
@@ -0,0 +1,11 @@
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 CreateBearerAuthRequest: core.serialization.ObjectSchema<serializers.CreateBearerAuthRequest.Raw, ElevenLabs.CreateBearerAuthRequest>;
5
+ export declare namespace CreateBearerAuthRequest {
6
+ interface Raw {
7
+ name: string;
8
+ provider: string;
9
+ token: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateBearerAuthRequest = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.CreateBearerAuthRequest = core.serialization.object({
40
+ name: core.serialization.string(),
41
+ provider: core.serialization.string(),
42
+ token: core.serialization.string(),
43
+ });
@@ -0,0 +1,9 @@
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 CreateSpeechEngineResponse: core.serialization.ObjectSchema<serializers.CreateSpeechEngineResponse.Raw, ElevenLabs.CreateSpeechEngineResponse>;
5
+ export declare namespace CreateSpeechEngineResponse {
6
+ interface Raw {
7
+ speech_engine_id: string;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateSpeechEngineResponse = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.CreateSpeechEngineResponse = core.serialization.object({
40
+ speechEngineId: core.serialization.property("speech_engine_id", core.serialization.string()),
41
+ });
@@ -1,11 +1,11 @@
1
1
  import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
- import { ConversationTokenDbModel } from "./ConversationTokenDbModel";
4
+ import { ConversationTokenResponseModel } from "./ConversationTokenResponseModel";
5
5
  export declare const GetAgentLinkResponseModel: core.serialization.ObjectSchema<serializers.GetAgentLinkResponseModel.Raw, ElevenLabs.GetAgentLinkResponseModel>;
6
6
  export declare namespace GetAgentLinkResponseModel {
7
7
  interface Raw {
8
8
  agent_id: string;
9
- token?: ConversationTokenDbModel.Raw | null;
9
+ token?: ConversationTokenResponseModel.Raw | null;
10
10
  }
11
11
  }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GetAgentLinkResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- const ConversationTokenDbModel_1 = require("./ConversationTokenDbModel");
39
+ const ConversationTokenResponseModel_1 = require("./ConversationTokenResponseModel");
40
40
  exports.GetAgentLinkResponseModel = core.serialization.object({
41
41
  agentId: core.serialization.property("agent_id", core.serialization.string()),
42
- token: ConversationTokenDbModel_1.ConversationTokenDbModel.optional(),
42
+ token: ConversationTokenResponseModel_1.ConversationTokenResponseModel.optional(),
43
43
  });
@@ -11,5 +11,6 @@ export declare namespace GetPhoneNumberInboundSipTrunkConfigResponseModel {
11
11
  has_auth_credentials: boolean;
12
12
  username?: string | null;
13
13
  remote_domains?: string[] | null;
14
+ attributes_to_headers?: Record<string, string> | null;
14
15
  }
15
16
  }
@@ -44,4 +44,5 @@ exports.GetPhoneNumberInboundSipTrunkConfigResponseModel = core.serialization.ob
44
44
  hasAuthCredentials: core.serialization.property("has_auth_credentials", core.serialization.boolean()),
45
45
  username: core.serialization.string().optional(),
46
46
  remoteDomains: core.serialization.property("remote_domains", core.serialization.list(core.serialization.string()).optional()),
47
+ attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
47
48
  });
@@ -10,6 +10,7 @@ export declare namespace GetPhoneNumberOutboundSipTrunkConfigResponseModel {
10
10
  transport: SipTrunkTransportEnum.Raw;
11
11
  media_encryption: SipMediaEncryptionEnum.Raw;
12
12
  headers?: Record<string, string> | null;
13
+ attributes_to_headers?: Record<string, string> | null;
13
14
  has_auth_credentials: boolean;
14
15
  username?: string | null;
15
16
  has_outbound_trunk?: boolean | null;
@@ -43,6 +43,7 @@ exports.GetPhoneNumberOutboundSipTrunkConfigResponseModel = core.serialization.o
43
43
  transport: SipTrunkTransportEnum_1.SipTrunkTransportEnum,
44
44
  mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum),
45
45
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
46
+ attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
46
47
  hasAuthCredentials: core.serialization.property("has_auth_credentials", core.serialization.boolean()),
47
48
  username: core.serialization.string().optional(),
48
49
  hasOutboundTrunk: core.serialization.property("has_outbound_trunk", core.serialization.boolean().optional()),
@@ -11,5 +11,6 @@ export declare namespace InboundSipTrunkConfigRequestModel {
11
11
  media_encryption?: SipMediaEncryptionEnum.Raw | null;
12
12
  credentials?: SipTrunkCredentialsRequestModel.Raw | null;
13
13
  remote_domains?: string[] | null;
14
+ attributes_to_headers?: Record<string, string> | null;
14
15
  }
15
16
  }
@@ -44,4 +44,5 @@ exports.InboundSipTrunkConfigRequestModel = core.serialization.object({
44
44
  mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
45
45
  credentials: SipTrunkCredentialsRequestModel_1.SipTrunkCredentialsRequestModel.optional(),
46
46
  remoteDomains: core.serialization.property("remote_domains", core.serialization.list(core.serialization.string()).optional()),
47
+ attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
47
48
  });
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { KnowledgeBaseDocumentChunkResponseModel } from "./KnowledgeBaseDocumentChunkResponseModel";
5
+ export declare const KnowledgeBaseDocumentChunksResponseModel: core.serialization.ObjectSchema<serializers.KnowledgeBaseDocumentChunksResponseModel.Raw, ElevenLabs.KnowledgeBaseDocumentChunksResponseModel>;
6
+ export declare namespace KnowledgeBaseDocumentChunksResponseModel {
7
+ interface Raw {
8
+ chunks: KnowledgeBaseDocumentChunkResponseModel.Raw[];
9
+ next_cursor?: string | null;
10
+ }
11
+ }