@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
@@ -4,4 +4,4 @@ export declare const UsageGetRequestDeployment: {
4
4
  readonly Beta: "beta";
5
5
  readonly SelfHosted: "self-hosted";
6
6
  };
7
- export type UsageGetRequestDeployment = (typeof UsageGetRequestDeployment)[keyof typeof UsageGetRequestDeployment];
7
+ export type UsageGetRequestDeployment = (typeof UsageGetRequestDeployment)[keyof typeof UsageGetRequestDeployment] | string;
@@ -4,4 +4,4 @@ export declare const UsageGetRequestEndpoint: {
4
4
  readonly Speak: "speak";
5
5
  readonly Agent: "agent";
6
6
  };
7
- export type UsageGetRequestEndpoint = (typeof UsageGetRequestEndpoint)[keyof typeof UsageGetRequestEndpoint];
7
+ export type UsageGetRequestEndpoint = (typeof UsageGetRequestEndpoint)[keyof typeof UsageGetRequestEndpoint] | string;
@@ -4,4 +4,4 @@ export declare const UsageGetRequestMethod: {
4
4
  readonly Async: "async";
5
5
  readonly Streaming: "streaming";
6
6
  };
7
- export type UsageGetRequestMethod = (typeof UsageGetRequestMethod)[keyof typeof UsageGetRequestMethod];
7
+ export type UsageGetRequestMethod = (typeof UsageGetRequestMethod)[keyof typeof UsageGetRequestMethod] | string;
@@ -2,4 +2,4 @@ export declare const TextAnalyzeRequestCallbackMethod: {
2
2
  readonly Post: "POST";
3
3
  readonly Put: "PUT";
4
4
  };
5
- export type TextAnalyzeRequestCallbackMethod = (typeof TextAnalyzeRequestCallbackMethod)[keyof typeof TextAnalyzeRequestCallbackMethod];
5
+ export type TextAnalyzeRequestCallbackMethod = (typeof TextAnalyzeRequestCallbackMethod)[keyof typeof TextAnalyzeRequestCallbackMethod] | string;
@@ -2,4 +2,4 @@ export declare const TextAnalyzeRequestCustomIntentMode: {
2
2
  readonly Extended: "extended";
3
3
  readonly Strict: "strict";
4
4
  };
5
- export type TextAnalyzeRequestCustomIntentMode = (typeof TextAnalyzeRequestCustomIntentMode)[keyof typeof TextAnalyzeRequestCustomIntentMode];
5
+ export type TextAnalyzeRequestCustomIntentMode = (typeof TextAnalyzeRequestCustomIntentMode)[keyof typeof TextAnalyzeRequestCustomIntentMode] | string;
@@ -2,4 +2,4 @@ export declare const TextAnalyzeRequestCustomTopicMode: {
2
2
  readonly Extended: "extended";
3
3
  readonly Strict: "strict";
4
4
  };
5
- export type TextAnalyzeRequestCustomTopicMode = (typeof TextAnalyzeRequestCustomTopicMode)[keyof typeof TextAnalyzeRequestCustomTopicMode];
5
+ export type TextAnalyzeRequestCustomTopicMode = (typeof TextAnalyzeRequestCustomTopicMode)[keyof typeof TextAnalyzeRequestCustomTopicMode] | string;
@@ -1,4 +1,4 @@
1
1
  export declare const TextAnalyzeRequestSummarize: {
2
2
  readonly V2: "v2";
3
3
  };
4
- export type TextAnalyzeRequestSummarize = (typeof TextAnalyzeRequestSummarize)[keyof typeof TextAnalyzeRequestSummarize];
4
+ export type TextAnalyzeRequestSummarize = (typeof TextAnalyzeRequestSummarize)[keyof typeof TextAnalyzeRequestSummarize] | string;
@@ -8,4 +8,4 @@ export declare const DistributionCredentialsCreateRequestScopesItem: {
8
8
  readonly SelfHostedProductHotpepper: "self-hosted:product:hotpepper";
9
9
  readonly SelfHostedProductMetricsServer: "self-hosted:product:metrics-server";
10
10
  };
11
- export type DistributionCredentialsCreateRequestScopesItem = (typeof DistributionCredentialsCreateRequestScopesItem)[keyof typeof DistributionCredentialsCreateRequestScopesItem];
11
+ export type DistributionCredentialsCreateRequestScopesItem = (typeof DistributionCredentialsCreateRequestScopesItem)[keyof typeof DistributionCredentialsCreateRequestScopesItem] | string;
@@ -2,4 +2,4 @@ export declare const AudioGenerateRequestCallbackMethod: {
2
2
  readonly Post: "POST";
3
3
  readonly Put: "PUT";
4
4
  };
5
- export type AudioGenerateRequestCallbackMethod = (typeof AudioGenerateRequestCallbackMethod)[keyof typeof AudioGenerateRequestCallbackMethod];
5
+ export type AudioGenerateRequestCallbackMethod = (typeof AudioGenerateRequestCallbackMethod)[keyof typeof AudioGenerateRequestCallbackMethod] | string;
@@ -3,4 +3,4 @@ export declare const AudioGenerateRequestContainer: {
3
3
  readonly Wav: "wav";
4
4
  readonly Ogg: "ogg";
5
5
  };
6
- export type AudioGenerateRequestContainer = (typeof AudioGenerateRequestContainer)[keyof typeof AudioGenerateRequestContainer];
6
+ export type AudioGenerateRequestContainer = (typeof AudioGenerateRequestContainer)[keyof typeof AudioGenerateRequestContainer] | string;
@@ -7,4 +7,4 @@ export declare const AudioGenerateRequestEncoding: {
7
7
  readonly Opus: "opus";
8
8
  readonly Aac: "aac";
9
9
  };
10
- export type AudioGenerateRequestEncoding = (typeof AudioGenerateRequestEncoding)[keyof typeof AudioGenerateRequestEncoding];
10
+ export type AudioGenerateRequestEncoding = (typeof AudioGenerateRequestEncoding)[keyof typeof AudioGenerateRequestEncoding] | string;
@@ -63,4 +63,4 @@ export declare const AudioGenerateRequestModel: {
63
63
  readonly Aura2EstrellaEs: "aura-2-estrella-es";
64
64
  readonly Aura2JavierEs: "aura-2-javier-es";
65
65
  };
66
- export type AudioGenerateRequestModel = (typeof AudioGenerateRequestModel)[keyof typeof AudioGenerateRequestModel];
66
+ export type AudioGenerateRequestModel = (typeof AudioGenerateRequestModel)[keyof typeof AudioGenerateRequestModel] | string;
@@ -9,5 +9,5 @@ export declare namespace SpeakV1Clear {
9
9
  readonly Clear: "Clear";
10
10
  readonly Close: "Close";
11
11
  };
12
- type Type = (typeof Type)[keyof typeof Type];
12
+ type Type = (typeof Type)[keyof typeof Type] | string;
13
13
  }
@@ -10,5 +10,5 @@ export declare namespace SpeakV1Cleared {
10
10
  readonly Flushed: "Flushed";
11
11
  readonly Cleared: "Cleared";
12
12
  };
13
- type Type = (typeof Type)[keyof typeof Type];
13
+ type Type = (typeof Type)[keyof typeof Type] | string;
14
14
  }
@@ -9,5 +9,5 @@ export declare namespace SpeakV1Close {
9
9
  readonly Clear: "Clear";
10
10
  readonly Close: "Close";
11
11
  };
12
- type Type = (typeof Type)[keyof typeof Type];
12
+ type Type = (typeof Type)[keyof typeof Type] | string;
13
13
  }
@@ -9,5 +9,5 @@ export declare namespace SpeakV1Flush {
9
9
  readonly Clear: "Clear";
10
10
  readonly Close: "Close";
11
11
  };
12
- type Type = (typeof Type)[keyof typeof Type];
12
+ type Type = (typeof Type)[keyof typeof Type] | string;
13
13
  }
@@ -10,5 +10,5 @@ export declare namespace SpeakV1Flushed {
10
10
  readonly Flushed: "Flushed";
11
11
  readonly Cleared: "Cleared";
12
12
  };
13
- type Type = (typeof Type)[keyof typeof Type];
13
+ type Type = (typeof Type)[keyof typeof Type] | string;
14
14
  }
@@ -8,21 +8,21 @@ export declare namespace AgentThinkModelsV1Response {
8
8
  /**
9
9
  * OpenAI models */
10
10
  {
11
- id: "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4o" | "gpt-4o-mini";
11
+ id: "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4o" | "gpt-4o-mini" | string;
12
12
  name: string;
13
13
  provider: "open_ai";
14
14
  }
15
15
  /**
16
16
  * Anthropic models */
17
17
  | {
18
- id: "claude-3-5-haiku-latest" | "claude-sonnet-4-20250514";
18
+ id: "claude-3-5-haiku-latest" | "claude-sonnet-4-20250514" | string;
19
19
  name: string;
20
20
  provider: "anthropic";
21
21
  }
22
22
  /**
23
23
  * Google models */
24
24
  | {
25
- id: "gemini-2.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite";
25
+ id: "gemini-2.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | string;
26
26
  name: string;
27
27
  provider: "google";
28
28
  }
@@ -0,0 +1,17 @@
1
+ export interface Anthropic {
2
+ type: "anthropic";
3
+ /** The REST API version for the Anthropic Messages API */
4
+ version?: "v1";
5
+ /** Anthropic model to use */
6
+ model: Anthropic.Model;
7
+ /** Anthropic temperature (0-1) */
8
+ temperature?: number;
9
+ }
10
+ export declare namespace Anthropic {
11
+ /** Anthropic model to use */
12
+ const Model: {
13
+ readonly Claude35HaikuLatest: "claude-3-5-haiku-latest";
14
+ readonly ClaudeSonnet420250514: "claude-sonnet-4-20250514";
15
+ };
16
+ type Model = (typeof Model)[keyof typeof Model] | string;
17
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Anthropic = void 0;
5
+ var Anthropic;
6
+ (function (Anthropic) {
7
+ /** Anthropic model to use */
8
+ Anthropic.Model = {
9
+ Claude35HaikuLatest: "claude-3-5-haiku-latest",
10
+ ClaudeSonnet420250514: "claude-sonnet-4-20250514",
11
+ };
12
+ })(Anthropic || (exports.Anthropic = Anthropic = {}));
@@ -0,0 +1,40 @@
1
+ export interface AwsBedrockThinkProvider {
2
+ type: "aws_bedrock";
3
+ /** AWS Bedrock model to use */
4
+ model: AwsBedrockThinkProvider.Model;
5
+ /** AWS Bedrock temperature (0-2) */
6
+ temperature?: number;
7
+ /** AWS credentials type (STS short-lived or IAM long-lived) */
8
+ credentials?: AwsBedrockThinkProvider.Credentials;
9
+ }
10
+ export declare namespace AwsBedrockThinkProvider {
11
+ /** AWS Bedrock model to use */
12
+ const Model: {
13
+ readonly AnthropicClaude35Sonnet20240620V10: "anthropic/claude-3-5-sonnet-20240620-v1:0";
14
+ readonly AnthropicClaude35Haiku20240307V10: "anthropic/claude-3-5-haiku-20240307-v1:0";
15
+ };
16
+ type Model = (typeof Model)[keyof typeof Model] | string;
17
+ /**
18
+ * AWS credentials type (STS short-lived or IAM long-lived)
19
+ */
20
+ interface Credentials {
21
+ /** AWS credentials type (STS short-lived or IAM long-lived) */
22
+ type?: Credentials.Type;
23
+ /** AWS region */
24
+ region?: string;
25
+ /** AWS access key */
26
+ access_key_id?: string;
27
+ /** AWS secret access key */
28
+ secret_access_key?: string;
29
+ /** AWS session token (required for STS only) */
30
+ session_token?: string;
31
+ }
32
+ namespace Credentials {
33
+ /** AWS credentials type (STS short-lived or IAM long-lived) */
34
+ const Type: {
35
+ readonly Sts: "sts";
36
+ readonly Iam: "iam";
37
+ };
38
+ type Type = (typeof Type)[keyof typeof Type] | string;
39
+ }
40
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AwsBedrockThinkProvider = void 0;
5
+ var AwsBedrockThinkProvider;
6
+ (function (AwsBedrockThinkProvider) {
7
+ /** AWS Bedrock model to use */
8
+ AwsBedrockThinkProvider.Model = {
9
+ AnthropicClaude35Sonnet20240620V10: "anthropic/claude-3-5-sonnet-20240620-v1:0",
10
+ AnthropicClaude35Haiku20240307V10: "anthropic/claude-3-5-haiku-20240307-v1:0",
11
+ };
12
+ let Credentials;
13
+ (function (Credentials) {
14
+ /** AWS credentials type (STS short-lived or IAM long-lived) */
15
+ Credentials.Type = {
16
+ Sts: "sts",
17
+ Iam: "iam",
18
+ };
19
+ })(Credentials = AwsBedrockThinkProvider.Credentials || (AwsBedrockThinkProvider.Credentials = {}));
20
+ })(AwsBedrockThinkProvider || (exports.AwsBedrockThinkProvider = AwsBedrockThinkProvider = {}));
@@ -0,0 +1,47 @@
1
+ export interface AwsPollySpeakProvider {
2
+ type: "aws_polly";
3
+ /** AWS Polly voice name */
4
+ voice: AwsPollySpeakProvider.Voice;
5
+ /** Language code to use, e.g. 'en-US'. Corresponds to the `language_code` parameter in the AWS Polly API */
6
+ language: string;
7
+ /** Use the `language` field instead. */
8
+ language_code?: string;
9
+ engine: AwsPollySpeakProvider.Engine;
10
+ credentials: AwsPollySpeakProvider.Credentials;
11
+ }
12
+ export declare namespace AwsPollySpeakProvider {
13
+ /** AWS Polly voice name */
14
+ const Voice: {
15
+ readonly Matthew: "Matthew";
16
+ readonly Joanna: "Joanna";
17
+ readonly Amy: "Amy";
18
+ readonly Emma: "Emma";
19
+ readonly Brian: "Brian";
20
+ readonly Arthur: "Arthur";
21
+ readonly Aria: "Aria";
22
+ readonly Ayanda: "Ayanda";
23
+ };
24
+ type Voice = (typeof Voice)[keyof typeof Voice] | string;
25
+ const Engine: {
26
+ readonly Generative: "generative";
27
+ readonly LongForm: "long-form";
28
+ readonly Standard: "standard";
29
+ readonly Neural: "neural";
30
+ };
31
+ type Engine = (typeof Engine)[keyof typeof Engine] | string;
32
+ interface Credentials {
33
+ type: Credentials.Type;
34
+ region: string;
35
+ access_key_id: string;
36
+ secret_access_key: string;
37
+ /** Required for STS only */
38
+ session_token?: string;
39
+ }
40
+ namespace Credentials {
41
+ const Type: {
42
+ readonly Sts: "sts";
43
+ readonly Iam: "iam";
44
+ };
45
+ type Type = (typeof Type)[keyof typeof Type] | string;
46
+ }
47
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AwsPollySpeakProvider = void 0;
5
+ var AwsPollySpeakProvider;
6
+ (function (AwsPollySpeakProvider) {
7
+ /** AWS Polly voice name */
8
+ AwsPollySpeakProvider.Voice = {
9
+ Matthew: "Matthew",
10
+ Joanna: "Joanna",
11
+ Amy: "Amy",
12
+ Emma: "Emma",
13
+ Brian: "Brian",
14
+ Arthur: "Arthur",
15
+ Aria: "Aria",
16
+ Ayanda: "Ayanda",
17
+ };
18
+ AwsPollySpeakProvider.Engine = {
19
+ Generative: "generative",
20
+ LongForm: "long-form",
21
+ Standard: "standard",
22
+ Neural: "neural",
23
+ };
24
+ let Credentials;
25
+ (function (Credentials) {
26
+ Credentials.Type = {
27
+ Sts: "sts",
28
+ Iam: "iam",
29
+ };
30
+ })(Credentials = AwsPollySpeakProvider.Credentials || (AwsPollySpeakProvider.Credentials = {}));
31
+ })(AwsPollySpeakProvider || (exports.AwsPollySpeakProvider = AwsPollySpeakProvider = {}));
@@ -0,0 +1,24 @@
1
+ export interface Cartesia {
2
+ type: "cartesia";
3
+ /** The API version header for the Cartesia text-to-speech API */
4
+ version?: "2025-03-17";
5
+ /** Cartesia model ID */
6
+ model_id: Cartesia.ModelId;
7
+ voice: Cartesia.Voice;
8
+ /** Cartesia language code */
9
+ language?: string;
10
+ }
11
+ export declare namespace Cartesia {
12
+ /** Cartesia model ID */
13
+ const ModelId: {
14
+ readonly Sonic2: "sonic-2";
15
+ readonly SonicMultilingual: "sonic-multilingual";
16
+ };
17
+ type ModelId = (typeof ModelId)[keyof typeof ModelId] | string;
18
+ interface Voice {
19
+ /** Cartesia voice mode */
20
+ mode: string;
21
+ /** Cartesia voice ID */
22
+ id: string;
23
+ }
24
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Cartesia = void 0;
5
+ var Cartesia;
6
+ (function (Cartesia) {
7
+ /** Cartesia model ID */
8
+ Cartesia.ModelId = {
9
+ Sonic2: "sonic-2",
10
+ SonicMultilingual: "sonic-multilingual",
11
+ };
12
+ })(Cartesia || (exports.Cartesia = Cartesia = {}));
@@ -0,0 +1,76 @@
1
+ export interface Deepgram {
2
+ type: "deepgram";
3
+ /** The REST API version for the Deepgram text-to-speech API */
4
+ version?: "v1";
5
+ /** Deepgram TTS model */
6
+ model: Deepgram.Model;
7
+ }
8
+ export declare namespace Deepgram {
9
+ /** Deepgram TTS model */
10
+ const Model: {
11
+ readonly AuraAsteriaEn: "aura-asteria-en";
12
+ readonly AuraLunaEn: "aura-luna-en";
13
+ readonly AuraStellaEn: "aura-stella-en";
14
+ readonly AuraAthenaEn: "aura-athena-en";
15
+ readonly AuraHeraEn: "aura-hera-en";
16
+ readonly AuraOrionEn: "aura-orion-en";
17
+ readonly AuraArcasEn: "aura-arcas-en";
18
+ readonly AuraPerseusEn: "aura-perseus-en";
19
+ readonly AuraAngusEn: "aura-angus-en";
20
+ readonly AuraOrpheusEn: "aura-orpheus-en";
21
+ readonly AuraHeliosEn: "aura-helios-en";
22
+ readonly AuraZeusEn: "aura-zeus-en";
23
+ readonly Aura2AmaltheaEn: "aura-2-amalthea-en";
24
+ readonly Aura2AndromedaEn: "aura-2-andromeda-en";
25
+ readonly Aura2ApolloEn: "aura-2-apollo-en";
26
+ readonly Aura2ArcasEn: "aura-2-arcas-en";
27
+ readonly Aura2AriesEn: "aura-2-aries-en";
28
+ readonly Aura2AsteriaEn: "aura-2-asteria-en";
29
+ readonly Aura2AthenaEn: "aura-2-athena-en";
30
+ readonly Aura2AtlasEn: "aura-2-atlas-en";
31
+ readonly Aura2AuroraEn: "aura-2-aurora-en";
32
+ readonly Aura2CallistaEn: "aura-2-callista-en";
33
+ readonly Aura2CoraEn: "aura-2-cora-en";
34
+ readonly Aura2CordeliaEn: "aura-2-cordelia-en";
35
+ readonly Aura2DeliaEn: "aura-2-delia-en";
36
+ readonly Aura2DracoEn: "aura-2-draco-en";
37
+ readonly Aura2ElectraEn: "aura-2-electra-en";
38
+ readonly Aura2HarmoniaEn: "aura-2-harmonia-en";
39
+ readonly Aura2HelenaEn: "aura-2-helena-en";
40
+ readonly Aura2HeraEn: "aura-2-hera-en";
41
+ readonly Aura2HermesEn: "aura-2-hermes-en";
42
+ readonly Aura2HyperionEn: "aura-2-hyperion-en";
43
+ readonly Aura2IrisEn: "aura-2-iris-en";
44
+ readonly Aura2JanusEn: "aura-2-janus-en";
45
+ readonly Aura2JunoEn: "aura-2-juno-en";
46
+ readonly Aura2JupiterEn: "aura-2-jupiter-en";
47
+ readonly Aura2LunaEn: "aura-2-luna-en";
48
+ readonly Aura2MarsEn: "aura-2-mars-en";
49
+ readonly Aura2MinervaEn: "aura-2-minerva-en";
50
+ readonly Aura2NeptuneEn: "aura-2-neptune-en";
51
+ readonly Aura2OdysseusEn: "aura-2-odysseus-en";
52
+ readonly Aura2OpheliaEn: "aura-2-ophelia-en";
53
+ readonly Aura2OrionEn: "aura-2-orion-en";
54
+ readonly Aura2OrpheusEn: "aura-2-orpheus-en";
55
+ readonly Aura2PandoraEn: "aura-2-pandora-en";
56
+ readonly Aura2PhoebeEn: "aura-2-phoebe-en";
57
+ readonly Aura2PlutoEn: "aura-2-pluto-en";
58
+ readonly Aura2SaturnEn: "aura-2-saturn-en";
59
+ readonly Aura2SeleneEn: "aura-2-selene-en";
60
+ readonly Aura2ThaliaEn: "aura-2-thalia-en";
61
+ readonly Aura2TheiaEn: "aura-2-theia-en";
62
+ readonly Aura2VestaEn: "aura-2-vesta-en";
63
+ readonly Aura2ZeusEn: "aura-2-zeus-en";
64
+ readonly Aura2SirioEs: "aura-2-sirio-es";
65
+ readonly Aura2NestorEs: "aura-2-nestor-es";
66
+ readonly Aura2CarinaEs: "aura-2-carina-es";
67
+ readonly Aura2CelesteEs: "aura-2-celeste-es";
68
+ readonly Aura2AlvaroEs: "aura-2-alvaro-es";
69
+ readonly Aura2DianaEs: "aura-2-diana-es";
70
+ readonly Aura2AquilaEs: "aura-2-aquila-es";
71
+ readonly Aura2SelenaEs: "aura-2-selena-es";
72
+ readonly Aura2EstrellaEs: "aura-2-estrella-es";
73
+ readonly Aura2JavierEs: "aura-2-javier-es";
74
+ };
75
+ type Model = (typeof Model)[keyof typeof Model] | string;
76
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Deepgram = void 0;
5
+ var Deepgram;
6
+ (function (Deepgram) {
7
+ /** Deepgram TTS model */
8
+ Deepgram.Model = {
9
+ AuraAsteriaEn: "aura-asteria-en",
10
+ AuraLunaEn: "aura-luna-en",
11
+ AuraStellaEn: "aura-stella-en",
12
+ AuraAthenaEn: "aura-athena-en",
13
+ AuraHeraEn: "aura-hera-en",
14
+ AuraOrionEn: "aura-orion-en",
15
+ AuraArcasEn: "aura-arcas-en",
16
+ AuraPerseusEn: "aura-perseus-en",
17
+ AuraAngusEn: "aura-angus-en",
18
+ AuraOrpheusEn: "aura-orpheus-en",
19
+ AuraHeliosEn: "aura-helios-en",
20
+ AuraZeusEn: "aura-zeus-en",
21
+ Aura2AmaltheaEn: "aura-2-amalthea-en",
22
+ Aura2AndromedaEn: "aura-2-andromeda-en",
23
+ Aura2ApolloEn: "aura-2-apollo-en",
24
+ Aura2ArcasEn: "aura-2-arcas-en",
25
+ Aura2AriesEn: "aura-2-aries-en",
26
+ Aura2AsteriaEn: "aura-2-asteria-en",
27
+ Aura2AthenaEn: "aura-2-athena-en",
28
+ Aura2AtlasEn: "aura-2-atlas-en",
29
+ Aura2AuroraEn: "aura-2-aurora-en",
30
+ Aura2CallistaEn: "aura-2-callista-en",
31
+ Aura2CoraEn: "aura-2-cora-en",
32
+ Aura2CordeliaEn: "aura-2-cordelia-en",
33
+ Aura2DeliaEn: "aura-2-delia-en",
34
+ Aura2DracoEn: "aura-2-draco-en",
35
+ Aura2ElectraEn: "aura-2-electra-en",
36
+ Aura2HarmoniaEn: "aura-2-harmonia-en",
37
+ Aura2HelenaEn: "aura-2-helena-en",
38
+ Aura2HeraEn: "aura-2-hera-en",
39
+ Aura2HermesEn: "aura-2-hermes-en",
40
+ Aura2HyperionEn: "aura-2-hyperion-en",
41
+ Aura2IrisEn: "aura-2-iris-en",
42
+ Aura2JanusEn: "aura-2-janus-en",
43
+ Aura2JunoEn: "aura-2-juno-en",
44
+ Aura2JupiterEn: "aura-2-jupiter-en",
45
+ Aura2LunaEn: "aura-2-luna-en",
46
+ Aura2MarsEn: "aura-2-mars-en",
47
+ Aura2MinervaEn: "aura-2-minerva-en",
48
+ Aura2NeptuneEn: "aura-2-neptune-en",
49
+ Aura2OdysseusEn: "aura-2-odysseus-en",
50
+ Aura2OpheliaEn: "aura-2-ophelia-en",
51
+ Aura2OrionEn: "aura-2-orion-en",
52
+ Aura2OrpheusEn: "aura-2-orpheus-en",
53
+ Aura2PandoraEn: "aura-2-pandora-en",
54
+ Aura2PhoebeEn: "aura-2-phoebe-en",
55
+ Aura2PlutoEn: "aura-2-pluto-en",
56
+ Aura2SaturnEn: "aura-2-saturn-en",
57
+ Aura2SeleneEn: "aura-2-selene-en",
58
+ Aura2ThaliaEn: "aura-2-thalia-en",
59
+ Aura2TheiaEn: "aura-2-theia-en",
60
+ Aura2VestaEn: "aura-2-vesta-en",
61
+ Aura2ZeusEn: "aura-2-zeus-en",
62
+ Aura2SirioEs: "aura-2-sirio-es",
63
+ Aura2NestorEs: "aura-2-nestor-es",
64
+ Aura2CarinaEs: "aura-2-carina-es",
65
+ Aura2CelesteEs: "aura-2-celeste-es",
66
+ Aura2AlvaroEs: "aura-2-alvaro-es",
67
+ Aura2DianaEs: "aura-2-diana-es",
68
+ Aura2AquilaEs: "aura-2-aquila-es",
69
+ Aura2SelenaEs: "aura-2-selena-es",
70
+ Aura2EstrellaEs: "aura-2-estrella-es",
71
+ Aura2JavierEs: "aura-2-javier-es",
72
+ };
73
+ })(Deepgram || (exports.Deepgram = Deepgram = {}));
@@ -0,0 +1,20 @@
1
+ export interface ElevenLabsSpeakProvider {
2
+ type: "eleven_labs";
3
+ /** The REST API version for the ElevenLabs text-to-speech API */
4
+ version?: "v1";
5
+ /** Eleven Labs model ID */
6
+ model_id: ElevenLabsSpeakProvider.ModelId;
7
+ /** Optional language to use, e.g. 'en-US'. Corresponds to the `language_code` parameter in the ElevenLabs API */
8
+ language?: string;
9
+ /** Use the `language` field instead. */
10
+ language_code?: string;
11
+ }
12
+ export declare namespace ElevenLabsSpeakProvider {
13
+ /** Eleven Labs model ID */
14
+ const ModelId: {
15
+ readonly ElevenTurboV25: "eleven_turbo_v2_5";
16
+ readonly ElevenMonolingualV1: "eleven_monolingual_v1";
17
+ readonly ElevenMultilingualV2: "eleven_multilingual_v2";
18
+ };
19
+ type ModelId = (typeof ModelId)[keyof typeof ModelId] | string;
20
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ElevenLabsSpeakProvider = void 0;
5
+ var ElevenLabsSpeakProvider;
6
+ (function (ElevenLabsSpeakProvider) {
7
+ /** Eleven Labs model ID */
8
+ ElevenLabsSpeakProvider.ModelId = {
9
+ ElevenTurboV25: "eleven_turbo_v2_5",
10
+ ElevenMonolingualV1: "eleven_monolingual_v1",
11
+ ElevenMultilingualV2: "eleven_multilingual_v2",
12
+ };
13
+ })(ElevenLabsSpeakProvider || (exports.ElevenLabsSpeakProvider = ElevenLabsSpeakProvider = {}));
@@ -0,0 +1,18 @@
1
+ export interface Google {
2
+ type: "google";
3
+ /** The REST API version for the Google generative language API */
4
+ version?: "v1beta";
5
+ /** Google model to use */
6
+ model: Google.Model;
7
+ /** Google temperature (0-2) */
8
+ temperature?: number;
9
+ }
10
+ export declare namespace Google {
11
+ /** Google model to use */
12
+ const Model: {
13
+ readonly Gemini20Flash: "gemini-2.0-flash";
14
+ readonly Gemini20FlashLite: "gemini-2.0-flash-lite";
15
+ readonly Gemini25Flash: "gemini-2.5-flash";
16
+ };
17
+ type Model = (typeof Model)[keyof typeof Model] | string;
18
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Google = void 0;
5
+ var Google;
6
+ (function (Google) {
7
+ /** Google model to use */
8
+ Google.Model = {
9
+ Gemini20Flash: "gemini-2.0-flash",
10
+ Gemini20FlashLite: "gemini-2.0-flash-lite",
11
+ Gemini25Flash: "gemini-2.5-flash",
12
+ };
13
+ })(Google || (exports.Google = Google = {}));
@@ -0,0 +1,9 @@
1
+ export interface Groq {
2
+ type: "groq";
3
+ /** The REST API version for the Groq's chat completions API (mostly OpenAI-compatible) */
4
+ version?: "v1";
5
+ /** Groq model to use */
6
+ model: "openai/gpt-oss-20b";
7
+ /** Groq temperature (0-2) */
8
+ temperature?: number;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,6 +17,6 @@ export declare namespace ListBillingFieldsV1Response {
17
17
  readonly SelfHosted: "self-hosted";
18
18
  readonly Dedicated: "dedicated";
19
19
  };
20
- type Item = (typeof Item)[keyof typeof Item];
20
+ type Item = (typeof Item)[keyof typeof Item] | string;
21
21
  }
22
22
  }
@@ -5,4 +5,4 @@ export declare const ListenV1CallbackMethod: {
5
5
  readonly Put: "PUT";
6
6
  readonly Delete: "DELETE";
7
7
  };
8
- export type ListenV1CallbackMethod = (typeof ListenV1CallbackMethod)[keyof typeof ListenV1CallbackMethod];
8
+ export type ListenV1CallbackMethod = (typeof ListenV1CallbackMethod)[keyof typeof ListenV1CallbackMethod] | string;
@@ -0,0 +1,6 @@
1
+ /** Identifies and extracts key entities from content in submitted audio. Entities appear in final results. When enabled, Punctuation will also be enabled by default */
2
+ export declare const ListenV1DetectEntities: {
3
+ readonly True: "true";
4
+ readonly False: "false";
5
+ };
6
+ export type ListenV1DetectEntities = (typeof ListenV1DetectEntities)[keyof typeof ListenV1DetectEntities] | string;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListenV1DetectEntities = void 0;
5
+ /** Identifies and extracts key entities from content in submitted audio. Entities appear in final results. When enabled, Punctuation will also be enabled by default */
6
+ exports.ListenV1DetectEntities = {
7
+ True: "true",
8
+ False: "false",
9
+ };