@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
@@ -1,5 +1,6 @@
1
1
  import type { BaseClientOptions } from "../../../../BaseClient";
2
2
  import { type NormalizedClientOptions } from "../../../../BaseClient";
3
+ import { AnalyticsClient } from "../resources/analytics/client/Client";
3
4
  import { AuditLogsClient } from "../resources/auditLogs/client/Client";
4
5
  import { AuthConnectionsClient } from "../resources/authConnections/client/Client";
5
6
  import { GroupsClient } from "../resources/groups/client/Client";
@@ -19,6 +20,7 @@ export declare class WorkspaceClient {
19
20
  protected _members: MembersClient | undefined;
20
21
  protected _resources: ResourcesClient | undefined;
21
22
  protected _usage: UsageClient | undefined;
23
+ protected _analytics: AnalyticsClient | undefined;
22
24
  constructor(options?: WorkspaceClient.Options);
23
25
  get auditLogs(): AuditLogsClient;
24
26
  get authConnections(): AuthConnectionsClient;
@@ -27,4 +29,5 @@ export declare class WorkspaceClient {
27
29
  get members(): MembersClient;
28
30
  get resources(): ResourcesClient;
29
31
  get usage(): UsageClient;
32
+ get analytics(): AnalyticsClient;
30
33
  }
@@ -3,44 +3,49 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.WorkspaceClient = void 0;
5
5
  const BaseClient_1 = require("../../../../BaseClient");
6
- const Client_1 = require("../resources/auditLogs/client/Client");
7
- const Client_2 = require("../resources/authConnections/client/Client");
8
- const Client_3 = require("../resources/groups/client/Client");
9
- const Client_4 = require("../resources/invites/client/Client");
10
- const Client_5 = require("../resources/members/client/Client");
11
- const Client_6 = require("../resources/resources/client/Client");
12
- const Client_7 = require("../resources/usage/client/Client");
6
+ const Client_1 = require("../resources/analytics/client/Client");
7
+ const Client_2 = require("../resources/auditLogs/client/Client");
8
+ const Client_3 = require("../resources/authConnections/client/Client");
9
+ const Client_4 = require("../resources/groups/client/Client");
10
+ const Client_5 = require("../resources/invites/client/Client");
11
+ const Client_6 = require("../resources/members/client/Client");
12
+ const Client_7 = require("../resources/resources/client/Client");
13
+ const Client_8 = require("../resources/usage/client/Client");
13
14
  class WorkspaceClient {
14
15
  constructor(options = {}) {
15
16
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
16
17
  }
17
18
  get auditLogs() {
18
19
  var _a;
19
- return ((_a = this._auditLogs) !== null && _a !== void 0 ? _a : (this._auditLogs = new Client_1.AuditLogsClient(this._options)));
20
+ return ((_a = this._auditLogs) !== null && _a !== void 0 ? _a : (this._auditLogs = new Client_2.AuditLogsClient(this._options)));
20
21
  }
21
22
  get authConnections() {
22
23
  var _a;
23
- return ((_a = this._authConnections) !== null && _a !== void 0 ? _a : (this._authConnections = new Client_2.AuthConnectionsClient(this._options)));
24
+ return ((_a = this._authConnections) !== null && _a !== void 0 ? _a : (this._authConnections = new Client_3.AuthConnectionsClient(this._options)));
24
25
  }
25
26
  get groups() {
26
27
  var _a;
27
- return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_3.GroupsClient(this._options)));
28
+ return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_4.GroupsClient(this._options)));
28
29
  }
29
30
  get invites() {
30
31
  var _a;
31
- return ((_a = this._invites) !== null && _a !== void 0 ? _a : (this._invites = new Client_4.InvitesClient(this._options)));
32
+ return ((_a = this._invites) !== null && _a !== void 0 ? _a : (this._invites = new Client_5.InvitesClient(this._options)));
32
33
  }
33
34
  get members() {
34
35
  var _a;
35
- return ((_a = this._members) !== null && _a !== void 0 ? _a : (this._members = new Client_5.MembersClient(this._options)));
36
+ return ((_a = this._members) !== null && _a !== void 0 ? _a : (this._members = new Client_6.MembersClient(this._options)));
36
37
  }
37
38
  get resources() {
38
39
  var _a;
39
- return ((_a = this._resources) !== null && _a !== void 0 ? _a : (this._resources = new Client_6.ResourcesClient(this._options)));
40
+ return ((_a = this._resources) !== null && _a !== void 0 ? _a : (this._resources = new Client_7.ResourcesClient(this._options)));
40
41
  }
41
42
  get usage() {
42
43
  var _a;
43
- return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_7.UsageClient(this._options)));
44
+ return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_8.UsageClient(this._options)));
45
+ }
46
+ get analytics() {
47
+ var _a;
48
+ return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_1.AnalyticsClient(this._options)));
44
49
  }
45
50
  }
46
51
  exports.WorkspaceClient = WorkspaceClient;
@@ -0,0 +1,12 @@
1
+ import type { BaseClientOptions } from "../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../BaseClient";
3
+ import { RequestsClient } from "../resources/requests/client/Client";
4
+ export declare namespace AnalyticsClient {
5
+ type Options = BaseClientOptions;
6
+ }
7
+ export declare class AnalyticsClient {
8
+ protected readonly _options: NormalizedClientOptions<AnalyticsClient.Options>;
9
+ protected _requests: RequestsClient | undefined;
10
+ constructor(options?: AnalyticsClient.Options);
11
+ get requests(): RequestsClient;
12
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AnalyticsClient = void 0;
5
+ const BaseClient_1 = require("../../../../../../BaseClient");
6
+ const Client_1 = require("../resources/requests/client/Client");
7
+ class AnalyticsClient {
8
+ constructor(options = {}) {
9
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
10
+ }
11
+ get requests() {
12
+ var _a;
13
+ return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new Client_1.RequestsClient(this._options)));
14
+ }
15
+ }
16
+ exports.AnalyticsClient = AnalyticsClient;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./resources";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,3 @@
1
+ export * as requests from "./requests";
2
+ export * from "./requests/client/requests";
3
+ export * from "./requests/types";
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.requests = void 0;
40
+ exports.requests = __importStar(require("./requests"));
41
+ __exportStar(require("./requests/client/requests"), exports);
42
+ __exportStar(require("./requests/types"), exports);
@@ -0,0 +1,26 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
3
+ import * as core from "../../../../../../../../core";
4
+ import * as ElevenLabs from "../../../../../../../index";
5
+ export declare namespace RequestsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class RequestsClient {
11
+ protected readonly _options: NormalizedClientOptions<RequestsClient.Options>;
12
+ constructor(options?: RequestsClient.Options);
13
+ /**
14
+ * Returns a list of API requests. Supports filtering by time range, column filters, and search terms. At least one of start_time or end_time must be provided. An optional sort parameter controls timestamp ordering. Results are ordered by timestamp. Descending if end_time is used, ascending if start_time is used. The response is a tabular structure with columns, column_types, column_units, and rows.
15
+ *
16
+ * @param {ElevenLabs.workspace.analytics.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost} request
17
+ * @param {RequestsClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
20
+ *
21
+ * @example
22
+ * await client.workspace.analytics.requests.get()
23
+ */
24
+ get(request?: ElevenLabs.workspace.analytics.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost, requestOptions?: RequestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.WorkspaceAnalyticsQueryResponseModel>;
25
+ private __get;
26
+ }
@@ -0,0 +1,118 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.RequestsClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const headers_1 = require("../../../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
55
+ class RequestsClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Returns a list of API requests. Supports filtering by time range, column filters, and search terms. At least one of start_time or end_time must be provided. An optional sort parameter controls timestamp ordering. Results are ordered by timestamp. Descending if end_time is used, ascending if start_time is used. The response is a tabular structure with columns, column_types, column_units, and rows.
61
+ *
62
+ * @param {ElevenLabs.workspace.analytics.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost} request
63
+ * @param {RequestsClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.workspace.analytics.requests.get()
69
+ */
70
+ get(request = {}, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
72
+ }
73
+ __get() {
74
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
75
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
76
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
77
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
78
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/workspace/analytics/requests"),
79
+ method: "POST",
80
+ headers: _headers,
81
+ contentType: "application/json",
82
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
83
+ requestType: "json",
84
+ body: serializers.workspace.analytics.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
85
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
86
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
87
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
88
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
89
+ logging: this._options.logging,
90
+ });
91
+ if (_response.ok) {
92
+ return {
93
+ data: serializers.WorkspaceAnalyticsQueryResponseModel.parseOrThrow(_response.body, {
94
+ unrecognizedObjectKeys: "passthrough",
95
+ allowUnrecognizedUnionMembers: true,
96
+ allowUnrecognizedEnumValues: true,
97
+ breadcrumbsPrefix: ["response"],
98
+ }),
99
+ rawResponse: _response.rawResponse,
100
+ };
101
+ }
102
+ if (_response.error.reason === "status-code") {
103
+ switch (_response.error.statusCode) {
104
+ case 422:
105
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
106
+ default:
107
+ throw new errors.ElevenLabsError({
108
+ statusCode: _response.error.statusCode,
109
+ body: _response.error.body,
110
+ rawResponse: _response.rawResponse,
111
+ });
112
+ }
113
+ }
114
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/analytics/requests");
115
+ });
116
+ }
117
+ }
118
+ exports.RequestsClient = RequestsClient;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../../../../../../../index";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost {
7
+ /** Start of the time range as a Unix timestamp in milliseconds. */
8
+ startTime?: number;
9
+ /** End of the time range as a Unix timestamp in milliseconds. */
10
+ endTime?: number;
11
+ limit?: number;
12
+ /** Optional timestamp sort direction. If omitted, defaults to desc when end_time is provided, otherwise asc. */
13
+ sort?: ElevenLabs.workspace.analytics.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort;
14
+ filters?: ElevenLabs.ColumnFilter[];
15
+ search?: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type { BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost } from "./BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort: {
2
+ readonly Asc: "asc";
3
+ readonly Desc: "desc";
4
+ };
5
+ export type BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort = (typeof BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort)[keyof typeof BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort = void 0;
5
+ exports.BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort = {
6
+ Asc: "asc",
7
+ Desc: "desc",
8
+ };
@@ -0,0 +1 @@
1
+ export * from "./BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort"), exports);
@@ -55,4 +55,20 @@ export declare class AuthConnectionsClient {
55
55
  */
56
56
  delete(auth_connection_id: string, requestOptions?: AuthConnectionsClient.RequestOptions): core.HttpResponsePromise<unknown>;
57
57
  private __delete;
58
+ /**
59
+ * Update an auth connection
60
+ *
61
+ * @param {string} auth_connection_id
62
+ * @param {ElevenLabs.workspace.AuthConnectionsUpdateRequestBody} request
63
+ * @param {AuthConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.workspace.authConnections.update("auth_connection_id", {
69
+ * authType: "oauth2_client_credentials"
70
+ * })
71
+ */
72
+ update(auth_connection_id: string, request: ElevenLabs.workspace.AuthConnectionsUpdateRequestBody, requestOptions?: AuthConnectionsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.workspace.AuthConnectionsUpdateResponse>;
73
+ private __update;
58
74
  }
@@ -224,5 +224,68 @@ class AuthConnectionsClient {
224
224
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/workspace/auth-connections/{auth_connection_id}");
225
225
  });
226
226
  }
227
+ /**
228
+ * Update an auth connection
229
+ *
230
+ * @param {string} auth_connection_id
231
+ * @param {ElevenLabs.workspace.AuthConnectionsUpdateRequestBody} request
232
+ * @param {AuthConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
233
+ *
234
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
235
+ *
236
+ * @example
237
+ * await client.workspace.authConnections.update("auth_connection_id", {
238
+ * authType: "oauth2_client_credentials"
239
+ * })
240
+ */
241
+ update(auth_connection_id, request, requestOptions) {
242
+ return core.HttpResponsePromise.fromPromise(this.__update(auth_connection_id, request, requestOptions));
243
+ }
244
+ __update(auth_connection_id, request, requestOptions) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
247
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
248
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
249
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/workspace/auth-connections/${core.url.encodePathParam(auth_connection_id)}`),
250
+ method: "PATCH",
251
+ headers: _headers,
252
+ contentType: "application/json",
253
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
254
+ requestType: "json",
255
+ body: serializers.workspace.AuthConnectionsUpdateRequestBody.jsonOrThrow(request, {
256
+ unrecognizedObjectKeys: "strip",
257
+ }),
258
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
259
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
260
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
261
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
262
+ logging: this._options.logging,
263
+ });
264
+ if (_response.ok) {
265
+ return {
266
+ data: serializers.workspace.AuthConnectionsUpdateResponse.parseOrThrow(_response.body, {
267
+ unrecognizedObjectKeys: "passthrough",
268
+ allowUnrecognizedUnionMembers: true,
269
+ allowUnrecognizedEnumValues: true,
270
+ breadcrumbsPrefix: ["response"],
271
+ }),
272
+ rawResponse: _response.rawResponse,
273
+ };
274
+ }
275
+ if (_response.error.reason === "status-code") {
276
+ switch (_response.error.statusCode) {
277
+ case 422:
278
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
279
+ default:
280
+ throw new errors.ElevenLabsError({
281
+ statusCode: _response.error.statusCode,
282
+ body: _response.error.body,
283
+ rawResponse: _response.rawResponse,
284
+ });
285
+ }
286
+ }
287
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/workspace/auth-connections/{auth_connection_id}");
288
+ });
289
+ }
227
290
  }
228
291
  exports.AuthConnectionsClient = AuthConnectionsClient;
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
2
2
  /**
3
3
  * Auth connection to create
4
4
  */
5
- export type AuthConnectionsCreateRequestBody = ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Mtls;
5
+ export type AuthConnectionsCreateRequestBody = ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Mtls;
6
6
  export declare namespace AuthConnectionsCreateRequestBody {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.CreateOAuth2ClientCredsRequest {
8
8
  authType: "oauth2_client_credentials";
@@ -13,6 +13,9 @@ export declare namespace AuthConnectionsCreateRequestBody {
13
13
  interface BasicAuth extends ElevenLabs.CreateBasicAuthRequest {
14
14
  authType: "basic_auth";
15
15
  }
16
+ interface BearerAuth extends ElevenLabs.CreateBearerAuthRequest {
17
+ authType: "bearer_auth";
18
+ }
16
19
  interface Oauth2Jwt extends ElevenLabs.CreateOAuth2JwtRequest {
17
20
  authType: "oauth2_jwt";
18
21
  }
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
2
2
  /**
3
3
  * The type of auth connection config
4
4
  */
5
- export type AuthConnectionsCreateResponse = ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsCreateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsCreateResponse.WhatsappAuth;
5
+ export type AuthConnectionsCreateResponse = ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsCreateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsCreateResponse.WhatsappAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.SlackBotAuth;
6
6
  export declare namespace AuthConnectionsCreateResponse {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.OAuth2ClientCredsResponse {
8
8
  authType: "oauth2_client_credentials";
@@ -34,4 +34,7 @@ export declare namespace AuthConnectionsCreateResponse {
34
34
  interface WhatsappAuth extends ElevenLabs.WhatsAppAuthResponse {
35
35
  authType: "whatsapp_auth";
36
36
  }
37
+ interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
38
+ authType: "slack_bot_auth";
39
+ }
37
40
  }
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ /**
3
+ * Updated auth connection fields
4
+ */
5
+ export type AuthConnectionsUpdateRequestBody = ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2Jwt;
6
+ export declare namespace AuthConnectionsUpdateRequestBody {
7
+ interface Oauth2ClientCredentials extends ElevenLabs.UpdateOAuth2ClientCredsRequest {
8
+ authType: "oauth2_client_credentials";
9
+ }
10
+ interface BasicAuth extends ElevenLabs.UpdateBasicAuthRequest {
11
+ authType: "basic_auth";
12
+ }
13
+ interface Oauth2Jwt extends ElevenLabs.UpdateOAuth2JwtRequest {
14
+ authType: "oauth2_jwt";
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });