@deepgram/sdk 4.11.2 → 5.0.0-alpha.1

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 (2408) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +863 -342
  3. package/dist/cjs/BaseClient.d.ts +40 -0
  4. package/dist/cjs/BaseClient.js +59 -0
  5. package/dist/cjs/Client.d.ts +33 -0
  6. package/dist/cjs/Client.js +46 -0
  7. package/dist/cjs/CustomClient.d.ts +29 -0
  8. package/dist/cjs/CustomClient.js +517 -0
  9. package/dist/cjs/api/errors/BadRequestError.d.ts +5 -0
  10. package/dist/cjs/api/errors/BadRequestError.js +54 -0
  11. package/dist/cjs/api/errors/index.d.ts +1 -0
  12. package/dist/cjs/api/errors/index.js +17 -0
  13. package/dist/cjs/api/index.d.ts +3 -0
  14. package/dist/cjs/api/index.js +19 -0
  15. package/dist/cjs/api/resources/agent/client/Client.d.ts +13 -0
  16. package/dist/cjs/api/resources/agent/client/Client.js +16 -0
  17. package/dist/cjs/api/resources/agent/client/index.d.ts +1 -0
  18. package/dist/cjs/api/resources/agent/client/index.js +2 -0
  19. package/dist/cjs/api/resources/agent/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/agent/index.js +18 -0
  21. package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/agent/resources/index.js +41 -0
  23. package/dist/cjs/api/resources/agent/resources/v1/client/Client.d.ts +24 -0
  24. package/dist/cjs/api/resources/agent/resources/v1/client/Client.js +77 -0
  25. package/dist/cjs/api/resources/agent/resources/v1/client/Socket.d.ts +56 -0
  26. package/dist/cjs/api/resources/agent/resources/v1/client/Socket.js +178 -0
  27. package/dist/cjs/api/resources/agent/resources/v1/client/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/agent/resources/v1/client/index.js +2 -0
  29. package/dist/cjs/api/resources/agent/resources/v1/index.d.ts +3 -0
  30. package/dist/cjs/api/resources/agent/resources/v1/index.js +19 -0
  31. package/dist/cjs/api/resources/agent/resources/v1/resources/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/agent/resources/v1/resources/index.js +37 -0
  33. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/Client.d.ts +13 -0
  34. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/Client.js +16 -0
  35. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/index.js +2 -0
  37. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/index.js +18 -0
  39. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/index.js +37 -0
  41. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.d.ts +13 -0
  42. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.js +16 -0
  43. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.js +2 -0
  45. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/index.d.ts +2 -0
  46. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/index.js +18 -0
  47. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.d.ts +1 -0
  48. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.js +37 -0
  49. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.d.ts +26 -0
  50. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.js +105 -0
  51. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.js +2 -0
  53. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.js +17 -0
  55. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.d.ts +4 -0
  56. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.js +3 -0
  57. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.d.ts +10 -0
  58. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.js +3 -0
  59. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentThinking.d.ts +6 -0
  60. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentThinking.js +3 -0
  61. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.ts +16 -0
  62. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ConversationText.js +12 -0
  63. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Error.d.ts +8 -0
  64. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Error.js +3 -0
  65. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.d.ts +21 -0
  66. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.js +3 -0
  67. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.d.ts +6 -0
  68. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.js +3 -0
  69. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.d.ts +6 -0
  70. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.js +3 -0
  71. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.d.ts +6 -0
  72. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.js +3 -0
  73. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1KeepAlive.d.ts +7 -0
  74. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1KeepAlive.js +3 -0
  75. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.d.ts +4 -0
  76. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.js +3 -0
  77. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.d.ts +28 -0
  78. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.js +3 -0
  79. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.d.ts +28 -0
  80. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.js +3 -0
  81. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Settings.d.ts +228 -0
  82. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Settings.js +36 -0
  83. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.d.ts +186 -0
  84. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.js +137 -0
  85. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.d.ts +186 -0
  86. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.js +137 -0
  87. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.d.ts +4 -0
  88. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.js +3 -0
  89. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.d.ts +4 -0
  90. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.js +3 -0
  91. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.d.ts +6 -0
  92. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.js +3 -0
  93. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.ts +34 -0
  94. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.js +3 -0
  95. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.d.ts +186 -0
  96. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.js +137 -0
  97. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.d.ts +4 -0
  98. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.js +3 -0
  99. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Warning.d.ts +11 -0
  100. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Warning.js +3 -0
  101. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Welcome.d.ts +6 -0
  102. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Welcome.js +3 -0
  103. package/dist/cjs/api/resources/agent/resources/v1/types/index.d.ts +24 -0
  104. package/dist/cjs/api/resources/agent/resources/v1/types/index.js +40 -0
  105. package/dist/cjs/api/resources/auth/client/Client.d.ts +13 -0
  106. package/dist/cjs/api/resources/auth/client/Client.js +16 -0
  107. package/dist/cjs/api/resources/auth/client/index.d.ts +1 -0
  108. package/dist/cjs/api/resources/auth/client/index.js +2 -0
  109. package/dist/cjs/api/resources/auth/index.d.ts +2 -0
  110. package/dist/cjs/api/resources/auth/index.js +18 -0
  111. package/dist/cjs/api/resources/auth/resources/index.d.ts +1 -0
  112. package/dist/cjs/api/resources/auth/resources/index.js +37 -0
  113. package/dist/cjs/api/resources/auth/resources/v1/client/Client.d.ts +13 -0
  114. package/dist/cjs/api/resources/auth/resources/v1/client/Client.js +16 -0
  115. package/dist/cjs/api/resources/auth/resources/v1/client/index.d.ts +1 -0
  116. package/dist/cjs/api/resources/auth/resources/v1/client/index.js +2 -0
  117. package/dist/cjs/api/resources/auth/resources/v1/index.d.ts +2 -0
  118. package/dist/cjs/api/resources/auth/resources/v1/index.js +18 -0
  119. package/dist/cjs/api/resources/auth/resources/v1/resources/index.d.ts +2 -0
  120. package/dist/cjs/api/resources/auth/resources/v1/resources/index.js +41 -0
  121. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/Client.d.ts +27 -0
  122. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/Client.js +110 -0
  123. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/index.d.ts +1 -0
  124. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/index.js +17 -0
  125. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.d.ts +8 -0
  126. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.js +3 -0
  127. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/index.d.ts +1 -0
  128. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/index.js +2 -0
  129. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/index.d.ts +1 -0
  130. package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/index.js +17 -0
  131. package/dist/cjs/api/resources/index.d.ts +7 -0
  132. package/dist/cjs/api/resources/index.js +43 -0
  133. package/dist/cjs/api/resources/listen/client/Client.d.ts +16 -0
  134. package/dist/cjs/api/resources/listen/client/Client.js +21 -0
  135. package/dist/cjs/api/resources/listen/client/index.d.ts +1 -0
  136. package/dist/cjs/api/resources/listen/client/index.js +2 -0
  137. package/dist/cjs/api/resources/listen/index.d.ts +2 -0
  138. package/dist/cjs/api/resources/listen/index.js +18 -0
  139. package/dist/cjs/api/resources/listen/resources/index.d.ts +4 -0
  140. package/dist/cjs/api/resources/listen/resources/index.js +43 -0
  141. package/dist/cjs/api/resources/listen/resources/v1/client/Client.d.ts +51 -0
  142. package/dist/cjs/api/resources/listen/resources/v1/client/Client.js +157 -0
  143. package/dist/cjs/api/resources/listen/resources/v1/client/Socket.d.ts +52 -0
  144. package/dist/cjs/api/resources/listen/resources/v1/client/Socket.js +162 -0
  145. package/dist/cjs/api/resources/listen/resources/v1/client/index.d.ts +1 -0
  146. package/dist/cjs/api/resources/listen/resources/v1/client/index.js +2 -0
  147. package/dist/cjs/api/resources/listen/resources/v1/index.d.ts +3 -0
  148. package/dist/cjs/api/resources/listen/resources/v1/index.js +19 -0
  149. package/dist/cjs/api/resources/listen/resources/v1/resources/index.d.ts +3 -0
  150. package/dist/cjs/api/resources/listen/resources/v1/resources/index.js +42 -0
  151. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/Client.d.ts +79 -0
  152. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/Client.js +518 -0
  153. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/index.d.ts +1 -0
  154. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/index.js +17 -0
  155. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.ts +117 -0
  156. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.js +3 -0
  157. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.ts +82 -0
  158. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.js +3 -0
  159. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/index.d.ts +2 -0
  160. package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/index.js +2 -0
  161. package/dist/cjs/api/resources/listen/resources/v1/resources/media/index.d.ts +2 -0
  162. package/dist/cjs/api/resources/listen/resources/v1/resources/media/index.js +18 -0
  163. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.ts +5 -0
  164. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.js +8 -0
  165. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.ts +5 -0
  166. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.js +8 -0
  167. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.ts +5 -0
  168. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.js +8 -0
  169. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.ts +11 -0
  170. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.js +14 -0
  171. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.ts +32 -0
  172. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.js +35 -0
  173. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.ts +4 -0
  174. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.js +7 -0
  175. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.ts +4 -0
  176. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.js +7 -0
  177. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.d.ts +2 -0
  178. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.js +3 -0
  179. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/index.d.ts +8 -0
  180. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/index.js +24 -0
  181. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.ts +13 -0
  182. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1CloseStream.js +13 -0
  183. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Finalize.d.ts +13 -0
  184. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Finalize.js +13 -0
  185. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.ts +13 -0
  186. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1KeepAlive.js +13 -0
  187. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Metadata.d.ts +16 -0
  188. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Metadata.js +3 -0
  189. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Results.d.ts +74 -0
  190. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Results.js +3 -0
  191. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.d.ts +8 -0
  192. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.js +3 -0
  193. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.d.ts +8 -0
  194. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.js +3 -0
  195. package/dist/cjs/api/resources/listen/resources/v1/types/index.d.ts +7 -0
  196. package/dist/cjs/api/resources/listen/resources/v1/types/index.js +23 -0
  197. package/dist/cjs/api/resources/listen/resources/v2/client/Client.d.ts +30 -0
  198. package/dist/cjs/api/resources/listen/resources/v2/client/Client.js +98 -0
  199. package/dist/cjs/api/resources/listen/resources/v2/client/Socket.d.ts +50 -0
  200. package/dist/cjs/api/resources/listen/resources/v2/client/Socket.js +154 -0
  201. package/dist/cjs/api/resources/listen/resources/v2/client/index.d.ts +1 -0
  202. package/dist/cjs/api/resources/listen/resources/v2/client/index.js +2 -0
  203. package/dist/cjs/api/resources/listen/resources/v2/index.d.ts +2 -0
  204. package/dist/cjs/api/resources/listen/resources/v2/index.js +18 -0
  205. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.ts +13 -0
  206. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.js +13 -0
  207. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2Connected.d.ts +12 -0
  208. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2Connected.js +3 -0
  209. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2FatalError.d.ts +14 -0
  210. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2FatalError.js +3 -0
  211. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.ts +60 -0
  212. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.js +23 -0
  213. package/dist/cjs/api/resources/listen/resources/v2/types/index.d.ts +4 -0
  214. package/dist/cjs/api/resources/listen/resources/v2/types/index.js +20 -0
  215. package/dist/cjs/api/resources/manage/client/Client.d.ts +13 -0
  216. package/dist/cjs/api/resources/manage/client/Client.js +16 -0
  217. package/dist/cjs/api/resources/manage/client/index.d.ts +1 -0
  218. package/dist/cjs/api/resources/manage/client/index.js +2 -0
  219. package/dist/cjs/api/resources/manage/index.d.ts +2 -0
  220. package/dist/cjs/api/resources/manage/index.js +18 -0
  221. package/dist/cjs/api/resources/manage/resources/index.d.ts +1 -0
  222. package/dist/cjs/api/resources/manage/resources/index.js +37 -0
  223. package/dist/cjs/api/resources/manage/resources/v1/client/Client.d.ts +16 -0
  224. package/dist/cjs/api/resources/manage/resources/v1/client/Client.js +21 -0
  225. package/dist/cjs/api/resources/manage/resources/v1/client/index.d.ts +1 -0
  226. package/dist/cjs/api/resources/manage/resources/v1/client/index.js +2 -0
  227. package/dist/cjs/api/resources/manage/resources/v1/index.d.ts +2 -0
  228. package/dist/cjs/api/resources/manage/resources/v1/index.js +18 -0
  229. package/dist/cjs/api/resources/manage/resources/v1/resources/index.d.ts +4 -0
  230. package/dist/cjs/api/resources/manage/resources/v1/resources/index.js +43 -0
  231. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/Client.d.ts +42 -0
  232. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/Client.js +162 -0
  233. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/index.d.ts +1 -0
  234. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/index.js +17 -0
  235. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
  236. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.js +3 -0
  237. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/index.d.ts +1 -0
  238. package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/index.js +2 -0
  239. package/dist/cjs/api/resources/manage/resources/v1/resources/models/index.d.ts +1 -0
  240. package/dist/cjs/api/resources/manage/resources/v1/resources/models/index.js +17 -0
  241. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/Client.d.ts +101 -0
  242. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/Client.js +344 -0
  243. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/index.d.ts +1 -0
  244. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/index.js +17 -0
  245. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
  246. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.js +3 -0
  247. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.d.ts +8 -0
  248. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.js +3 -0
  249. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/index.d.ts +2 -0
  250. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/index.js +2 -0
  251. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/index.d.ts +2 -0
  252. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/index.js +18 -0
  253. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.d.ts +22 -0
  254. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.js +31 -0
  255. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.d.ts +1 -0
  256. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.js +2 -0
  257. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/index.d.ts +2 -0
  258. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/index.js +18 -0
  259. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.d.ts +41 -0
  260. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.js +159 -0
  261. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.d.ts +1 -0
  262. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.js +2 -0
  263. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.d.ts +1 -0
  264. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.js +17 -0
  265. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.d.ts +35 -0
  266. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.js +143 -0
  267. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.d.ts +1 -0
  268. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.js +17 -0
  269. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.d.ts +28 -0
  270. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.js +3 -0
  271. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.d.ts +1 -0
  272. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.js +2 -0
  273. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.d.ts +2 -0
  274. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.js +18 -0
  275. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.ts +7 -0
  276. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.js +10 -0
  277. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.ts +7 -0
  278. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.js +10 -0
  279. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.d.ts +2 -0
  280. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.js +18 -0
  281. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.d.ts +31 -0
  282. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.js +119 -0
  283. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.d.ts +1 -0
  284. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.js +17 -0
  285. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.d.ts +13 -0
  286. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.js +3 -0
  287. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.d.ts +1 -0
  288. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.js +2 -0
  289. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.d.ts +1 -0
  290. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.js +17 -0
  291. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.d.ts +8 -0
  292. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.js +47 -0
  293. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.d.ts +30 -0
  294. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.js +118 -0
  295. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.d.ts +1 -0
  296. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.js +17 -0
  297. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.d.ts +10 -0
  298. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.js +3 -0
  299. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.d.ts +1 -0
  300. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.js +2 -0
  301. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.d.ts +1 -0
  302. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.js +17 -0
  303. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/index.d.ts +13 -0
  304. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/index.js +52 -0
  305. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.d.ts +74 -0
  306. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.js +267 -0
  307. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.d.ts +1 -0
  308. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.js +17 -0
  309. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.d.ts +11 -0
  310. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.js +3 -0
  311. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.d.ts +1 -0
  312. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.js +2 -0
  313. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/index.d.ts +2 -0
  314. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/index.js +18 -0
  315. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.ts +5 -0
  316. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.js +8 -0
  317. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.d.ts +1 -0
  318. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.js +17 -0
  319. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.d.ts +47 -0
  320. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.js +172 -0
  321. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.d.ts +1 -0
  322. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.js +2 -0
  323. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/index.d.ts +2 -0
  324. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/index.js +18 -0
  325. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.d.ts +4 -0
  326. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.js +43 -0
  327. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.d.ts +58 -0
  328. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.js +220 -0
  329. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.d.ts +1 -0
  330. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.js +17 -0
  331. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.d.ts +13 -0
  332. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.js +3 -0
  333. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.d.ts +1 -0
  334. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.js +2 -0
  335. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.d.ts +1 -0
  336. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.js +17 -0
  337. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.d.ts +45 -0
  338. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.js +169 -0
  339. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.d.ts +1 -0
  340. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.js +17 -0
  341. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.d.ts +10 -0
  342. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.js +3 -0
  343. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.d.ts +1 -0
  344. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.js +2 -0
  345. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.d.ts +1 -0
  346. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.js +17 -0
  347. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.d.ts +44 -0
  348. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.js +164 -0
  349. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.d.ts +1 -0
  350. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.js +17 -0
  351. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
  352. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.js +3 -0
  353. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.d.ts +1 -0
  354. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.js +2 -0
  355. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/index.d.ts +1 -0
  356. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/index.js +17 -0
  357. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.d.ts +53 -0
  358. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.js +203 -0
  359. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.d.ts +1 -0
  360. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.js +17 -0
  361. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.d.ts +38 -0
  362. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.js +3 -0
  363. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.d.ts +1 -0
  364. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.js +2 -0
  365. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/index.d.ts +2 -0
  366. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/index.js +18 -0
  367. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.ts +7 -0
  368. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.js +10 -0
  369. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.ts +7 -0
  370. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.js +10 -0
  371. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.ts +7 -0
  372. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.js +10 -0
  373. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.ts +5 -0
  374. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.js +8 -0
  375. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.d.ts +4 -0
  376. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.js +20 -0
  377. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.d.ts +79 -0
  378. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.js +297 -0
  379. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.d.ts +1 -0
  380. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.js +17 -0
  381. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.d.ts +140 -0
  382. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.js +3 -0
  383. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.d.ts +1 -0
  384. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.js +2 -0
  385. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/index.d.ts +3 -0
  386. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/index.js +19 -0
  387. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.d.ts +74 -0
  388. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.js +291 -0
  389. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.d.ts +1 -0
  390. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.js +17 -0
  391. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.d.ts +143 -0
  392. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.js +3 -0
  393. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.d.ts +1 -0
  394. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.js +2 -0
  395. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.d.ts +2 -0
  396. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.js +18 -0
  397. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.ts +7 -0
  398. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.js +10 -0
  399. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.ts +7 -0
  400. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.js +10 -0
  401. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.ts +10 -0
  402. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.js +13 -0
  403. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.ts +7 -0
  404. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.js +10 -0
  405. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.d.ts +4 -0
  406. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.js +20 -0
  407. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.d.ts +31 -0
  408. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.js +119 -0
  409. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.d.ts +1 -0
  410. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.js +17 -0
  411. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.d.ts +13 -0
  412. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.js +3 -0
  413. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.d.ts +1 -0
  414. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.js +2 -0
  415. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.d.ts +1 -0
  416. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.js +17 -0
  417. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.d.ts +5 -0
  418. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.js +44 -0
  419. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.ts +7 -0
  420. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.js +10 -0
  421. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.ts +7 -0
  422. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.js +10 -0
  423. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.ts +7 -0
  424. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.js +10 -0
  425. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.d.ts +3 -0
  426. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.js +19 -0
  427. package/dist/cjs/api/resources/read/client/Client.d.ts +13 -0
  428. package/dist/cjs/api/resources/read/client/Client.js +16 -0
  429. package/dist/cjs/api/resources/read/client/index.d.ts +1 -0
  430. package/dist/cjs/api/resources/read/client/index.js +2 -0
  431. package/dist/cjs/api/resources/read/index.d.ts +2 -0
  432. package/dist/cjs/api/resources/read/index.js +18 -0
  433. package/dist/cjs/api/resources/read/resources/index.d.ts +1 -0
  434. package/dist/cjs/api/resources/read/resources/index.js +37 -0
  435. package/dist/cjs/api/resources/read/resources/v1/client/Client.d.ts +13 -0
  436. package/dist/cjs/api/resources/read/resources/v1/client/Client.js +16 -0
  437. package/dist/cjs/api/resources/read/resources/v1/client/index.d.ts +1 -0
  438. package/dist/cjs/api/resources/read/resources/v1/client/index.js +2 -0
  439. package/dist/cjs/api/resources/read/resources/v1/index.d.ts +2 -0
  440. package/dist/cjs/api/resources/read/resources/v1/index.js +18 -0
  441. package/dist/cjs/api/resources/read/resources/v1/resources/index.d.ts +3 -0
  442. package/dist/cjs/api/resources/read/resources/v1/resources/index.js +42 -0
  443. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/Client.d.ts +43 -0
  444. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/Client.js +179 -0
  445. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/index.d.ts +1 -0
  446. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/index.js +17 -0
  447. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.d.ts +48 -0
  448. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.js +3 -0
  449. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/index.d.ts +1 -0
  450. package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/index.js +2 -0
  451. package/dist/cjs/api/resources/read/resources/v1/resources/text/index.d.ts +2 -0
  452. package/dist/cjs/api/resources/read/resources/v1/resources/text/index.js +18 -0
  453. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.ts +5 -0
  454. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.js +8 -0
  455. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.ts +5 -0
  456. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.js +8 -0
  457. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.ts +5 -0
  458. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.js +8 -0
  459. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.ts +4 -0
  460. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.js +7 -0
  461. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/index.d.ts +4 -0
  462. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/index.js +20 -0
  463. package/dist/cjs/api/resources/selfHosted/client/Client.d.ts +13 -0
  464. package/dist/cjs/api/resources/selfHosted/client/Client.js +16 -0
  465. package/dist/cjs/api/resources/selfHosted/client/index.d.ts +1 -0
  466. package/dist/cjs/api/resources/selfHosted/client/index.js +2 -0
  467. package/dist/cjs/api/resources/selfHosted/index.d.ts +2 -0
  468. package/dist/cjs/api/resources/selfHosted/index.js +18 -0
  469. package/dist/cjs/api/resources/selfHosted/resources/index.d.ts +1 -0
  470. package/dist/cjs/api/resources/selfHosted/resources/index.js +37 -0
  471. package/dist/cjs/api/resources/selfHosted/resources/v1/client/Client.d.ts +13 -0
  472. package/dist/cjs/api/resources/selfHosted/resources/v1/client/Client.js +16 -0
  473. package/dist/cjs/api/resources/selfHosted/resources/v1/client/index.d.ts +1 -0
  474. package/dist/cjs/api/resources/selfHosted/resources/v1/client/index.js +2 -0
  475. package/dist/cjs/api/resources/selfHosted/resources/v1/index.d.ts +2 -0
  476. package/dist/cjs/api/resources/selfHosted/resources/v1/index.js +18 -0
  477. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.d.ts +71 -0
  478. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.js +295 -0
  479. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.d.ts +1 -0
  480. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.js +17 -0
  481. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.d.ts +15 -0
  482. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.js +3 -0
  483. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.d.ts +1 -0
  484. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.js +2 -0
  485. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.d.ts +2 -0
  486. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.js +18 -0
  487. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.ts +11 -0
  488. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.js +14 -0
  489. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.d.ts +1 -0
  490. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.js +17 -0
  491. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/index.d.ts +3 -0
  492. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/index.js +42 -0
  493. package/dist/cjs/api/resources/speak/client/Client.d.ts +13 -0
  494. package/dist/cjs/api/resources/speak/client/Client.js +16 -0
  495. package/dist/cjs/api/resources/speak/client/index.d.ts +1 -0
  496. package/dist/cjs/api/resources/speak/client/index.js +2 -0
  497. package/dist/cjs/api/resources/speak/index.d.ts +2 -0
  498. package/dist/cjs/api/resources/speak/index.js +18 -0
  499. package/dist/cjs/api/resources/speak/resources/index.d.ts +2 -0
  500. package/dist/cjs/api/resources/speak/resources/index.js +41 -0
  501. package/dist/cjs/api/resources/speak/resources/v1/client/Client.d.ts +28 -0
  502. package/dist/cjs/api/resources/speak/resources/v1/client/Client.js +90 -0
  503. package/dist/cjs/api/resources/speak/resources/v1/client/Socket.d.ts +52 -0
  504. package/dist/cjs/api/resources/speak/resources/v1/client/Socket.js +162 -0
  505. package/dist/cjs/api/resources/speak/resources/v1/client/index.d.ts +1 -0
  506. package/dist/cjs/api/resources/speak/resources/v1/client/index.js +2 -0
  507. package/dist/cjs/api/resources/speak/resources/v1/index.d.ts +3 -0
  508. package/dist/cjs/api/resources/speak/resources/v1/index.js +19 -0
  509. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/Client.d.ts +20 -0
  510. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/Client.js +149 -0
  511. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/index.d.ts +1 -0
  512. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/index.js +17 -0
  513. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.d.ts +29 -0
  514. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.js +3 -0
  515. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/index.d.ts +1 -0
  516. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/index.js +2 -0
  517. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/index.d.ts +2 -0
  518. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/index.js +18 -0
  519. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.ts +5 -0
  520. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.js +8 -0
  521. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.ts +6 -0
  522. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.js +9 -0
  523. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.ts +10 -0
  524. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.js +13 -0
  525. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.ts +66 -0
  526. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.js +69 -0
  527. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/index.d.ts +4 -0
  528. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/index.js +20 -0
  529. package/dist/cjs/api/resources/speak/resources/v1/resources/index.d.ts +3 -0
  530. package/dist/cjs/api/resources/speak/resources/v1/resources/index.js +42 -0
  531. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Clear.d.ts +13 -0
  532. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Clear.js +13 -0
  533. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.ts +14 -0
  534. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Cleared.js +12 -0
  535. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Close.d.ts +13 -0
  536. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Close.js +13 -0
  537. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flush.d.ts +13 -0
  538. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flush.js +13 -0
  539. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.ts +14 -0
  540. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flushed.js +12 -0
  541. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Metadata.d.ts +12 -0
  542. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Metadata.js +3 -0
  543. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Text.d.ts +6 -0
  544. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Text.js +3 -0
  545. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Warning.d.ts +8 -0
  546. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Warning.js +3 -0
  547. package/dist/cjs/api/resources/speak/resources/v1/types/index.d.ts +8 -0
  548. package/dist/cjs/api/resources/speak/resources/v1/types/index.js +24 -0
  549. package/dist/cjs/api/types/AgentThinkModelsV1Response.d.ts +44 -0
  550. package/dist/cjs/api/types/AgentThinkModelsV1Response.js +3 -0
  551. package/dist/cjs/api/types/BillingBreakdownV1Response.d.ts +40 -0
  552. package/dist/cjs/api/types/BillingBreakdownV1Response.js +3 -0
  553. package/dist/cjs/api/types/CreateKeyV1RequestOne.d.ts +1 -0
  554. package/dist/cjs/api/types/CreateKeyV1RequestOne.js +3 -0
  555. package/dist/cjs/api/types/CreateKeyV1Response.d.ts +17 -0
  556. package/dist/cjs/api/types/CreateKeyV1Response.js +3 -0
  557. package/dist/cjs/api/types/CreateProjectDistributionCredentialsV1Response.d.ts +24 -0
  558. package/dist/cjs/api/types/CreateProjectDistributionCredentialsV1Response.js +3 -0
  559. package/dist/cjs/api/types/CreateProjectInviteV1Response.d.ts +4 -0
  560. package/dist/cjs/api/types/CreateProjectInviteV1Response.js +3 -0
  561. package/dist/cjs/api/types/DeleteProjectInviteV1Response.d.ts +4 -0
  562. package/dist/cjs/api/types/DeleteProjectInviteV1Response.js +3 -0
  563. package/dist/cjs/api/types/DeleteProjectKeyV1Response.d.ts +3 -0
  564. package/dist/cjs/api/types/DeleteProjectKeyV1Response.js +3 -0
  565. package/dist/cjs/api/types/DeleteProjectMemberV1Response.d.ts +4 -0
  566. package/dist/cjs/api/types/DeleteProjectMemberV1Response.js +3 -0
  567. package/dist/cjs/api/types/DeleteProjectV1Response.d.ts +4 -0
  568. package/dist/cjs/api/types/DeleteProjectV1Response.js +3 -0
  569. package/dist/cjs/api/types/ErrorResponse.d.ts +2 -0
  570. package/dist/cjs/api/types/ErrorResponse.js +3 -0
  571. package/dist/cjs/api/types/ErrorResponseLegacyError.d.ts +8 -0
  572. package/dist/cjs/api/types/ErrorResponseLegacyError.js +3 -0
  573. package/dist/cjs/api/types/ErrorResponseModernError.d.ts +10 -0
  574. package/dist/cjs/api/types/ErrorResponseModernError.js +3 -0
  575. package/dist/cjs/api/types/ErrorResponseTextError.d.ts +1 -0
  576. package/dist/cjs/api/types/ErrorResponseTextError.js +3 -0
  577. package/dist/cjs/api/types/GetModelV1Response.d.ts +27 -0
  578. package/dist/cjs/api/types/GetModelV1Response.js +3 -0
  579. package/dist/cjs/api/types/GetProjectBalanceV1Response.d.ts +10 -0
  580. package/dist/cjs/api/types/GetProjectBalanceV1Response.js +3 -0
  581. package/dist/cjs/api/types/GetProjectDistributionCredentialsV1Response.d.ts +24 -0
  582. package/dist/cjs/api/types/GetProjectDistributionCredentialsV1Response.js +3 -0
  583. package/dist/cjs/api/types/GetProjectKeyV1Response.d.ts +27 -0
  584. package/dist/cjs/api/types/GetProjectKeyV1Response.js +3 -0
  585. package/dist/cjs/api/types/GetProjectRequestV1Response.d.ts +4 -0
  586. package/dist/cjs/api/types/GetProjectRequestV1Response.js +3 -0
  587. package/dist/cjs/api/types/GetProjectV1Response.d.ts +8 -0
  588. package/dist/cjs/api/types/GetProjectV1Response.js +3 -0
  589. package/dist/cjs/api/types/GrantV1Response.d.ts +6 -0
  590. package/dist/cjs/api/types/GrantV1Response.js +3 -0
  591. package/dist/cjs/api/types/LeaveProjectV1Response.d.ts +4 -0
  592. package/dist/cjs/api/types/LeaveProjectV1Response.js +3 -0
  593. package/dist/cjs/api/types/ListBillingFieldsV1Response.d.ts +22 -0
  594. package/dist/cjs/api/types/ListBillingFieldsV1Response.js +16 -0
  595. package/dist/cjs/api/types/ListModelsV1Response.d.ts +5 -0
  596. package/dist/cjs/api/types/ListModelsV1Response.js +3 -0
  597. package/dist/cjs/api/types/ListModelsV1ResponseSttModels.d.ts +11 -0
  598. package/dist/cjs/api/types/ListModelsV1ResponseSttModels.js +3 -0
  599. package/dist/cjs/api/types/ListModelsV1ResponseTtsModels.d.ts +20 -0
  600. package/dist/cjs/api/types/ListModelsV1ResponseTtsModels.js +3 -0
  601. package/dist/cjs/api/types/ListProjectBalancesV1Response.d.ts +18 -0
  602. package/dist/cjs/api/types/ListProjectBalancesV1Response.js +3 -0
  603. package/dist/cjs/api/types/ListProjectDistributionCredentialsV1Response.d.ts +33 -0
  604. package/dist/cjs/api/types/ListProjectDistributionCredentialsV1Response.js +3 -0
  605. package/dist/cjs/api/types/ListProjectInvitesV1Response.d.ts +14 -0
  606. package/dist/cjs/api/types/ListProjectInvitesV1Response.js +3 -0
  607. package/dist/cjs/api/types/ListProjectKeysV1Response.d.ts +24 -0
  608. package/dist/cjs/api/types/ListProjectKeysV1Response.js +3 -0
  609. package/dist/cjs/api/types/ListProjectMemberScopesV1Response.d.ts +4 -0
  610. package/dist/cjs/api/types/ListProjectMemberScopesV1Response.js +3 -0
  611. package/dist/cjs/api/types/ListProjectMembersV1Response.d.ts +13 -0
  612. package/dist/cjs/api/types/ListProjectMembersV1Response.js +3 -0
  613. package/dist/cjs/api/types/ListProjectPurchasesV1Response.d.ts +16 -0
  614. package/dist/cjs/api/types/ListProjectPurchasesV1Response.js +3 -0
  615. package/dist/cjs/api/types/ListProjectRequestsV1Response.d.ts +8 -0
  616. package/dist/cjs/api/types/ListProjectRequestsV1Response.js +3 -0
  617. package/dist/cjs/api/types/ListProjectsV1Response.d.ts +14 -0
  618. package/dist/cjs/api/types/ListProjectsV1Response.js +3 -0
  619. package/dist/cjs/api/types/ListenV1AcceptedResponse.d.ts +7 -0
  620. package/dist/cjs/api/types/ListenV1AcceptedResponse.js +3 -0
  621. package/dist/cjs/api/types/ListenV1Callback.d.ts +1 -0
  622. package/dist/cjs/api/types/ListenV1Callback.js +3 -0
  623. package/dist/cjs/api/types/ListenV1CallbackMethod.d.ts +8 -0
  624. package/dist/cjs/api/types/ListenV1CallbackMethod.js +11 -0
  625. package/dist/cjs/api/types/ListenV1Channels.d.ts +1 -0
  626. package/dist/cjs/api/types/ListenV1Channels.js +3 -0
  627. package/dist/cjs/api/types/ListenV1Diarize.d.ts +6 -0
  628. package/dist/cjs/api/types/ListenV1Diarize.js +9 -0
  629. package/dist/cjs/api/types/ListenV1Dictation.d.ts +6 -0
  630. package/dist/cjs/api/types/ListenV1Dictation.js +9 -0
  631. package/dist/cjs/api/types/ListenV1Encoding.d.ts +15 -0
  632. package/dist/cjs/api/types/ListenV1Encoding.js +18 -0
  633. package/dist/cjs/api/types/ListenV1Endpointing.d.ts +1 -0
  634. package/dist/cjs/api/types/ListenV1Endpointing.js +3 -0
  635. package/dist/cjs/api/types/ListenV1Extra.d.ts +1 -0
  636. package/dist/cjs/api/types/ListenV1Extra.js +3 -0
  637. package/dist/cjs/api/types/ListenV1InterimResults.d.ts +6 -0
  638. package/dist/cjs/api/types/ListenV1InterimResults.js +9 -0
  639. package/dist/cjs/api/types/ListenV1Keyterm.d.ts +1 -0
  640. package/dist/cjs/api/types/ListenV1Keyterm.js +3 -0
  641. package/dist/cjs/api/types/ListenV1Keywords.d.ts +1 -0
  642. package/dist/cjs/api/types/ListenV1Keywords.js +3 -0
  643. package/dist/cjs/api/types/ListenV1Language.d.ts +1 -0
  644. package/dist/cjs/api/types/ListenV1Language.js +3 -0
  645. package/dist/cjs/api/types/ListenV1MipOptOut.d.ts +1 -0
  646. package/dist/cjs/api/types/ListenV1MipOptOut.js +3 -0
  647. package/dist/cjs/api/types/ListenV1Model.d.ts +34 -0
  648. package/dist/cjs/api/types/ListenV1Model.js +37 -0
  649. package/dist/cjs/api/types/ListenV1Multichannel.d.ts +6 -0
  650. package/dist/cjs/api/types/ListenV1Multichannel.js +9 -0
  651. package/dist/cjs/api/types/ListenV1Numerals.d.ts +6 -0
  652. package/dist/cjs/api/types/ListenV1Numerals.js +9 -0
  653. package/dist/cjs/api/types/ListenV1ProfanityFilter.d.ts +6 -0
  654. package/dist/cjs/api/types/ListenV1ProfanityFilter.js +9 -0
  655. package/dist/cjs/api/types/ListenV1Punctuate.d.ts +6 -0
  656. package/dist/cjs/api/types/ListenV1Punctuate.js +9 -0
  657. package/dist/cjs/api/types/ListenV1Redact.d.ts +10 -0
  658. package/dist/cjs/api/types/ListenV1Redact.js +13 -0
  659. package/dist/cjs/api/types/ListenV1Replace.d.ts +1 -0
  660. package/dist/cjs/api/types/ListenV1Replace.js +3 -0
  661. package/dist/cjs/api/types/ListenV1RequestFile.d.ts +4 -0
  662. package/dist/cjs/api/types/ListenV1RequestFile.js +3 -0
  663. package/dist/cjs/api/types/ListenV1Response.d.ts +8 -0
  664. package/dist/cjs/api/types/ListenV1Response.js +3 -0
  665. package/dist/cjs/api/types/ListenV1ResponseMetadata.d.ts +37 -0
  666. package/dist/cjs/api/types/ListenV1ResponseMetadata.js +3 -0
  667. package/dist/cjs/api/types/ListenV1ResponseResults.d.ts +9 -0
  668. package/dist/cjs/api/types/ListenV1ResponseResults.js +3 -0
  669. package/dist/cjs/api/types/ListenV1ResponseResultsChannels.d.ts +2 -0
  670. package/dist/cjs/api/types/ListenV1ResponseResultsChannels.js +3 -0
  671. package/dist/cjs/api/types/ListenV1ResponseResultsChannelsItem.d.ts +90 -0
  672. package/dist/cjs/api/types/ListenV1ResponseResultsChannelsItem.js +3 -0
  673. package/dist/cjs/api/types/ListenV1ResponseResultsSummary.d.ts +4 -0
  674. package/dist/cjs/api/types/ListenV1ResponseResultsSummary.js +3 -0
  675. package/dist/cjs/api/types/ListenV1ResponseResultsUtterances.d.ts +2 -0
  676. package/dist/cjs/api/types/ListenV1ResponseResultsUtterances.js +3 -0
  677. package/dist/cjs/api/types/ListenV1ResponseResultsUtterancesItem.d.ts +24 -0
  678. package/dist/cjs/api/types/ListenV1ResponseResultsUtterancesItem.js +3 -0
  679. package/dist/cjs/api/types/ListenV1SampleRate.d.ts +1 -0
  680. package/dist/cjs/api/types/ListenV1SampleRate.js +3 -0
  681. package/dist/cjs/api/types/ListenV1Search.d.ts +1 -0
  682. package/dist/cjs/api/types/ListenV1Search.js +3 -0
  683. package/dist/cjs/api/types/ListenV1SmartFormat.d.ts +6 -0
  684. package/dist/cjs/api/types/ListenV1SmartFormat.js +9 -0
  685. package/dist/cjs/api/types/ListenV1Tag.d.ts +1 -0
  686. package/dist/cjs/api/types/ListenV1Tag.js +3 -0
  687. package/dist/cjs/api/types/ListenV1UtteranceEndMs.d.ts +1 -0
  688. package/dist/cjs/api/types/ListenV1UtteranceEndMs.js +3 -0
  689. package/dist/cjs/api/types/ListenV1VadEvents.d.ts +6 -0
  690. package/dist/cjs/api/types/ListenV1VadEvents.js +9 -0
  691. package/dist/cjs/api/types/ListenV1Version.d.ts +1 -0
  692. package/dist/cjs/api/types/ListenV1Version.js +3 -0
  693. package/dist/cjs/api/types/ListenV2EagerEotThreshold.d.ts +1 -0
  694. package/dist/cjs/api/types/ListenV2EagerEotThreshold.js +3 -0
  695. package/dist/cjs/api/types/ListenV2Encoding.d.ts +10 -0
  696. package/dist/cjs/api/types/ListenV2Encoding.js +13 -0
  697. package/dist/cjs/api/types/ListenV2EotThreshold.d.ts +1 -0
  698. package/dist/cjs/api/types/ListenV2EotThreshold.js +3 -0
  699. package/dist/cjs/api/types/ListenV2EotTimeoutMs.d.ts +1 -0
  700. package/dist/cjs/api/types/ListenV2EotTimeoutMs.js +3 -0
  701. package/dist/cjs/api/types/ListenV2Keyterm.d.ts +5 -0
  702. package/dist/cjs/api/types/ListenV2Keyterm.js +3 -0
  703. package/dist/cjs/api/types/ListenV2MipOptOut.d.ts +1 -0
  704. package/dist/cjs/api/types/ListenV2MipOptOut.js +3 -0
  705. package/dist/cjs/api/types/ListenV2Model.d.ts +4 -0
  706. package/dist/cjs/api/types/ListenV2Model.js +3 -0
  707. package/dist/cjs/api/types/ListenV2SampleRate.d.ts +1 -0
  708. package/dist/cjs/api/types/ListenV2SampleRate.js +3 -0
  709. package/dist/cjs/api/types/ListenV2Tag.d.ts +1 -0
  710. package/dist/cjs/api/types/ListenV2Tag.js +3 -0
  711. package/dist/cjs/api/types/ProjectRequestResponse.d.ts +23 -0
  712. package/dist/cjs/api/types/ProjectRequestResponse.js +3 -0
  713. package/dist/cjs/api/types/ReadV1Request.d.ts +2 -0
  714. package/dist/cjs/api/types/ReadV1Request.js +3 -0
  715. package/dist/cjs/api/types/ReadV1RequestText.d.ts +4 -0
  716. package/dist/cjs/api/types/ReadV1RequestText.js +3 -0
  717. package/dist/cjs/api/types/ReadV1RequestUrl.d.ts +4 -0
  718. package/dist/cjs/api/types/ReadV1RequestUrl.js +3 -0
  719. package/dist/cjs/api/types/ReadV1Response.d.ts +8 -0
  720. package/dist/cjs/api/types/ReadV1Response.js +3 -0
  721. package/dist/cjs/api/types/ReadV1ResponseMetadata.d.ts +36 -0
  722. package/dist/cjs/api/types/ReadV1ResponseMetadata.js +3 -0
  723. package/dist/cjs/api/types/ReadV1ResponseResults.d.ts +7 -0
  724. package/dist/cjs/api/types/ReadV1ResponseResults.js +3 -0
  725. package/dist/cjs/api/types/ReadV1ResponseResultsSummary.d.ts +16 -0
  726. package/dist/cjs/api/types/ReadV1ResponseResultsSummary.js +3 -0
  727. package/dist/cjs/api/types/SharedIntents.d.ts +36 -0
  728. package/dist/cjs/api/types/SharedIntents.js +3 -0
  729. package/dist/cjs/api/types/SharedSentiments.d.ts +23 -0
  730. package/dist/cjs/api/types/SharedSentiments.js +3 -0
  731. package/dist/cjs/api/types/SharedTopics.d.ts +36 -0
  732. package/dist/cjs/api/types/SharedTopics.js +3 -0
  733. package/dist/cjs/api/types/SpeakV1Encoding.d.ts +7 -0
  734. package/dist/cjs/api/types/SpeakV1Encoding.js +10 -0
  735. package/dist/cjs/api/types/SpeakV1MipOptOut.d.ts +1 -0
  736. package/dist/cjs/api/types/SpeakV1MipOptOut.js +3 -0
  737. package/dist/cjs/api/types/SpeakV1Model.d.ts +67 -0
  738. package/dist/cjs/api/types/SpeakV1Model.js +70 -0
  739. package/dist/cjs/api/types/SpeakV1Response.d.ts +1 -0
  740. package/dist/cjs/api/types/SpeakV1Response.js +3 -0
  741. package/dist/cjs/api/types/SpeakV1SampleRate.d.ts +9 -0
  742. package/dist/cjs/api/types/SpeakV1SampleRate.js +12 -0
  743. package/dist/cjs/api/types/UpdateProjectMemberScopesV1Response.d.ts +4 -0
  744. package/dist/cjs/api/types/UpdateProjectMemberScopesV1Response.js +3 -0
  745. package/dist/cjs/api/types/UpdateProjectV1Response.d.ts +4 -0
  746. package/dist/cjs/api/types/UpdateProjectV1Response.js +3 -0
  747. package/dist/cjs/api/types/UsageBreakdownV1Response.d.ts +58 -0
  748. package/dist/cjs/api/types/UsageBreakdownV1Response.js +3 -0
  749. package/dist/cjs/api/types/UsageFieldsV1Response.d.ts +25 -0
  750. package/dist/cjs/api/types/UsageFieldsV1Response.js +3 -0
  751. package/dist/cjs/api/types/UsageV1Response.d.ts +11 -0
  752. package/dist/cjs/api/types/UsageV1Response.js +3 -0
  753. package/dist/cjs/api/types/index.d.ts +102 -0
  754. package/dist/cjs/api/types/index.js +118 -0
  755. package/dist/cjs/auth/HeaderAuthProvider.d.ts +14 -0
  756. package/dist/cjs/auth/HeaderAuthProvider.js +73 -0
  757. package/dist/cjs/auth/index.d.ts +1 -0
  758. package/dist/cjs/auth/index.js +5 -0
  759. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  760. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  761. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  762. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  763. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  764. package/dist/cjs/core/auth/BasicAuth.js +27 -0
  765. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  766. package/dist/cjs/core/auth/BearerToken.js +16 -0
  767. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  768. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  769. package/dist/cjs/core/auth/index.d.ts +5 -0
  770. package/dist/cjs/core/auth/index.js +9 -0
  771. package/dist/cjs/core/base64.d.ts +2 -0
  772. package/dist/cjs/core/base64.js +26 -0
  773. package/dist/cjs/core/exports.d.ts +3 -0
  774. package/dist/cjs/core/exports.js +19 -0
  775. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  776. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  777. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
  778. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  779. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  780. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  781. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  782. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  783. package/dist/cjs/core/fetcher/Fetcher.d.ts +49 -0
  784. package/dist/cjs/core/fetcher/Fetcher.js +316 -0
  785. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  786. package/dist/cjs/core/fetcher/Headers.js +84 -0
  787. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  788. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  789. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  790. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  791. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  792. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  793. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  794. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  795. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  796. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  797. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  798. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  799. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  800. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  801. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  802. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  803. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  804. package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
  805. package/dist/cjs/core/fetcher/index.d.ts +11 -0
  806. package/dist/cjs/core/fetcher/index.js +17 -0
  807. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
  808. package/dist/cjs/core/fetcher/makeRequest.js +40 -0
  809. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  810. package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
  811. package/dist/cjs/core/fetcher/signals.d.ts +5 -0
  812. package/dist/cjs/core/fetcher/signals.js +24 -0
  813. package/dist/cjs/core/file/exports.d.ts +1 -0
  814. package/dist/cjs/core/file/exports.js +2 -0
  815. package/dist/cjs/core/file/file.d.ts +10 -0
  816. package/dist/cjs/core/file/file.js +221 -0
  817. package/dist/cjs/core/file/index.d.ts +2 -0
  818. package/dist/cjs/core/file/index.js +18 -0
  819. package/dist/cjs/core/file/types.d.ts +66 -0
  820. package/dist/cjs/core/file/types.js +2 -0
  821. package/dist/cjs/core/headers.d.ts +2 -0
  822. package/dist/cjs/core/headers.js +31 -0
  823. package/dist/cjs/core/index.d.ts +8 -0
  824. package/dist/cjs/core/index.js +47 -0
  825. package/dist/cjs/core/json.d.ts +15 -0
  826. package/dist/cjs/core/json.js +24 -0
  827. package/dist/cjs/core/logging/exports.d.ts +18 -0
  828. package/dist/cjs/core/logging/exports.js +45 -0
  829. package/dist/cjs/core/logging/index.d.ts +1 -0
  830. package/dist/cjs/core/logging/index.js +17 -0
  831. package/dist/cjs/core/logging/logger.d.ts +126 -0
  832. package/dist/cjs/core/logging/logger.js +144 -0
  833. package/dist/cjs/core/runtime/index.d.ts +1 -0
  834. package/dist/cjs/core/runtime/index.js +5 -0
  835. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  836. package/dist/cjs/core/runtime/runtime.js +103 -0
  837. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  838. package/dist/cjs/core/url/encodePathParam.js +21 -0
  839. package/dist/cjs/core/url/index.d.ts +3 -0
  840. package/dist/cjs/core/url/index.js +9 -0
  841. package/dist/cjs/core/url/join.d.ts +1 -0
  842. package/dist/cjs/core/url/join.js +68 -0
  843. package/dist/cjs/core/url/qs.d.ts +6 -0
  844. package/dist/cjs/core/url/qs.js +64 -0
  845. package/dist/cjs/core/websocket/events.d.ts +36 -0
  846. package/dist/cjs/core/websocket/events.js +27 -0
  847. package/dist/cjs/core/websocket/exports.d.ts +8 -0
  848. package/dist/cjs/core/websocket/exports.js +2 -0
  849. package/dist/cjs/core/websocket/index.d.ts +1 -0
  850. package/dist/cjs/core/websocket/index.js +17 -0
  851. package/dist/cjs/core/websocket/ws.d.ts +148 -0
  852. package/dist/cjs/core/websocket/ws.js +482 -0
  853. package/dist/cjs/environments.d.ts +18 -0
  854. package/dist/cjs/environments.js +16 -0
  855. package/dist/cjs/errors/DeepgramError.d.ts +12 -0
  856. package/dist/cjs/errors/DeepgramError.js +32 -0
  857. package/dist/cjs/errors/DeepgramTimeoutError.d.ts +3 -0
  858. package/dist/cjs/errors/DeepgramTimeoutError.js +15 -0
  859. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  860. package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
  861. package/dist/cjs/errors/index.d.ts +2 -0
  862. package/dist/cjs/errors/index.js +7 -0
  863. package/dist/cjs/exports.d.ts +1 -0
  864. package/dist/cjs/exports.js +17 -0
  865. package/dist/cjs/index.d.ts +7 -0
  866. package/dist/cjs/index.js +50 -0
  867. package/dist/esm/BaseClient.d.mts +40 -0
  868. package/dist/esm/BaseClient.mjs +22 -0
  869. package/dist/esm/Client.d.mts +33 -0
  870. package/dist/esm/Client.mjs +42 -0
  871. package/dist/esm/CustomClient.d.mts +29 -0
  872. package/dist/esm/CustomClient.mjs +480 -0
  873. package/dist/esm/api/errors/BadRequestError.d.mts +5 -0
  874. package/dist/esm/api/errors/BadRequestError.mjs +17 -0
  875. package/dist/esm/api/errors/index.d.mts +1 -0
  876. package/dist/esm/api/errors/index.mjs +1 -0
  877. package/dist/esm/api/index.d.mts +3 -0
  878. package/dist/esm/api/index.mjs +3 -0
  879. package/dist/esm/api/resources/agent/client/Client.d.mts +13 -0
  880. package/dist/esm/api/resources/agent/client/Client.mjs +12 -0
  881. package/dist/esm/api/resources/agent/client/index.d.mts +1 -0
  882. package/dist/esm/api/resources/agent/client/index.mjs +1 -0
  883. package/dist/esm/api/resources/agent/index.d.mts +2 -0
  884. package/dist/esm/api/resources/agent/index.mjs +2 -0
  885. package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
  886. package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
  887. package/dist/esm/api/resources/agent/resources/v1/client/Client.d.mts +24 -0
  888. package/dist/esm/api/resources/agent/resources/v1/client/Client.mjs +40 -0
  889. package/dist/esm/api/resources/agent/resources/v1/client/Socket.d.mts +56 -0
  890. package/dist/esm/api/resources/agent/resources/v1/client/Socket.mjs +141 -0
  891. package/dist/esm/api/resources/agent/resources/v1/client/index.d.mts +1 -0
  892. package/dist/esm/api/resources/agent/resources/v1/client/index.mjs +1 -0
  893. package/dist/esm/api/resources/agent/resources/v1/index.d.mts +3 -0
  894. package/dist/esm/api/resources/agent/resources/v1/index.mjs +3 -0
  895. package/dist/esm/api/resources/agent/resources/v1/resources/index.d.mts +1 -0
  896. package/dist/esm/api/resources/agent/resources/v1/resources/index.mjs +1 -0
  897. package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/Client.d.mts +13 -0
  898. package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/Client.mjs +12 -0
  899. package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/index.d.mts +1 -0
  900. package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/index.mjs +1 -0
  901. package/dist/esm/api/resources/agent/resources/v1/resources/settings/index.d.mts +2 -0
  902. package/dist/esm/api/resources/agent/resources/v1/resources/settings/index.mjs +2 -0
  903. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/index.d.mts +1 -0
  904. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/index.mjs +1 -0
  905. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.d.mts +13 -0
  906. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.mjs +12 -0
  907. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.d.mts +1 -0
  908. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.mjs +1 -0
  909. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/index.d.mts +2 -0
  910. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/index.mjs +2 -0
  911. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.d.mts +1 -0
  912. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.mjs +1 -0
  913. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.d.mts +26 -0
  914. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.mjs +68 -0
  915. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.d.mts +1 -0
  916. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.mjs +1 -0
  917. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.d.mts +1 -0
  918. package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.mjs +1 -0
  919. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.d.mts +4 -0
  920. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.mjs +2 -0
  921. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.d.mts +10 -0
  922. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.mjs +2 -0
  923. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentThinking.d.mts +6 -0
  924. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentThinking.mjs +2 -0
  925. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.mts +16 -0
  926. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ConversationText.mjs +9 -0
  927. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Error.d.mts +8 -0
  928. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Error.mjs +2 -0
  929. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.d.mts +21 -0
  930. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.mjs +2 -0
  931. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.d.mts +6 -0
  932. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.mjs +2 -0
  933. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.d.mts +6 -0
  934. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.mjs +2 -0
  935. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.d.mts +6 -0
  936. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.mjs +2 -0
  937. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1KeepAlive.d.mts +7 -0
  938. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1KeepAlive.mjs +2 -0
  939. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.d.mts +4 -0
  940. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.mjs +2 -0
  941. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.d.mts +28 -0
  942. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.mjs +2 -0
  943. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.d.mts +28 -0
  944. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.mjs +2 -0
  945. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Settings.d.mts +228 -0
  946. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Settings.mjs +33 -0
  947. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.d.mts +186 -0
  948. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.mjs +134 -0
  949. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.d.mts +186 -0
  950. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.mjs +134 -0
  951. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.d.mts +4 -0
  952. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.mjs +2 -0
  953. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.d.mts +4 -0
  954. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.mjs +2 -0
  955. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.d.mts +6 -0
  956. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.mjs +2 -0
  957. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.mts +34 -0
  958. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.mjs +2 -0
  959. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.d.mts +186 -0
  960. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.mjs +134 -0
  961. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.d.mts +4 -0
  962. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.mjs +2 -0
  963. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Warning.d.mts +11 -0
  964. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Warning.mjs +2 -0
  965. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Welcome.d.mts +6 -0
  966. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Welcome.mjs +2 -0
  967. package/dist/esm/api/resources/agent/resources/v1/types/index.d.mts +24 -0
  968. package/dist/esm/api/resources/agent/resources/v1/types/index.mjs +24 -0
  969. package/dist/esm/api/resources/auth/client/Client.d.mts +13 -0
  970. package/dist/esm/api/resources/auth/client/Client.mjs +12 -0
  971. package/dist/esm/api/resources/auth/client/index.d.mts +1 -0
  972. package/dist/esm/api/resources/auth/client/index.mjs +1 -0
  973. package/dist/esm/api/resources/auth/index.d.mts +2 -0
  974. package/dist/esm/api/resources/auth/index.mjs +2 -0
  975. package/dist/esm/api/resources/auth/resources/index.d.mts +1 -0
  976. package/dist/esm/api/resources/auth/resources/index.mjs +1 -0
  977. package/dist/esm/api/resources/auth/resources/v1/client/Client.d.mts +13 -0
  978. package/dist/esm/api/resources/auth/resources/v1/client/Client.mjs +12 -0
  979. package/dist/esm/api/resources/auth/resources/v1/client/index.d.mts +1 -0
  980. package/dist/esm/api/resources/auth/resources/v1/client/index.mjs +1 -0
  981. package/dist/esm/api/resources/auth/resources/v1/index.d.mts +2 -0
  982. package/dist/esm/api/resources/auth/resources/v1/index.mjs +2 -0
  983. package/dist/esm/api/resources/auth/resources/v1/resources/index.d.mts +2 -0
  984. package/dist/esm/api/resources/auth/resources/v1/resources/index.mjs +2 -0
  985. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/Client.d.mts +27 -0
  986. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/Client.mjs +73 -0
  987. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/index.d.mts +1 -0
  988. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/index.mjs +1 -0
  989. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.d.mts +8 -0
  990. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.mjs +2 -0
  991. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/index.d.mts +1 -0
  992. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/index.mjs +1 -0
  993. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/index.d.mts +1 -0
  994. package/dist/esm/api/resources/auth/resources/v1/resources/tokens/index.mjs +1 -0
  995. package/dist/esm/api/resources/index.d.mts +7 -0
  996. package/dist/esm/api/resources/index.mjs +7 -0
  997. package/dist/esm/api/resources/listen/client/Client.d.mts +16 -0
  998. package/dist/esm/api/resources/listen/client/Client.mjs +17 -0
  999. package/dist/esm/api/resources/listen/client/index.d.mts +1 -0
  1000. package/dist/esm/api/resources/listen/client/index.mjs +1 -0
  1001. package/dist/esm/api/resources/listen/index.d.mts +2 -0
  1002. package/dist/esm/api/resources/listen/index.mjs +2 -0
  1003. package/dist/esm/api/resources/listen/resources/index.d.mts +4 -0
  1004. package/dist/esm/api/resources/listen/resources/index.mjs +4 -0
  1005. package/dist/esm/api/resources/listen/resources/v1/client/Client.d.mts +51 -0
  1006. package/dist/esm/api/resources/listen/resources/v1/client/Client.mjs +120 -0
  1007. package/dist/esm/api/resources/listen/resources/v1/client/Socket.d.mts +52 -0
  1008. package/dist/esm/api/resources/listen/resources/v1/client/Socket.mjs +125 -0
  1009. package/dist/esm/api/resources/listen/resources/v1/client/index.d.mts +1 -0
  1010. package/dist/esm/api/resources/listen/resources/v1/client/index.mjs +1 -0
  1011. package/dist/esm/api/resources/listen/resources/v1/index.d.mts +3 -0
  1012. package/dist/esm/api/resources/listen/resources/v1/index.mjs +3 -0
  1013. package/dist/esm/api/resources/listen/resources/v1/resources/index.d.mts +3 -0
  1014. package/dist/esm/api/resources/listen/resources/v1/resources/index.mjs +3 -0
  1015. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/Client.d.mts +79 -0
  1016. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/Client.mjs +481 -0
  1017. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/index.d.mts +1 -0
  1018. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/index.mjs +1 -0
  1019. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.mts +117 -0
  1020. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.mjs +2 -0
  1021. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.mts +82 -0
  1022. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.mjs +2 -0
  1023. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/index.d.mts +2 -0
  1024. package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/index.mjs +1 -0
  1025. package/dist/esm/api/resources/listen/resources/v1/resources/media/index.d.mts +2 -0
  1026. package/dist/esm/api/resources/listen/resources/v1/resources/media/index.mjs +2 -0
  1027. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.mts +5 -0
  1028. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.mjs +5 -0
  1029. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.mts +5 -0
  1030. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.mjs +5 -0
  1031. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.mts +5 -0
  1032. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.mjs +5 -0
  1033. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.mts +11 -0
  1034. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.mjs +11 -0
  1035. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.mts +32 -0
  1036. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.mjs +32 -0
  1037. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.mts +4 -0
  1038. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.mjs +4 -0
  1039. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.mts +4 -0
  1040. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.mjs +4 -0
  1041. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.d.mts +2 -0
  1042. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.mjs +2 -0
  1043. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/index.d.mts +8 -0
  1044. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/index.mjs +8 -0
  1045. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.mts +13 -0
  1046. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1CloseStream.mjs +10 -0
  1047. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Finalize.d.mts +13 -0
  1048. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Finalize.mjs +10 -0
  1049. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.mts +13 -0
  1050. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1KeepAlive.mjs +10 -0
  1051. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Metadata.d.mts +16 -0
  1052. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Metadata.mjs +2 -0
  1053. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Results.d.mts +74 -0
  1054. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Results.mjs +2 -0
  1055. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.d.mts +8 -0
  1056. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.mjs +2 -0
  1057. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.d.mts +8 -0
  1058. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.mjs +2 -0
  1059. package/dist/esm/api/resources/listen/resources/v1/types/index.d.mts +7 -0
  1060. package/dist/esm/api/resources/listen/resources/v1/types/index.mjs +7 -0
  1061. package/dist/esm/api/resources/listen/resources/v2/client/Client.d.mts +30 -0
  1062. package/dist/esm/api/resources/listen/resources/v2/client/Client.mjs +61 -0
  1063. package/dist/esm/api/resources/listen/resources/v2/client/Socket.d.mts +50 -0
  1064. package/dist/esm/api/resources/listen/resources/v2/client/Socket.mjs +117 -0
  1065. package/dist/esm/api/resources/listen/resources/v2/client/index.d.mts +1 -0
  1066. package/dist/esm/api/resources/listen/resources/v2/client/index.mjs +1 -0
  1067. package/dist/esm/api/resources/listen/resources/v2/index.d.mts +2 -0
  1068. package/dist/esm/api/resources/listen/resources/v2/index.mjs +2 -0
  1069. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.mts +13 -0
  1070. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.mjs +10 -0
  1071. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2Connected.d.mts +12 -0
  1072. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2Connected.mjs +2 -0
  1073. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2FatalError.d.mts +14 -0
  1074. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2FatalError.mjs +2 -0
  1075. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.mts +60 -0
  1076. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.mjs +20 -0
  1077. package/dist/esm/api/resources/listen/resources/v2/types/index.d.mts +4 -0
  1078. package/dist/esm/api/resources/listen/resources/v2/types/index.mjs +4 -0
  1079. package/dist/esm/api/resources/manage/client/Client.d.mts +13 -0
  1080. package/dist/esm/api/resources/manage/client/Client.mjs +12 -0
  1081. package/dist/esm/api/resources/manage/client/index.d.mts +1 -0
  1082. package/dist/esm/api/resources/manage/client/index.mjs +1 -0
  1083. package/dist/esm/api/resources/manage/index.d.mts +2 -0
  1084. package/dist/esm/api/resources/manage/index.mjs +2 -0
  1085. package/dist/esm/api/resources/manage/resources/index.d.mts +1 -0
  1086. package/dist/esm/api/resources/manage/resources/index.mjs +1 -0
  1087. package/dist/esm/api/resources/manage/resources/v1/client/Client.d.mts +16 -0
  1088. package/dist/esm/api/resources/manage/resources/v1/client/Client.mjs +17 -0
  1089. package/dist/esm/api/resources/manage/resources/v1/client/index.d.mts +1 -0
  1090. package/dist/esm/api/resources/manage/resources/v1/client/index.mjs +1 -0
  1091. package/dist/esm/api/resources/manage/resources/v1/index.d.mts +2 -0
  1092. package/dist/esm/api/resources/manage/resources/v1/index.mjs +2 -0
  1093. package/dist/esm/api/resources/manage/resources/v1/resources/index.d.mts +4 -0
  1094. package/dist/esm/api/resources/manage/resources/v1/resources/index.mjs +4 -0
  1095. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/Client.d.mts +42 -0
  1096. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/Client.mjs +125 -0
  1097. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/index.d.mts +1 -0
  1098. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/index.mjs +1 -0
  1099. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.d.mts +10 -0
  1100. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.mjs +2 -0
  1101. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/index.d.mts +1 -0
  1102. package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/index.mjs +1 -0
  1103. package/dist/esm/api/resources/manage/resources/v1/resources/models/index.d.mts +1 -0
  1104. package/dist/esm/api/resources/manage/resources/v1/resources/models/index.mjs +1 -0
  1105. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/Client.d.mts +101 -0
  1106. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/Client.mjs +307 -0
  1107. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/index.d.mts +1 -0
  1108. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/index.mjs +1 -0
  1109. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.d.mts +13 -0
  1110. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.mjs +2 -0
  1111. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.d.mts +8 -0
  1112. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.mjs +2 -0
  1113. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/index.d.mts +2 -0
  1114. package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/index.mjs +1 -0
  1115. package/dist/esm/api/resources/manage/resources/v1/resources/projects/index.d.mts +2 -0
  1116. package/dist/esm/api/resources/manage/resources/v1/resources/projects/index.mjs +2 -0
  1117. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.d.mts +22 -0
  1118. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.mjs +27 -0
  1119. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.d.mts +1 -0
  1120. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.mjs +1 -0
  1121. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/index.d.mts +2 -0
  1122. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/index.mjs +2 -0
  1123. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.d.mts +41 -0
  1124. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.mjs +122 -0
  1125. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.d.mts +1 -0
  1126. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.mjs +1 -0
  1127. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.d.mts +1 -0
  1128. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.mjs +1 -0
  1129. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.d.mts +35 -0
  1130. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.mjs +106 -0
  1131. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.d.mts +1 -0
  1132. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.mjs +1 -0
  1133. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.d.mts +28 -0
  1134. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.mjs +2 -0
  1135. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.d.mts +1 -0
  1136. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.mjs +1 -0
  1137. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.d.mts +2 -0
  1138. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.mjs +2 -0
  1139. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.mts +7 -0
  1140. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.mjs +7 -0
  1141. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.mts +7 -0
  1142. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.mjs +7 -0
  1143. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.d.mts +2 -0
  1144. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.mjs +2 -0
  1145. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.d.mts +31 -0
  1146. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.mjs +82 -0
  1147. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.d.mts +1 -0
  1148. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.mjs +1 -0
  1149. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.d.mts +13 -0
  1150. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.mjs +2 -0
  1151. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.d.mts +1 -0
  1152. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.mjs +1 -0
  1153. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.d.mts +1 -0
  1154. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.mjs +1 -0
  1155. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.d.mts +8 -0
  1156. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.mjs +8 -0
  1157. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.d.mts +30 -0
  1158. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.mjs +81 -0
  1159. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.d.mts +1 -0
  1160. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.mjs +1 -0
  1161. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.d.mts +10 -0
  1162. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.mjs +2 -0
  1163. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.d.mts +1 -0
  1164. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.mjs +1 -0
  1165. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.d.mts +1 -0
  1166. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.mjs +1 -0
  1167. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/index.d.mts +13 -0
  1168. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/index.mjs +13 -0
  1169. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.d.mts +74 -0
  1170. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.mjs +230 -0
  1171. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.d.mts +1 -0
  1172. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.mjs +1 -0
  1173. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.d.mts +11 -0
  1174. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.mjs +2 -0
  1175. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.d.mts +1 -0
  1176. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.mjs +1 -0
  1177. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/index.d.mts +2 -0
  1178. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/index.mjs +2 -0
  1179. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.mts +5 -0
  1180. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.mjs +5 -0
  1181. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.d.mts +1 -0
  1182. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.mjs +1 -0
  1183. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.d.mts +47 -0
  1184. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.mjs +135 -0
  1185. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.d.mts +1 -0
  1186. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.mjs +1 -0
  1187. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/index.d.mts +2 -0
  1188. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/index.mjs +2 -0
  1189. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.d.mts +4 -0
  1190. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.mjs +4 -0
  1191. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.d.mts +58 -0
  1192. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.mjs +183 -0
  1193. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.d.mts +1 -0
  1194. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.mjs +1 -0
  1195. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.d.mts +13 -0
  1196. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.mjs +2 -0
  1197. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.d.mts +1 -0
  1198. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.mjs +1 -0
  1199. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.d.mts +1 -0
  1200. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.mjs +1 -0
  1201. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.d.mts +45 -0
  1202. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.mjs +132 -0
  1203. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.d.mts +1 -0
  1204. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.mjs +1 -0
  1205. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.d.mts +10 -0
  1206. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.mjs +2 -0
  1207. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.d.mts +1 -0
  1208. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.mjs +1 -0
  1209. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.d.mts +1 -0
  1210. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.mjs +1 -0
  1211. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.d.mts +44 -0
  1212. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.mjs +127 -0
  1213. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.d.mts +1 -0
  1214. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.mjs +1 -0
  1215. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.d.mts +10 -0
  1216. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.mjs +2 -0
  1217. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.d.mts +1 -0
  1218. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.mjs +1 -0
  1219. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/index.d.mts +1 -0
  1220. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/index.mjs +1 -0
  1221. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.d.mts +53 -0
  1222. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.mjs +166 -0
  1223. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.d.mts +1 -0
  1224. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.mjs +1 -0
  1225. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.d.mts +38 -0
  1226. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.mjs +2 -0
  1227. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.d.mts +1 -0
  1228. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.mjs +1 -0
  1229. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/index.d.mts +2 -0
  1230. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/index.mjs +2 -0
  1231. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.mts +7 -0
  1232. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.mjs +7 -0
  1233. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.mts +7 -0
  1234. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.mjs +7 -0
  1235. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.mts +7 -0
  1236. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.mjs +7 -0
  1237. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.mts +5 -0
  1238. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.mjs +5 -0
  1239. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.d.mts +4 -0
  1240. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.mjs +4 -0
  1241. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.d.mts +79 -0
  1242. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.mjs +260 -0
  1243. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.d.mts +1 -0
  1244. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.mjs +1 -0
  1245. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.d.mts +140 -0
  1246. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.mjs +2 -0
  1247. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.d.mts +1 -0
  1248. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.mjs +1 -0
  1249. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/index.d.mts +3 -0
  1250. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/index.mjs +3 -0
  1251. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.d.mts +74 -0
  1252. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.mjs +254 -0
  1253. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.d.mts +1 -0
  1254. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.mjs +1 -0
  1255. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.d.mts +143 -0
  1256. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.mjs +2 -0
  1257. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.d.mts +1 -0
  1258. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.mjs +1 -0
  1259. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.d.mts +2 -0
  1260. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.mjs +2 -0
  1261. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.mts +7 -0
  1262. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.mjs +7 -0
  1263. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.mts +7 -0
  1264. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.mjs +7 -0
  1265. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.mts +10 -0
  1266. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.mjs +10 -0
  1267. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.mts +7 -0
  1268. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.mjs +7 -0
  1269. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.d.mts +4 -0
  1270. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.mjs +4 -0
  1271. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.d.mts +31 -0
  1272. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.mjs +82 -0
  1273. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.d.mts +1 -0
  1274. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.mjs +1 -0
  1275. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.d.mts +13 -0
  1276. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.mjs +2 -0
  1277. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.d.mts +1 -0
  1278. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.mjs +1 -0
  1279. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.d.mts +1 -0
  1280. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.mjs +1 -0
  1281. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.d.mts +5 -0
  1282. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.mjs +5 -0
  1283. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.mts +7 -0
  1284. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.mjs +7 -0
  1285. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.mts +7 -0
  1286. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.mjs +7 -0
  1287. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.mts +7 -0
  1288. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.mjs +7 -0
  1289. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.d.mts +3 -0
  1290. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.mjs +3 -0
  1291. package/dist/esm/api/resources/read/client/Client.d.mts +13 -0
  1292. package/dist/esm/api/resources/read/client/Client.mjs +12 -0
  1293. package/dist/esm/api/resources/read/client/index.d.mts +1 -0
  1294. package/dist/esm/api/resources/read/client/index.mjs +1 -0
  1295. package/dist/esm/api/resources/read/index.d.mts +2 -0
  1296. package/dist/esm/api/resources/read/index.mjs +2 -0
  1297. package/dist/esm/api/resources/read/resources/index.d.mts +1 -0
  1298. package/dist/esm/api/resources/read/resources/index.mjs +1 -0
  1299. package/dist/esm/api/resources/read/resources/v1/client/Client.d.mts +13 -0
  1300. package/dist/esm/api/resources/read/resources/v1/client/Client.mjs +12 -0
  1301. package/dist/esm/api/resources/read/resources/v1/client/index.d.mts +1 -0
  1302. package/dist/esm/api/resources/read/resources/v1/client/index.mjs +1 -0
  1303. package/dist/esm/api/resources/read/resources/v1/index.d.mts +2 -0
  1304. package/dist/esm/api/resources/read/resources/v1/index.mjs +2 -0
  1305. package/dist/esm/api/resources/read/resources/v1/resources/index.d.mts +3 -0
  1306. package/dist/esm/api/resources/read/resources/v1/resources/index.mjs +3 -0
  1307. package/dist/esm/api/resources/read/resources/v1/resources/text/client/Client.d.mts +43 -0
  1308. package/dist/esm/api/resources/read/resources/v1/resources/text/client/Client.mjs +142 -0
  1309. package/dist/esm/api/resources/read/resources/v1/resources/text/client/index.d.mts +1 -0
  1310. package/dist/esm/api/resources/read/resources/v1/resources/text/client/index.mjs +1 -0
  1311. package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.d.mts +48 -0
  1312. package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.mjs +2 -0
  1313. package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/index.d.mts +1 -0
  1314. package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/index.mjs +1 -0
  1315. package/dist/esm/api/resources/read/resources/v1/resources/text/index.d.mts +2 -0
  1316. package/dist/esm/api/resources/read/resources/v1/resources/text/index.mjs +2 -0
  1317. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.mts +5 -0
  1318. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.mjs +5 -0
  1319. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.mts +5 -0
  1320. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.mjs +5 -0
  1321. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.mts +5 -0
  1322. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.mjs +5 -0
  1323. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.mts +4 -0
  1324. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.mjs +4 -0
  1325. package/dist/esm/api/resources/read/resources/v1/resources/text/types/index.d.mts +4 -0
  1326. package/dist/esm/api/resources/read/resources/v1/resources/text/types/index.mjs +4 -0
  1327. package/dist/esm/api/resources/selfHosted/client/Client.d.mts +13 -0
  1328. package/dist/esm/api/resources/selfHosted/client/Client.mjs +12 -0
  1329. package/dist/esm/api/resources/selfHosted/client/index.d.mts +1 -0
  1330. package/dist/esm/api/resources/selfHosted/client/index.mjs +1 -0
  1331. package/dist/esm/api/resources/selfHosted/index.d.mts +2 -0
  1332. package/dist/esm/api/resources/selfHosted/index.mjs +2 -0
  1333. package/dist/esm/api/resources/selfHosted/resources/index.d.mts +1 -0
  1334. package/dist/esm/api/resources/selfHosted/resources/index.mjs +1 -0
  1335. package/dist/esm/api/resources/selfHosted/resources/v1/client/Client.d.mts +13 -0
  1336. package/dist/esm/api/resources/selfHosted/resources/v1/client/Client.mjs +12 -0
  1337. package/dist/esm/api/resources/selfHosted/resources/v1/client/index.d.mts +1 -0
  1338. package/dist/esm/api/resources/selfHosted/resources/v1/client/index.mjs +1 -0
  1339. package/dist/esm/api/resources/selfHosted/resources/v1/index.d.mts +2 -0
  1340. package/dist/esm/api/resources/selfHosted/resources/v1/index.mjs +2 -0
  1341. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.d.mts +71 -0
  1342. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.mjs +258 -0
  1343. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.d.mts +1 -0
  1344. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.mjs +1 -0
  1345. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.d.mts +15 -0
  1346. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.mjs +2 -0
  1347. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.d.mts +1 -0
  1348. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.mjs +1 -0
  1349. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.d.mts +2 -0
  1350. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.mjs +2 -0
  1351. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.mts +11 -0
  1352. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.mjs +11 -0
  1353. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.d.mts +1 -0
  1354. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.mjs +1 -0
  1355. package/dist/esm/api/resources/selfHosted/resources/v1/resources/index.d.mts +3 -0
  1356. package/dist/esm/api/resources/selfHosted/resources/v1/resources/index.mjs +3 -0
  1357. package/dist/esm/api/resources/speak/client/Client.d.mts +13 -0
  1358. package/dist/esm/api/resources/speak/client/Client.mjs +12 -0
  1359. package/dist/esm/api/resources/speak/client/index.d.mts +1 -0
  1360. package/dist/esm/api/resources/speak/client/index.mjs +1 -0
  1361. package/dist/esm/api/resources/speak/index.d.mts +2 -0
  1362. package/dist/esm/api/resources/speak/index.mjs +2 -0
  1363. package/dist/esm/api/resources/speak/resources/index.d.mts +2 -0
  1364. package/dist/esm/api/resources/speak/resources/index.mjs +2 -0
  1365. package/dist/esm/api/resources/speak/resources/v1/client/Client.d.mts +28 -0
  1366. package/dist/esm/api/resources/speak/resources/v1/client/Client.mjs +53 -0
  1367. package/dist/esm/api/resources/speak/resources/v1/client/Socket.d.mts +52 -0
  1368. package/dist/esm/api/resources/speak/resources/v1/client/Socket.mjs +125 -0
  1369. package/dist/esm/api/resources/speak/resources/v1/client/index.d.mts +1 -0
  1370. package/dist/esm/api/resources/speak/resources/v1/client/index.mjs +1 -0
  1371. package/dist/esm/api/resources/speak/resources/v1/index.d.mts +3 -0
  1372. package/dist/esm/api/resources/speak/resources/v1/index.mjs +3 -0
  1373. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/Client.d.mts +20 -0
  1374. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/Client.mjs +112 -0
  1375. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/index.d.mts +1 -0
  1376. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/index.mjs +1 -0
  1377. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.d.mts +29 -0
  1378. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.mjs +2 -0
  1379. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/index.d.mts +1 -0
  1380. package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/index.mjs +1 -0
  1381. package/dist/esm/api/resources/speak/resources/v1/resources/audio/index.d.mts +2 -0
  1382. package/dist/esm/api/resources/speak/resources/v1/resources/audio/index.mjs +2 -0
  1383. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.mts +5 -0
  1384. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.mjs +5 -0
  1385. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.mts +6 -0
  1386. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.mjs +6 -0
  1387. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.mts +10 -0
  1388. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.mjs +10 -0
  1389. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.mts +66 -0
  1390. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.mjs +66 -0
  1391. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/index.d.mts +4 -0
  1392. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/index.mjs +4 -0
  1393. package/dist/esm/api/resources/speak/resources/v1/resources/index.d.mts +3 -0
  1394. package/dist/esm/api/resources/speak/resources/v1/resources/index.mjs +3 -0
  1395. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Clear.d.mts +13 -0
  1396. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Clear.mjs +10 -0
  1397. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.mts +14 -0
  1398. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Cleared.mjs +9 -0
  1399. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Close.d.mts +13 -0
  1400. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Close.mjs +10 -0
  1401. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flush.d.mts +13 -0
  1402. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flush.mjs +10 -0
  1403. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.mts +14 -0
  1404. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flushed.mjs +9 -0
  1405. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Metadata.d.mts +12 -0
  1406. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Metadata.mjs +2 -0
  1407. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Text.d.mts +6 -0
  1408. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Text.mjs +2 -0
  1409. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Warning.d.mts +8 -0
  1410. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Warning.mjs +2 -0
  1411. package/dist/esm/api/resources/speak/resources/v1/types/index.d.mts +8 -0
  1412. package/dist/esm/api/resources/speak/resources/v1/types/index.mjs +8 -0
  1413. package/dist/esm/api/types/AgentThinkModelsV1Response.d.mts +44 -0
  1414. package/dist/esm/api/types/AgentThinkModelsV1Response.mjs +2 -0
  1415. package/dist/esm/api/types/BillingBreakdownV1Response.d.mts +40 -0
  1416. package/dist/esm/api/types/BillingBreakdownV1Response.mjs +2 -0
  1417. package/dist/esm/api/types/CreateKeyV1RequestOne.d.mts +1 -0
  1418. package/dist/esm/api/types/CreateKeyV1RequestOne.mjs +2 -0
  1419. package/dist/esm/api/types/CreateKeyV1Response.d.mts +17 -0
  1420. package/dist/esm/api/types/CreateKeyV1Response.mjs +2 -0
  1421. package/dist/esm/api/types/CreateProjectDistributionCredentialsV1Response.d.mts +24 -0
  1422. package/dist/esm/api/types/CreateProjectDistributionCredentialsV1Response.mjs +2 -0
  1423. package/dist/esm/api/types/CreateProjectInviteV1Response.d.mts +4 -0
  1424. package/dist/esm/api/types/CreateProjectInviteV1Response.mjs +2 -0
  1425. package/dist/esm/api/types/DeleteProjectInviteV1Response.d.mts +4 -0
  1426. package/dist/esm/api/types/DeleteProjectInviteV1Response.mjs +2 -0
  1427. package/dist/esm/api/types/DeleteProjectKeyV1Response.d.mts +3 -0
  1428. package/dist/esm/api/types/DeleteProjectKeyV1Response.mjs +2 -0
  1429. package/dist/esm/api/types/DeleteProjectMemberV1Response.d.mts +4 -0
  1430. package/dist/esm/api/types/DeleteProjectMemberV1Response.mjs +2 -0
  1431. package/dist/esm/api/types/DeleteProjectV1Response.d.mts +4 -0
  1432. package/dist/esm/api/types/DeleteProjectV1Response.mjs +2 -0
  1433. package/dist/esm/api/types/ErrorResponse.d.mts +2 -0
  1434. package/dist/esm/api/types/ErrorResponse.mjs +2 -0
  1435. package/dist/esm/api/types/ErrorResponseLegacyError.d.mts +8 -0
  1436. package/dist/esm/api/types/ErrorResponseLegacyError.mjs +2 -0
  1437. package/dist/esm/api/types/ErrorResponseModernError.d.mts +10 -0
  1438. package/dist/esm/api/types/ErrorResponseModernError.mjs +2 -0
  1439. package/dist/esm/api/types/ErrorResponseTextError.d.mts +1 -0
  1440. package/dist/esm/api/types/ErrorResponseTextError.mjs +2 -0
  1441. package/dist/esm/api/types/GetModelV1Response.d.mts +27 -0
  1442. package/dist/esm/api/types/GetModelV1Response.mjs +2 -0
  1443. package/dist/esm/api/types/GetProjectBalanceV1Response.d.mts +10 -0
  1444. package/dist/esm/api/types/GetProjectBalanceV1Response.mjs +2 -0
  1445. package/dist/esm/api/types/GetProjectDistributionCredentialsV1Response.d.mts +24 -0
  1446. package/dist/esm/api/types/GetProjectDistributionCredentialsV1Response.mjs +2 -0
  1447. package/dist/esm/api/types/GetProjectKeyV1Response.d.mts +27 -0
  1448. package/dist/esm/api/types/GetProjectKeyV1Response.mjs +2 -0
  1449. package/dist/esm/api/types/GetProjectRequestV1Response.d.mts +4 -0
  1450. package/dist/esm/api/types/GetProjectRequestV1Response.mjs +2 -0
  1451. package/dist/esm/api/types/GetProjectV1Response.d.mts +8 -0
  1452. package/dist/esm/api/types/GetProjectV1Response.mjs +2 -0
  1453. package/dist/esm/api/types/GrantV1Response.d.mts +6 -0
  1454. package/dist/esm/api/types/GrantV1Response.mjs +2 -0
  1455. package/dist/esm/api/types/LeaveProjectV1Response.d.mts +4 -0
  1456. package/dist/esm/api/types/LeaveProjectV1Response.mjs +2 -0
  1457. package/dist/esm/api/types/ListBillingFieldsV1Response.d.mts +22 -0
  1458. package/dist/esm/api/types/ListBillingFieldsV1Response.mjs +13 -0
  1459. package/dist/esm/api/types/ListModelsV1Response.d.mts +5 -0
  1460. package/dist/esm/api/types/ListModelsV1Response.mjs +2 -0
  1461. package/dist/esm/api/types/ListModelsV1ResponseSttModels.d.mts +11 -0
  1462. package/dist/esm/api/types/ListModelsV1ResponseSttModels.mjs +2 -0
  1463. package/dist/esm/api/types/ListModelsV1ResponseTtsModels.d.mts +20 -0
  1464. package/dist/esm/api/types/ListModelsV1ResponseTtsModels.mjs +2 -0
  1465. package/dist/esm/api/types/ListProjectBalancesV1Response.d.mts +18 -0
  1466. package/dist/esm/api/types/ListProjectBalancesV1Response.mjs +2 -0
  1467. package/dist/esm/api/types/ListProjectDistributionCredentialsV1Response.d.mts +33 -0
  1468. package/dist/esm/api/types/ListProjectDistributionCredentialsV1Response.mjs +2 -0
  1469. package/dist/esm/api/types/ListProjectInvitesV1Response.d.mts +14 -0
  1470. package/dist/esm/api/types/ListProjectInvitesV1Response.mjs +2 -0
  1471. package/dist/esm/api/types/ListProjectKeysV1Response.d.mts +24 -0
  1472. package/dist/esm/api/types/ListProjectKeysV1Response.mjs +2 -0
  1473. package/dist/esm/api/types/ListProjectMemberScopesV1Response.d.mts +4 -0
  1474. package/dist/esm/api/types/ListProjectMemberScopesV1Response.mjs +2 -0
  1475. package/dist/esm/api/types/ListProjectMembersV1Response.d.mts +13 -0
  1476. package/dist/esm/api/types/ListProjectMembersV1Response.mjs +2 -0
  1477. package/dist/esm/api/types/ListProjectPurchasesV1Response.d.mts +16 -0
  1478. package/dist/esm/api/types/ListProjectPurchasesV1Response.mjs +2 -0
  1479. package/dist/esm/api/types/ListProjectRequestsV1Response.d.mts +8 -0
  1480. package/dist/esm/api/types/ListProjectRequestsV1Response.mjs +2 -0
  1481. package/dist/esm/api/types/ListProjectsV1Response.d.mts +14 -0
  1482. package/dist/esm/api/types/ListProjectsV1Response.mjs +2 -0
  1483. package/dist/esm/api/types/ListenV1AcceptedResponse.d.mts +7 -0
  1484. package/dist/esm/api/types/ListenV1AcceptedResponse.mjs +2 -0
  1485. package/dist/esm/api/types/ListenV1Callback.d.mts +1 -0
  1486. package/dist/esm/api/types/ListenV1Callback.mjs +2 -0
  1487. package/dist/esm/api/types/ListenV1CallbackMethod.d.mts +8 -0
  1488. package/dist/esm/api/types/ListenV1CallbackMethod.mjs +8 -0
  1489. package/dist/esm/api/types/ListenV1Channels.d.mts +1 -0
  1490. package/dist/esm/api/types/ListenV1Channels.mjs +2 -0
  1491. package/dist/esm/api/types/ListenV1Diarize.d.mts +6 -0
  1492. package/dist/esm/api/types/ListenV1Diarize.mjs +6 -0
  1493. package/dist/esm/api/types/ListenV1Dictation.d.mts +6 -0
  1494. package/dist/esm/api/types/ListenV1Dictation.mjs +6 -0
  1495. package/dist/esm/api/types/ListenV1Encoding.d.mts +15 -0
  1496. package/dist/esm/api/types/ListenV1Encoding.mjs +15 -0
  1497. package/dist/esm/api/types/ListenV1Endpointing.d.mts +1 -0
  1498. package/dist/esm/api/types/ListenV1Endpointing.mjs +2 -0
  1499. package/dist/esm/api/types/ListenV1Extra.d.mts +1 -0
  1500. package/dist/esm/api/types/ListenV1Extra.mjs +2 -0
  1501. package/dist/esm/api/types/ListenV1InterimResults.d.mts +6 -0
  1502. package/dist/esm/api/types/ListenV1InterimResults.mjs +6 -0
  1503. package/dist/esm/api/types/ListenV1Keyterm.d.mts +1 -0
  1504. package/dist/esm/api/types/ListenV1Keyterm.mjs +2 -0
  1505. package/dist/esm/api/types/ListenV1Keywords.d.mts +1 -0
  1506. package/dist/esm/api/types/ListenV1Keywords.mjs +2 -0
  1507. package/dist/esm/api/types/ListenV1Language.d.mts +1 -0
  1508. package/dist/esm/api/types/ListenV1Language.mjs +2 -0
  1509. package/dist/esm/api/types/ListenV1MipOptOut.d.mts +1 -0
  1510. package/dist/esm/api/types/ListenV1MipOptOut.mjs +2 -0
  1511. package/dist/esm/api/types/ListenV1Model.d.mts +34 -0
  1512. package/dist/esm/api/types/ListenV1Model.mjs +34 -0
  1513. package/dist/esm/api/types/ListenV1Multichannel.d.mts +6 -0
  1514. package/dist/esm/api/types/ListenV1Multichannel.mjs +6 -0
  1515. package/dist/esm/api/types/ListenV1Numerals.d.mts +6 -0
  1516. package/dist/esm/api/types/ListenV1Numerals.mjs +6 -0
  1517. package/dist/esm/api/types/ListenV1ProfanityFilter.d.mts +6 -0
  1518. package/dist/esm/api/types/ListenV1ProfanityFilter.mjs +6 -0
  1519. package/dist/esm/api/types/ListenV1Punctuate.d.mts +6 -0
  1520. package/dist/esm/api/types/ListenV1Punctuate.mjs +6 -0
  1521. package/dist/esm/api/types/ListenV1Redact.d.mts +10 -0
  1522. package/dist/esm/api/types/ListenV1Redact.mjs +10 -0
  1523. package/dist/esm/api/types/ListenV1Replace.d.mts +1 -0
  1524. package/dist/esm/api/types/ListenV1Replace.mjs +2 -0
  1525. package/dist/esm/api/types/ListenV1RequestFile.d.mts +4 -0
  1526. package/dist/esm/api/types/ListenV1RequestFile.mjs +2 -0
  1527. package/dist/esm/api/types/ListenV1Response.d.mts +8 -0
  1528. package/dist/esm/api/types/ListenV1Response.mjs +2 -0
  1529. package/dist/esm/api/types/ListenV1ResponseMetadata.d.mts +37 -0
  1530. package/dist/esm/api/types/ListenV1ResponseMetadata.mjs +2 -0
  1531. package/dist/esm/api/types/ListenV1ResponseResults.d.mts +9 -0
  1532. package/dist/esm/api/types/ListenV1ResponseResults.mjs +2 -0
  1533. package/dist/esm/api/types/ListenV1ResponseResultsChannels.d.mts +2 -0
  1534. package/dist/esm/api/types/ListenV1ResponseResultsChannels.mjs +2 -0
  1535. package/dist/esm/api/types/ListenV1ResponseResultsChannelsItem.d.mts +90 -0
  1536. package/dist/esm/api/types/ListenV1ResponseResultsChannelsItem.mjs +2 -0
  1537. package/dist/esm/api/types/ListenV1ResponseResultsSummary.d.mts +4 -0
  1538. package/dist/esm/api/types/ListenV1ResponseResultsSummary.mjs +2 -0
  1539. package/dist/esm/api/types/ListenV1ResponseResultsUtterances.d.mts +2 -0
  1540. package/dist/esm/api/types/ListenV1ResponseResultsUtterances.mjs +2 -0
  1541. package/dist/esm/api/types/ListenV1ResponseResultsUtterancesItem.d.mts +24 -0
  1542. package/dist/esm/api/types/ListenV1ResponseResultsUtterancesItem.mjs +2 -0
  1543. package/dist/esm/api/types/ListenV1SampleRate.d.mts +1 -0
  1544. package/dist/esm/api/types/ListenV1SampleRate.mjs +2 -0
  1545. package/dist/esm/api/types/ListenV1Search.d.mts +1 -0
  1546. package/dist/esm/api/types/ListenV1Search.mjs +2 -0
  1547. package/dist/esm/api/types/ListenV1SmartFormat.d.mts +6 -0
  1548. package/dist/esm/api/types/ListenV1SmartFormat.mjs +6 -0
  1549. package/dist/esm/api/types/ListenV1Tag.d.mts +1 -0
  1550. package/dist/esm/api/types/ListenV1Tag.mjs +2 -0
  1551. package/dist/esm/api/types/ListenV1UtteranceEndMs.d.mts +1 -0
  1552. package/dist/esm/api/types/ListenV1UtteranceEndMs.mjs +2 -0
  1553. package/dist/esm/api/types/ListenV1VadEvents.d.mts +6 -0
  1554. package/dist/esm/api/types/ListenV1VadEvents.mjs +6 -0
  1555. package/dist/esm/api/types/ListenV1Version.d.mts +1 -0
  1556. package/dist/esm/api/types/ListenV1Version.mjs +2 -0
  1557. package/dist/esm/api/types/ListenV2EagerEotThreshold.d.mts +1 -0
  1558. package/dist/esm/api/types/ListenV2EagerEotThreshold.mjs +2 -0
  1559. package/dist/esm/api/types/ListenV2Encoding.d.mts +10 -0
  1560. package/dist/esm/api/types/ListenV2Encoding.mjs +10 -0
  1561. package/dist/esm/api/types/ListenV2EotThreshold.d.mts +1 -0
  1562. package/dist/esm/api/types/ListenV2EotThreshold.mjs +2 -0
  1563. package/dist/esm/api/types/ListenV2EotTimeoutMs.d.mts +1 -0
  1564. package/dist/esm/api/types/ListenV2EotTimeoutMs.mjs +2 -0
  1565. package/dist/esm/api/types/ListenV2Keyterm.d.mts +5 -0
  1566. package/dist/esm/api/types/ListenV2Keyterm.mjs +2 -0
  1567. package/dist/esm/api/types/ListenV2MipOptOut.d.mts +1 -0
  1568. package/dist/esm/api/types/ListenV2MipOptOut.mjs +2 -0
  1569. package/dist/esm/api/types/ListenV2Model.d.mts +4 -0
  1570. package/dist/esm/api/types/ListenV2Model.mjs +2 -0
  1571. package/dist/esm/api/types/ListenV2SampleRate.d.mts +1 -0
  1572. package/dist/esm/api/types/ListenV2SampleRate.mjs +2 -0
  1573. package/dist/esm/api/types/ListenV2Tag.d.mts +1 -0
  1574. package/dist/esm/api/types/ListenV2Tag.mjs +2 -0
  1575. package/dist/esm/api/types/ProjectRequestResponse.d.mts +23 -0
  1576. package/dist/esm/api/types/ProjectRequestResponse.mjs +2 -0
  1577. package/dist/esm/api/types/ReadV1Request.d.mts +2 -0
  1578. package/dist/esm/api/types/ReadV1Request.mjs +2 -0
  1579. package/dist/esm/api/types/ReadV1RequestText.d.mts +4 -0
  1580. package/dist/esm/api/types/ReadV1RequestText.mjs +2 -0
  1581. package/dist/esm/api/types/ReadV1RequestUrl.d.mts +4 -0
  1582. package/dist/esm/api/types/ReadV1RequestUrl.mjs +2 -0
  1583. package/dist/esm/api/types/ReadV1Response.d.mts +8 -0
  1584. package/dist/esm/api/types/ReadV1Response.mjs +2 -0
  1585. package/dist/esm/api/types/ReadV1ResponseMetadata.d.mts +36 -0
  1586. package/dist/esm/api/types/ReadV1ResponseMetadata.mjs +2 -0
  1587. package/dist/esm/api/types/ReadV1ResponseResults.d.mts +7 -0
  1588. package/dist/esm/api/types/ReadV1ResponseResults.mjs +2 -0
  1589. package/dist/esm/api/types/ReadV1ResponseResultsSummary.d.mts +16 -0
  1590. package/dist/esm/api/types/ReadV1ResponseResultsSummary.mjs +2 -0
  1591. package/dist/esm/api/types/SharedIntents.d.mts +36 -0
  1592. package/dist/esm/api/types/SharedIntents.mjs +2 -0
  1593. package/dist/esm/api/types/SharedSentiments.d.mts +23 -0
  1594. package/dist/esm/api/types/SharedSentiments.mjs +2 -0
  1595. package/dist/esm/api/types/SharedTopics.d.mts +36 -0
  1596. package/dist/esm/api/types/SharedTopics.mjs +2 -0
  1597. package/dist/esm/api/types/SpeakV1Encoding.d.mts +7 -0
  1598. package/dist/esm/api/types/SpeakV1Encoding.mjs +7 -0
  1599. package/dist/esm/api/types/SpeakV1MipOptOut.d.mts +1 -0
  1600. package/dist/esm/api/types/SpeakV1MipOptOut.mjs +2 -0
  1601. package/dist/esm/api/types/SpeakV1Model.d.mts +67 -0
  1602. package/dist/esm/api/types/SpeakV1Model.mjs +67 -0
  1603. package/dist/esm/api/types/SpeakV1Response.d.mts +1 -0
  1604. package/dist/esm/api/types/SpeakV1Response.mjs +2 -0
  1605. package/dist/esm/api/types/SpeakV1SampleRate.d.mts +9 -0
  1606. package/dist/esm/api/types/SpeakV1SampleRate.mjs +9 -0
  1607. package/dist/esm/api/types/UpdateProjectMemberScopesV1Response.d.mts +4 -0
  1608. package/dist/esm/api/types/UpdateProjectMemberScopesV1Response.mjs +2 -0
  1609. package/dist/esm/api/types/UpdateProjectV1Response.d.mts +4 -0
  1610. package/dist/esm/api/types/UpdateProjectV1Response.mjs +2 -0
  1611. package/dist/esm/api/types/UsageBreakdownV1Response.d.mts +58 -0
  1612. package/dist/esm/api/types/UsageBreakdownV1Response.mjs +2 -0
  1613. package/dist/esm/api/types/UsageFieldsV1Response.d.mts +25 -0
  1614. package/dist/esm/api/types/UsageFieldsV1Response.mjs +2 -0
  1615. package/dist/esm/api/types/UsageV1Response.d.mts +11 -0
  1616. package/dist/esm/api/types/UsageV1Response.mjs +2 -0
  1617. package/dist/esm/api/types/index.d.mts +102 -0
  1618. package/dist/esm/api/types/index.mjs +102 -0
  1619. package/dist/esm/auth/HeaderAuthProvider.d.mts +14 -0
  1620. package/dist/esm/auth/HeaderAuthProvider.mjs +36 -0
  1621. package/dist/esm/auth/index.d.mts +1 -0
  1622. package/dist/esm/auth/index.mjs +1 -0
  1623. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  1624. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  1625. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  1626. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  1627. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  1628. package/dist/esm/core/auth/BasicAuth.mjs +24 -0
  1629. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  1630. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  1631. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  1632. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  1633. package/dist/esm/core/auth/index.d.mts +5 -0
  1634. package/dist/esm/core/auth/index.mjs +3 -0
  1635. package/dist/esm/core/base64.d.mts +2 -0
  1636. package/dist/esm/core/base64.mjs +22 -0
  1637. package/dist/esm/core/exports.d.mts +3 -0
  1638. package/dist/esm/core/exports.mjs +3 -0
  1639. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  1640. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  1641. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  1642. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  1643. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  1644. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  1645. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  1646. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  1647. package/dist/esm/core/fetcher/Fetcher.d.mts +49 -0
  1648. package/dist/esm/core/fetcher/Fetcher.mjs +312 -0
  1649. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  1650. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  1651. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  1652. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  1653. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  1654. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  1655. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  1656. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  1657. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  1658. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  1659. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  1660. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
  1661. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  1662. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  1663. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  1664. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  1665. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  1666. package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
  1667. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  1668. package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
  1669. package/dist/esm/core/fetcher/index.d.mts +11 -0
  1670. package/dist/esm/core/fetcher/index.mjs +6 -0
  1671. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
  1672. package/dist/esm/core/fetcher/makeRequest.mjs +36 -0
  1673. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  1674. package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
  1675. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  1676. package/dist/esm/core/fetcher/signals.mjs +20 -0
  1677. package/dist/esm/core/file/exports.d.mts +1 -0
  1678. package/dist/esm/core/file/exports.mjs +1 -0
  1679. package/dist/esm/core/file/file.d.mts +10 -0
  1680. package/dist/esm/core/file/file.mjs +184 -0
  1681. package/dist/esm/core/file/index.d.mts +2 -0
  1682. package/dist/esm/core/file/index.mjs +2 -0
  1683. package/dist/esm/core/file/types.d.mts +66 -0
  1684. package/dist/esm/core/file/types.mjs +1 -0
  1685. package/dist/esm/core/headers.d.mts +2 -0
  1686. package/dist/esm/core/headers.mjs +27 -0
  1687. package/dist/esm/core/index.d.mts +8 -0
  1688. package/dist/esm/core/index.mjs +8 -0
  1689. package/dist/esm/core/json.d.mts +15 -0
  1690. package/dist/esm/core/json.mjs +19 -0
  1691. package/dist/esm/core/logging/exports.d.mts +18 -0
  1692. package/dist/esm/core/logging/exports.mjs +9 -0
  1693. package/dist/esm/core/logging/index.d.mts +1 -0
  1694. package/dist/esm/core/logging/index.mjs +1 -0
  1695. package/dist/esm/core/logging/logger.d.mts +126 -0
  1696. package/dist/esm/core/logging/logger.mjs +138 -0
  1697. package/dist/esm/core/runtime/index.d.mts +1 -0
  1698. package/dist/esm/core/runtime/index.mjs +1 -0
  1699. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  1700. package/dist/esm/core/runtime/runtime.mjs +100 -0
  1701. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  1702. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  1703. package/dist/esm/core/url/index.d.mts +3 -0
  1704. package/dist/esm/core/url/index.mjs +3 -0
  1705. package/dist/esm/core/url/join.d.mts +1 -0
  1706. package/dist/esm/core/url/join.mjs +65 -0
  1707. package/dist/esm/core/url/qs.d.mts +6 -0
  1708. package/dist/esm/core/url/qs.mjs +61 -0
  1709. package/dist/esm/core/websocket/events.d.mts +36 -0
  1710. package/dist/esm/core/websocket/events.mjs +21 -0
  1711. package/dist/esm/core/websocket/exports.d.mts +8 -0
  1712. package/dist/esm/core/websocket/exports.mjs +1 -0
  1713. package/dist/esm/core/websocket/index.d.mts +1 -0
  1714. package/dist/esm/core/websocket/index.mjs +1 -0
  1715. package/dist/esm/core/websocket/ws.d.mts +148 -0
  1716. package/dist/esm/core/websocket/ws.mjs +445 -0
  1717. package/dist/esm/environments.d.mts +18 -0
  1718. package/dist/esm/environments.mjs +13 -0
  1719. package/dist/esm/errors/DeepgramError.d.mts +12 -0
  1720. package/dist/esm/errors/DeepgramError.mjs +28 -0
  1721. package/dist/esm/errors/DeepgramTimeoutError.d.mts +3 -0
  1722. package/dist/esm/errors/DeepgramTimeoutError.mjs +11 -0
  1723. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  1724. package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
  1725. package/dist/esm/errors/index.d.mts +2 -0
  1726. package/dist/esm/errors/index.mjs +2 -0
  1727. package/dist/esm/exports.d.mts +1 -0
  1728. package/dist/esm/exports.mjs +1 -0
  1729. package/dist/esm/index.d.mts +7 -0
  1730. package/dist/esm/index.mjs +6 -0
  1731. package/package.json +82 -103
  1732. package/reference.md +2931 -0
  1733. package/dist/main/DeepgramClient.d.ts +0 -106
  1734. package/dist/main/DeepgramClient.d.ts.map +0 -1
  1735. package/dist/main/DeepgramClient.js +0 -144
  1736. package/dist/main/DeepgramClient.js.map +0 -1
  1737. package/dist/main/index.d.ts +0 -46
  1738. package/dist/main/index.d.ts.map +0 -1
  1739. package/dist/main/index.js +0 -75
  1740. package/dist/main/index.js.map +0 -1
  1741. package/dist/main/lib/constants.d.ts +0 -24
  1742. package/dist/main/lib/constants.d.ts.map +0 -1
  1743. package/dist/main/lib/constants.js +0 -58
  1744. package/dist/main/lib/constants.js.map +0 -1
  1745. package/dist/main/lib/enums/AgentEvents.d.ts +0 -74
  1746. package/dist/main/lib/enums/AgentEvents.d.ts.map +0 -1
  1747. package/dist/main/lib/enums/AgentEvents.js +0 -78
  1748. package/dist/main/lib/enums/AgentEvents.js.map +0 -1
  1749. package/dist/main/lib/enums/LiveConnectionState.d.ts +0 -12
  1750. package/dist/main/lib/enums/LiveConnectionState.d.ts.map +0 -1
  1751. package/dist/main/lib/enums/LiveConnectionState.js +0 -16
  1752. package/dist/main/lib/enums/LiveConnectionState.js.map +0 -1
  1753. package/dist/main/lib/enums/LiveTTSEvents.d.ts +0 -34
  1754. package/dist/main/lib/enums/LiveTTSEvents.d.ts.map +0 -1
  1755. package/dist/main/lib/enums/LiveTTSEvents.js +0 -38
  1756. package/dist/main/lib/enums/LiveTTSEvents.js.map +0 -1
  1757. package/dist/main/lib/enums/LiveTranscriptionEvents.d.ts +0 -32
  1758. package/dist/main/lib/enums/LiveTranscriptionEvents.d.ts.map +0 -1
  1759. package/dist/main/lib/enums/LiveTranscriptionEvents.js +0 -36
  1760. package/dist/main/lib/enums/LiveTranscriptionEvents.js.map +0 -1
  1761. package/dist/main/lib/enums/index.d.ts +0 -5
  1762. package/dist/main/lib/enums/index.d.ts.map +0 -1
  1763. package/dist/main/lib/enums/index.js +0 -21
  1764. package/dist/main/lib/enums/index.js.map +0 -1
  1765. package/dist/main/lib/errors.d.ts +0 -55
  1766. package/dist/main/lib/errors.d.ts.map +0 -1
  1767. package/dist/main/lib/errors.js +0 -80
  1768. package/dist/main/lib/errors.js.map +0 -1
  1769. package/dist/main/lib/fetch.d.ts +0 -34
  1770. package/dist/main/lib/fetch.d.ts.map +0 -1
  1771. package/dist/main/lib/fetch.js +0 -92
  1772. package/dist/main/lib/fetch.js.map +0 -1
  1773. package/dist/main/lib/helpers.d.ts +0 -20
  1774. package/dist/main/lib/helpers.d.ts.map +0 -1
  1775. package/dist/main/lib/helpers.js +0 -154
  1776. package/dist/main/lib/helpers.js.map +0 -1
  1777. package/dist/main/lib/runtime.d.ts +0 -7
  1778. package/dist/main/lib/runtime.d.ts.map +0 -1
  1779. package/dist/main/lib/runtime.js +0 -19
  1780. package/dist/main/lib/runtime.js.map +0 -1
  1781. package/dist/main/lib/types/AgentLiveSchema.d.ts +0 -92
  1782. package/dist/main/lib/types/AgentLiveSchema.d.ts.map +0 -1
  1783. package/dist/main/lib/types/AgentLiveSchema.js +0 -3
  1784. package/dist/main/lib/types/AgentLiveSchema.js.map +0 -1
  1785. package/dist/main/lib/types/AnalyzeSchema.d.ts +0 -28
  1786. package/dist/main/lib/types/AnalyzeSchema.d.ts.map +0 -1
  1787. package/dist/main/lib/types/AnalyzeSchema.js +0 -3
  1788. package/dist/main/lib/types/AnalyzeSchema.js.map +0 -1
  1789. package/dist/main/lib/types/AsyncAnalyzeResponse.d.ts +0 -4
  1790. package/dist/main/lib/types/AsyncAnalyzeResponse.d.ts.map +0 -1
  1791. package/dist/main/lib/types/AsyncAnalyzeResponse.js +0 -3
  1792. package/dist/main/lib/types/AsyncAnalyzeResponse.js.map +0 -1
  1793. package/dist/main/lib/types/AsyncPrerecordedResponse.d.ts +0 -4
  1794. package/dist/main/lib/types/AsyncPrerecordedResponse.d.ts.map +0 -1
  1795. package/dist/main/lib/types/AsyncPrerecordedResponse.js +0 -3
  1796. package/dist/main/lib/types/AsyncPrerecordedResponse.js.map +0 -1
  1797. package/dist/main/lib/types/CreateOnPremCredentialsSchema.d.ts +0 -6
  1798. package/dist/main/lib/types/CreateOnPremCredentialsSchema.d.ts.map +0 -1
  1799. package/dist/main/lib/types/CreateOnPremCredentialsSchema.js +0 -3
  1800. package/dist/main/lib/types/CreateOnPremCredentialsSchema.js.map +0 -1
  1801. package/dist/main/lib/types/CreateProjectKeyResponse.d.ts +0 -10
  1802. package/dist/main/lib/types/CreateProjectKeyResponse.d.ts.map +0 -1
  1803. package/dist/main/lib/types/CreateProjectKeyResponse.js +0 -3
  1804. package/dist/main/lib/types/CreateProjectKeyResponse.js.map +0 -1
  1805. package/dist/main/lib/types/CreateProjectKeySchema.d.ts +0 -14
  1806. package/dist/main/lib/types/CreateProjectKeySchema.d.ts.map +0 -1
  1807. package/dist/main/lib/types/CreateProjectKeySchema.js +0 -3
  1808. package/dist/main/lib/types/CreateProjectKeySchema.js.map +0 -1
  1809. package/dist/main/lib/types/DeepgramClientOptions.d.ts +0 -90
  1810. package/dist/main/lib/types/DeepgramClientOptions.d.ts.map +0 -1
  1811. package/dist/main/lib/types/DeepgramClientOptions.js +0 -3
  1812. package/dist/main/lib/types/DeepgramClientOptions.js.map +0 -1
  1813. package/dist/main/lib/types/DeepgramResponse.d.ts +0 -12
  1814. package/dist/main/lib/types/DeepgramResponse.d.ts.map +0 -1
  1815. package/dist/main/lib/types/DeepgramResponse.js +0 -3
  1816. package/dist/main/lib/types/DeepgramResponse.js.map +0 -1
  1817. package/dist/main/lib/types/DeepgramSource.d.ts +0 -14
  1818. package/dist/main/lib/types/DeepgramSource.d.ts.map +0 -1
  1819. package/dist/main/lib/types/DeepgramSource.js +0 -3
  1820. package/dist/main/lib/types/DeepgramSource.js.map +0 -1
  1821. package/dist/main/lib/types/Fetch.d.ts +0 -7
  1822. package/dist/main/lib/types/Fetch.d.ts.map +0 -1
  1823. package/dist/main/lib/types/Fetch.js +0 -3
  1824. package/dist/main/lib/types/Fetch.js.map +0 -1
  1825. package/dist/main/lib/types/FunctionCallResponse.d.ts +0 -18
  1826. package/dist/main/lib/types/FunctionCallResponse.d.ts.map +0 -1
  1827. package/dist/main/lib/types/FunctionCallResponse.js +0 -3
  1828. package/dist/main/lib/types/FunctionCallResponse.js.map +0 -1
  1829. package/dist/main/lib/types/GetModelsResponse.d.ts +0 -24
  1830. package/dist/main/lib/types/GetModelsResponse.d.ts.map +0 -1
  1831. package/dist/main/lib/types/GetModelsResponse.js +0 -3
  1832. package/dist/main/lib/types/GetModelsResponse.js.map +0 -1
  1833. package/dist/main/lib/types/GetModelsSchema.d.ts +0 -4
  1834. package/dist/main/lib/types/GetModelsSchema.d.ts.map +0 -1
  1835. package/dist/main/lib/types/GetModelsSchema.js +0 -3
  1836. package/dist/main/lib/types/GetModelsSchema.js.map +0 -1
  1837. package/dist/main/lib/types/GetProjectBalancesResponse.d.ts +0 -10
  1838. package/dist/main/lib/types/GetProjectBalancesResponse.d.ts.map +0 -1
  1839. package/dist/main/lib/types/GetProjectBalancesResponse.js +0 -3
  1840. package/dist/main/lib/types/GetProjectBalancesResponse.js.map +0 -1
  1841. package/dist/main/lib/types/GetProjectInvitesResponse.d.ts +0 -9
  1842. package/dist/main/lib/types/GetProjectInvitesResponse.d.ts.map +0 -1
  1843. package/dist/main/lib/types/GetProjectInvitesResponse.js +0 -3
  1844. package/dist/main/lib/types/GetProjectInvitesResponse.js.map +0 -1
  1845. package/dist/main/lib/types/GetProjectKeysResponse.d.ts +0 -22
  1846. package/dist/main/lib/types/GetProjectKeysResponse.d.ts.map +0 -1
  1847. package/dist/main/lib/types/GetProjectKeysResponse.js +0 -3
  1848. package/dist/main/lib/types/GetProjectKeysResponse.js.map +0 -1
  1849. package/dist/main/lib/types/GetProjectMemberScopesResponse.d.ts +0 -4
  1850. package/dist/main/lib/types/GetProjectMemberScopesResponse.d.ts.map +0 -1
  1851. package/dist/main/lib/types/GetProjectMemberScopesResponse.js +0 -3
  1852. package/dist/main/lib/types/GetProjectMemberScopesResponse.js.map +0 -1
  1853. package/dist/main/lib/types/GetProjectMembersResponse.d.ts +0 -12
  1854. package/dist/main/lib/types/GetProjectMembersResponse.d.ts.map +0 -1
  1855. package/dist/main/lib/types/GetProjectMembersResponse.js +0 -3
  1856. package/dist/main/lib/types/GetProjectMembersResponse.js.map +0 -1
  1857. package/dist/main/lib/types/GetProjectResponse.d.ts +0 -6
  1858. package/dist/main/lib/types/GetProjectResponse.d.ts.map +0 -1
  1859. package/dist/main/lib/types/GetProjectResponse.js +0 -3
  1860. package/dist/main/lib/types/GetProjectResponse.js.map +0 -1
  1861. package/dist/main/lib/types/GetProjectUsageFieldsResponse.d.ts +0 -15
  1862. package/dist/main/lib/types/GetProjectUsageFieldsResponse.d.ts.map +0 -1
  1863. package/dist/main/lib/types/GetProjectUsageFieldsResponse.js +0 -3
  1864. package/dist/main/lib/types/GetProjectUsageFieldsResponse.js.map +0 -1
  1865. package/dist/main/lib/types/GetProjectUsageFieldsSchema.d.ts +0 -5
  1866. package/dist/main/lib/types/GetProjectUsageFieldsSchema.d.ts.map +0 -1
  1867. package/dist/main/lib/types/GetProjectUsageFieldsSchema.js +0 -3
  1868. package/dist/main/lib/types/GetProjectUsageFieldsSchema.js.map +0 -1
  1869. package/dist/main/lib/types/GetProjectUsageRequestsResponse.d.ts +0 -49
  1870. package/dist/main/lib/types/GetProjectUsageRequestsResponse.d.ts.map +0 -1
  1871. package/dist/main/lib/types/GetProjectUsageRequestsResponse.js +0 -3
  1872. package/dist/main/lib/types/GetProjectUsageRequestsResponse.js.map +0 -1
  1873. package/dist/main/lib/types/GetProjectUsageRequestsSchema.d.ts +0 -7
  1874. package/dist/main/lib/types/GetProjectUsageRequestsSchema.d.ts.map +0 -1
  1875. package/dist/main/lib/types/GetProjectUsageRequestsSchema.js +0 -3
  1876. package/dist/main/lib/types/GetProjectUsageRequestsSchema.js.map +0 -1
  1877. package/dist/main/lib/types/GetProjectUsageSummaryResponse.d.ts +0 -18
  1878. package/dist/main/lib/types/GetProjectUsageSummaryResponse.d.ts.map +0 -1
  1879. package/dist/main/lib/types/GetProjectUsageSummaryResponse.js +0 -3
  1880. package/dist/main/lib/types/GetProjectUsageSummaryResponse.js.map +0 -1
  1881. package/dist/main/lib/types/GetProjectUsageSummarySchema.d.ts +0 -24
  1882. package/dist/main/lib/types/GetProjectUsageSummarySchema.d.ts.map +0 -1
  1883. package/dist/main/lib/types/GetProjectUsageSummarySchema.js +0 -3
  1884. package/dist/main/lib/types/GetProjectUsageSummarySchema.js.map +0 -1
  1885. package/dist/main/lib/types/GetProjectsResponse.d.ts +0 -9
  1886. package/dist/main/lib/types/GetProjectsResponse.d.ts.map +0 -1
  1887. package/dist/main/lib/types/GetProjectsResponse.js +0 -3
  1888. package/dist/main/lib/types/GetProjectsResponse.js.map +0 -1
  1889. package/dist/main/lib/types/GetTokenDetailsResponse.d.ts +0 -4
  1890. package/dist/main/lib/types/GetTokenDetailsResponse.d.ts.map +0 -1
  1891. package/dist/main/lib/types/GetTokenDetailsResponse.js +0 -3
  1892. package/dist/main/lib/types/GetTokenDetailsResponse.js.map +0 -1
  1893. package/dist/main/lib/types/GrantTokenResponse.d.ts +0 -5
  1894. package/dist/main/lib/types/GrantTokenResponse.d.ts.map +0 -1
  1895. package/dist/main/lib/types/GrantTokenResponse.js +0 -3
  1896. package/dist/main/lib/types/GrantTokenResponse.js.map +0 -1
  1897. package/dist/main/lib/types/GrantTokenSchema.d.ts +0 -10
  1898. package/dist/main/lib/types/GrantTokenSchema.d.ts.map +0 -1
  1899. package/dist/main/lib/types/GrantTokenSchema.js +0 -3
  1900. package/dist/main/lib/types/GrantTokenSchema.js.map +0 -1
  1901. package/dist/main/lib/types/ListOnPremCredentialsResponse.d.ts +0 -17
  1902. package/dist/main/lib/types/ListOnPremCredentialsResponse.d.ts.map +0 -1
  1903. package/dist/main/lib/types/ListOnPremCredentialsResponse.js +0 -3
  1904. package/dist/main/lib/types/ListOnPremCredentialsResponse.js.map +0 -1
  1905. package/dist/main/lib/types/LiveConfigOptions.d.ts +0 -7
  1906. package/dist/main/lib/types/LiveConfigOptions.d.ts.map +0 -1
  1907. package/dist/main/lib/types/LiveConfigOptions.js +0 -3
  1908. package/dist/main/lib/types/LiveConfigOptions.js.map +0 -1
  1909. package/dist/main/lib/types/LiveMetadataEvent.d.ts +0 -10
  1910. package/dist/main/lib/types/LiveMetadataEvent.d.ts.map +0 -1
  1911. package/dist/main/lib/types/LiveMetadataEvent.js +0 -3
  1912. package/dist/main/lib/types/LiveMetadataEvent.js.map +0 -1
  1913. package/dist/main/lib/types/LiveTranscriptionEvent.d.ts +0 -35
  1914. package/dist/main/lib/types/LiveTranscriptionEvent.d.ts.map +0 -1
  1915. package/dist/main/lib/types/LiveTranscriptionEvent.js +0 -3
  1916. package/dist/main/lib/types/LiveTranscriptionEvent.js.map +0 -1
  1917. package/dist/main/lib/types/MessageResponse.d.ts +0 -4
  1918. package/dist/main/lib/types/MessageResponse.d.ts.map +0 -1
  1919. package/dist/main/lib/types/MessageResponse.js +0 -3
  1920. package/dist/main/lib/types/MessageResponse.js.map +0 -1
  1921. package/dist/main/lib/types/SendProjectInviteSchema.d.ts +0 -5
  1922. package/dist/main/lib/types/SendProjectInviteSchema.d.ts.map +0 -1
  1923. package/dist/main/lib/types/SendProjectInviteSchema.js +0 -3
  1924. package/dist/main/lib/types/SendProjectInviteSchema.js.map +0 -1
  1925. package/dist/main/lib/types/SpeakSchema.d.ts +0 -25
  1926. package/dist/main/lib/types/SpeakSchema.d.ts.map +0 -1
  1927. package/dist/main/lib/types/SpeakSchema.js +0 -3
  1928. package/dist/main/lib/types/SpeakSchema.js.map +0 -1
  1929. package/dist/main/lib/types/SpeechStartedEvent.d.ts +0 -6
  1930. package/dist/main/lib/types/SpeechStartedEvent.d.ts.map +0 -1
  1931. package/dist/main/lib/types/SpeechStartedEvent.js +0 -3
  1932. package/dist/main/lib/types/SpeechStartedEvent.js.map +0 -1
  1933. package/dist/main/lib/types/SyncAnalyzeResponse.d.ts +0 -79
  1934. package/dist/main/lib/types/SyncAnalyzeResponse.d.ts.map +0 -1
  1935. package/dist/main/lib/types/SyncAnalyzeResponse.js +0 -3
  1936. package/dist/main/lib/types/SyncAnalyzeResponse.js.map +0 -1
  1937. package/dist/main/lib/types/SyncPrerecordedResponse.d.ts +0 -186
  1938. package/dist/main/lib/types/SyncPrerecordedResponse.d.ts.map +0 -1
  1939. package/dist/main/lib/types/SyncPrerecordedResponse.js +0 -3
  1940. package/dist/main/lib/types/SyncPrerecordedResponse.js.map +0 -1
  1941. package/dist/main/lib/types/TranscriptionSchema.d.ts +0 -201
  1942. package/dist/main/lib/types/TranscriptionSchema.d.ts.map +0 -1
  1943. package/dist/main/lib/types/TranscriptionSchema.js +0 -3
  1944. package/dist/main/lib/types/TranscriptionSchema.js.map +0 -1
  1945. package/dist/main/lib/types/UpdateProjectMemberScopeSchema.d.ts +0 -4
  1946. package/dist/main/lib/types/UpdateProjectMemberScopeSchema.d.ts.map +0 -1
  1947. package/dist/main/lib/types/UpdateProjectMemberScopeSchema.js +0 -3
  1948. package/dist/main/lib/types/UpdateProjectMemberScopeSchema.js.map +0 -1
  1949. package/dist/main/lib/types/UpdateProjectSchema.d.ts +0 -5
  1950. package/dist/main/lib/types/UpdateProjectSchema.d.ts.map +0 -1
  1951. package/dist/main/lib/types/UpdateProjectSchema.js +0 -3
  1952. package/dist/main/lib/types/UpdateProjectSchema.js.map +0 -1
  1953. package/dist/main/lib/types/UtteranceEndEvent.d.ts +0 -6
  1954. package/dist/main/lib/types/UtteranceEndEvent.d.ts.map +0 -1
  1955. package/dist/main/lib/types/UtteranceEndEvent.js +0 -3
  1956. package/dist/main/lib/types/UtteranceEndEvent.js.map +0 -1
  1957. package/dist/main/lib/types/VoidResponse.d.ts +0 -10
  1958. package/dist/main/lib/types/VoidResponse.d.ts.map +0 -1
  1959. package/dist/main/lib/types/VoidResponse.js +0 -3
  1960. package/dist/main/lib/types/VoidResponse.js.map +0 -1
  1961. package/dist/main/lib/types/index.d.ts +0 -46
  1962. package/dist/main/lib/types/index.d.ts.map +0 -1
  1963. package/dist/main/lib/types/index.js +0 -62
  1964. package/dist/main/lib/types/index.js.map +0 -1
  1965. package/dist/main/lib/version.d.ts +0 -2
  1966. package/dist/main/lib/version.d.ts.map +0 -1
  1967. package/dist/main/lib/version.js +0 -5
  1968. package/dist/main/lib/version.js.map +0 -1
  1969. package/dist/main/packages/AbstractClient.d.ts +0 -71
  1970. package/dist/main/packages/AbstractClient.d.ts.map +0 -1
  1971. package/dist/main/packages/AbstractClient.js +0 -138
  1972. package/dist/main/packages/AbstractClient.js.map +0 -1
  1973. package/dist/main/packages/AbstractLiveClient.d.ts +0 -277
  1974. package/dist/main/packages/AbstractLiveClient.d.ts.map +0 -1
  1975. package/dist/main/packages/AbstractLiveClient.js +0 -439
  1976. package/dist/main/packages/AbstractLiveClient.js.map +0 -1
  1977. package/dist/main/packages/AbstractRestClient.d.ts +0 -106
  1978. package/dist/main/packages/AbstractRestClient.d.ts.map +0 -1
  1979. package/dist/main/packages/AbstractRestClient.js +0 -186
  1980. package/dist/main/packages/AbstractRestClient.js.map +0 -1
  1981. package/dist/main/packages/AgentLiveClient.d.ts +0 -78
  1982. package/dist/main/packages/AgentLiveClient.d.ts.map +0 -1
  1983. package/dist/main/packages/AgentLiveClient.js +0 -163
  1984. package/dist/main/packages/AgentLiveClient.js.map +0 -1
  1985. package/dist/main/packages/AuthRestClient.d.ts +0 -15
  1986. package/dist/main/packages/AuthRestClient.d.ts.map +0 -1
  1987. package/dist/main/packages/AuthRestClient.js +0 -46
  1988. package/dist/main/packages/AuthRestClient.js.map +0 -1
  1989. package/dist/main/packages/ListenClient.d.ts +0 -26
  1990. package/dist/main/packages/ListenClient.d.ts.map +0 -1
  1991. package/dist/main/packages/ListenClient.js +0 -36
  1992. package/dist/main/packages/ListenClient.js.map +0 -1
  1993. package/dist/main/packages/ListenLiveClient.d.ts +0 -62
  1994. package/dist/main/packages/ListenLiveClient.d.ts.map +0 -1
  1995. package/dist/main/packages/ListenLiveClient.js +0 -135
  1996. package/dist/main/packages/ListenLiveClient.js.map +0 -1
  1997. package/dist/main/packages/ListenRestClient.d.ts +0 -57
  1998. package/dist/main/packages/ListenRestClient.d.ts.map +0 -1
  1999. package/dist/main/packages/ListenRestClient.js +0 -171
  2000. package/dist/main/packages/ListenRestClient.js.map +0 -1
  2001. package/dist/main/packages/ManageRestClient.d.ts +0 -301
  2002. package/dist/main/packages/ManageRestClient.d.ts.map +0 -1
  2003. package/dist/main/packages/ManageRestClient.js +0 -671
  2004. package/dist/main/packages/ManageRestClient.js.map +0 -1
  2005. package/dist/main/packages/ModelsRestClient.d.ts +0 -53
  2006. package/dist/main/packages/ModelsRestClient.d.ts.map +0 -1
  2007. package/dist/main/packages/ModelsRestClient.js +0 -97
  2008. package/dist/main/packages/ModelsRestClient.js.map +0 -1
  2009. package/dist/main/packages/ReadRestClient.d.ts +0 -57
  2010. package/dist/main/packages/ReadRestClient.d.ts.map +0 -1
  2011. package/dist/main/packages/ReadRestClient.js +0 -165
  2012. package/dist/main/packages/ReadRestClient.js.map +0 -1
  2013. package/dist/main/packages/SelfHostedRestClient.d.ts +0 -47
  2014. package/dist/main/packages/SelfHostedRestClient.d.ts.map +0 -1
  2015. package/dist/main/packages/SelfHostedRestClient.js +0 -120
  2016. package/dist/main/packages/SelfHostedRestClient.js.map +0 -1
  2017. package/dist/main/packages/SpeakClient.d.ts +0 -27
  2018. package/dist/main/packages/SpeakClient.d.ts.map +0 -1
  2019. package/dist/main/packages/SpeakClient.js +0 -37
  2020. package/dist/main/packages/SpeakClient.js.map +0 -1
  2021. package/dist/main/packages/SpeakLiveClient.d.ts +0 -69
  2022. package/dist/main/packages/SpeakLiveClient.d.ts.map +0 -1
  2023. package/dist/main/packages/SpeakLiveClient.js +0 -159
  2024. package/dist/main/packages/SpeakLiveClient.js.map +0 -1
  2025. package/dist/main/packages/SpeakRestClient.d.ts +0 -35
  2026. package/dist/main/packages/SpeakRestClient.d.ts.map +0 -1
  2027. package/dist/main/packages/SpeakRestClient.js +0 -78
  2028. package/dist/main/packages/SpeakRestClient.js.map +0 -1
  2029. package/dist/main/packages/index.d.ts +0 -16
  2030. package/dist/main/packages/index.d.ts.map +0 -1
  2031. package/dist/main/packages/index.js +0 -32
  2032. package/dist/main/packages/index.js.map +0 -1
  2033. package/dist/module/DeepgramClient.d.ts +0 -106
  2034. package/dist/module/DeepgramClient.d.ts.map +0 -1
  2035. package/dist/module/DeepgramClient.js +0 -141
  2036. package/dist/module/DeepgramClient.js.map +0 -1
  2037. package/dist/module/index.d.ts +0 -46
  2038. package/dist/module/index.d.ts.map +0 -1
  2039. package/dist/module/index.js +0 -51
  2040. package/dist/module/index.js.map +0 -1
  2041. package/dist/module/lib/constants.d.ts +0 -24
  2042. package/dist/module/lib/constants.d.ts.map +0 -1
  2043. package/dist/module/lib/constants.js +0 -55
  2044. package/dist/module/lib/constants.js.map +0 -1
  2045. package/dist/module/lib/enums/AgentEvents.d.ts +0 -74
  2046. package/dist/module/lib/enums/AgentEvents.d.ts.map +0 -1
  2047. package/dist/module/lib/enums/AgentEvents.js +0 -75
  2048. package/dist/module/lib/enums/AgentEvents.js.map +0 -1
  2049. package/dist/module/lib/enums/LiveConnectionState.d.ts +0 -12
  2050. package/dist/module/lib/enums/LiveConnectionState.d.ts.map +0 -1
  2051. package/dist/module/lib/enums/LiveConnectionState.js +0 -13
  2052. package/dist/module/lib/enums/LiveConnectionState.js.map +0 -1
  2053. package/dist/module/lib/enums/LiveTTSEvents.d.ts +0 -34
  2054. package/dist/module/lib/enums/LiveTTSEvents.d.ts.map +0 -1
  2055. package/dist/module/lib/enums/LiveTTSEvents.js +0 -35
  2056. package/dist/module/lib/enums/LiveTTSEvents.js.map +0 -1
  2057. package/dist/module/lib/enums/LiveTranscriptionEvents.d.ts +0 -32
  2058. package/dist/module/lib/enums/LiveTranscriptionEvents.d.ts.map +0 -1
  2059. package/dist/module/lib/enums/LiveTranscriptionEvents.js +0 -33
  2060. package/dist/module/lib/enums/LiveTranscriptionEvents.js.map +0 -1
  2061. package/dist/module/lib/enums/index.d.ts +0 -5
  2062. package/dist/module/lib/enums/index.d.ts.map +0 -1
  2063. package/dist/module/lib/enums/index.js +0 -5
  2064. package/dist/module/lib/enums/index.js.map +0 -1
  2065. package/dist/module/lib/errors.d.ts +0 -55
  2066. package/dist/module/lib/errors.d.ts.map +0 -1
  2067. package/dist/module/lib/errors.js +0 -71
  2068. package/dist/module/lib/errors.js.map +0 -1
  2069. package/dist/module/lib/fetch.d.ts +0 -34
  2070. package/dist/module/lib/fetch.d.ts.map +0 -1
  2071. package/dist/module/lib/fetch.js +0 -60
  2072. package/dist/module/lib/fetch.js.map +0 -1
  2073. package/dist/module/lib/helpers.d.ts +0 -20
  2074. package/dist/module/lib/helpers.d.ts.map +0 -1
  2075. package/dist/module/lib/helpers.js +0 -135
  2076. package/dist/module/lib/helpers.js.map +0 -1
  2077. package/dist/module/lib/runtime.d.ts +0 -7
  2078. package/dist/module/lib/runtime.d.ts.map +0 -1
  2079. package/dist/module/lib/runtime.js +0 -13
  2080. package/dist/module/lib/runtime.js.map +0 -1
  2081. package/dist/module/lib/types/AgentLiveSchema.d.ts +0 -92
  2082. package/dist/module/lib/types/AgentLiveSchema.d.ts.map +0 -1
  2083. package/dist/module/lib/types/AgentLiveSchema.js +0 -2
  2084. package/dist/module/lib/types/AgentLiveSchema.js.map +0 -1
  2085. package/dist/module/lib/types/AnalyzeSchema.d.ts +0 -28
  2086. package/dist/module/lib/types/AnalyzeSchema.d.ts.map +0 -1
  2087. package/dist/module/lib/types/AnalyzeSchema.js +0 -2
  2088. package/dist/module/lib/types/AnalyzeSchema.js.map +0 -1
  2089. package/dist/module/lib/types/AsyncAnalyzeResponse.d.ts +0 -4
  2090. package/dist/module/lib/types/AsyncAnalyzeResponse.d.ts.map +0 -1
  2091. package/dist/module/lib/types/AsyncAnalyzeResponse.js +0 -2
  2092. package/dist/module/lib/types/AsyncAnalyzeResponse.js.map +0 -1
  2093. package/dist/module/lib/types/AsyncPrerecordedResponse.d.ts +0 -4
  2094. package/dist/module/lib/types/AsyncPrerecordedResponse.d.ts.map +0 -1
  2095. package/dist/module/lib/types/AsyncPrerecordedResponse.js +0 -2
  2096. package/dist/module/lib/types/AsyncPrerecordedResponse.js.map +0 -1
  2097. package/dist/module/lib/types/CreateOnPremCredentialsSchema.d.ts +0 -6
  2098. package/dist/module/lib/types/CreateOnPremCredentialsSchema.d.ts.map +0 -1
  2099. package/dist/module/lib/types/CreateOnPremCredentialsSchema.js +0 -2
  2100. package/dist/module/lib/types/CreateOnPremCredentialsSchema.js.map +0 -1
  2101. package/dist/module/lib/types/CreateProjectKeyResponse.d.ts +0 -10
  2102. package/dist/module/lib/types/CreateProjectKeyResponse.d.ts.map +0 -1
  2103. package/dist/module/lib/types/CreateProjectKeyResponse.js +0 -2
  2104. package/dist/module/lib/types/CreateProjectKeyResponse.js.map +0 -1
  2105. package/dist/module/lib/types/CreateProjectKeySchema.d.ts +0 -14
  2106. package/dist/module/lib/types/CreateProjectKeySchema.d.ts.map +0 -1
  2107. package/dist/module/lib/types/CreateProjectKeySchema.js +0 -2
  2108. package/dist/module/lib/types/CreateProjectKeySchema.js.map +0 -1
  2109. package/dist/module/lib/types/DeepgramClientOptions.d.ts +0 -90
  2110. package/dist/module/lib/types/DeepgramClientOptions.d.ts.map +0 -1
  2111. package/dist/module/lib/types/DeepgramClientOptions.js +0 -2
  2112. package/dist/module/lib/types/DeepgramClientOptions.js.map +0 -1
  2113. package/dist/module/lib/types/DeepgramResponse.d.ts +0 -12
  2114. package/dist/module/lib/types/DeepgramResponse.d.ts.map +0 -1
  2115. package/dist/module/lib/types/DeepgramResponse.js +0 -2
  2116. package/dist/module/lib/types/DeepgramResponse.js.map +0 -1
  2117. package/dist/module/lib/types/DeepgramSource.d.ts +0 -14
  2118. package/dist/module/lib/types/DeepgramSource.d.ts.map +0 -1
  2119. package/dist/module/lib/types/DeepgramSource.js +0 -2
  2120. package/dist/module/lib/types/DeepgramSource.js.map +0 -1
  2121. package/dist/module/lib/types/Fetch.d.ts +0 -7
  2122. package/dist/module/lib/types/Fetch.d.ts.map +0 -1
  2123. package/dist/module/lib/types/Fetch.js +0 -2
  2124. package/dist/module/lib/types/Fetch.js.map +0 -1
  2125. package/dist/module/lib/types/FunctionCallResponse.d.ts +0 -18
  2126. package/dist/module/lib/types/FunctionCallResponse.d.ts.map +0 -1
  2127. package/dist/module/lib/types/FunctionCallResponse.js +0 -2
  2128. package/dist/module/lib/types/FunctionCallResponse.js.map +0 -1
  2129. package/dist/module/lib/types/GetModelsResponse.d.ts +0 -24
  2130. package/dist/module/lib/types/GetModelsResponse.d.ts.map +0 -1
  2131. package/dist/module/lib/types/GetModelsResponse.js +0 -2
  2132. package/dist/module/lib/types/GetModelsResponse.js.map +0 -1
  2133. package/dist/module/lib/types/GetModelsSchema.d.ts +0 -4
  2134. package/dist/module/lib/types/GetModelsSchema.d.ts.map +0 -1
  2135. package/dist/module/lib/types/GetModelsSchema.js +0 -2
  2136. package/dist/module/lib/types/GetModelsSchema.js.map +0 -1
  2137. package/dist/module/lib/types/GetProjectBalancesResponse.d.ts +0 -10
  2138. package/dist/module/lib/types/GetProjectBalancesResponse.d.ts.map +0 -1
  2139. package/dist/module/lib/types/GetProjectBalancesResponse.js +0 -2
  2140. package/dist/module/lib/types/GetProjectBalancesResponse.js.map +0 -1
  2141. package/dist/module/lib/types/GetProjectInvitesResponse.d.ts +0 -9
  2142. package/dist/module/lib/types/GetProjectInvitesResponse.d.ts.map +0 -1
  2143. package/dist/module/lib/types/GetProjectInvitesResponse.js +0 -2
  2144. package/dist/module/lib/types/GetProjectInvitesResponse.js.map +0 -1
  2145. package/dist/module/lib/types/GetProjectKeysResponse.d.ts +0 -22
  2146. package/dist/module/lib/types/GetProjectKeysResponse.d.ts.map +0 -1
  2147. package/dist/module/lib/types/GetProjectKeysResponse.js +0 -2
  2148. package/dist/module/lib/types/GetProjectKeysResponse.js.map +0 -1
  2149. package/dist/module/lib/types/GetProjectMemberScopesResponse.d.ts +0 -4
  2150. package/dist/module/lib/types/GetProjectMemberScopesResponse.d.ts.map +0 -1
  2151. package/dist/module/lib/types/GetProjectMemberScopesResponse.js +0 -2
  2152. package/dist/module/lib/types/GetProjectMemberScopesResponse.js.map +0 -1
  2153. package/dist/module/lib/types/GetProjectMembersResponse.d.ts +0 -12
  2154. package/dist/module/lib/types/GetProjectMembersResponse.d.ts.map +0 -1
  2155. package/dist/module/lib/types/GetProjectMembersResponse.js +0 -2
  2156. package/dist/module/lib/types/GetProjectMembersResponse.js.map +0 -1
  2157. package/dist/module/lib/types/GetProjectResponse.d.ts +0 -6
  2158. package/dist/module/lib/types/GetProjectResponse.d.ts.map +0 -1
  2159. package/dist/module/lib/types/GetProjectResponse.js +0 -2
  2160. package/dist/module/lib/types/GetProjectResponse.js.map +0 -1
  2161. package/dist/module/lib/types/GetProjectUsageFieldsResponse.d.ts +0 -15
  2162. package/dist/module/lib/types/GetProjectUsageFieldsResponse.d.ts.map +0 -1
  2163. package/dist/module/lib/types/GetProjectUsageFieldsResponse.js +0 -2
  2164. package/dist/module/lib/types/GetProjectUsageFieldsResponse.js.map +0 -1
  2165. package/dist/module/lib/types/GetProjectUsageFieldsSchema.d.ts +0 -5
  2166. package/dist/module/lib/types/GetProjectUsageFieldsSchema.d.ts.map +0 -1
  2167. package/dist/module/lib/types/GetProjectUsageFieldsSchema.js +0 -2
  2168. package/dist/module/lib/types/GetProjectUsageFieldsSchema.js.map +0 -1
  2169. package/dist/module/lib/types/GetProjectUsageRequestsResponse.d.ts +0 -49
  2170. package/dist/module/lib/types/GetProjectUsageRequestsResponse.d.ts.map +0 -1
  2171. package/dist/module/lib/types/GetProjectUsageRequestsResponse.js +0 -2
  2172. package/dist/module/lib/types/GetProjectUsageRequestsResponse.js.map +0 -1
  2173. package/dist/module/lib/types/GetProjectUsageRequestsSchema.d.ts +0 -7
  2174. package/dist/module/lib/types/GetProjectUsageRequestsSchema.d.ts.map +0 -1
  2175. package/dist/module/lib/types/GetProjectUsageRequestsSchema.js +0 -2
  2176. package/dist/module/lib/types/GetProjectUsageRequestsSchema.js.map +0 -1
  2177. package/dist/module/lib/types/GetProjectUsageSummaryResponse.d.ts +0 -18
  2178. package/dist/module/lib/types/GetProjectUsageSummaryResponse.d.ts.map +0 -1
  2179. package/dist/module/lib/types/GetProjectUsageSummaryResponse.js +0 -2
  2180. package/dist/module/lib/types/GetProjectUsageSummaryResponse.js.map +0 -1
  2181. package/dist/module/lib/types/GetProjectUsageSummarySchema.d.ts +0 -24
  2182. package/dist/module/lib/types/GetProjectUsageSummarySchema.d.ts.map +0 -1
  2183. package/dist/module/lib/types/GetProjectUsageSummarySchema.js +0 -2
  2184. package/dist/module/lib/types/GetProjectUsageSummarySchema.js.map +0 -1
  2185. package/dist/module/lib/types/GetProjectsResponse.d.ts +0 -9
  2186. package/dist/module/lib/types/GetProjectsResponse.d.ts.map +0 -1
  2187. package/dist/module/lib/types/GetProjectsResponse.js +0 -2
  2188. package/dist/module/lib/types/GetProjectsResponse.js.map +0 -1
  2189. package/dist/module/lib/types/GetTokenDetailsResponse.d.ts +0 -4
  2190. package/dist/module/lib/types/GetTokenDetailsResponse.d.ts.map +0 -1
  2191. package/dist/module/lib/types/GetTokenDetailsResponse.js +0 -2
  2192. package/dist/module/lib/types/GetTokenDetailsResponse.js.map +0 -1
  2193. package/dist/module/lib/types/GrantTokenResponse.d.ts +0 -5
  2194. package/dist/module/lib/types/GrantTokenResponse.d.ts.map +0 -1
  2195. package/dist/module/lib/types/GrantTokenResponse.js +0 -2
  2196. package/dist/module/lib/types/GrantTokenResponse.js.map +0 -1
  2197. package/dist/module/lib/types/GrantTokenSchema.d.ts +0 -10
  2198. package/dist/module/lib/types/GrantTokenSchema.d.ts.map +0 -1
  2199. package/dist/module/lib/types/GrantTokenSchema.js +0 -2
  2200. package/dist/module/lib/types/GrantTokenSchema.js.map +0 -1
  2201. package/dist/module/lib/types/ListOnPremCredentialsResponse.d.ts +0 -17
  2202. package/dist/module/lib/types/ListOnPremCredentialsResponse.d.ts.map +0 -1
  2203. package/dist/module/lib/types/ListOnPremCredentialsResponse.js +0 -2
  2204. package/dist/module/lib/types/ListOnPremCredentialsResponse.js.map +0 -1
  2205. package/dist/module/lib/types/LiveConfigOptions.d.ts +0 -7
  2206. package/dist/module/lib/types/LiveConfigOptions.d.ts.map +0 -1
  2207. package/dist/module/lib/types/LiveConfigOptions.js +0 -2
  2208. package/dist/module/lib/types/LiveConfigOptions.js.map +0 -1
  2209. package/dist/module/lib/types/LiveMetadataEvent.d.ts +0 -10
  2210. package/dist/module/lib/types/LiveMetadataEvent.d.ts.map +0 -1
  2211. package/dist/module/lib/types/LiveMetadataEvent.js +0 -2
  2212. package/dist/module/lib/types/LiveMetadataEvent.js.map +0 -1
  2213. package/dist/module/lib/types/LiveTranscriptionEvent.d.ts +0 -35
  2214. package/dist/module/lib/types/LiveTranscriptionEvent.d.ts.map +0 -1
  2215. package/dist/module/lib/types/LiveTranscriptionEvent.js +0 -2
  2216. package/dist/module/lib/types/LiveTranscriptionEvent.js.map +0 -1
  2217. package/dist/module/lib/types/MessageResponse.d.ts +0 -4
  2218. package/dist/module/lib/types/MessageResponse.d.ts.map +0 -1
  2219. package/dist/module/lib/types/MessageResponse.js +0 -2
  2220. package/dist/module/lib/types/MessageResponse.js.map +0 -1
  2221. package/dist/module/lib/types/SendProjectInviteSchema.d.ts +0 -5
  2222. package/dist/module/lib/types/SendProjectInviteSchema.d.ts.map +0 -1
  2223. package/dist/module/lib/types/SendProjectInviteSchema.js +0 -2
  2224. package/dist/module/lib/types/SendProjectInviteSchema.js.map +0 -1
  2225. package/dist/module/lib/types/SpeakSchema.d.ts +0 -25
  2226. package/dist/module/lib/types/SpeakSchema.d.ts.map +0 -1
  2227. package/dist/module/lib/types/SpeakSchema.js +0 -2
  2228. package/dist/module/lib/types/SpeakSchema.js.map +0 -1
  2229. package/dist/module/lib/types/SpeechStartedEvent.d.ts +0 -6
  2230. package/dist/module/lib/types/SpeechStartedEvent.d.ts.map +0 -1
  2231. package/dist/module/lib/types/SpeechStartedEvent.js +0 -2
  2232. package/dist/module/lib/types/SpeechStartedEvent.js.map +0 -1
  2233. package/dist/module/lib/types/SyncAnalyzeResponse.d.ts +0 -79
  2234. package/dist/module/lib/types/SyncAnalyzeResponse.d.ts.map +0 -1
  2235. package/dist/module/lib/types/SyncAnalyzeResponse.js +0 -2
  2236. package/dist/module/lib/types/SyncAnalyzeResponse.js.map +0 -1
  2237. package/dist/module/lib/types/SyncPrerecordedResponse.d.ts +0 -186
  2238. package/dist/module/lib/types/SyncPrerecordedResponse.d.ts.map +0 -1
  2239. package/dist/module/lib/types/SyncPrerecordedResponse.js +0 -2
  2240. package/dist/module/lib/types/SyncPrerecordedResponse.js.map +0 -1
  2241. package/dist/module/lib/types/TranscriptionSchema.d.ts +0 -201
  2242. package/dist/module/lib/types/TranscriptionSchema.d.ts.map +0 -1
  2243. package/dist/module/lib/types/TranscriptionSchema.js +0 -2
  2244. package/dist/module/lib/types/TranscriptionSchema.js.map +0 -1
  2245. package/dist/module/lib/types/UpdateProjectMemberScopeSchema.d.ts +0 -4
  2246. package/dist/module/lib/types/UpdateProjectMemberScopeSchema.d.ts.map +0 -1
  2247. package/dist/module/lib/types/UpdateProjectMemberScopeSchema.js +0 -2
  2248. package/dist/module/lib/types/UpdateProjectMemberScopeSchema.js.map +0 -1
  2249. package/dist/module/lib/types/UpdateProjectSchema.d.ts +0 -5
  2250. package/dist/module/lib/types/UpdateProjectSchema.d.ts.map +0 -1
  2251. package/dist/module/lib/types/UpdateProjectSchema.js +0 -2
  2252. package/dist/module/lib/types/UpdateProjectSchema.js.map +0 -1
  2253. package/dist/module/lib/types/UtteranceEndEvent.d.ts +0 -6
  2254. package/dist/module/lib/types/UtteranceEndEvent.d.ts.map +0 -1
  2255. package/dist/module/lib/types/UtteranceEndEvent.js +0 -2
  2256. package/dist/module/lib/types/UtteranceEndEvent.js.map +0 -1
  2257. package/dist/module/lib/types/VoidResponse.d.ts +0 -10
  2258. package/dist/module/lib/types/VoidResponse.d.ts.map +0 -1
  2259. package/dist/module/lib/types/VoidResponse.js +0 -2
  2260. package/dist/module/lib/types/VoidResponse.js.map +0 -1
  2261. package/dist/module/lib/types/index.d.ts +0 -46
  2262. package/dist/module/lib/types/index.d.ts.map +0 -1
  2263. package/dist/module/lib/types/index.js +0 -46
  2264. package/dist/module/lib/types/index.js.map +0 -1
  2265. package/dist/module/lib/version.d.ts +0 -2
  2266. package/dist/module/lib/version.d.ts.map +0 -1
  2267. package/dist/module/lib/version.js +0 -2
  2268. package/dist/module/lib/version.js.map +0 -1
  2269. package/dist/module/packages/AbstractClient.d.ts +0 -71
  2270. package/dist/module/packages/AbstractClient.d.ts.map +0 -1
  2271. package/dist/module/packages/AbstractClient.js +0 -133
  2272. package/dist/module/packages/AbstractClient.js.map +0 -1
  2273. package/dist/module/packages/AbstractLiveClient.d.ts +0 -277
  2274. package/dist/module/packages/AbstractLiveClient.d.ts.map +0 -1
  2275. package/dist/module/packages/AbstractLiveClient.js +0 -412
  2276. package/dist/module/packages/AbstractLiveClient.js.map +0 -1
  2277. package/dist/module/packages/AbstractRestClient.d.ts +0 -106
  2278. package/dist/module/packages/AbstractRestClient.d.ts.map +0 -1
  2279. package/dist/module/packages/AbstractRestClient.js +0 -179
  2280. package/dist/module/packages/AbstractRestClient.js.map +0 -1
  2281. package/dist/module/packages/AgentLiveClient.d.ts +0 -78
  2282. package/dist/module/packages/AgentLiveClient.d.ts.map +0 -1
  2283. package/dist/module/packages/AgentLiveClient.js +0 -159
  2284. package/dist/module/packages/AgentLiveClient.js.map +0 -1
  2285. package/dist/module/packages/AuthRestClient.d.ts +0 -15
  2286. package/dist/module/packages/AuthRestClient.d.ts.map +0 -1
  2287. package/dist/module/packages/AuthRestClient.js +0 -42
  2288. package/dist/module/packages/AuthRestClient.js.map +0 -1
  2289. package/dist/module/packages/ListenClient.d.ts +0 -26
  2290. package/dist/module/packages/ListenClient.d.ts.map +0 -1
  2291. package/dist/module/packages/ListenClient.js +0 -32
  2292. package/dist/module/packages/ListenClient.js.map +0 -1
  2293. package/dist/module/packages/ListenLiveClient.d.ts +0 -62
  2294. package/dist/module/packages/ListenLiveClient.d.ts.map +0 -1
  2295. package/dist/module/packages/ListenLiveClient.js +0 -131
  2296. package/dist/module/packages/ListenLiveClient.js.map +0 -1
  2297. package/dist/module/packages/ListenRestClient.d.ts +0 -57
  2298. package/dist/module/packages/ListenRestClient.d.ts.map +0 -1
  2299. package/dist/module/packages/ListenRestClient.js +0 -167
  2300. package/dist/module/packages/ListenRestClient.js.map +0 -1
  2301. package/dist/module/packages/ManageRestClient.d.ts +0 -301
  2302. package/dist/module/packages/ManageRestClient.d.ts.map +0 -1
  2303. package/dist/module/packages/ManageRestClient.js +0 -667
  2304. package/dist/module/packages/ManageRestClient.js.map +0 -1
  2305. package/dist/module/packages/ModelsRestClient.d.ts +0 -53
  2306. package/dist/module/packages/ModelsRestClient.d.ts.map +0 -1
  2307. package/dist/module/packages/ModelsRestClient.js +0 -93
  2308. package/dist/module/packages/ModelsRestClient.js.map +0 -1
  2309. package/dist/module/packages/ReadRestClient.d.ts +0 -57
  2310. package/dist/module/packages/ReadRestClient.d.ts.map +0 -1
  2311. package/dist/module/packages/ReadRestClient.js +0 -161
  2312. package/dist/module/packages/ReadRestClient.js.map +0 -1
  2313. package/dist/module/packages/SelfHostedRestClient.d.ts +0 -47
  2314. package/dist/module/packages/SelfHostedRestClient.d.ts.map +0 -1
  2315. package/dist/module/packages/SelfHostedRestClient.js +0 -116
  2316. package/dist/module/packages/SelfHostedRestClient.js.map +0 -1
  2317. package/dist/module/packages/SpeakClient.d.ts +0 -27
  2318. package/dist/module/packages/SpeakClient.d.ts.map +0 -1
  2319. package/dist/module/packages/SpeakClient.js +0 -33
  2320. package/dist/module/packages/SpeakClient.js.map +0 -1
  2321. package/dist/module/packages/SpeakLiveClient.d.ts +0 -69
  2322. package/dist/module/packages/SpeakLiveClient.d.ts.map +0 -1
  2323. package/dist/module/packages/SpeakLiveClient.js +0 -155
  2324. package/dist/module/packages/SpeakLiveClient.js.map +0 -1
  2325. package/dist/module/packages/SpeakRestClient.d.ts +0 -35
  2326. package/dist/module/packages/SpeakRestClient.d.ts.map +0 -1
  2327. package/dist/module/packages/SpeakRestClient.js +0 -74
  2328. package/dist/module/packages/SpeakRestClient.js.map +0 -1
  2329. package/dist/module/packages/index.d.ts +0 -16
  2330. package/dist/module/packages/index.d.ts.map +0 -1
  2331. package/dist/module/packages/index.js +0 -16
  2332. package/dist/module/packages/index.js.map +0 -1
  2333. package/dist/umd/deepgram.js +0 -1
  2334. package/src/DeepgramClient.ts +0 -167
  2335. package/src/index.ts +0 -68
  2336. package/src/lib/constants.ts +0 -58
  2337. package/src/lib/enums/AgentEvents.ts +0 -74
  2338. package/src/lib/enums/LiveConnectionState.ts +0 -13
  2339. package/src/lib/enums/LiveTTSEvents.ts +0 -36
  2340. package/src/lib/enums/LiveTranscriptionEvents.ts +0 -33
  2341. package/src/lib/enums/index.ts +0 -4
  2342. package/src/lib/errors.ts +0 -102
  2343. package/src/lib/fetch.ts +0 -68
  2344. package/src/lib/helpers.ts +0 -180
  2345. package/src/lib/runtime.ts +0 -20
  2346. package/src/lib/types/AgentLiveSchema.ts +0 -92
  2347. package/src/lib/types/AnalyzeSchema.ts +0 -39
  2348. package/src/lib/types/AsyncAnalyzeResponse.ts +0 -3
  2349. package/src/lib/types/AsyncPrerecordedResponse.ts +0 -3
  2350. package/src/lib/types/CreateOnPremCredentialsSchema.ts +0 -5
  2351. package/src/lib/types/CreateProjectKeyResponse.ts +0 -9
  2352. package/src/lib/types/CreateProjectKeySchema.ts +0 -15
  2353. package/src/lib/types/DeepgramClientOptions.ts +0 -88
  2354. package/src/lib/types/DeepgramResponse.ts +0 -13
  2355. package/src/lib/types/DeepgramSource.ts +0 -15
  2356. package/src/lib/types/Fetch.ts +0 -5
  2357. package/src/lib/types/FunctionCallResponse.ts +0 -17
  2358. package/src/lib/types/GetModelsResponse.ts +0 -24
  2359. package/src/lib/types/GetModelsSchema.ts +0 -3
  2360. package/src/lib/types/GetProjectBalancesResponse.ts +0 -10
  2361. package/src/lib/types/GetProjectInvitesResponse.ts +0 -8
  2362. package/src/lib/types/GetProjectKeysResponse.ts +0 -23
  2363. package/src/lib/types/GetProjectMemberScopesResponse.ts +0 -3
  2364. package/src/lib/types/GetProjectMembersResponse.ts +0 -11
  2365. package/src/lib/types/GetProjectResponse.ts +0 -5
  2366. package/src/lib/types/GetProjectUsageFieldsResponse.ts +0 -14
  2367. package/src/lib/types/GetProjectUsageFieldsSchema.ts +0 -4
  2368. package/src/lib/types/GetProjectUsageRequestsResponse.ts +0 -49
  2369. package/src/lib/types/GetProjectUsageRequestsSchema.ts +0 -6
  2370. package/src/lib/types/GetProjectUsageSummaryResponse.ts +0 -17
  2371. package/src/lib/types/GetProjectUsageSummarySchema.ts +0 -23
  2372. package/src/lib/types/GetProjectsResponse.ts +0 -8
  2373. package/src/lib/types/GetTokenDetailsResponse.ts +0 -3
  2374. package/src/lib/types/GrantTokenResponse.ts +0 -4
  2375. package/src/lib/types/GrantTokenSchema.ts +0 -9
  2376. package/src/lib/types/ListOnPremCredentialsResponse.ts +0 -17
  2377. package/src/lib/types/LiveConfigOptions.ts +0 -7
  2378. package/src/lib/types/LiveMetadataEvent.ts +0 -9
  2379. package/src/lib/types/LiveTranscriptionEvent.ts +0 -34
  2380. package/src/lib/types/MessageResponse.ts +0 -3
  2381. package/src/lib/types/SendProjectInviteSchema.ts +0 -4
  2382. package/src/lib/types/SpeakSchema.ts +0 -29
  2383. package/src/lib/types/SpeechStartedEvent.ts +0 -5
  2384. package/src/lib/types/SyncAnalyzeResponse.ts +0 -91
  2385. package/src/lib/types/SyncPrerecordedResponse.ts +0 -213
  2386. package/src/lib/types/TranscriptionSchema.ts +0 -246
  2387. package/src/lib/types/UpdateProjectMemberScopeSchema.ts +0 -3
  2388. package/src/lib/types/UpdateProjectSchema.ts +0 -4
  2389. package/src/lib/types/UtteranceEndEvent.ts +0 -5
  2390. package/src/lib/types/VoidResponse.ts +0 -11
  2391. package/src/lib/types/index.ts +0 -45
  2392. package/src/lib/version.ts +0 -1
  2393. package/src/packages/AbstractClient.ts +0 -172
  2394. package/src/packages/AbstractLiveClient.ts +0 -542
  2395. package/src/packages/AbstractRestClient.ts +0 -223
  2396. package/src/packages/AgentLiveClient.ts +0 -170
  2397. package/src/packages/AuthRestClient.ts +0 -36
  2398. package/src/packages/ListenClient.ts +0 -35
  2399. package/src/packages/ListenLiveClient.ts +0 -150
  2400. package/src/packages/ListenRestClient.ts +0 -204
  2401. package/src/packages/ManageRestClient.ts +0 -814
  2402. package/src/packages/ModelsRestClient.ts +0 -93
  2403. package/src/packages/ReadRestClient.ts +0 -200
  2404. package/src/packages/SelfHostedRestClient.ts +0 -134
  2405. package/src/packages/SpeakClient.ts +0 -35
  2406. package/src/packages/SpeakLiveClient.ts +0 -171
  2407. package/src/packages/SpeakRestClient.ts +0 -73
  2408. package/src/packages/index.ts +0 -15
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.deepgram=t():e.deepgram=t()}(self,(()=>(()=>{var e={367:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OnPremClient=t.SelfHostedRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="selfhosted"}listCredentials(e,t=":version/projects/:projectId/onprem/distribution/credentials"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials/:credentialsId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,credentialsId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}createCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e}),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials/:credentialsId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,credentialsId:t});return{result:yield this.delete(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.SelfHostedRestClient=i,t.OnPremClient=i},398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakClient=void 0;const n=r(5066),s=r(3712),o=r(4492);class i extends n.AbstractClient{constructor(){super(...arguments),this.namespace="speak"}request(e,t,r=":version/speak"){return new o.SpeakRestClient(this.options).request(e,t,r)}live(e={},t=":version/speak"){return new s.SpeakLiveClient(this.options,e,t)}}t.SpeakClient=i},459:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},472:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="auth"}grantToken(e={},t=":version/auth/grant"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t),n=JSON.stringify(e);return{result:yield this.post(r,n,{headers:{"Content-Type":"application/json"}}).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.AuthRestClient=i},569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},684:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.convertLegacyOptions=t.isDeepgramClientOptions=t.isLiveSchema=t.buildRequestUrl=t.convertProtocolToWs=t.CallbackUrl=t.isFileSource=t.isTextSource=t.isUrlSource=t.resolveHeadersConstructor=t.appendSearchParams=t.applyDefaults=t.stripTrailingSlash=void 0;const s=r(8389),o=n(r(7314)),i=r(5793);function a(e,t){Object.keys(t).forEach((r=>{Array.isArray(t[r])?t[r].forEach((t=>{e.append(r,String(t))})):e.append(r,String(t[r]))}))}t.stripTrailingSlash=function(e){return e.replace(/\/$/,"")},t.applyDefaults=function(e={},t={}){return(0,o.default)(t,e)},t.appendSearchParams=a,t.resolveHeadersConstructor=()=>"undefined"==typeof Headers?s.Headers:Headers,t.isUrlSource=e=>!(!e||!e.url),t.isTextSource=e=>!(!e||!e.text),t.isFileSource=e=>!(!c(e)&&!u(e));const u=e=>null!=e&&Buffer.isBuffer(e),c=e=>null!=e&&!(0,i.isBrowser)()&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.read&&"object"==typeof e._readableState;class l extends URL{constructor(){super(...arguments),this.callbackUrl=!0}}t.CallbackUrl=l,t.convertProtocolToWs=e=>e.toLowerCase().replace(/^http/,"ws"),t.buildRequestUrl=(e,t,r)=>{const n=new URL(e,t);return a(n.searchParams,r),n},t.isLiveSchema=function(e){return null!=e&&void 0!==e.interim_results},t.isDeepgramClientOptions=function(e){return null!=e&&void 0!==e.global},t.convertLegacyOptions=e=>{var t,r,n,s,i,a;const u={};return e._experimentalCustomFetch&&(u.global={fetch:{client:e._experimentalCustomFetch}}),(null===(t=(e=(0,o.default)(e,u)).restProxy)||void 0===t?void 0:t.url)&&(u.global={fetch:{options:{proxy:{url:null===(r=e.restProxy)||void 0===r?void 0:r.url}}}}),(null===(n=(e=(0,o.default)(e,u)).global)||void 0===n?void 0:n.url)&&(u.global={fetch:{options:{url:e.global.url}},websocket:{options:{url:e.global.url}}}),(null===(s=(e=(0,o.default)(e,u)).global)||void 0===s?void 0:s.headers)&&(u.global={fetch:{options:{headers:null===(i=e.global)||void 0===i?void 0:i.headers}},websocket:{options:{_nodeOnlyHeaders:null===(a=e.global)||void 0===a?void 0:a.headers}}}),(0,o.default)(e,u)}},740:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractWsClient=t.AbstractLiveClient=void 0;const a=r(5066),u=r(8712),c=r(5793),l=r(4306),d="undefined"!=typeof WebSocket;class h extends a.AbstractClient{constructor(e){super(e),this.conn=null,this.sendBuffer=[],this.reconnect=a.noop;const{key:t,websocket:{options:r,client:n}}=this.namespaceOptions;this.proxy?this.baseUrl=r.proxy.url:this.baseUrl=r.url,this.transport=n||null,r._nodeOnlyHeaders?this.headers=r._nodeOnlyHeaders:this.headers={},"Authorization"in this.headers||(this.accessToken?this.headers.Authorization=`Bearer ${this.accessToken}`:this.headers.Authorization=`Token ${t}`)}connect(e,t){if(this.conn)return;this.reconnect=(r=e)=>{this.connect(r,t)};const n=this.getRequestUrl(t,{},e),s=this.accessToken,i=this.key;if(!s&&!i)throw new Error("No key or access token provided for WebSocket connection.");if(this.transport)return this.conn=new this.transport(n,void 0,{headers:this.headers}),void this.setupConnection();if((0,c.isBun)())Promise.resolve().then((()=>o(r(3584)))).then((({default:e})=>{this.conn=new e(n,{headers:this.headers}),console.log("Using WS package"),this.setupConnection()}));else{if(d)return this.conn=new WebSocket(n,s?["bearer",s]:["token",i]),void this.setupConnection();this.conn=new p(n,void 0,{close:()=>{this.conn=null}}),Promise.resolve().then((()=>o(r(3584)))).then((({default:e})=>{this.conn=new e(n,void 0,{headers:this.headers}),this.setupConnection()}))}}disconnect(e,t){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!=t?t:""):this.conn.close(),this.conn=null)}connectionState(){switch(this.conn&&this.conn.readyState){case u.SOCKET_STATES.connecting:return u.CONNECTION_STATE.Connecting;case u.SOCKET_STATES.open:return u.CONNECTION_STATE.Open;case u.SOCKET_STATES.closing:return u.CONNECTION_STATE.Closing;default:return u.CONNECTION_STATE.Closed}}getReadyState(){var e,t;return null!==(t=null===(e=this.conn)||void 0===e?void 0:e.readyState)&&void 0!==t?t:u.SOCKET_STATES.closed}isConnected(){return this.connectionState()===u.CONNECTION_STATE.Open}send(e){const t=()=>i(this,void 0,void 0,(function*(){var t;if(e instanceof Blob){if(0===e.size)return void this.log("warn","skipping `send` for zero-byte blob",e);e=yield e.arrayBuffer()}"string"==typeof e||(null==e?void 0:e.byteLength)?null===(t=this.conn)||void 0===t||t.send(e):this.log("warn","skipping `send` for zero-byte payload",e)}));this.isConnected()?t():this.sendBuffer.push(t)}get proxy(){var e;return"proxy"===this.key&&!!(null===(e=this.namespaceOptions.websocket.options.proxy)||void 0===e?void 0:e.url)}extractErrorInformation(e,t){var r;const n={};if(t&&(n.readyState=t.readyState,n.url="string"==typeof t.url?t.url:null===(r=t.url)||void 0===r?void 0:r.toString()),t&&"object"==typeof t){const r=t;if(r._req&&r._req.res&&(n.statusCode=r._req.res.statusCode,r._req.res.headers)){n.responseHeaders=Object.assign({},r._req.res.headers);const e=r._req.res.headers["dg-request-id"]||r._req.res.headers["x-dg-request-id"];e&&(n.requestId=e)}if(e&&"target"in e&&e.target){const t=e.target;t.url&&(n.url=t.url),void 0!==t.readyState&&(n.readyState=t.readyState)}}return n}createEnhancedError(e,t){const r=new l.DeepgramWebSocketError(e.message||"WebSocket connection error",Object.assign({originalEvent:e},t));return Object.assign(Object.assign({},e),{error:r,statusCode:t.statusCode,requestId:t.requestId,responseHeaders:t.responseHeaders,url:t.url,readyState:t.readyState,message:this.buildEnhancedErrorMessage(e,t)})}buildEnhancedErrorMessage(e,t){let r=e.message||"WebSocket connection error";const n=[];if(t.statusCode&&n.push(`Status: ${t.statusCode}`),t.requestId&&n.push(`Request ID: ${t.requestId}`),void 0!==t.readyState){const e=["CONNECTING","OPEN","CLOSING","CLOSED"][t.readyState]||`Unknown(${t.readyState})`;n.push(`Ready State: ${e}`)}return t.url&&n.push(`URL: ${t.url}`),n.length>0&&(r+=` (${n.join(", ")})`),r}setupConnectionEvents(e){this.conn&&(this.conn.onopen=()=>{this.emit(e.Open,this)},this.conn.onclose=t=>{this.emit(e.Close,t)},this.conn.onerror=t=>{const r=this.extractErrorInformation(t,this.conn||void 0),n=this.createEnhancedError(t,r);this.emit(e.Error,n)})}}t.AbstractLiveClient=h,t.AbstractWsClient=h;class p{constructor(e,t,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=u.SOCKET_STATES.connecting,this.send=()=>{},this.url=null,this.url=e.toString(),this.close=r.close}}},747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListenClient=void 0;const n=r(5066),s=r(5357),o=r(6733);class i extends n.AbstractClient{constructor(){super(...arguments),this.namespace="listen"}get prerecorded(){return new o.ListenRestClient(this.options)}live(e={},t=":version/listen"){return new s.ListenLiveClient(this.options,e,t)}}t.ListenClient=i},986:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LiveTTSEvents=void 0,(r=t.LiveTTSEvents||(t.LiveTTSEvents={})).Open="Open",r.Close="Close",r.Error="Error",r.Metadata="Metadata",r.Flushed="Flushed",r.Warning="Warning",r.Audio="Audio",r.Unhandled="Unhandled"},1176:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AgentEvents=void 0,(r=t.AgentEvents||(t.AgentEvents={})).Open="Open",r.Close="Close",r.Error="Error",r.Audio="Audio",r.Welcome="Welcome",r.SettingsApplied="SettingsApplied",r.ConversationText="ConversationText",r.UserStartedSpeaking="UserStartedSpeaking",r.AgentThinking="AgentThinking",r.FunctionCallRequest="FunctionCallRequest",r.AgentStartedSpeaking="AgentStartedSpeaking",r.AgentAudioDone="AgentAudioDone",r.InjectionRefused="InjectionRefused",r.PromptUpdated="PromptUpdated",r.SpeakUpdated="SpeakUpdated",r.Unhandled="Unhandled"},1221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1556:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1557:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgentLiveClient=void 0;const n=r(8712),s=r(1176),o=r(740);class i extends o.AbstractLiveClient{constructor(e,t="/:version/agent/converse"){var r,s,o,i;super(e),this.namespace="agent",this.baseUrl=null!==(i=null===(o=null===(s=null===(r=e.agent)||void 0===r?void 0:r.websocket)||void 0===s?void 0:s.options)||void 0===o?void 0:o.url)&&void 0!==i?i:n.DEFAULT_AGENT_URL,this.connect({},t)}setupConnection(){this.setupConnectionEvents({Open:s.AgentEvents.Open,Close:s.AgentEvents.Close,Error:s.AgentEvents.Error}),this.conn&&(this.conn.onmessage=e=>{this.handleMessage(e)})}handleMessage(e){var t,r,n,o,i,a;if("string"==typeof e.data)try{const t=JSON.parse(e.data);this.handleTextMessage(t)}catch(i){this.emit(s.AgentEvents.Error,{event:e,data:(null===(t=e.data)||void 0===t?void 0:t.toString().substring(0,200))+((null===(r=e.data)||void 0===r?void 0:r.toString().length)>200?"...":""),message:"Unable to parse `data` as JSON.",error:i,url:null===(n=this.conn)||void 0===n?void 0:n.url,readyState:null===(o=this.conn)||void 0===o?void 0:o.readyState})}else e.data instanceof Blob?e.data.arrayBuffer().then((e=>{this.handleBinaryMessage(Buffer.from(e))})):e.data instanceof ArrayBuffer?this.handleBinaryMessage(Buffer.from(e.data)):Buffer.isBuffer(e.data)?this.handleBinaryMessage(e.data):(console.log("Received unknown data type",e.data),this.emit(s.AgentEvents.Error,{event:e,message:"Received unknown data type.",url:null===(i=this.conn)||void 0===i?void 0:i.url,readyState:null===(a=this.conn)||void 0===a?void 0:a.readyState,dataType:typeof e.data}))}handleBinaryMessage(e){this.emit(s.AgentEvents.Audio,e)}handleTextMessage(e){e.type in s.AgentEvents?this.emit(e.type,e):this.emit(s.AgentEvents.Unhandled,e)}configure(e){const t=JSON.stringify(Object.assign({type:"Settings"},e));this.send(t)}updatePrompt(e){this.send(JSON.stringify({type:"UpdatePrompt",prompt:e}))}updateSpeak(e){this.send(JSON.stringify({type:"UpdateSpeak",speak:e}))}injectAgentMessage(e){this.send(JSON.stringify({type:"InjectAgentMessage",content:e}))}injectUserMessage(e){this.send(JSON.stringify({type:"InjectUserMessage",content:e}))}functionCallResponse(e){this.send(JSON.stringify(Object.assign({type:"FunctionCallResponse"},e)))}keepAlive(){this.send(JSON.stringify({type:"KeepAlive"}))}}t.AgentLiveClient=i},2171:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(3075),t),s(r(816),t),s(r(9836),t),s(r(8633),t),s(r(1901),t),s(r(3036),t),s(r(4852),t),s(r(5263),t),s(r(1749),t),s(r(9115),t),s(r(459),t),s(r(6544),t),s(r(8034),t),s(r(9518),t),s(r(8968),t),s(r(2701),t),s(r(8785),t),s(r(5874),t),s(r(9176),t),s(r(8457),t),s(r(3150),t),s(r(1557),t),s(r(4329),t),s(r(9042),t),s(r(6302),t),s(r(4592),t),s(r(8600),t),s(r(7205),t),s(r(747),t),s(r(9475),t),s(r(569),t),s(r(1221),t),s(r(8378),t),s(r(753),t),s(r(1775),t),s(r(2278),t),s(r(7034),t),s(r(4602),t),s(r(7897),t),s(r(1556),t),s(r(6180),t),s(r(1828),t),s(r(8502),t),s(r(4775),t),s(r(4198),t)},2278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveConnectionState=void 0;const n=r(8712);var s;(s=t.LiveConnectionState||(t.LiveConnectionState={}))[s.CONNECTING=n.SOCKET_STATES.connecting]="CONNECTING",s[s.OPEN=n.SOCKET_STATES.open]="OPEN",s[s.CLOSING=n.SOCKET_STATES.closing]="CLOSING",s[s.CLOSED=n.SOCKET_STATES.closed]="CLOSED"},3075:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3242:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadClient=t.ReadRestClient=void 0;const s=r(684),o=r(4306),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="read"}analyzeUrl(e,t,r=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `analyzeUrlCallback` or `analyzeTextCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeText(e,t,r=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isTextSource)(e))throw new o.DeepgramError("Unknown source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous requests. Use `analyzeUrlCallback` or `analyzeTextCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeUrlCallback(e,t,r,i=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeTextCallback(e,t,r,i=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isTextSource)(e))throw new o.DeepgramError("Unknown source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ReadRestClient=a,t.ReadClient=a},3465:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.srt=t.webvtt=t.Deepgram=t.DeepgramClient=t.createClient=void 0;const i=r(4306),a=o(r(3695));t.DeepgramClient=a.default,t.Deepgram=class{constructor(e,t,r){throw this.apiKey=e,this.apiUrl=t,this.requireSSL=r,new i.DeepgramVersionError}},t.createClient=function(e,t){let r={};return"string"==typeof e||"function"==typeof e?("object"==typeof t&&(r=t),r.key=e):"object"==typeof e&&(r=e),new a.default(r)},s(r(6731),t),s(r(2171),t),s(r(6416),t),s(r(8712),t),s(r(4306),t),s(r(684),t);var u=r(6327);Object.defineProperty(t,"webvtt",{enumerable:!0,get:function(){return u.webvtt}}),Object.defineProperty(t,"srt",{enumerable:!0,get:function(){return u.srt}})},3584:e=>{"use strict";e.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},3695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4306),s=r(6731);class o extends s.AbstractClient{get auth(){return new s.AuthRestClient(this.options)}get listen(){return new s.ListenClient(this.options)}get manage(){return new s.ManageClient(this.options)}get models(){return new s.ModelsRestClient(this.options)}get onprem(){return this.selfhosted}get selfhosted(){return new s.SelfHostedRestClient(this.options)}get read(){return new s.ReadClient(this.options)}get speak(){return new s.SpeakClient(this.options)}agent(e="/:version/agent/converse"){return new s.AgentLiveClient(this.options,e)}get transcription(){throw new n.DeepgramVersionError}get projects(){throw new n.DeepgramVersionError}get keys(){throw new n.DeepgramVersionError}get members(){throw new n.DeepgramVersionError}get scopes(){throw new n.DeepgramVersionError}get invitation(){throw new n.DeepgramVersionError}get usage(){throw new n.DeepgramVersionError}get billing(){throw new n.DeepgramVersionError}}t.default=o},3712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakLiveClient=void 0;const n=r(740),s=r(6416);class o extends n.AbstractLiveClient{constructor(e,t={},r=":version/speak"){super(e),this.namespace="speak",this.connect(t,r)}setupConnection(){this.setupConnectionEvents({Open:s.LiveTTSEvents.Open,Close:s.LiveTTSEvents.Close,Error:s.LiveTTSEvents.Error}),this.conn&&(this.conn.onmessage=e=>{this.handleMessage(e)})}handleTextMessage(e){e.type===s.LiveTTSEvents.Metadata?this.emit(s.LiveTTSEvents.Metadata,e):e.type===s.LiveTTSEvents.Flushed?this.emit(s.LiveTTSEvents.Flushed,e):e.type===s.LiveTTSEvents.Warning?this.emit(s.LiveTTSEvents.Warning,e):this.emit(s.LiveTTSEvents.Unhandled,e)}handleBinaryMessage(e){this.emit(s.LiveTTSEvents.Audio,e)}sendText(e){this.send(JSON.stringify({type:"Speak",text:e}))}flush(){this.send(JSON.stringify({type:"Flush"}))}clear(){this.send(JSON.stringify({type:"Clear"}))}requestClose(){this.send(JSON.stringify({type:"Close"}))}handleMessage(e){var t,r,n,o,i,a;if("string"==typeof e.data)try{const t=JSON.parse(e.data);this.handleTextMessage(t)}catch(i){this.emit(s.LiveTTSEvents.Error,{event:e,message:"Unable to parse `data` as JSON.",error:i,url:null===(t=this.conn)||void 0===t?void 0:t.url,readyState:null===(r=this.conn)||void 0===r?void 0:r.readyState,data:(null===(n=e.data)||void 0===n?void 0:n.toString().substring(0,200))+((null===(o=e.data)||void 0===o?void 0:o.toString().length)>200?"...":"")})}else e.data instanceof Blob?e.data.arrayBuffer().then((e=>{this.handleBinaryMessage(Buffer.from(e))})):e.data instanceof ArrayBuffer?this.handleBinaryMessage(Buffer.from(e.data)):Buffer.isBuffer(e.data)?this.handleBinaryMessage(e.data):(console.log("Received unknown data type",e.data),this.emit(s.LiveTTSEvents.Error,{event:e,message:"Received unknown data type.",url:null===(i=this.conn)||void 0===i?void 0:i.url,readyState:null===(a=this.conn)||void 0===a?void 0:a.readyState,dataType:typeof e.data}))}}t.SpeakLiveClient=o},4198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4268:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,s,o){var i=s.prototype;o.utc=function(e){return new s({date:e,utc:!0,args:arguments})},i.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var u=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=i.utcOffset;i.utcOffset=function(n,s){var o=this.$utils().u;if(o(n))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var s=(""+n[0]).match(r)||["-",0,0],o=s[0],i=60*+s[1]+ +s[2];return 0===i?0:"+"===o?i:-i}(n),null===n))return this;var i=Math.abs(n)<=16?60*n:n,a=this;if(s)return a.$offset=i,a.$u=0===n,a;if(0!==n){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+u,e)).$offset=i,a.$x.$localOffset=u}else a=this.utc();return a};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=i.diff;i.diff=function(e,t,r){if(e&&this.$u===e.$u)return h.call(this,e,t,r);var n=this.local(),s=o(e).local();return h.call(n,s,t,r)}}}()},4306:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeepgramWebSocketError=t.DeepgramVersionError=t.DeepgramUnknownError=t.DeepgramApiError=t.isDeepgramError=t.DeepgramError=void 0;class r extends Error{constructor(e){super(e),this.__dgError=!0,this.name="DeepgramError"}}t.DeepgramError=r,t.isDeepgramError=function(e){return"object"==typeof e&&null!==e&&"__dgError"in e},t.DeepgramApiError=class extends r{constructor(e,t){super(e),this.name="DeepgramApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}},t.DeepgramUnknownError=class extends r{constructor(e,t){super(e),this.name="DeepgramUnknownError",this.originalError=t}},t.DeepgramVersionError=class extends r{constructor(){super("You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3"),this.name="DeepgramVersionError"}},t.DeepgramWebSocketError=class extends r{constructor(e,t={}){super(e),this.name="DeepgramWebSocketError",this.originalEvent=t.originalEvent,this.statusCode=t.statusCode,this.requestId=t.requestId,this.responseHeaders=t.responseHeaders,this.url=t.url,this.readyState=t.readyState}toJSON(){return{name:this.name,message:this.message,statusCode:this.statusCode,requestId:this.requestId,responseHeaders:this.responseHeaders,url:this.url,readyState:this.readyState,originalEvent:this.originalEvent?{type:this.originalEvent.type,timeStamp:this.originalEvent.timeStamp}:void 0}}}},4329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4492:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakRestClient=void 0;const s=r(4306),o=r(684),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="speak"}request(e,t,r=":version/speak"){return n(this,void 0,void 0,(function*(){let n;if(!(0,o.isTextSource)(e))throw new s.DeepgramError("Unknown transcription source type");n=JSON.stringify(e);const i=this.getRequestUrl(r,{},Object.assign({model:"aura-2-thalia-en"},t));return this.result=yield this.post(i,n,{headers:{Accept:"audio/*","Content-Type":"application/json"}}),this}))}getStream(){return n(this,void 0,void 0,(function*(){if(!this.result)throw new s.DeepgramUnknownError("Tried to get stream before making request","");return this.result.body}))}getHeaders(){return n(this,void 0,void 0,(function*(){if(!this.result)throw new s.DeepgramUnknownError("Tried to get headers before making request","");return this.result.headers}))}}t.SpeakRestClient=a},4592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractClient=t.noop=void 0;const n=r(9784),s=r(8712),o=r(4306),i=r(684);t.noop=()=>{};class a extends n.EventEmitter{constructor(e){if(super(),this.factory=void 0,this.key=void 0,this.accessToken=void 0,this.namespace="global",this.version="v1",this.baseUrl=s.DEFAULT_URL,this.logger=t.noop,"function"==typeof e.accessToken?(this.factory=e.accessToken,this.accessToken=this.factory()):this.accessToken=e.accessToken,"function"==typeof e.key?(this.factory=e.key,this.key=this.factory()):this.key=e.key,this.key||this.accessToken||(this.accessToken=process.env.DEEPGRAM_ACCESS_TOKEN,this.accessToken||(this.key=process.env.DEEPGRAM_API_KEY)),!this.key&&!this.accessToken)throw new o.DeepgramError("A deepgram API key or access token is required.");e=(0,i.convertLegacyOptions)(e),this.options=(0,i.applyDefaults)(e,s.DEFAULT_OPTIONS)}v(e="v1"){return this.version=e,this}get namespaceOptions(){const e=(0,i.applyDefaults)(this.options[this.namespace],this.options.global);return Object.assign(Object.assign({},e),{key:this.key})}getRequestUrl(e,t={version:this.version},r){t.version=this.version,e=e.replace(/:(\w+)/g,(function(e,r){return t[r]}));const n=new URL(e,this.baseUrl);return r&&(0,i.appendSearchParams)(n.searchParams,r),n}log(e,t,r){this.logger(e,t,r)}}t.AbstractClient=a},5096:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractRestfulClient=t.AbstractRestClient=void 0;const o=r(4306),i=r(6245),a=r(5066),u=r(5793),c=s(r(7314));class l extends a.AbstractClient{constructor(e){if(super(e),(0,u.isBrowser)()&&!this.proxy)throw new o.DeepgramError("Due to CORS we are unable to support REST-based API calls to our API from the browser. Please consider using a proxy: https://dpgr.am/js-proxy for more information.");const{accessToken:t,key:r,fetch:n}=this;this.fetch=(0,i.fetchWithAuth)({accessToken:t,apiKey:r,customFetch:n}),this.proxy?this.baseUrl=this.namespaceOptions.fetch.options.proxy.url:this.baseUrl=this.namespaceOptions.fetch.options.url}_getErrorMessage(e){return e.msg||e.message||e.error_description||e.error||JSON.stringify(e)}_handleError(e,t){return n(this,void 0,void 0,(function*(){const r=yield(0,i.resolveResponse)();e instanceof r?e.json().then((r=>{t(new o.DeepgramApiError(this._getErrorMessage(r),e.status||500))})).catch((e=>{t(new o.DeepgramUnknownError(this._getErrorMessage(e),e))})):t(new o.DeepgramUnknownError(this._getErrorMessage(e),e))}))}_getRequestOptions(e,t,r){let n={method:e};return n="GET"===e||"DELETE"===e?Object.assign(Object.assign({},n),t):Object.assign(Object.assign({duplex:"half",body:t},n),r),(0,c.default)(this.namespaceOptions.fetch.options,n,{clone:!1})}_handleRequest(e,t,r,s){return n(this,void 0,void 0,(function*(){return new Promise(((n,o)=>{(0,this.fetch)(t,this._getRequestOptions(e,r,s)).then((e=>{if(!e.ok)throw e;n(e)})).catch((e=>this._handleError(e,o)))}))}))}get(e,t){return n(this,void 0,void 0,(function*(){return this._handleRequest("GET",e,t)}))}post(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("POST",e,t,r)}))}put(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("PUT",e,t,r)}))}patch(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("PATCH",e,t,r)}))}delete(e,t){return n(this,void 0,void 0,(function*(){return this._handleRequest("DELETE",e,t)}))}get proxy(){var e;return"proxy"===this.key&&!!(null===(e=this.namespaceOptions.fetch.options.proxy)||void 0===e?void 0:e.url)}}t.AbstractRestClient=l,t.AbstractRestfulClient=l},5263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5292:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ModelsRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="models"}getAll(e=":version/models",t={}){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(e,{},t);return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getModel(e,t=":version/models/:modelId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{modelId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ModelsRestClient=i},5357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveClient=t.ListenLiveClient=void 0;const n=r(740),s=r(6416),o=r(4306);class i extends n.AbstractLiveClient{constructor(e,t={},r=":version/listen"){var n,s;if(super(e),this.namespace="listen",(null===(n=t.keyterm)||void 0===n?void 0:n.length)&&!(null===(s=t.model)||void 0===s?void 0:s.startsWith("nova-3")))throw new o.DeepgramError("Keyterms are only supported with the Nova 3 models.");this.connect(t,r)}setupConnection(){this.setupConnectionEvents({Open:s.LiveTranscriptionEvents.Open,Close:s.LiveTranscriptionEvents.Close,Error:s.LiveTranscriptionEvents.Error}),this.conn&&(this.conn.onmessage=e=>{var t,r,n,o;try{const t=JSON.parse(e.data.toString());t.type===s.LiveTranscriptionEvents.Metadata?this.emit(s.LiveTranscriptionEvents.Metadata,t):t.type===s.LiveTranscriptionEvents.Transcript?this.emit(s.LiveTranscriptionEvents.Transcript,t):t.type===s.LiveTranscriptionEvents.UtteranceEnd?this.emit(s.LiveTranscriptionEvents.UtteranceEnd,t):t.type===s.LiveTranscriptionEvents.SpeechStarted?this.emit(s.LiveTranscriptionEvents.SpeechStarted,t):this.emit(s.LiveTranscriptionEvents.Unhandled,t)}catch(i){this.emit(s.LiveTranscriptionEvents.Error,{event:e,message:"Unable to parse `data` as JSON.",error:i,url:null===(t=this.conn)||void 0===t?void 0:t.url,readyState:null===(r=this.conn)||void 0===r?void 0:r.readyState,data:(null===(n=e.data)||void 0===n?void 0:n.toString().substring(0,200))+((null===(o=e.data)||void 0===o?void 0:o.toString().length)>200?"...":"")})}})}configure(e){this.send(JSON.stringify({type:"Configure",processors:e}))}keepAlive(){this.send(JSON.stringify({type:"KeepAlive"}))}finalize(){this.send(JSON.stringify({type:"Finalize"}))}finish(){this.requestClose()}requestClose(){this.send(JSON.stringify({type:"CloseStream"}))}}t.ListenLiveClient=i,t.LiveClient=i},5569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="0.0.0-automated"},5793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBun=t.isNode=t.isBrowser=t.BROWSER_AGENT=t.BUN_VERSION=t.NODE_VERSION=void 0,t.NODE_VERSION="undefined"!=typeof process&&process.versions&&process.versions.node?process.versions.node:"unknown",t.BUN_VERSION="undefined"!=typeof process&&process.versions&&process.versions.bun?process.versions.bun:"unknown",t.BROWSER_AGENT="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:"unknown",t.isBrowser=()=>"unknown"!==t.BROWSER_AGENT,t.isNode=()=>"unknown"!==t.NODE_VERSION,t.isBun=()=>"unknown"!==t.BUN_VERSION},5874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6245:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveResponse=t.fetchWithAuth=t.resolveFetch=void 0;const u=r(684),c=a(r(8389));t.resolveFetch=e=>{let t;return t=e||("undefined"==typeof fetch?c.default:fetch),(...e)=>t(...e)},t.fetchWithAuth=({apiKey:e,customFetch:r,accessToken:n})=>{const s=(0,t.resolveFetch)(r),o=(0,u.resolveHeadersConstructor)();return(t,r)=>i(void 0,void 0,void 0,(function*(){const i=new o(null==r?void 0:r.headers);return i.has("Authorization")||i.set("Authorization",n?`Bearer ${n}`:`Token ${e}`),s(t,Object.assign(Object.assign({},r),{headers:i}))}))},t.resolveResponse=()=>i(void 0,void 0,void 0,(function*(){return"undefined"==typeof Response?(yield Promise.resolve().then((()=>o(r(8389))))).Response:Response}))},6287:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,r="millisecond",n="second",s="minute",o="hour",i="day",a="week",u="month",c="quarter",l="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},g={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),s=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(s,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,u),o=r-s<0,i=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-s)/(o?s-i:i-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:a,d:i,D:d,h:o,m:s,s:n,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},m="en",b={};b[m]=v;var _="$isDayjsObject",w=function(e){return e instanceof S||!(!e||!e[_])},O=function e(t,r,n){var s;if(!t)return m;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(s=o),r&&(b[o]=r,s=o);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var a=t.name;b[a]=t,s=a}return!n&&s&&(m=s),s||!n&&m},E=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new S(r)},j=g;j.l=O,j.i=w,j.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var y=v.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(j.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var s=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=E(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return E(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<E(e)},y.$g=function(e,t,r){return j.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,c=!!j.u(t)||t,h=j.p(e),p=function(e,t){var n=j.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return c?n:n.endOf(i)},f=function(e,t){return j.w(r.toDate()[e].apply(r.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},v=this.$W,y=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case l:return c?p(1,0):p(31,11);case u:return c?p(1,y):p(0,y+1);case a:var b=this.$locale().weekStart||0,_=(v<b?v+7:v)-b;return p(c?g-_:g+(6-_),y);case i:case d:return f(m+"Hours",0);case o:return f(m+"Minutes",1);case s:return f(m+"Seconds",2);case n:return f(m+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var a,c=j.p(e),h="set"+(this.$u?"UTC":""),p=(a={},a[i]=h+"Date",a[d]=h+"Date",a[u]=h+"Month",a[l]=h+"FullYear",a[o]=h+"Hours",a[s]=h+"Minutes",a[n]=h+"Seconds",a[r]=h+"Milliseconds",a)[c],f=c===i?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(d,1);v.$d[p](f),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[j.p(e)]()},y.add=function(r,c){var d,h=this;r=Number(r);var p=j.p(c),f=function(e){var t=E(h);return j.w(t.date(t.date()+Math.round(e*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===l)return this.set(l,this.$y+r);if(p===i)return f(1);if(p===a)return f(7);var v=(d={},d[s]=e,d[o]=t,d[n]=1e3,d)[p]||1,y=this.$d.getTime()+r*v;return j.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=j.z(this),o=this.$H,i=this.$m,a=this.$M,u=r.weekdays,c=r.months,l=r.meridiem,d=function(e,r,s,o){return e&&(e[r]||e(t,n))||s[r].slice(0,o)},p=function(e){return j.s(o%12||12,e,"0")},v=l||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(f,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return j.s(t.$y,4,"0");case"M":return a+1;case"MM":return j.s(a+1,2,"0");case"MMM":return d(r.monthsShort,a,c,3);case"MMMM":return d(c,a);case"D":return t.$D;case"DD":return j.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,u,2);case"ddd":return d(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return j.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(o,i,!0);case"A":return v(o,i,!1);case"m":return String(i);case"mm":return j.s(i,2,"0");case"s":return String(t.$s);case"ss":return j.s(t.$s,2,"0");case"SSS":return j.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,d,h){var p,f=this,v=j.p(d),y=E(r),g=(y.utcOffset()-this.utcOffset())*e,m=this-y,b=function(){return j.m(f,y)};switch(v){case l:p=b()/12;break;case u:p=b();break;case c:p=b()/3;break;case a:p=(m-g)/6048e5;break;case i:p=(m-g)/864e5;break;case o:p=m/t;break;case s:p=m/e;break;case n:p=m/1e3;break;default:p=m}return h?p:j.a(p)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return b[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=O(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return j.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),T=S.prototype;return E.prototype=T,[["$ms",r],["$s",n],["$m",s],["$H",o],["$W",i],["$M",u],["$y",l],["$D",d]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,S,E),e.$i=!0),E},E.locale=O,E.isDayjs=w,E.unix=function(e){return E(1e3*e)},E.en=b[m],E.Ls=b,E.p={},E}()},6302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6327:(e,t,r)=>{"use strict";function n(e){return"transcriptionData"in e}r.r(t),r.d(t,{AssemblyAiConverter:()=>h,DeepgramConverter:()=>l,chunkArray:()=>c,isConverter:()=>n,secondsToTimestamp:()=>u,srt:()=>v,webvtt:()=>f});var s=r(6287),o=r.n(s),i=r(4268),a=r.n(i);function u(e,t="HH:mm:ss.SSS"){return o()(1e3*e).utc().format(t)}function c(e,t){const r=[];for(let n=0;n<e.length;n+=t){const s=e.slice(n,n+t);r.push(s)}return r}o().extend(a());class l{constructor(e){this.transcriptionData=e}getLines(e=8){const{results:t}=this.transcriptionData;let r=[];if(t.utterances)t.utterances.forEach((t=>{t.words.length>e?r.push(...c(t.words,e)):r.push(t.words)}));else{const n=t.channels[0].alternatives[0].words,s="speaker"in n[0];let o=[],i=0;n.forEach((t=>{var n;s&&t.speaker!==i&&(r.push(o),o=[]),o.length===e&&(r.push(o),o=[]),s&&(i=null!==(n=t.speaker)&&void 0!==n?n:0),o.push(t)})),r.push(o)}return r}getHeaders(){var e,t,r,n,s,o,i,a;const u=[];return u.push("NOTE"),u.push("Transcription provided by Deepgram"),(null===(e=this.transcriptionData.metadata)||void 0===e?void 0:e.request_id)&&u.push(`Request Id: ${null===(t=this.transcriptionData.metadata)||void 0===t?void 0:t.request_id}`),(null===(r=this.transcriptionData.metadata)||void 0===r?void 0:r.created)&&u.push(`Created: ${null===(n=this.transcriptionData.metadata)||void 0===n?void 0:n.created}`),(null===(s=this.transcriptionData.metadata)||void 0===s?void 0:s.duration)&&u.push(`Duration: ${null===(o=this.transcriptionData.metadata)||void 0===o?void 0:o.duration}`),(null===(i=this.transcriptionData.metadata)||void 0===i?void 0:i.channels)&&u.push(`Channels: ${null===(a=this.transcriptionData.metadata)||void 0===a?void 0:a.channels}`),u}}const d=e=>({word:e.text,start:e.start,end:e.end,confidence:e.confidence,punctuated_word:e.text,speaker:e.speaker});class h{constructor(e){this.transcriptionData=e}getLines(e=8){const t=this.transcriptionData;let r=[];return t.utterances?t.utterances.forEach((t=>{t.words.length>e?r.push(...c(t.words.map((e=>d(e))),e)):r.push(t.words.map((e=>d(e))))})):r.push(...c(t.words.map((e=>d(e))),e)),r}getHeaders(){const e=[];return e.push("NOTE"),e.push("Transcription provided by Assembly AI"),this.transcriptionData.id&&e.push(`Id: ${this.transcriptionData.id}`),this.transcriptionData.audio_duration&&e.push(`Duration: ${this.transcriptionData.audio_duration}`),e}}const p=e=>n(e)?e:new l(e),f=(e,t=8)=>{const r=[];let n=p(e);r.push("WEBVTT"),r.push(""),n.getHeaders&&r.push(n.getHeaders().join("\n")),n.getHeaders&&r.push("");const s=n.getLines(t),o="speaker"in s[0][0];return s.forEach((e=>{const t=e[0],n=e[e.length-1];r.push(`${u(t.start)} --\x3e ${u(n.end)}`);const s=e.map((e=>{var t;return null!==(t=e.punctuated_word)&&void 0!==t?t:e.word})).join(" "),i=o?`<v Speaker ${t.speaker}>`:"";r.push(`${i}${s}`),r.push("")})),r.join("\n")},v=(e,t=8)=>{const r=[];let n=p(e).getLines(t);const s="speaker"in n[0][0];let o,i=1;return n.forEach((e=>{r.push((i++).toString());const t=e[0],n=e[e.length-1];r.push(`${u(t.start,"HH:mm:ss,SSS")} --\x3e ${u(n.end,"HH:mm:ss,SSS")}`);const a=e.map((e=>{var t;return null!==(t=e.punctuated_word)&&void 0!==t?t:e.word})).join(" "),c=s&&o!==t.speaker?`[Speaker ${t.speaker}]\n`:"";r.push(`${c}${a}`),r.push(""),o=t.speaker})),r.join("\n")}},6416:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(1176),t),s(r(3063),t),s(r(6487),t),s(r(986),t)},6487:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LiveTranscriptionEvents=void 0,(r=t.LiveTranscriptionEvents||(t.LiveTranscriptionEvents={})).Open="open",r.Close="close",r.Error="error",r.Transcript="Results",r.Metadata="Metadata",r.UtteranceEnd="UtteranceEnd",r.SpeechStarted="SpeechStarted",r.Unhandled="Unhandled"},6544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6731:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(5066),t),s(r(740),t),s(r(5096),t),s(r(2043),t),s(r(472),t),s(r(875),t),s(r(5357),t),s(r(6733),t),s(r(7361),t),s(r(5292),t),s(r(3242),t),s(r(367),t),s(r(398),t),s(r(3712),t),s(r(4492),t)},6733:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PrerecordedClient=t.ListenRestClient=void 0;const s=r(684),o=r(4306),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="listen"}transcribeUrl(e,t,r=":version/listen"){var i,a;return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown transcription source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `transcribeUrlCallback` or `transcribeFileCallback` instead.");if((null===(i=null==t?void 0:t.keyterm)||void 0===i?void 0:i.length)&&!(null===(a=t.model)||void 0===a?void 0:a.startsWith("nova-3")))throw new o.DeepgramError("Keyterms are only supported with the Nova 3 models.");const u=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(u,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeFile(e,t,r=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isFileSource)(e))throw new o.DeepgramError("Unknown transcription source type");if(n=e,void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `transcribeUrlCallback` or `transcribeFileCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeUrlCallback(e,t,r,i=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown transcription source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeFileCallback(e,t,r,i=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isFileSource)(e))throw new o.DeepgramError("Unknown transcription source type");n=e;const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ListenRestClient=a,t.PrerecordedClient=a},7034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7314:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function s(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function a(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||s,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?u.arrayMerge(e,r,u):function(e,t,r){var s={};return r.isMergeableObject(e)&&o(e).forEach((function(t){s[t]=n(e[t],r)})),o(t).forEach((function(o){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(i(e,o)&&r.isMergeableObject(t[o])?s[o]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(o,r)(e[o],t[o],r):s[o]=n(t[o],r))})),s}(e,r,u):n(r,u)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var u=a;e.exports=u},7361:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ManageClient=t.ManageRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="manage"}getTokenDetails(e=":version/auth/token"){return n(this,void 0,void 0,(function*(){try{const t=this.getRequestUrl(e);return{result:yield this.get(t).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjects(e=":version/projects"){return n(this,void 0,void 0,(function*(){try{const t=this.getRequestUrl(e);return{result:yield this.get(t).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProject(e,t=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}updateProject(e,t,r=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.patch(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProject(e,t=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return yield this.delete(r),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectKeys(e,t=":version/projects/:projectId/keys"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectKey(e,t,r=":version/projects/:projectId/keys/:keyId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,keyId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}createProjectKey(e,t,r=":version/projects/:projectId/keys"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProjectKey(e,t,r=":version/projects/:projectId/keys/:keyId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,keyId:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectMembers(e,t=":version/projects/:projectId/members"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}removeProjectMember(e,t,r=":version/projects/:projectId/members/:memberId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,memberId:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectMemberScopes(e,t,r=":version/projects/:projectId/members/:memberId/scopes"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,memberId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}updateProjectMemberScope(e,t,r,o=":version/projects/:projectId/members/:memberId/scopes"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(o,{projectId:e,memberId:t},r),s=JSON.stringify(r);return{result:yield this.put(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectInvites(e,t=":version/projects/:projectId/invites"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}sendProjectInvite(e,t,r=":version/projects/:projectId/invites"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProjectInvite(e,t,r=":version/projects/:projectId/invites/:email"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,email:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}leaveProject(e,t=":version/projects/:projectId/leave"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.delete(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageRequests(e,t,r=":version/projects/:projectId/requests"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageRequest(e,t,r=":version/projects/:projectId/requests/:requestId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,requestId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageSummary(e,t,r=":version/projects/:projectId/usage"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageFields(e,t,r=":version/projects/:projectId/usage/fields"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectBalances(e,t=":version/projects/:projectId/balances"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectBalance(e,t,r=":version/projects/:projectId/balances/:balanceId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,balanceId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getAllModels(e,t={},r=":version/projects/:projectId/models"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getModel(e,t,r=":version/projects/:projectId/models/:modelId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,modelId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ManageRestClient=i,t.ManageClient=i},7897:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8389:(e,t,r)=>{var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,s=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},s="URLSearchParams"in n,o="Symbol"in n&&"iterator"in Symbol,i="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in n,u="ArrayBuffer"in n;if(u)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function y(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function g(e){var t=new FileReader,r=y(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:s&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return v(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(i)return this.blob().then(g);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,s,o=v(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=y(t=new FileReader),s=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,s),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=d(e),t=h(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[d(e)]},f.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},f.prototype.set=function(e,t){this.map[d(e)]=h(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),p(e)},o&&(f.prototype[Symbol.iterator]=f.prototype.entries);var _=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,s,o=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(s=(r=t.method||this.method||"GET").toUpperCase(),_.indexOf(s)>-1?s:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in n)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function O(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),s=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(s))}})),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var j=[301,302,303,307,308];E.redirect=function(e,t){if(-1===j.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(s,o){var a=new w(e,r);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}if(c.onload=function(){var e,t,r={statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var s=r.join(":").trim();try{t.append(n,s)}catch(e){console.warn("Response "+e.message)}}})),t)};0===a.url.indexOf("file://")&&(c.status<200||c.status>599)?r.status=200:r.status=c.status,r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var n="response"in c?c.response:c.responseText;setTimeout((function(){s(new E(n,r))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request timed out"))}),0)},c.onabort=function(){setTimeout((function(){o(new t.DOMException("Aborted","AbortError"))}),0)},c.open(a.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":u&&(c.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof f||n.Headers&&r.headers instanceof n.Headers)){var p=[];Object.getOwnPropertyNames(r.headers).forEach((function(e){p.push(d(e)),c.setRequestHeader(e,h(r.headers[e]))})),a.headers.forEach((function(e,t){-1===p.indexOf(t)&&c.setRequestHeader(t,e)}))}else a.headers.forEach((function(e,t){c.setRequestHeader(t,e)}));a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=f,n.Request=w,n.Response=E),t.Headers=f,t.Request=w,t.Response=E,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(s),s.fetch.ponyfill=!0,delete s.fetch.polyfill;var o=n.fetch?n:s;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},8457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8600:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONNECTION_STATE=t.SOCKET_STATES=t.DEFAULT_OPTIONS=t.DEFAULT_AGENT_OPTIONS=t.DEFAULT_GLOBAL_OPTIONS=t.DEFAULT_AGENT_URL=t.DEFAULT_URL=t.DEFAULT_HEADERS=void 0;const n=r(684),s=r(5793),o=r(5569);var i,a;t.DEFAULT_HEADERS={"Content-Type":"application/json","X-Client-Info":`@deepgram/sdk; ${(0,s.isBrowser)()?"browser":"server"}; v${o.version}`,"User-Agent":`@deepgram/sdk/${o.version} ${(0,s.isNode)()?`node/${s.NODE_VERSION}`:(0,s.isBun)()?`bun/${s.BUN_VERSION}`:(0,s.isBrowser)()?`javascript ${s.BROWSER_AGENT}`:"unknown"}`},t.DEFAULT_URL="https://api.deepgram.com",t.DEFAULT_AGENT_URL="wss://agent.deepgram.com",t.DEFAULT_GLOBAL_OPTIONS={fetch:{options:{url:t.DEFAULT_URL,headers:t.DEFAULT_HEADERS}},websocket:{options:{url:(0,n.convertProtocolToWs)(t.DEFAULT_URL),_nodeOnlyHeaders:t.DEFAULT_HEADERS}}},t.DEFAULT_AGENT_OPTIONS={fetch:{options:{url:t.DEFAULT_URL,headers:t.DEFAULT_HEADERS}},websocket:{options:{url:t.DEFAULT_AGENT_URL,_nodeOnlyHeaders:t.DEFAULT_HEADERS}}},t.DEFAULT_OPTIONS={global:t.DEFAULT_GLOBAL_OPTIONS,agent:t.DEFAULT_AGENT_OPTIONS},(a=t.SOCKET_STATES||(t.SOCKET_STATES={}))[a.connecting=0]="connecting",a[a.open=1]="open",a[a.closing=2]="closing",a[a.closed=3]="closed",(i=t.CONNECTION_STATE||(t.CONNECTION_STATE={})).Connecting="connecting",i.Open="open",i.Closing="closing",i.Closed="closed"},8785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9176:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9784:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function s(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}v(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&v(e,"error",t,{once:!0})}(e,s)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var s,o,i,c;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),i=o[t]),void 0===i)i=o[t]=r,++e._eventsCount;else if("function"==typeof i?i=o[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(s=u(e))>0&&i.length>s&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,c=l,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},s=l.bind(n);return s.listener=r,n.wrapFn=s,s}function h(e,t,r){var n=e._events;if(void 0===n)return[];var s=n[t];return void 0===s?[]:"function"==typeof s?r?[s.listener||s]:[s]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(s):f(s,s.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function f(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function v(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function s(o){n.once&&e.removeEventListener(t,s),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var s="error"===e,o=this._events;if(void 0!==o)s=s&&void 0===o.error;else if(!s)return!1;if(s){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else{var c=u.length,l=f(u,c);for(r=0;r<c;++r)n(l[r],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,s,o,i;if(a(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){i=r[o].listener,s=o;break}if(s<0)return this;0===s?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,s),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var s,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(s=o[n])&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},9836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(3465)})()));
@@ -1,167 +0,0 @@
1
- import { DeepgramVersionError } from "./lib/errors";
2
- import {
3
- AbstractClient,
4
- AgentLiveClient,
5
- AuthRestClient,
6
- ListenClient,
7
- ManageClient,
8
- ReadClient,
9
- OnPremClient,
10
- SelfHostedRestClient,
11
- SpeakClient,
12
- ModelsRestClient,
13
- } from "./packages";
14
-
15
- /**
16
- * The DeepgramClient class provides access to various Deepgram API clients, including ListenClient, ManageClient, SelfHostedRestClient, ReadClient, and SpeakClient.
17
- *
18
- * @see https://github.com/deepgram/deepgram-js-sdk
19
- */
20
- export default class DeepgramClient extends AbstractClient {
21
- /**
22
- * Returns a new instance of the AuthRestClient, which provides access to the Deepgram API's temporary token endpoints.
23
- *
24
- * @returns {AuthRestClient} A new instance of the AuthRestClient.
25
- * @see https://developers.deepgram.com/reference/token-based-auth-api/grant-token
26
- */
27
- get auth(): AuthRestClient {
28
- return new AuthRestClient(this.options);
29
- }
30
- /**
31
- * Returns a new instance of the ListenClient, which provides access to the Deepgram API's listening functionality.
32
- *
33
- * @returns {ListenClient} A new instance of the ListenClient.
34
- */
35
- get listen(): ListenClient {
36
- return new ListenClient(this.options);
37
- }
38
-
39
- /**
40
- * Returns a new instance of the ManageClient, which provides access to the Deepgram API's management functionality.
41
- *
42
- * @returns {ManageClient} A new instance of the ManageClient.
43
- */
44
- get manage(): ManageClient {
45
- return new ManageClient(this.options);
46
- }
47
-
48
- /**
49
- * Returns a new instance of the ModelsRestClient, which provides access to the Deepgram API's model functionality.
50
- *
51
- * @returns {ModelsRestClient} A new instance of the ModelsRestClient.
52
- */
53
- get models(): ModelsRestClient {
54
- return new ModelsRestClient(this.options);
55
- }
56
-
57
- /**
58
- * Returns a new instance of the SelfHostedRestClient, which provides access to the Deepgram API's self-hosted functionality.
59
- *
60
- * @returns {OnPremClient} A new instance of the SelfHostedRestClient named as OnPremClient.
61
- * @deprecated use selfhosted() instead
62
- */
63
- get onprem(): OnPremClient {
64
- return this.selfhosted;
65
- }
66
-
67
- /**
68
- * Returns a new instance of the SelfHostedRestClient, which provides access to the Deepgram API's self-hosted functionality.
69
- *
70
- * @returns {SelfHostedRestClient} A new instance of the SelfHostedRestClient.
71
- */
72
- get selfhosted(): SelfHostedRestClient {
73
- return new SelfHostedRestClient(this.options);
74
- }
75
-
76
- /**
77
- * Returns a new instance of the ReadClient, which provides access to the Deepgram API's reading functionality.
78
- *
79
- * @returns {ReadClient} A new instance of the ReadClient.
80
- */
81
- get read(): ReadClient {
82
- return new ReadClient(this.options);
83
- }
84
-
85
- /**
86
- * Returns a new instance of the SpeakClient, which provides access to the Deepgram API's speaking functionality.
87
- *
88
- * @returns {SpeakClient} A new instance of the SpeakClient.
89
- */
90
- get speak(): SpeakClient {
91
- return new SpeakClient(this.options);
92
- }
93
-
94
- /**
95
- * Returns a new instance of the AgentLiveClient, which provides access to Deepgram's Voice Agent API.
96
- *
97
- * @returns {AgentLiveClient} A new instance of the AgentLiveClient.
98
- * @beta
99
- */
100
- public agent(endpoint: string = "/:version/agent/converse"): AgentLiveClient {
101
- return new AgentLiveClient(this.options, endpoint);
102
- }
103
-
104
- /**
105
- * @deprecated
106
- * @see https://dpgr.am/js-v3
107
- */
108
- get transcription(): any {
109
- throw new DeepgramVersionError();
110
- }
111
-
112
- /**
113
- * @deprecated
114
- * @see https://dpgr.am/js-v3
115
- */
116
- get projects(): any {
117
- throw new DeepgramVersionError();
118
- }
119
-
120
- /**
121
- * @deprecated
122
- * @see https://dpgr.am/js-v3
123
- */
124
- get keys(): any {
125
- throw new DeepgramVersionError();
126
- }
127
-
128
- /**
129
- * @deprecated
130
- * @see https://dpgr.am/js-v3
131
- */
132
- get members(): any {
133
- throw new DeepgramVersionError();
134
- }
135
-
136
- /**
137
- * @deprecated
138
- * @see https://dpgr.am/js-v3
139
- */
140
- get scopes(): any {
141
- throw new DeepgramVersionError();
142
- }
143
-
144
- /**
145
- * @deprecated
146
- * @see https://dpgr.am/js-v3
147
- */
148
- get invitation(): any {
149
- throw new DeepgramVersionError();
150
- }
151
-
152
- /**
153
- * @deprecated
154
- * @see https://dpgr.am/js-v3
155
- */
156
- get usage(): any {
157
- throw new DeepgramVersionError();
158
- }
159
-
160
- /**
161
- * @deprecated
162
- * @see https://dpgr.am/js-v3
163
- */
164
- get billing(): any {
165
- throw new DeepgramVersionError();
166
- }
167
- }
package/src/index.ts DELETED
@@ -1,68 +0,0 @@
1
- import { DeepgramClientOptions, IKeyFactory } from "./lib/types/DeepgramClientOptions";
2
- import { DeepgramVersionError } from "./lib/errors";
3
- import DeepgramClient from "./DeepgramClient";
4
-
5
- /**
6
- * This class is deprecated and should not be used. It throws a `DeepgramVersionError` when instantiated.
7
- *
8
- * @deprecated
9
- * @see https://dpgr.am/js-v3
10
- */
11
- class Deepgram {
12
- constructor(protected apiKey: string, protected apiUrl?: string, protected requireSSL?: boolean) {
13
- throw new DeepgramVersionError();
14
- }
15
- }
16
-
17
- /**
18
- * Creates a new Deepgram client instance.
19
- *
20
- * @param {DeepgramClientArgs} args - Arguments to pass to the Deepgram client constructor.
21
- * @returns A new Deepgram client instance.
22
- */
23
- function createClient(): DeepgramClient;
24
- function createClient(key?: string | IKeyFactory): DeepgramClient;
25
- function createClient(options?: DeepgramClientOptions): DeepgramClient;
26
- function createClient(key?: string | IKeyFactory, options?: DeepgramClientOptions): DeepgramClient;
27
- function createClient(
28
- keyOrOptions?: string | IKeyFactory | DeepgramClientOptions,
29
- options?: DeepgramClientOptions
30
- ): DeepgramClient {
31
- let resolvedOptions: DeepgramClientOptions = {};
32
-
33
- if (typeof keyOrOptions === "string" || typeof keyOrOptions === "function") {
34
- if (typeof options === "object") {
35
- resolvedOptions = options;
36
- }
37
-
38
- resolvedOptions.key = keyOrOptions;
39
- } else if (typeof keyOrOptions === "object") {
40
- resolvedOptions = keyOrOptions;
41
- }
42
-
43
- return new DeepgramClient(resolvedOptions);
44
- }
45
-
46
- export { createClient, DeepgramClient, Deepgram };
47
-
48
- /**
49
- * Helpful exports.
50
- */
51
- export * from "./packages";
52
- export * from "./lib/types";
53
- export * from "./lib/enums";
54
- export * from "./lib/constants";
55
- export * from "./lib/errors";
56
- export * from "./lib/helpers";
57
-
58
- /**
59
- * Captions. These will be tree-shaken if unused.
60
- *
61
- * @see https://github.com/deepgram/deepgram-node-captions
62
- *
63
- * import/export declarations don't do anything but set up an alias to the
64
- * exported variable, they do not count as a "use". Given their semantics,
65
- * they are tracked specially by any bundler and will not adversely affect
66
- * tree-shaking.
67
- */
68
- export { webvtt, srt } from "@deepgram/captions";
@@ -1,58 +0,0 @@
1
- import { convertProtocolToWs } from "./helpers";
2
- import { isBrowser, isBun, isNode, NODE_VERSION, BUN_VERSION, BROWSER_AGENT } from "./runtime";
3
- import { version } from "./version";
4
- import type { DefaultNamespaceOptions, DefaultClientOptions } from "./types";
5
-
6
- const getAgent = () => {
7
- if (isNode()) {
8
- return `node/${NODE_VERSION}`;
9
- } else if (isBun()) {
10
- return `bun/${BUN_VERSION}`;
11
- } else if (isBrowser()) {
12
- return `javascript ${BROWSER_AGENT}`;
13
- } else {
14
- return `unknown`;
15
- }
16
- };
17
-
18
- export const DEFAULT_HEADERS = {
19
- "Content-Type": `application/json`,
20
- "X-Client-Info": `@deepgram/sdk; ${isBrowser() ? "browser" : "server"}; v${version}`,
21
- "User-Agent": `@deepgram/sdk/${version} ${getAgent()}`,
22
- };
23
-
24
- export const DEFAULT_URL = "https://api.deepgram.com";
25
- export const DEFAULT_AGENT_URL = "wss://agent.deepgram.com";
26
-
27
- export const DEFAULT_GLOBAL_OPTIONS: Partial<DefaultNamespaceOptions> = {
28
- fetch: { options: { url: DEFAULT_URL, headers: DEFAULT_HEADERS } },
29
- websocket: {
30
- options: { url: convertProtocolToWs(DEFAULT_URL), _nodeOnlyHeaders: DEFAULT_HEADERS },
31
- },
32
- };
33
-
34
- export const DEFAULT_AGENT_OPTIONS: Partial<DefaultNamespaceOptions> = {
35
- fetch: { options: { url: DEFAULT_URL, headers: DEFAULT_HEADERS } },
36
- websocket: {
37
- options: { url: DEFAULT_AGENT_URL, _nodeOnlyHeaders: DEFAULT_HEADERS },
38
- },
39
- };
40
-
41
- export const DEFAULT_OPTIONS: DefaultClientOptions = {
42
- global: DEFAULT_GLOBAL_OPTIONS,
43
- agent: DEFAULT_AGENT_OPTIONS,
44
- };
45
-
46
- export enum SOCKET_STATES {
47
- connecting = 0,
48
- open = 1,
49
- closing = 2,
50
- closed = 3,
51
- }
52
-
53
- export enum CONNECTION_STATE {
54
- Connecting = "connecting",
55
- Open = "open",
56
- Closing = "closing",
57
- Closed = "closed",
58
- }
@@ -1,74 +0,0 @@
1
- export enum AgentEvents {
2
- /**
3
- * Built in socket events.
4
- */
5
- Open = "Open",
6
- Close = "Close",
7
- Error = "Error",
8
- /**
9
- * Audio event?
10
- */
11
- Audio = "Audio",
12
- /**
13
- * Confirms the successful connection to the websocket.
14
- * { type: "Welcome", request_id: "String"}
15
- */
16
- Welcome = "Welcome",
17
- /**
18
- * Confirms that your `configure` request was successful.
19
- * { type: "SettingsApplied" }
20
- */
21
- SettingsApplied = "SettingsApplied",
22
- /**
23
- * Triggered when the agent "hears" the user say something.
24
- * { type: "ConversationText", role: string, content: string }
25
- */
26
- ConversationText = "ConversationText",
27
- /**
28
- * Triggered when the agent begins receiving user audio.
29
- * { type: "UserStartedSpeaking" }
30
- */
31
- UserStartedSpeaking = "UserStartedSpeaking",
32
- /**
33
- * Triggered when the user has stopped speaking and the agent is processing the audio.
34
- * { type: "AgentThinking", content: string }
35
- */
36
- AgentThinking = "AgentThinking",
37
- /**
38
- * A request to call client-side functions.
39
- * { type: "FunctionCallRequest", functions: { id: string; name: string; arguments: string; client_side: boolean}[] }
40
- */
41
- FunctionCallRequest = "FunctionCallRequest",
42
- /**
43
- * Triggered when the agent begins streaming an audio response.
44
- * YOU WILL ONLY RECEIVE THIS EVENT IF YOU HAVE ENABLED `experimental` IN YOUR CONFIG.
45
- * { type: "AgentStartedSpeaking", total_latency: number, tts_latency: number, ttt_latency: number }
46
- */
47
- AgentStartedSpeaking = "AgentStartedSpeaking",
48
- /**
49
- * Triggered when the agent has finished streaming an audio response.
50
- * { type: "AgentAudioDone" }
51
- */
52
- AgentAudioDone = "AgentAudioDone",
53
- /**
54
- * This event is only emitted when you send an `InjectAgentMessage` request while
55
- * the user is currently speaking or the server is processing user audio.
56
- * { type: "InjectionRefused", message: string }
57
- */
58
- InjectionRefused = "InjectionRefused",
59
- /**
60
- * A successful response to the `UpdateInstructions` request.
61
- * { type: "PromptUpdated" }
62
- */
63
- PromptUpdated = "PromptUpdated",
64
- /**
65
- * A successful response to the `UpdateSpeak` request.
66
- * { type: "SpeakUpdated" }
67
- */
68
- SpeakUpdated = "SpeakUpdated",
69
-
70
- /**
71
- * Catch all for any other message event
72
- */
73
- Unhandled = "Unhandled",
74
- }
@@ -1,13 +0,0 @@
1
- import { SOCKET_STATES } from "../constants";
2
-
3
- /**
4
- * Enum representing the different states of a live connection.
5
- *
6
- * @deprecated Since 3.4. Use `SOCKET_STATES` for generic socket connection states instead.
7
- */
8
- export enum LiveConnectionState {
9
- CONNECTING = SOCKET_STATES.connecting,
10
- OPEN = SOCKET_STATES.open,
11
- CLOSING = SOCKET_STATES.closing,
12
- CLOSED = SOCKET_STATES.closed,
13
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * Enumeration of events related to live text-to-speech synthesis.
3
- *
4
- * - `Open`: Built-in socket event for when the connection is opened.
5
- * - `Close`: Built-in socket event for when the connection is closed.
6
- * - `Error`: Built-in socket event for when an error occurs.
7
- * - `Metadata`: Event for when metadata is received.
8
- * - `Flushed`: Event for when the server has flushed the buffer.
9
- * - `Warning`: Event for when a warning is received.
10
- * - `Unhandled`: Catch-all event for any other message event.
11
- */
12
- export enum LiveTTSEvents {
13
- /**
14
- * Built in socket events.
15
- */
16
- Open = "Open",
17
- Close = "Close",
18
- Error = "Error",
19
-
20
- /**
21
- * Message { type: string }
22
- */
23
- Metadata = "Metadata",
24
- Flushed = "Flushed",
25
- Warning = "Warning",
26
-
27
- /**
28
- * Audio data event.
29
- */
30
- Audio = "Audio",
31
-
32
- /**
33
- * Catch all for any other message event
34
- */
35
- Unhandled = "Unhandled",
36
- }