@deepgram/sdk 5.0.0-beta.2 → 5.0.0-beta.3

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 (206) hide show
  1. package/dist/browser/index.global.js +304 -451
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/CustomClient.js +124 -0
  4. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.ts +1 -1
  5. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Settings.d.ts +24 -54
  6. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.d.ts +1 -1
  7. package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.ts +2 -18
  8. package/dist/cjs/api/resources/agent/resources/v1/types/index.d.ts +0 -4
  9. package/dist/cjs/api/resources/agent/resources/v1/types/index.js +0 -4
  10. package/dist/cjs/api/resources/listen/resources/v1/client/Client.d.ts +1 -0
  11. package/dist/cjs/api/resources/listen/resources/v1/client/Client.js +2 -1
  12. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.ts +1 -1
  13. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.ts +1 -1
  14. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.ts +1 -1
  15. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.ts +1 -1
  16. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.ts +1 -1
  17. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.ts +1 -1
  18. package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.ts +1 -1
  19. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.ts +1 -1
  20. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Finalize.d.ts +1 -1
  21. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.ts +1 -1
  22. package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Results.d.ts +19 -0
  23. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.ts +1 -1
  24. package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.ts +1 -1
  25. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.ts +1 -1
  26. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.ts +1 -1
  27. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.ts +1 -1
  28. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.js +2 -2
  29. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.ts +1 -1
  30. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.ts +1 -1
  31. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.ts +1 -1
  32. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.ts +1 -1
  33. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.ts +1 -1
  34. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.ts +1 -1
  35. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.ts +1 -1
  36. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.ts +1 -1
  37. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.ts +1 -1
  38. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.ts +1 -1
  39. package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.ts +1 -1
  40. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.ts +1 -1
  41. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.ts +1 -1
  42. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.ts +1 -1
  43. package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.ts +1 -1
  44. package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.ts +1 -1
  45. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.ts +1 -1
  46. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.ts +1 -1
  47. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.ts +1 -1
  48. package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.ts +1 -1
  49. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Clear.d.ts +1 -1
  50. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.ts +1 -1
  51. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Close.d.ts +1 -1
  52. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flush.d.ts +1 -1
  53. package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.ts +1 -1
  54. package/dist/cjs/api/types/AgentThinkModelsV1Response.d.ts +3 -3
  55. package/dist/cjs/api/types/Anthropic.d.ts +17 -0
  56. package/dist/cjs/api/types/Anthropic.js +12 -0
  57. package/dist/cjs/api/types/AwsBedrockThinkProvider.d.ts +40 -0
  58. package/dist/cjs/api/types/AwsBedrockThinkProvider.js +20 -0
  59. package/dist/cjs/api/types/AwsPollySpeakProvider.d.ts +47 -0
  60. package/dist/cjs/api/types/AwsPollySpeakProvider.js +31 -0
  61. package/dist/cjs/api/types/Cartesia.d.ts +24 -0
  62. package/dist/cjs/api/types/Cartesia.js +12 -0
  63. package/dist/cjs/api/types/Deepgram.d.ts +76 -0
  64. package/dist/cjs/api/types/Deepgram.js +73 -0
  65. package/dist/cjs/api/types/ElevenLabsSpeakProvider.d.ts +20 -0
  66. package/dist/cjs/api/types/ElevenLabsSpeakProvider.js +13 -0
  67. package/dist/cjs/api/types/Google.d.ts +18 -0
  68. package/dist/cjs/api/types/Google.js +13 -0
  69. package/dist/cjs/api/types/Groq.d.ts +9 -0
  70. package/dist/cjs/api/types/Groq.js +3 -0
  71. package/dist/cjs/api/types/ListBillingFieldsV1Response.d.ts +1 -1
  72. package/dist/cjs/api/types/ListenV1CallbackMethod.d.ts +1 -1
  73. package/dist/cjs/api/types/ListenV1DetectEntities.d.ts +6 -0
  74. package/dist/cjs/api/types/ListenV1DetectEntities.js +9 -0
  75. package/dist/cjs/api/types/ListenV1Diarize.d.ts +1 -1
  76. package/dist/cjs/api/types/ListenV1Dictation.d.ts +1 -1
  77. package/dist/cjs/api/types/ListenV1Encoding.d.ts +1 -1
  78. package/dist/cjs/api/types/ListenV1InterimResults.d.ts +1 -1
  79. package/dist/cjs/api/types/ListenV1Model.d.ts +1 -1
  80. package/dist/cjs/api/types/ListenV1Multichannel.d.ts +1 -1
  81. package/dist/cjs/api/types/ListenV1Numerals.d.ts +1 -1
  82. package/dist/cjs/api/types/ListenV1ProfanityFilter.d.ts +1 -1
  83. package/dist/cjs/api/types/ListenV1Punctuate.d.ts +1 -1
  84. package/dist/cjs/api/types/ListenV1Redact.d.ts +1 -1
  85. package/dist/cjs/api/types/ListenV1ResponseResultsChannelsItem.d.ts +12 -0
  86. package/dist/cjs/api/types/ListenV1SmartFormat.d.ts +1 -1
  87. package/dist/cjs/api/types/ListenV1VadEvents.d.ts +1 -1
  88. package/dist/cjs/api/types/ListenV2Encoding.d.ts +1 -1
  89. package/dist/cjs/api/types/OpenAi.d.ts +27 -0
  90. package/dist/cjs/api/types/OpenAi.js +21 -0
  91. package/dist/cjs/api/types/SpeakSettingsV1.d.ts +20 -0
  92. package/dist/cjs/api/types/SpeakSettingsV1.js +3 -0
  93. package/dist/cjs/api/types/SpeakSettingsV1Provider.d.ts +19 -0
  94. package/dist/cjs/api/types/SpeakSettingsV1Provider.js +3 -0
  95. package/dist/cjs/api/types/SpeakV1Encoding.d.ts +1 -1
  96. package/dist/cjs/api/types/SpeakV1Model.d.ts +1 -1
  97. package/dist/cjs/api/types/SpeakV1SampleRate.d.ts +1 -1
  98. package/dist/cjs/api/types/ThinkSettingsV1.d.ts +50 -0
  99. package/dist/cjs/api/types/ThinkSettingsV1.js +3 -0
  100. package/dist/cjs/api/types/index.d.ts +13 -0
  101. package/dist/cjs/api/types/index.js +13 -0
  102. package/dist/cjs/version.d.ts +1 -1
  103. package/dist/cjs/version.js +1 -1
  104. package/dist/esm/BaseClient.mjs +2 -2
  105. package/dist/esm/CustomClient.mjs +124 -0
  106. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.mts +1 -1
  107. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Settings.d.mts +24 -54
  108. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.d.mts +1 -1
  109. package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.mts +2 -18
  110. package/dist/esm/api/resources/agent/resources/v1/types/index.d.mts +0 -4
  111. package/dist/esm/api/resources/agent/resources/v1/types/index.mjs +0 -4
  112. package/dist/esm/api/resources/listen/resources/v1/client/Client.d.mts +1 -0
  113. package/dist/esm/api/resources/listen/resources/v1/client/Client.mjs +2 -1
  114. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.mts +1 -1
  115. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.mts +1 -1
  116. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.mts +1 -1
  117. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.mts +1 -1
  118. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.mts +1 -1
  119. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.mts +1 -1
  120. package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.mts +1 -1
  121. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.mts +1 -1
  122. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Finalize.d.mts +1 -1
  123. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.mts +1 -1
  124. package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Results.d.mts +19 -0
  125. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.mts +1 -1
  126. package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.mts +1 -1
  127. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.mts +1 -1
  128. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.mts +1 -1
  129. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.mts +1 -1
  130. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.mjs +2 -2
  131. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.mts +1 -1
  132. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.mts +1 -1
  133. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.mts +1 -1
  134. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.mts +1 -1
  135. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.mts +1 -1
  136. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.mts +1 -1
  137. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.mts +1 -1
  138. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.mts +1 -1
  139. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.mts +1 -1
  140. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.mts +1 -1
  141. package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.mts +1 -1
  142. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.mts +1 -1
  143. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.mts +1 -1
  144. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.mts +1 -1
  145. package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.mts +1 -1
  146. package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.mts +1 -1
  147. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.mts +1 -1
  148. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.mts +1 -1
  149. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.mts +1 -1
  150. package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.mts +1 -1
  151. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Clear.d.mts +1 -1
  152. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.mts +1 -1
  153. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Close.d.mts +1 -1
  154. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flush.d.mts +1 -1
  155. package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.mts +1 -1
  156. package/dist/esm/api/types/AgentThinkModelsV1Response.d.mts +3 -3
  157. package/dist/esm/api/types/Anthropic.d.mts +17 -0
  158. package/dist/esm/api/types/Anthropic.mjs +9 -0
  159. package/dist/esm/api/types/AwsBedrockThinkProvider.d.mts +40 -0
  160. package/dist/esm/api/types/AwsBedrockThinkProvider.mjs +17 -0
  161. package/dist/esm/api/types/AwsPollySpeakProvider.d.mts +47 -0
  162. package/dist/esm/api/types/AwsPollySpeakProvider.mjs +28 -0
  163. package/dist/esm/api/types/Cartesia.d.mts +24 -0
  164. package/dist/esm/api/types/Cartesia.mjs +9 -0
  165. package/dist/esm/api/types/Deepgram.d.mts +76 -0
  166. package/dist/esm/api/types/Deepgram.mjs +70 -0
  167. package/dist/esm/api/types/ElevenLabsSpeakProvider.d.mts +20 -0
  168. package/dist/esm/api/types/ElevenLabsSpeakProvider.mjs +10 -0
  169. package/dist/esm/api/types/Google.d.mts +18 -0
  170. package/dist/esm/api/types/Google.mjs +10 -0
  171. package/dist/esm/api/types/Groq.d.mts +9 -0
  172. package/dist/esm/api/types/Groq.mjs +2 -0
  173. package/dist/esm/api/types/ListBillingFieldsV1Response.d.mts +1 -1
  174. package/dist/esm/api/types/ListenV1CallbackMethod.d.mts +1 -1
  175. package/dist/esm/api/types/ListenV1DetectEntities.d.mts +6 -0
  176. package/dist/esm/api/types/ListenV1DetectEntities.mjs +6 -0
  177. package/dist/esm/api/types/ListenV1Diarize.d.mts +1 -1
  178. package/dist/esm/api/types/ListenV1Dictation.d.mts +1 -1
  179. package/dist/esm/api/types/ListenV1Encoding.d.mts +1 -1
  180. package/dist/esm/api/types/ListenV1InterimResults.d.mts +1 -1
  181. package/dist/esm/api/types/ListenV1Model.d.mts +1 -1
  182. package/dist/esm/api/types/ListenV1Multichannel.d.mts +1 -1
  183. package/dist/esm/api/types/ListenV1Numerals.d.mts +1 -1
  184. package/dist/esm/api/types/ListenV1ProfanityFilter.d.mts +1 -1
  185. package/dist/esm/api/types/ListenV1Punctuate.d.mts +1 -1
  186. package/dist/esm/api/types/ListenV1Redact.d.mts +1 -1
  187. package/dist/esm/api/types/ListenV1ResponseResultsChannelsItem.d.mts +12 -0
  188. package/dist/esm/api/types/ListenV1SmartFormat.d.mts +1 -1
  189. package/dist/esm/api/types/ListenV1VadEvents.d.mts +1 -1
  190. package/dist/esm/api/types/ListenV2Encoding.d.mts +1 -1
  191. package/dist/esm/api/types/OpenAi.d.mts +27 -0
  192. package/dist/esm/api/types/OpenAi.mjs +18 -0
  193. package/dist/esm/api/types/SpeakSettingsV1.d.mts +20 -0
  194. package/dist/esm/api/types/SpeakSettingsV1.mjs +2 -0
  195. package/dist/esm/api/types/SpeakSettingsV1Provider.d.mts +19 -0
  196. package/dist/esm/api/types/SpeakSettingsV1Provider.mjs +2 -0
  197. package/dist/esm/api/types/SpeakV1Encoding.d.mts +1 -1
  198. package/dist/esm/api/types/SpeakV1Model.d.mts +1 -1
  199. package/dist/esm/api/types/SpeakV1SampleRate.d.mts +1 -1
  200. package/dist/esm/api/types/ThinkSettingsV1.d.mts +50 -0
  201. package/dist/esm/api/types/ThinkSettingsV1.mjs +2 -0
  202. package/dist/esm/api/types/index.d.mts +13 -0
  203. package/dist/esm/api/types/index.mjs +13 -0
  204. package/dist/esm/version.d.mts +1 -1
  205. package/dist/esm/version.mjs +1 -1
  206. package/package.json +2 -2
@@ -157,9 +157,17 @@ var Deepgram = (() => {
157
157
  // src/api/index.ts
158
158
  var api_exports = {};
159
159
  __export(api_exports, {
160
+ Anthropic: () => Anthropic,
161
+ AwsBedrockThinkProvider: () => AwsBedrockThinkProvider,
162
+ AwsPollySpeakProvider: () => AwsPollySpeakProvider,
160
163
  BadRequestError: () => BadRequestError,
164
+ Cartesia: () => Cartesia,
165
+ Deepgram: () => Deepgram,
166
+ ElevenLabsSpeakProvider: () => ElevenLabsSpeakProvider,
167
+ Google: () => Google,
161
168
  ListBillingFieldsV1Response: () => ListBillingFieldsV1Response,
162
169
  ListenV1CallbackMethod: () => ListenV1CallbackMethod,
170
+ ListenV1DetectEntities: () => ListenV1DetectEntities,
163
171
  ListenV1Diarize: () => ListenV1Diarize,
164
172
  ListenV1Dictation: () => ListenV1Dictation,
165
173
  ListenV1Encoding: () => ListenV1Encoding,
@@ -173,6 +181,7 @@ var Deepgram = (() => {
173
181
  ListenV1SmartFormat: () => ListenV1SmartFormat,
174
182
  ListenV1VadEvents: () => ListenV1VadEvents,
175
183
  ListenV2Encoding: () => ListenV2Encoding,
184
+ OpenAi: () => OpenAi,
176
185
  SpeakV1Encoding: () => SpeakV1Encoding,
177
186
  SpeakV1Model: () => SpeakV1Model,
178
187
  SpeakV1SampleRate: () => SpeakV1SampleRate,
@@ -264,10 +273,6 @@ var Deepgram = (() => {
264
273
  __export(agent_exports, {
265
274
  AgentV1ConversationText: () => AgentV1ConversationText,
266
275
  AgentV1Settings: () => AgentV1Settings,
267
- AgentV1SettingsAgentSpeakEndpointProvider: () => AgentV1SettingsAgentSpeakEndpointProvider,
268
- AgentV1SettingsAgentSpeakOneItemProvider: () => AgentV1SettingsAgentSpeakOneItemProvider,
269
- AgentV1SettingsAgentThinkProvider: () => AgentV1SettingsAgentThinkProvider,
270
- AgentV1UpdateSpeakSpeakProvider: () => AgentV1UpdateSpeakSpeakProvider,
271
276
  v1: () => v1_exports
272
277
  });
273
278
 
@@ -276,10 +281,6 @@ var Deepgram = (() => {
276
281
  __export(v1_exports, {
277
282
  AgentV1ConversationText: () => AgentV1ConversationText,
278
283
  AgentV1Settings: () => AgentV1Settings,
279
- AgentV1SettingsAgentSpeakEndpointProvider: () => AgentV1SettingsAgentSpeakEndpointProvider,
280
- AgentV1SettingsAgentSpeakOneItemProvider: () => AgentV1SettingsAgentSpeakOneItemProvider,
281
- AgentV1SettingsAgentThinkProvider: () => AgentV1SettingsAgentThinkProvider,
282
- AgentV1UpdateSpeakSpeakProvider: () => AgentV1UpdateSpeakSpeakProvider,
283
284
  settings: () => settings_exports
284
285
  });
285
286
 
@@ -339,445 +340,6 @@ var Deepgram = (() => {
339
340
  })(Audio = AgentV1Settings2.Audio || (AgentV1Settings2.Audio = {}));
340
341
  })(AgentV1Settings || (AgentV1Settings = {}));
341
342
 
342
- // src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.ts
343
- var AgentV1SettingsAgentSpeakEndpointProvider;
344
- ((AgentV1SettingsAgentSpeakEndpointProvider2) => {
345
- let Deepgram;
346
- ((Deepgram2) => {
347
- Deepgram2.Model = {
348
- AuraAsteriaEn: "aura-asteria-en",
349
- AuraLunaEn: "aura-luna-en",
350
- AuraStellaEn: "aura-stella-en",
351
- AuraAthenaEn: "aura-athena-en",
352
- AuraHeraEn: "aura-hera-en",
353
- AuraOrionEn: "aura-orion-en",
354
- AuraArcasEn: "aura-arcas-en",
355
- AuraPerseusEn: "aura-perseus-en",
356
- AuraAngusEn: "aura-angus-en",
357
- AuraOrpheusEn: "aura-orpheus-en",
358
- AuraHeliosEn: "aura-helios-en",
359
- AuraZeusEn: "aura-zeus-en",
360
- Aura2AmaltheaEn: "aura-2-amalthea-en",
361
- Aura2AndromedaEn: "aura-2-andromeda-en",
362
- Aura2ApolloEn: "aura-2-apollo-en",
363
- Aura2ArcasEn: "aura-2-arcas-en",
364
- Aura2AriesEn: "aura-2-aries-en",
365
- Aura2AsteriaEn: "aura-2-asteria-en",
366
- Aura2AthenaEn: "aura-2-athena-en",
367
- Aura2AtlasEn: "aura-2-atlas-en",
368
- Aura2AuroraEn: "aura-2-aurora-en",
369
- Aura2CallistaEn: "aura-2-callista-en",
370
- Aura2CoraEn: "aura-2-cora-en",
371
- Aura2CordeliaEn: "aura-2-cordelia-en",
372
- Aura2DeliaEn: "aura-2-delia-en",
373
- Aura2DracoEn: "aura-2-draco-en",
374
- Aura2ElectraEn: "aura-2-electra-en",
375
- Aura2HarmoniaEn: "aura-2-harmonia-en",
376
- Aura2HelenaEn: "aura-2-helena-en",
377
- Aura2HeraEn: "aura-2-hera-en",
378
- Aura2HermesEn: "aura-2-hermes-en",
379
- Aura2HyperionEn: "aura-2-hyperion-en",
380
- Aura2IrisEn: "aura-2-iris-en",
381
- Aura2JanusEn: "aura-2-janus-en",
382
- Aura2JunoEn: "aura-2-juno-en",
383
- Aura2JupiterEn: "aura-2-jupiter-en",
384
- Aura2LunaEn: "aura-2-luna-en",
385
- Aura2MarsEn: "aura-2-mars-en",
386
- Aura2MinervaEn: "aura-2-minerva-en",
387
- Aura2NeptuneEn: "aura-2-neptune-en",
388
- Aura2OdysseusEn: "aura-2-odysseus-en",
389
- Aura2OpheliaEn: "aura-2-ophelia-en",
390
- Aura2OrionEn: "aura-2-orion-en",
391
- Aura2OrpheusEn: "aura-2-orpheus-en",
392
- Aura2PandoraEn: "aura-2-pandora-en",
393
- Aura2PhoebeEn: "aura-2-phoebe-en",
394
- Aura2PlutoEn: "aura-2-pluto-en",
395
- Aura2SaturnEn: "aura-2-saturn-en",
396
- Aura2SeleneEn: "aura-2-selene-en",
397
- Aura2ThaliaEn: "aura-2-thalia-en",
398
- Aura2TheiaEn: "aura-2-theia-en",
399
- Aura2VestaEn: "aura-2-vesta-en",
400
- Aura2ZeusEn: "aura-2-zeus-en",
401
- Aura2SirioEs: "aura-2-sirio-es",
402
- Aura2NestorEs: "aura-2-nestor-es",
403
- Aura2CarinaEs: "aura-2-carina-es",
404
- Aura2CelesteEs: "aura-2-celeste-es",
405
- Aura2AlvaroEs: "aura-2-alvaro-es",
406
- Aura2DianaEs: "aura-2-diana-es",
407
- Aura2AquilaEs: "aura-2-aquila-es",
408
- Aura2SelenaEs: "aura-2-selena-es",
409
- Aura2EstrellaEs: "aura-2-estrella-es",
410
- Aura2JavierEs: "aura-2-javier-es"
411
- };
412
- })(Deepgram = AgentV1SettingsAgentSpeakEndpointProvider2.Deepgram || (AgentV1SettingsAgentSpeakEndpointProvider2.Deepgram = {}));
413
- let ElevenLabs;
414
- ((ElevenLabs2) => {
415
- ElevenLabs2.ModelId = {
416
- ElevenTurboV25: "eleven_turbo_v2_5",
417
- ElevenMonolingualV1: "eleven_monolingual_v1",
418
- ElevenMultilingualV2: "eleven_multilingual_v2"
419
- };
420
- })(ElevenLabs = AgentV1SettingsAgentSpeakEndpointProvider2.ElevenLabs || (AgentV1SettingsAgentSpeakEndpointProvider2.ElevenLabs = {}));
421
- let Cartesia;
422
- ((Cartesia2) => {
423
- Cartesia2.Version = {};
424
- Cartesia2.ModelId = {
425
- Sonic2: "sonic-2",
426
- SonicMultilingual: "sonic-multilingual"
427
- };
428
- })(Cartesia = AgentV1SettingsAgentSpeakEndpointProvider2.Cartesia || (AgentV1SettingsAgentSpeakEndpointProvider2.Cartesia = {}));
429
- let OpenAi;
430
- ((OpenAi2) => {
431
- OpenAi2.Model = {
432
- Tts1: "tts-1",
433
- Tts1Hd: "tts-1-hd"
434
- };
435
- OpenAi2.Voice = {
436
- Alloy: "alloy",
437
- Echo: "echo",
438
- Fable: "fable",
439
- Onyx: "onyx",
440
- Nova: "nova",
441
- Shimmer: "shimmer"
442
- };
443
- })(OpenAi = AgentV1SettingsAgentSpeakEndpointProvider2.OpenAi || (AgentV1SettingsAgentSpeakEndpointProvider2.OpenAi = {}));
444
- let AgentV1SettingsAgentSpeakEndpointProviderAwsPolly;
445
- ((AgentV1SettingsAgentSpeakEndpointProviderAwsPolly2) => {
446
- AgentV1SettingsAgentSpeakEndpointProviderAwsPolly2.Voice = {
447
- Matthew: "Matthew",
448
- Joanna: "Joanna",
449
- Amy: "Amy",
450
- Emma: "Emma",
451
- Brian: "Brian",
452
- Arthur: "Arthur",
453
- Aria: "Aria",
454
- Ayanda: "Ayanda"
455
- };
456
- AgentV1SettingsAgentSpeakEndpointProviderAwsPolly2.Engine = {
457
- Generative: "generative",
458
- LongForm: "long-form",
459
- Standard: "standard",
460
- Neural: "neural"
461
- };
462
- let Credentials;
463
- ((Credentials2) => {
464
- Credentials2.Type = {
465
- Sts: "sts",
466
- Iam: "iam"
467
- };
468
- })(Credentials = AgentV1SettingsAgentSpeakEndpointProviderAwsPolly2.Credentials || (AgentV1SettingsAgentSpeakEndpointProviderAwsPolly2.Credentials = {}));
469
- })(AgentV1SettingsAgentSpeakEndpointProviderAwsPolly = AgentV1SettingsAgentSpeakEndpointProvider2.AgentV1SettingsAgentSpeakEndpointProviderAwsPolly || (AgentV1SettingsAgentSpeakEndpointProvider2.AgentV1SettingsAgentSpeakEndpointProviderAwsPolly = {}));
470
- })(AgentV1SettingsAgentSpeakEndpointProvider || (AgentV1SettingsAgentSpeakEndpointProvider = {}));
471
-
472
- // src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.ts
473
- var AgentV1SettingsAgentSpeakOneItemProvider;
474
- ((AgentV1SettingsAgentSpeakOneItemProvider2) => {
475
- let Deepgram;
476
- ((Deepgram2) => {
477
- Deepgram2.Model = {
478
- AuraAsteriaEn: "aura-asteria-en",
479
- AuraLunaEn: "aura-luna-en",
480
- AuraStellaEn: "aura-stella-en",
481
- AuraAthenaEn: "aura-athena-en",
482
- AuraHeraEn: "aura-hera-en",
483
- AuraOrionEn: "aura-orion-en",
484
- AuraArcasEn: "aura-arcas-en",
485
- AuraPerseusEn: "aura-perseus-en",
486
- AuraAngusEn: "aura-angus-en",
487
- AuraOrpheusEn: "aura-orpheus-en",
488
- AuraHeliosEn: "aura-helios-en",
489
- AuraZeusEn: "aura-zeus-en",
490
- Aura2AmaltheaEn: "aura-2-amalthea-en",
491
- Aura2AndromedaEn: "aura-2-andromeda-en",
492
- Aura2ApolloEn: "aura-2-apollo-en",
493
- Aura2ArcasEn: "aura-2-arcas-en",
494
- Aura2AriesEn: "aura-2-aries-en",
495
- Aura2AsteriaEn: "aura-2-asteria-en",
496
- Aura2AthenaEn: "aura-2-athena-en",
497
- Aura2AtlasEn: "aura-2-atlas-en",
498
- Aura2AuroraEn: "aura-2-aurora-en",
499
- Aura2CallistaEn: "aura-2-callista-en",
500
- Aura2CoraEn: "aura-2-cora-en",
501
- Aura2CordeliaEn: "aura-2-cordelia-en",
502
- Aura2DeliaEn: "aura-2-delia-en",
503
- Aura2DracoEn: "aura-2-draco-en",
504
- Aura2ElectraEn: "aura-2-electra-en",
505
- Aura2HarmoniaEn: "aura-2-harmonia-en",
506
- Aura2HelenaEn: "aura-2-helena-en",
507
- Aura2HeraEn: "aura-2-hera-en",
508
- Aura2HermesEn: "aura-2-hermes-en",
509
- Aura2HyperionEn: "aura-2-hyperion-en",
510
- Aura2IrisEn: "aura-2-iris-en",
511
- Aura2JanusEn: "aura-2-janus-en",
512
- Aura2JunoEn: "aura-2-juno-en",
513
- Aura2JupiterEn: "aura-2-jupiter-en",
514
- Aura2LunaEn: "aura-2-luna-en",
515
- Aura2MarsEn: "aura-2-mars-en",
516
- Aura2MinervaEn: "aura-2-minerva-en",
517
- Aura2NeptuneEn: "aura-2-neptune-en",
518
- Aura2OdysseusEn: "aura-2-odysseus-en",
519
- Aura2OpheliaEn: "aura-2-ophelia-en",
520
- Aura2OrionEn: "aura-2-orion-en",
521
- Aura2OrpheusEn: "aura-2-orpheus-en",
522
- Aura2PandoraEn: "aura-2-pandora-en",
523
- Aura2PhoebeEn: "aura-2-phoebe-en",
524
- Aura2PlutoEn: "aura-2-pluto-en",
525
- Aura2SaturnEn: "aura-2-saturn-en",
526
- Aura2SeleneEn: "aura-2-selene-en",
527
- Aura2ThaliaEn: "aura-2-thalia-en",
528
- Aura2TheiaEn: "aura-2-theia-en",
529
- Aura2VestaEn: "aura-2-vesta-en",
530
- Aura2ZeusEn: "aura-2-zeus-en",
531
- Aura2SirioEs: "aura-2-sirio-es",
532
- Aura2NestorEs: "aura-2-nestor-es",
533
- Aura2CarinaEs: "aura-2-carina-es",
534
- Aura2CelesteEs: "aura-2-celeste-es",
535
- Aura2AlvaroEs: "aura-2-alvaro-es",
536
- Aura2DianaEs: "aura-2-diana-es",
537
- Aura2AquilaEs: "aura-2-aquila-es",
538
- Aura2SelenaEs: "aura-2-selena-es",
539
- Aura2EstrellaEs: "aura-2-estrella-es",
540
- Aura2JavierEs: "aura-2-javier-es"
541
- };
542
- })(Deepgram = AgentV1SettingsAgentSpeakOneItemProvider2.Deepgram || (AgentV1SettingsAgentSpeakOneItemProvider2.Deepgram = {}));
543
- let ElevenLabs;
544
- ((ElevenLabs2) => {
545
- ElevenLabs2.ModelId = {
546
- ElevenTurboV25: "eleven_turbo_v2_5",
547
- ElevenMonolingualV1: "eleven_monolingual_v1",
548
- ElevenMultilingualV2: "eleven_multilingual_v2"
549
- };
550
- })(ElevenLabs = AgentV1SettingsAgentSpeakOneItemProvider2.ElevenLabs || (AgentV1SettingsAgentSpeakOneItemProvider2.ElevenLabs = {}));
551
- let Cartesia;
552
- ((Cartesia2) => {
553
- Cartesia2.Version = {};
554
- Cartesia2.ModelId = {
555
- Sonic2: "sonic-2",
556
- SonicMultilingual: "sonic-multilingual"
557
- };
558
- })(Cartesia = AgentV1SettingsAgentSpeakOneItemProvider2.Cartesia || (AgentV1SettingsAgentSpeakOneItemProvider2.Cartesia = {}));
559
- let OpenAi;
560
- ((OpenAi2) => {
561
- OpenAi2.Model = {
562
- Tts1: "tts-1",
563
- Tts1Hd: "tts-1-hd"
564
- };
565
- OpenAi2.Voice = {
566
- Alloy: "alloy",
567
- Echo: "echo",
568
- Fable: "fable",
569
- Onyx: "onyx",
570
- Nova: "nova",
571
- Shimmer: "shimmer"
572
- };
573
- })(OpenAi = AgentV1SettingsAgentSpeakOneItemProvider2.OpenAi || (AgentV1SettingsAgentSpeakOneItemProvider2.OpenAi = {}));
574
- let AgentV1SettingsAgentSpeakOneItemProviderAwsPolly;
575
- ((AgentV1SettingsAgentSpeakOneItemProviderAwsPolly2) => {
576
- AgentV1SettingsAgentSpeakOneItemProviderAwsPolly2.Voice = {
577
- Matthew: "Matthew",
578
- Joanna: "Joanna",
579
- Amy: "Amy",
580
- Emma: "Emma",
581
- Brian: "Brian",
582
- Arthur: "Arthur",
583
- Aria: "Aria",
584
- Ayanda: "Ayanda"
585
- };
586
- AgentV1SettingsAgentSpeakOneItemProviderAwsPolly2.Engine = {
587
- Generative: "generative",
588
- LongForm: "long-form",
589
- Standard: "standard",
590
- Neural: "neural"
591
- };
592
- let Credentials;
593
- ((Credentials2) => {
594
- Credentials2.Type = {
595
- Sts: "sts",
596
- Iam: "iam"
597
- };
598
- })(Credentials = AgentV1SettingsAgentSpeakOneItemProviderAwsPolly2.Credentials || (AgentV1SettingsAgentSpeakOneItemProviderAwsPolly2.Credentials = {}));
599
- })(AgentV1SettingsAgentSpeakOneItemProviderAwsPolly = AgentV1SettingsAgentSpeakOneItemProvider2.AgentV1SettingsAgentSpeakOneItemProviderAwsPolly || (AgentV1SettingsAgentSpeakOneItemProvider2.AgentV1SettingsAgentSpeakOneItemProviderAwsPolly = {}));
600
- })(AgentV1SettingsAgentSpeakOneItemProvider || (AgentV1SettingsAgentSpeakOneItemProvider = {}));
601
-
602
- // src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentThinkProvider.ts
603
- var AgentV1SettingsAgentThinkProvider;
604
- ((AgentV1SettingsAgentThinkProvider2) => {
605
- let OpenAi;
606
- ((OpenAi2) => {
607
- OpenAi2.Model = {
608
- Tts1: "tts-1",
609
- Tts1Hd: "tts-1-hd"
610
- };
611
- OpenAi2.Voice = {
612
- Alloy: "alloy",
613
- Echo: "echo",
614
- Fable: "fable",
615
- Onyx: "onyx",
616
- Nova: "nova",
617
- Shimmer: "shimmer"
618
- };
619
- })(OpenAi = AgentV1SettingsAgentThinkProvider2.OpenAi || (AgentV1SettingsAgentThinkProvider2.OpenAi = {}));
620
- let AgentV1SettingsAgentThinkProviderAwsBedrock;
621
- ((AgentV1SettingsAgentThinkProviderAwsBedrock2) => {
622
- AgentV1SettingsAgentThinkProviderAwsBedrock2.Model = {
623
- AnthropicClaude35Sonnet20240620V10: "anthropic/claude-3-5-sonnet-20240620-v1:0",
624
- AnthropicClaude35Haiku20240307V10: "anthropic/claude-3-5-haiku-20240307-v1:0"
625
- };
626
- let Credentials;
627
- ((Credentials2) => {
628
- Credentials2.Type = {
629
- Sts: "sts",
630
- Iam: "iam"
631
- };
632
- })(Credentials = AgentV1SettingsAgentThinkProviderAwsBedrock2.Credentials || (AgentV1SettingsAgentThinkProviderAwsBedrock2.Credentials = {}));
633
- })(AgentV1SettingsAgentThinkProviderAwsBedrock = AgentV1SettingsAgentThinkProvider2.AgentV1SettingsAgentThinkProviderAwsBedrock || (AgentV1SettingsAgentThinkProvider2.AgentV1SettingsAgentThinkProviderAwsBedrock = {}));
634
- let Anthropic;
635
- ((Anthropic2) => {
636
- Anthropic2.Model = {
637
- Claude35HaikuLatest: "claude-3-5-haiku-latest",
638
- ClaudeSonnet420250514: "claude-sonnet-4-20250514"
639
- };
640
- })(Anthropic = AgentV1SettingsAgentThinkProvider2.Anthropic || (AgentV1SettingsAgentThinkProvider2.Anthropic = {}));
641
- let Google;
642
- ((Google2) => {
643
- Google2.Model = {
644
- Gemini20Flash: "gemini-2.0-flash",
645
- Gemini20FlashLite: "gemini-2.0-flash-lite",
646
- Gemini25Flash: "gemini-2.5-flash"
647
- };
648
- })(Google = AgentV1SettingsAgentThinkProvider2.Google || (AgentV1SettingsAgentThinkProvider2.Google = {}));
649
- })(AgentV1SettingsAgentThinkProvider || (AgentV1SettingsAgentThinkProvider = {}));
650
-
651
- // src/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.ts
652
- var AgentV1UpdateSpeakSpeakProvider;
653
- ((AgentV1UpdateSpeakSpeakProvider2) => {
654
- let AgentV1UpdateSpeakSpeakProviderDeepgram;
655
- ((AgentV1UpdateSpeakSpeakProviderDeepgram2) => {
656
- AgentV1UpdateSpeakSpeakProviderDeepgram2.Model = {
657
- AuraAsteriaEn: "aura-asteria-en",
658
- AuraLunaEn: "aura-luna-en",
659
- AuraStellaEn: "aura-stella-en",
660
- AuraAthenaEn: "aura-athena-en",
661
- AuraHeraEn: "aura-hera-en",
662
- AuraOrionEn: "aura-orion-en",
663
- AuraArcasEn: "aura-arcas-en",
664
- AuraPerseusEn: "aura-perseus-en",
665
- AuraAngusEn: "aura-angus-en",
666
- AuraOrpheusEn: "aura-orpheus-en",
667
- AuraHeliosEn: "aura-helios-en",
668
- AuraZeusEn: "aura-zeus-en",
669
- Aura2AmaltheaEn: "aura-2-amalthea-en",
670
- Aura2AndromedaEn: "aura-2-andromeda-en",
671
- Aura2ApolloEn: "aura-2-apollo-en",
672
- Aura2ArcasEn: "aura-2-arcas-en",
673
- Aura2AriesEn: "aura-2-aries-en",
674
- Aura2AsteriaEn: "aura-2-asteria-en",
675
- Aura2AthenaEn: "aura-2-athena-en",
676
- Aura2AtlasEn: "aura-2-atlas-en",
677
- Aura2AuroraEn: "aura-2-aurora-en",
678
- Aura2CallistaEn: "aura-2-callista-en",
679
- Aura2CoraEn: "aura-2-cora-en",
680
- Aura2CordeliaEn: "aura-2-cordelia-en",
681
- Aura2DeliaEn: "aura-2-delia-en",
682
- Aura2DracoEn: "aura-2-draco-en",
683
- Aura2ElectraEn: "aura-2-electra-en",
684
- Aura2HarmoniaEn: "aura-2-harmonia-en",
685
- Aura2HelenaEn: "aura-2-helena-en",
686
- Aura2HeraEn: "aura-2-hera-en",
687
- Aura2HermesEn: "aura-2-hermes-en",
688
- Aura2HyperionEn: "aura-2-hyperion-en",
689
- Aura2IrisEn: "aura-2-iris-en",
690
- Aura2JanusEn: "aura-2-janus-en",
691
- Aura2JunoEn: "aura-2-juno-en",
692
- Aura2JupiterEn: "aura-2-jupiter-en",
693
- Aura2LunaEn: "aura-2-luna-en",
694
- Aura2MarsEn: "aura-2-mars-en",
695
- Aura2MinervaEn: "aura-2-minerva-en",
696
- Aura2NeptuneEn: "aura-2-neptune-en",
697
- Aura2OdysseusEn: "aura-2-odysseus-en",
698
- Aura2OpheliaEn: "aura-2-ophelia-en",
699
- Aura2OrionEn: "aura-2-orion-en",
700
- Aura2OrpheusEn: "aura-2-orpheus-en",
701
- Aura2PandoraEn: "aura-2-pandora-en",
702
- Aura2PhoebeEn: "aura-2-phoebe-en",
703
- Aura2PlutoEn: "aura-2-pluto-en",
704
- Aura2SaturnEn: "aura-2-saturn-en",
705
- Aura2SeleneEn: "aura-2-selene-en",
706
- Aura2ThaliaEn: "aura-2-thalia-en",
707
- Aura2TheiaEn: "aura-2-theia-en",
708
- Aura2VestaEn: "aura-2-vesta-en",
709
- Aura2ZeusEn: "aura-2-zeus-en",
710
- Aura2SirioEs: "aura-2-sirio-es",
711
- Aura2NestorEs: "aura-2-nestor-es",
712
- Aura2CarinaEs: "aura-2-carina-es",
713
- Aura2CelesteEs: "aura-2-celeste-es",
714
- Aura2AlvaroEs: "aura-2-alvaro-es",
715
- Aura2DianaEs: "aura-2-diana-es",
716
- Aura2AquilaEs: "aura-2-aquila-es",
717
- Aura2SelenaEs: "aura-2-selena-es",
718
- Aura2EstrellaEs: "aura-2-estrella-es",
719
- Aura2JavierEs: "aura-2-javier-es"
720
- };
721
- })(AgentV1UpdateSpeakSpeakProviderDeepgram = AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderDeepgram || (AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderDeepgram = {}));
722
- let AgentV1UpdateSpeakSpeakProviderElevenLabs;
723
- ((AgentV1UpdateSpeakSpeakProviderElevenLabs2) => {
724
- AgentV1UpdateSpeakSpeakProviderElevenLabs2.ModelId = {
725
- ElevenTurboV25: "eleven_turbo_v2_5",
726
- ElevenMonolingualV1: "eleven_monolingual_v1",
727
- ElevenMultilingualV2: "eleven_multilingual_v2"
728
- };
729
- })(AgentV1UpdateSpeakSpeakProviderElevenLabs = AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderElevenLabs || (AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderElevenLabs = {}));
730
- let AgentV1UpdateSpeakSpeakProviderCartesia;
731
- ((AgentV1UpdateSpeakSpeakProviderCartesia2) => {
732
- AgentV1UpdateSpeakSpeakProviderCartesia2.Version = {};
733
- AgentV1UpdateSpeakSpeakProviderCartesia2.ModelId = {
734
- Sonic2: "sonic-2",
735
- SonicMultilingual: "sonic-multilingual"
736
- };
737
- })(AgentV1UpdateSpeakSpeakProviderCartesia = AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderCartesia || (AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderCartesia = {}));
738
- let AgentV1UpdateSpeakSpeakProviderOpenAi;
739
- ((AgentV1UpdateSpeakSpeakProviderOpenAi2) => {
740
- AgentV1UpdateSpeakSpeakProviderOpenAi2.Model = {
741
- Tts1: "tts-1",
742
- Tts1Hd: "tts-1-hd"
743
- };
744
- AgentV1UpdateSpeakSpeakProviderOpenAi2.Voice = {
745
- Alloy: "alloy",
746
- Echo: "echo",
747
- Fable: "fable",
748
- Onyx: "onyx",
749
- Nova: "nova",
750
- Shimmer: "shimmer"
751
- };
752
- })(AgentV1UpdateSpeakSpeakProviderOpenAi = AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderOpenAi || (AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderOpenAi = {}));
753
- let AgentV1UpdateSpeakSpeakProviderAwsPolly;
754
- ((AgentV1UpdateSpeakSpeakProviderAwsPolly2) => {
755
- AgentV1UpdateSpeakSpeakProviderAwsPolly2.Voice = {
756
- Matthew: "Matthew",
757
- Joanna: "Joanna",
758
- Amy: "Amy",
759
- Emma: "Emma",
760
- Brian: "Brian",
761
- Arthur: "Arthur",
762
- Aria: "Aria",
763
- Ayanda: "Ayanda"
764
- };
765
- AgentV1UpdateSpeakSpeakProviderAwsPolly2.Engine = {
766
- Generative: "generative",
767
- LongForm: "long-form",
768
- Standard: "standard",
769
- Neural: "neural"
770
- };
771
- let Credentials;
772
- ((Credentials2) => {
773
- Credentials2.Type = {
774
- Sts: "sts",
775
- Iam: "iam"
776
- };
777
- })(Credentials = AgentV1UpdateSpeakSpeakProviderAwsPolly2.Credentials || (AgentV1UpdateSpeakSpeakProviderAwsPolly2.Credentials = {}));
778
- })(AgentV1UpdateSpeakSpeakProviderAwsPolly = AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderAwsPolly || (AgentV1UpdateSpeakSpeakProvider2.AgentV1UpdateSpeakSpeakProviderAwsPolly = {}));
779
- })(AgentV1UpdateSpeakSpeakProvider || (AgentV1UpdateSpeakSpeakProvider = {}));
780
-
781
343
  // src/api/resources/auth/index.ts
782
344
  var auth_exports = {};
783
345
  __export(auth_exports, {
@@ -1441,6 +1003,158 @@ var Deepgram = (() => {
1441
1003
  };
1442
1004
  })(SpeakV1Flushed || (SpeakV1Flushed = {}));
1443
1005
 
1006
+ // src/api/types/Anthropic.ts
1007
+ var Anthropic;
1008
+ ((Anthropic2) => {
1009
+ Anthropic2.Model = {
1010
+ Claude35HaikuLatest: "claude-3-5-haiku-latest",
1011
+ ClaudeSonnet420250514: "claude-sonnet-4-20250514"
1012
+ };
1013
+ })(Anthropic || (Anthropic = {}));
1014
+
1015
+ // src/api/types/AwsBedrockThinkProvider.ts
1016
+ var AwsBedrockThinkProvider;
1017
+ ((AwsBedrockThinkProvider2) => {
1018
+ AwsBedrockThinkProvider2.Model = {
1019
+ AnthropicClaude35Sonnet20240620V10: "anthropic/claude-3-5-sonnet-20240620-v1:0",
1020
+ AnthropicClaude35Haiku20240307V10: "anthropic/claude-3-5-haiku-20240307-v1:0"
1021
+ };
1022
+ let Credentials;
1023
+ ((Credentials2) => {
1024
+ Credentials2.Type = {
1025
+ Sts: "sts",
1026
+ Iam: "iam"
1027
+ };
1028
+ })(Credentials = AwsBedrockThinkProvider2.Credentials || (AwsBedrockThinkProvider2.Credentials = {}));
1029
+ })(AwsBedrockThinkProvider || (AwsBedrockThinkProvider = {}));
1030
+
1031
+ // src/api/types/AwsPollySpeakProvider.ts
1032
+ var AwsPollySpeakProvider;
1033
+ ((AwsPollySpeakProvider2) => {
1034
+ AwsPollySpeakProvider2.Voice = {
1035
+ Matthew: "Matthew",
1036
+ Joanna: "Joanna",
1037
+ Amy: "Amy",
1038
+ Emma: "Emma",
1039
+ Brian: "Brian",
1040
+ Arthur: "Arthur",
1041
+ Aria: "Aria",
1042
+ Ayanda: "Ayanda"
1043
+ };
1044
+ AwsPollySpeakProvider2.Engine = {
1045
+ Generative: "generative",
1046
+ LongForm: "long-form",
1047
+ Standard: "standard",
1048
+ Neural: "neural"
1049
+ };
1050
+ let Credentials;
1051
+ ((Credentials2) => {
1052
+ Credentials2.Type = {
1053
+ Sts: "sts",
1054
+ Iam: "iam"
1055
+ };
1056
+ })(Credentials = AwsPollySpeakProvider2.Credentials || (AwsPollySpeakProvider2.Credentials = {}));
1057
+ })(AwsPollySpeakProvider || (AwsPollySpeakProvider = {}));
1058
+
1059
+ // src/api/types/Cartesia.ts
1060
+ var Cartesia;
1061
+ ((Cartesia2) => {
1062
+ Cartesia2.ModelId = {
1063
+ Sonic2: "sonic-2",
1064
+ SonicMultilingual: "sonic-multilingual"
1065
+ };
1066
+ })(Cartesia || (Cartesia = {}));
1067
+
1068
+ // src/api/types/Deepgram.ts
1069
+ var Deepgram;
1070
+ ((Deepgram2) => {
1071
+ Deepgram2.Model = {
1072
+ AuraAsteriaEn: "aura-asteria-en",
1073
+ AuraLunaEn: "aura-luna-en",
1074
+ AuraStellaEn: "aura-stella-en",
1075
+ AuraAthenaEn: "aura-athena-en",
1076
+ AuraHeraEn: "aura-hera-en",
1077
+ AuraOrionEn: "aura-orion-en",
1078
+ AuraArcasEn: "aura-arcas-en",
1079
+ AuraPerseusEn: "aura-perseus-en",
1080
+ AuraAngusEn: "aura-angus-en",
1081
+ AuraOrpheusEn: "aura-orpheus-en",
1082
+ AuraHeliosEn: "aura-helios-en",
1083
+ AuraZeusEn: "aura-zeus-en",
1084
+ Aura2AmaltheaEn: "aura-2-amalthea-en",
1085
+ Aura2AndromedaEn: "aura-2-andromeda-en",
1086
+ Aura2ApolloEn: "aura-2-apollo-en",
1087
+ Aura2ArcasEn: "aura-2-arcas-en",
1088
+ Aura2AriesEn: "aura-2-aries-en",
1089
+ Aura2AsteriaEn: "aura-2-asteria-en",
1090
+ Aura2AthenaEn: "aura-2-athena-en",
1091
+ Aura2AtlasEn: "aura-2-atlas-en",
1092
+ Aura2AuroraEn: "aura-2-aurora-en",
1093
+ Aura2CallistaEn: "aura-2-callista-en",
1094
+ Aura2CoraEn: "aura-2-cora-en",
1095
+ Aura2CordeliaEn: "aura-2-cordelia-en",
1096
+ Aura2DeliaEn: "aura-2-delia-en",
1097
+ Aura2DracoEn: "aura-2-draco-en",
1098
+ Aura2ElectraEn: "aura-2-electra-en",
1099
+ Aura2HarmoniaEn: "aura-2-harmonia-en",
1100
+ Aura2HelenaEn: "aura-2-helena-en",
1101
+ Aura2HeraEn: "aura-2-hera-en",
1102
+ Aura2HermesEn: "aura-2-hermes-en",
1103
+ Aura2HyperionEn: "aura-2-hyperion-en",
1104
+ Aura2IrisEn: "aura-2-iris-en",
1105
+ Aura2JanusEn: "aura-2-janus-en",
1106
+ Aura2JunoEn: "aura-2-juno-en",
1107
+ Aura2JupiterEn: "aura-2-jupiter-en",
1108
+ Aura2LunaEn: "aura-2-luna-en",
1109
+ Aura2MarsEn: "aura-2-mars-en",
1110
+ Aura2MinervaEn: "aura-2-minerva-en",
1111
+ Aura2NeptuneEn: "aura-2-neptune-en",
1112
+ Aura2OdysseusEn: "aura-2-odysseus-en",
1113
+ Aura2OpheliaEn: "aura-2-ophelia-en",
1114
+ Aura2OrionEn: "aura-2-orion-en",
1115
+ Aura2OrpheusEn: "aura-2-orpheus-en",
1116
+ Aura2PandoraEn: "aura-2-pandora-en",
1117
+ Aura2PhoebeEn: "aura-2-phoebe-en",
1118
+ Aura2PlutoEn: "aura-2-pluto-en",
1119
+ Aura2SaturnEn: "aura-2-saturn-en",
1120
+ Aura2SeleneEn: "aura-2-selene-en",
1121
+ Aura2ThaliaEn: "aura-2-thalia-en",
1122
+ Aura2TheiaEn: "aura-2-theia-en",
1123
+ Aura2VestaEn: "aura-2-vesta-en",
1124
+ Aura2ZeusEn: "aura-2-zeus-en",
1125
+ Aura2SirioEs: "aura-2-sirio-es",
1126
+ Aura2NestorEs: "aura-2-nestor-es",
1127
+ Aura2CarinaEs: "aura-2-carina-es",
1128
+ Aura2CelesteEs: "aura-2-celeste-es",
1129
+ Aura2AlvaroEs: "aura-2-alvaro-es",
1130
+ Aura2DianaEs: "aura-2-diana-es",
1131
+ Aura2AquilaEs: "aura-2-aquila-es",
1132
+ Aura2SelenaEs: "aura-2-selena-es",
1133
+ Aura2EstrellaEs: "aura-2-estrella-es",
1134
+ Aura2JavierEs: "aura-2-javier-es"
1135
+ };
1136
+ })(Deepgram || (Deepgram = {}));
1137
+
1138
+ // src/api/types/ElevenLabsSpeakProvider.ts
1139
+ var ElevenLabsSpeakProvider;
1140
+ ((ElevenLabsSpeakProvider2) => {
1141
+ ElevenLabsSpeakProvider2.ModelId = {
1142
+ ElevenTurboV25: "eleven_turbo_v2_5",
1143
+ ElevenMonolingualV1: "eleven_monolingual_v1",
1144
+ ElevenMultilingualV2: "eleven_multilingual_v2"
1145
+ };
1146
+ })(ElevenLabsSpeakProvider || (ElevenLabsSpeakProvider = {}));
1147
+
1148
+ // src/api/types/Google.ts
1149
+ var Google;
1150
+ ((Google2) => {
1151
+ Google2.Model = {
1152
+ Gemini20Flash: "gemini-2.0-flash",
1153
+ Gemini20FlashLite: "gemini-2.0-flash-lite",
1154
+ Gemini25Flash: "gemini-2.5-flash"
1155
+ };
1156
+ })(Google || (Google = {}));
1157
+
1444
1158
  // src/api/types/ListBillingFieldsV1Response.ts
1445
1159
  var ListBillingFieldsV1Response;
1446
1160
  ((ListBillingFieldsV1Response2) => {
@@ -1463,6 +1177,12 @@ var Deepgram = (() => {
1463
1177
  Delete: "DELETE"
1464
1178
  };
1465
1179
 
1180
+ // src/api/types/ListenV1DetectEntities.ts
1181
+ var ListenV1DetectEntities = {
1182
+ True: "true",
1183
+ False: "false"
1184
+ };
1185
+
1466
1186
  // src/api/types/ListenV1Diarize.ts
1467
1187
  var ListenV1Diarize = {
1468
1188
  True: "true",
@@ -1586,6 +1306,23 @@ var Deepgram = (() => {
1586
1306
  OggOpus: "ogg-opus"
1587
1307
  };
1588
1308
 
1309
+ // src/api/types/OpenAi.ts
1310
+ var OpenAi;
1311
+ ((OpenAi2) => {
1312
+ OpenAi2.Model = {
1313
+ Tts1: "tts-1",
1314
+ Tts1Hd: "tts-1-hd"
1315
+ };
1316
+ OpenAi2.Voice = {
1317
+ Alloy: "alloy",
1318
+ Echo: "echo",
1319
+ Fable: "fable",
1320
+ Onyx: "onyx",
1321
+ Nova: "nova",
1322
+ Shimmer: "shimmer"
1323
+ };
1324
+ })(OpenAi || (OpenAi = {}));
1325
+
1589
1326
  // src/api/types/SpeakV1Encoding.ts
1590
1327
  var SpeakV1Encoding = {
1591
1328
  Linear16: "linear16",
@@ -3441,8 +3178,8 @@ var Deepgram = (() => {
3441
3178
  {
3442
3179
  "X-Fern-Language": "JavaScript",
3443
3180
  "X-Fern-SDK-Name": "",
3444
- "X-Fern-SDK-Version": "0.0.259",
3445
- "User-Agent": "/0.0.259",
3181
+ "X-Fern-SDK-Version": "0.0.283",
3182
+ "User-Agent": "/0.0.283",
3446
3183
  "X-Fern-Runtime": RUNTIME.type,
3447
3184
  "X-Fern-Runtime-Version": RUNTIME.version
3448
3185
  },
@@ -4306,6 +4043,7 @@ var Deepgram = (() => {
4306
4043
  callback,
4307
4044
  callback_method: callbackMethod,
4308
4045
  channels,
4046
+ detect_entities: detectEntities,
4309
4047
  diarize,
4310
4048
  dictation,
4311
4049
  encoding,
@@ -4338,6 +4076,7 @@ var Deepgram = (() => {
4338
4076
  callback,
4339
4077
  callback_method: callbackMethod,
4340
4078
  channels,
4079
+ detect_entities: detectEntities,
4341
4080
  diarize,
4342
4081
  dictation,
4343
4082
  encoding,
@@ -6002,8 +5741,8 @@ var Deepgram = (() => {
6002
5741
  status
6003
5742
  } = request;
6004
5743
  const _queryParams = {
6005
- start,
6006
- end,
5744
+ start: start != null ? start : void 0,
5745
+ end: end != null ? end : void 0,
6007
5746
  limit,
6008
5747
  page,
6009
5748
  accessor,
@@ -7912,6 +7651,20 @@ var Deepgram = (() => {
7912
7651
  socket.addEventListener("message", binaryAwareHandler);
7913
7652
  return binaryAwareHandler;
7914
7653
  }
7654
+ function preventDuplicateEventListeners(socket, handlers) {
7655
+ if (handlers.handleOpen) {
7656
+ socket.removeEventListener("open", handlers.handleOpen);
7657
+ }
7658
+ if (handlers.handleMessage) {
7659
+ socket.removeEventListener("message", handlers.handleMessage);
7660
+ }
7661
+ if (handlers.handleClose) {
7662
+ socket.removeEventListener("close", handlers.handleClose);
7663
+ }
7664
+ if (handlers.handleError) {
7665
+ socket.removeEventListener("error", handlers.handleError);
7666
+ }
7667
+ }
7915
7668
  function resetSocketConnectionState(socket) {
7916
7669
  if (socket.readyState === socket.CLOSED) {
7917
7670
  socket._connectLock = false;
@@ -7969,6 +7722,24 @@ var Deepgram = (() => {
7969
7722
  return new WrappedAgentV1Socket({ socket });
7970
7723
  });
7971
7724
  }
7725
+ /**
7726
+ * Creates a WebSocket connection object without actually connecting.
7727
+ * This is an alias for connect() with clearer naming - the returned socket
7728
+ * is not connected until you call socket.connect().
7729
+ *
7730
+ * Usage:
7731
+ * ```typescript
7732
+ * const socket = await client.agent.v1.createConnection();
7733
+ * socket.on('open', () => console.log('Connected!'));
7734
+ * socket.on('message', (msg) => console.log('Message:', msg));
7735
+ * socket.connect(); // Actually initiates the connection
7736
+ * ```
7737
+ */
7738
+ createConnection() {
7739
+ return __async(this, arguments, function* (args = {}) {
7740
+ return this.connect(args);
7741
+ });
7742
+ }
7972
7743
  };
7973
7744
  var WrappedAgentV1Socket = class extends V1Socket {
7974
7745
  constructor(args) {
@@ -7979,6 +7750,13 @@ var Deepgram = (() => {
7979
7750
  this.binaryAwareHandler = setupBinaryHandling(this.socket, this.eventHandlers);
7980
7751
  }
7981
7752
  connect() {
7753
+ const socketAny = this;
7754
+ preventDuplicateEventListeners(this.socket, {
7755
+ handleOpen: socketAny.handleOpen,
7756
+ handleMessage: socketAny.handleMessage,
7757
+ handleClose: socketAny.handleClose,
7758
+ handleError: socketAny.handleError
7759
+ });
7982
7760
  resetSocketConnectionState(this.socket);
7983
7761
  super.connect();
7984
7762
  this.setupBinaryHandling();
@@ -8060,6 +7838,24 @@ var Deepgram = (() => {
8060
7838
  return new WrappedListenV1Socket({ socket });
8061
7839
  });
8062
7840
  }
7841
+ /**
7842
+ * Creates a WebSocket connection object without actually connecting.
7843
+ * This is an alias for connect() with clearer naming - the returned socket
7844
+ * is not connected until you call socket.connect().
7845
+ *
7846
+ * Usage:
7847
+ * ```typescript
7848
+ * const socket = await client.listen.v1.createConnection({ model: 'nova-3' });
7849
+ * socket.on('open', () => console.log('Connected!'));
7850
+ * socket.on('message', (msg) => console.log('Transcript:', msg));
7851
+ * socket.connect(); // Actually initiates the connection
7852
+ * ```
7853
+ */
7854
+ createConnection(args) {
7855
+ return __async(this, null, function* () {
7856
+ return this.connect(args);
7857
+ });
7858
+ }
8063
7859
  };
8064
7860
  var WrappedListenV1Socket = class extends V1Socket2 {
8065
7861
  constructor(args) {
@@ -8070,6 +7866,13 @@ var Deepgram = (() => {
8070
7866
  this.binaryAwareHandler = setupBinaryHandling(this.socket, this.eventHandlers);
8071
7867
  }
8072
7868
  connect() {
7869
+ const socketAny = this;
7870
+ preventDuplicateEventListeners(this.socket, {
7871
+ handleOpen: socketAny.handleOpen,
7872
+ handleMessage: socketAny.handleMessage,
7873
+ handleClose: socketAny.handleClose,
7874
+ handleError: socketAny.handleError
7875
+ });
8073
7876
  resetSocketConnectionState(this.socket);
8074
7877
  super.connect();
8075
7878
  this.setupBinaryHandling();
@@ -8115,6 +7918,24 @@ var Deepgram = (() => {
8115
7918
  return new WrappedListenV2Socket({ socket });
8116
7919
  });
8117
7920
  }
7921
+ /**
7922
+ * Creates a WebSocket connection object without actually connecting.
7923
+ * This is an alias for connect() with clearer naming - the returned socket
7924
+ * is not connected until you call socket.connect().
7925
+ *
7926
+ * Usage:
7927
+ * ```typescript
7928
+ * const socket = await client.listen.v2.createConnection({ model: 'flux-general-en' });
7929
+ * socket.on('open', () => console.log('Connected!'));
7930
+ * socket.on('message', (msg) => console.log('Transcript:', msg));
7931
+ * socket.connect(); // Actually initiates the connection
7932
+ * ```
7933
+ */
7934
+ createConnection(args) {
7935
+ return __async(this, null, function* () {
7936
+ return this.connect(args);
7937
+ });
7938
+ }
8118
7939
  };
8119
7940
  var WrappedListenV2Socket = class extends V2Socket {
8120
7941
  constructor(args) {
@@ -8125,6 +7946,13 @@ var Deepgram = (() => {
8125
7946
  this.binaryAwareHandler = setupBinaryHandling(this.socket, this.eventHandlers);
8126
7947
  }
8127
7948
  connect() {
7949
+ const socketAny = this;
7950
+ preventDuplicateEventListeners(this.socket, {
7951
+ handleOpen: socketAny.handleOpen,
7952
+ handleMessage: socketAny.handleMessage,
7953
+ handleClose: socketAny.handleClose,
7954
+ handleError: socketAny.handleError
7955
+ });
8128
7956
  resetSocketConnectionState(this.socket);
8129
7957
  super.connect();
8130
7958
  this.setupBinaryHandling();
@@ -8186,6 +8014,24 @@ var Deepgram = (() => {
8186
8014
  return new WrappedSpeakV1Socket({ socket });
8187
8015
  });
8188
8016
  }
8017
+ /**
8018
+ * Creates a WebSocket connection object without actually connecting.
8019
+ * This is an alias for connect() with clearer naming - the returned socket
8020
+ * is not connected until you call socket.connect().
8021
+ *
8022
+ * Usage:
8023
+ * ```typescript
8024
+ * const socket = await client.speak.v1.createConnection({ model: 'aura-asteria-en' });
8025
+ * socket.on('open', () => console.log('Connected!'));
8026
+ * socket.on('message', (audioData) => console.log('Audio received'));
8027
+ * socket.connect(); // Actually initiates the connection
8028
+ * ```
8029
+ */
8030
+ createConnection(args) {
8031
+ return __async(this, null, function* () {
8032
+ return this.connect(args);
8033
+ });
8034
+ }
8189
8035
  };
8190
8036
  var WrappedSpeakV1Socket = class extends V1Socket3 {
8191
8037
  constructor(args) {
@@ -8196,6 +8042,13 @@ var Deepgram = (() => {
8196
8042
  this.binaryAwareHandler = setupBinaryHandling(this.socket, this.eventHandlers);
8197
8043
  }
8198
8044
  connect() {
8045
+ const socketAny = this;
8046
+ preventDuplicateEventListeners(this.socket, {
8047
+ handleOpen: socketAny.handleOpen,
8048
+ handleMessage: socketAny.handleMessage,
8049
+ handleClose: socketAny.handleClose,
8050
+ handleError: socketAny.handleError
8051
+ });
8199
8052
  resetSocketConnectionState(this.socket);
8200
8053
  super.connect();
8201
8054
  this.setupBinaryHandling();