@meetkai/mka1 0.55.17 → 0.55.20

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 (168) hide show
  1. package/bin/mcp-server.js +111 -14
  2. package/bin/mcp-server.js.map +18 -18
  3. package/dist/commonjs/funcs/authApiKeysList.js +1 -1
  4. package/dist/commonjs/funcs/authApiKeysList.js.map +1 -1
  5. package/dist/commonjs/funcs/llmSpeechGetTranscriptionHistoryContent.d.ts +20 -1
  6. package/dist/commonjs/funcs/llmSpeechGetTranscriptionHistoryContent.d.ts.map +1 -1
  7. package/dist/commonjs/funcs/llmSpeechGetTranscriptionHistoryContent.js +22 -3
  8. package/dist/commonjs/funcs/llmSpeechGetTranscriptionHistoryContent.js.map +1 -1
  9. package/dist/commonjs/funcs/llmSpeechSpeak.d.ts +1 -0
  10. package/dist/commonjs/funcs/llmSpeechSpeak.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/llmSpeechSpeak.js +1 -0
  12. package/dist/commonjs/funcs/llmSpeechSpeak.js.map +1 -1
  13. package/dist/commonjs/funcs/llmSpeechSpeakStreaming.d.ts +1 -0
  14. package/dist/commonjs/funcs/llmSpeechSpeakStreaming.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/llmSpeechSpeakStreaming.js +1 -0
  16. package/dist/commonjs/funcs/llmSpeechSpeakStreaming.js.map +1 -1
  17. package/dist/commonjs/lib/config.d.ts +2 -2
  18. package/dist/commonjs/lib/config.js +2 -2
  19. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  20. package/dist/commonjs/mcp-server/server.js +1 -1
  21. package/dist/commonjs/mcp-server/tools/llmSpeechSpeak.d.ts.map +1 -1
  22. package/dist/commonjs/mcp-server/tools/llmSpeechSpeak.js +1 -0
  23. package/dist/commonjs/mcp-server/tools/llmSpeechSpeak.js.map +1 -1
  24. package/dist/commonjs/mcp-server/tools/llmSpeechSpeakStreaming.d.ts.map +1 -1
  25. package/dist/commonjs/mcp-server/tools/llmSpeechSpeakStreaming.js +1 -0
  26. package/dist/commonjs/mcp-server/tools/llmSpeechSpeakStreaming.js.map +1 -1
  27. package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts +1 -0
  28. package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/addcatalogmodelrequest.js +1 -0
  30. package/dist/commonjs/models/components/addcatalogmodelrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/texttospeechrequest.d.ts +5 -0
  32. package/dist/commonjs/models/components/texttospeechrequest.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/texttospeechrequest.js +2 -0
  34. package/dist/commonjs/models/components/texttospeechrequest.js.map +1 -1
  35. package/dist/commonjs/models/components/texttospeechstreamingrequest.d.ts +5 -0
  36. package/dist/commonjs/models/components/texttospeechstreamingrequest.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/texttospeechstreamingrequest.js +2 -0
  38. package/dist/commonjs/models/components/texttospeechstreamingrequest.js.map +1 -1
  39. package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts +1 -0
  40. package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/updatecatalogmodelrequest.js +1 -0
  42. package/dist/commonjs/models/components/updatecatalogmodelrequest.js.map +1 -1
  43. package/dist/commonjs/models/operations/getmodel.d.ts +41 -0
  44. package/dist/commonjs/models/operations/getmodel.d.ts.map +1 -1
  45. package/dist/commonjs/models/operations/getmodel.js +52 -1
  46. package/dist/commonjs/models/operations/getmodel.js.map +1 -1
  47. package/dist/commonjs/models/operations/getspeechtotexthistorycontent.d.ts +9 -0
  48. package/dist/commonjs/models/operations/getspeechtotexthistorycontent.d.ts.map +1 -1
  49. package/dist/commonjs/models/operations/getspeechtotexthistorycontent.js +45 -1
  50. package/dist/commonjs/models/operations/getspeechtotexthistorycontent.js.map +1 -1
  51. package/dist/commonjs/models/operations/listmodels.d.ts +41 -0
  52. package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
  53. package/dist/commonjs/models/operations/listmodels.js +49 -1
  54. package/dist/commonjs/models/operations/listmodels.js.map +1 -1
  55. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.core.d.ts +8 -3
  56. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.core.d.ts.map +1 -1
  57. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.core.js.map +1 -1
  58. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.d.ts +1 -0
  59. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.d.ts.map +1 -1
  60. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.js +3 -1
  61. package/dist/commonjs/react-query/llmSpeechGetTranscriptionHistoryContent.js.map +1 -1
  62. package/dist/commonjs/react-query/llmSpeechSpeak.d.ts +1 -0
  63. package/dist/commonjs/react-query/llmSpeechSpeak.d.ts.map +1 -1
  64. package/dist/commonjs/react-query/llmSpeechSpeak.js +1 -0
  65. package/dist/commonjs/react-query/llmSpeechSpeak.js.map +1 -1
  66. package/dist/commonjs/react-query/llmSpeechSpeakStreaming.d.ts +1 -0
  67. package/dist/commonjs/react-query/llmSpeechSpeakStreaming.d.ts.map +1 -1
  68. package/dist/commonjs/react-query/llmSpeechSpeakStreaming.js +1 -0
  69. package/dist/commonjs/react-query/llmSpeechSpeakStreaming.js.map +1 -1
  70. package/dist/commonjs/sdk/speech.d.ts +7 -1
  71. package/dist/commonjs/sdk/speech.d.ts.map +1 -1
  72. package/dist/commonjs/sdk/speech.js +5 -1
  73. package/dist/commonjs/sdk/speech.js.map +1 -1
  74. package/dist/esm/funcs/authApiKeysList.js +1 -1
  75. package/dist/esm/funcs/authApiKeysList.js.map +1 -1
  76. package/dist/esm/funcs/llmSpeechGetTranscriptionHistoryContent.d.ts +20 -1
  77. package/dist/esm/funcs/llmSpeechGetTranscriptionHistoryContent.d.ts.map +1 -1
  78. package/dist/esm/funcs/llmSpeechGetTranscriptionHistoryContent.js +21 -3
  79. package/dist/esm/funcs/llmSpeechGetTranscriptionHistoryContent.js.map +1 -1
  80. package/dist/esm/funcs/llmSpeechSpeak.d.ts +1 -0
  81. package/dist/esm/funcs/llmSpeechSpeak.d.ts.map +1 -1
  82. package/dist/esm/funcs/llmSpeechSpeak.js +1 -0
  83. package/dist/esm/funcs/llmSpeechSpeak.js.map +1 -1
  84. package/dist/esm/funcs/llmSpeechSpeakStreaming.d.ts +1 -0
  85. package/dist/esm/funcs/llmSpeechSpeakStreaming.d.ts.map +1 -1
  86. package/dist/esm/funcs/llmSpeechSpeakStreaming.js +1 -0
  87. package/dist/esm/funcs/llmSpeechSpeakStreaming.js.map +1 -1
  88. package/dist/esm/lib/config.d.ts +2 -2
  89. package/dist/esm/lib/config.js +2 -2
  90. package/dist/esm/mcp-server/mcp-server.js +1 -1
  91. package/dist/esm/mcp-server/server.js +1 -1
  92. package/dist/esm/mcp-server/tools/llmSpeechSpeak.d.ts.map +1 -1
  93. package/dist/esm/mcp-server/tools/llmSpeechSpeak.js +1 -0
  94. package/dist/esm/mcp-server/tools/llmSpeechSpeak.js.map +1 -1
  95. package/dist/esm/mcp-server/tools/llmSpeechSpeakStreaming.d.ts.map +1 -1
  96. package/dist/esm/mcp-server/tools/llmSpeechSpeakStreaming.js +1 -0
  97. package/dist/esm/mcp-server/tools/llmSpeechSpeakStreaming.js.map +1 -1
  98. package/dist/esm/models/components/addcatalogmodelrequest.d.ts +1 -0
  99. package/dist/esm/models/components/addcatalogmodelrequest.d.ts.map +1 -1
  100. package/dist/esm/models/components/addcatalogmodelrequest.js +1 -0
  101. package/dist/esm/models/components/addcatalogmodelrequest.js.map +1 -1
  102. package/dist/esm/models/components/texttospeechrequest.d.ts +5 -0
  103. package/dist/esm/models/components/texttospeechrequest.d.ts.map +1 -1
  104. package/dist/esm/models/components/texttospeechrequest.js +2 -0
  105. package/dist/esm/models/components/texttospeechrequest.js.map +1 -1
  106. package/dist/esm/models/components/texttospeechstreamingrequest.d.ts +5 -0
  107. package/dist/esm/models/components/texttospeechstreamingrequest.d.ts.map +1 -1
  108. package/dist/esm/models/components/texttospeechstreamingrequest.js +2 -0
  109. package/dist/esm/models/components/texttospeechstreamingrequest.js.map +1 -1
  110. package/dist/esm/models/components/updatecatalogmodelrequest.d.ts +1 -0
  111. package/dist/esm/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
  112. package/dist/esm/models/components/updatecatalogmodelrequest.js +1 -0
  113. package/dist/esm/models/components/updatecatalogmodelrequest.js.map +1 -1
  114. package/dist/esm/models/operations/getmodel.d.ts +41 -0
  115. package/dist/esm/models/operations/getmodel.d.ts.map +1 -1
  116. package/dist/esm/models/operations/getmodel.js +47 -0
  117. package/dist/esm/models/operations/getmodel.js.map +1 -1
  118. package/dist/esm/models/operations/getspeechtotexthistorycontent.d.ts +9 -0
  119. package/dist/esm/models/operations/getspeechtotexthistorycontent.d.ts.map +1 -1
  120. package/dist/esm/models/operations/getspeechtotexthistorycontent.js +42 -0
  121. package/dist/esm/models/operations/getspeechtotexthistorycontent.js.map +1 -1
  122. package/dist/esm/models/operations/listmodels.d.ts +41 -0
  123. package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
  124. package/dist/esm/models/operations/listmodels.js +44 -0
  125. package/dist/esm/models/operations/listmodels.js.map +1 -1
  126. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.core.d.ts +8 -3
  127. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.core.d.ts.map +1 -1
  128. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.core.js +1 -1
  129. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.core.js.map +1 -1
  130. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.d.ts +1 -0
  131. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.d.ts.map +1 -1
  132. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.js +1 -0
  133. package/dist/esm/react-query/llmSpeechGetTranscriptionHistoryContent.js.map +1 -1
  134. package/dist/esm/react-query/llmSpeechSpeak.d.ts +1 -0
  135. package/dist/esm/react-query/llmSpeechSpeak.d.ts.map +1 -1
  136. package/dist/esm/react-query/llmSpeechSpeak.js +1 -0
  137. package/dist/esm/react-query/llmSpeechSpeak.js.map +1 -1
  138. package/dist/esm/react-query/llmSpeechSpeakStreaming.d.ts +1 -0
  139. package/dist/esm/react-query/llmSpeechSpeakStreaming.d.ts.map +1 -1
  140. package/dist/esm/react-query/llmSpeechSpeakStreaming.js +1 -0
  141. package/dist/esm/react-query/llmSpeechSpeakStreaming.js.map +1 -1
  142. package/dist/esm/sdk/speech.d.ts +7 -1
  143. package/dist/esm/sdk/speech.d.ts.map +1 -1
  144. package/dist/esm/sdk/speech.js +4 -1
  145. package/dist/esm/sdk/speech.js.map +1 -1
  146. package/jsr.json +1 -1
  147. package/package.json +1 -1
  148. package/src/funcs/authApiKeysList.ts +1 -1
  149. package/src/funcs/llmSpeechGetTranscriptionHistoryContent.ts +103 -8
  150. package/src/funcs/llmSpeechSpeak.ts +1 -0
  151. package/src/funcs/llmSpeechSpeakStreaming.ts +1 -0
  152. package/src/lib/config.ts +2 -2
  153. package/src/mcp-server/mcp-server.ts +1 -1
  154. package/src/mcp-server/server.ts +1 -1
  155. package/src/mcp-server/tools/llmSpeechSpeak.ts +1 -0
  156. package/src/mcp-server/tools/llmSpeechSpeakStreaming.ts +1 -0
  157. package/src/models/components/addcatalogmodelrequest.ts +1 -0
  158. package/src/models/components/texttospeechrequest.ts +7 -0
  159. package/src/models/components/texttospeechstreamingrequest.ts +7 -0
  160. package/src/models/components/updatecatalogmodelrequest.ts +1 -0
  161. package/src/models/operations/getmodel.ts +96 -0
  162. package/src/models/operations/getspeechtotexthistorycontent.ts +100 -0
  163. package/src/models/operations/listmodels.ts +105 -0
  164. package/src/react-query/llmSpeechGetTranscriptionHistoryContent.core.ts +12 -6
  165. package/src/react-query/llmSpeechGetTranscriptionHistoryContent.ts +2 -0
  166. package/src/react-query/llmSpeechSpeak.ts +1 -0
  167. package/src/react-query/llmSpeechSpeakStreaming.ts +1 -0
  168. package/src/sdk/speech.ts +12 -3
package/src/lib/config.ts CHANGED
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.1.0",
68
- sdkVersion: "0.55.17",
68
+ sdkVersion: "0.55.20",
69
69
  genVersion: "2.950.2",
70
- userAgent: "speakeasy-sdk/typescript 0.55.17 2.950.2 1.1.0 @meetkai/mka1",
70
+ userAgent: "speakeasy-sdk/typescript 0.55.20 2.950.2 1.1.0 @meetkai/mka1",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.55.17",
22
+ currentVersion: "0.55.20",
23
23
  },
24
24
  });
25
25
 
@@ -513,7 +513,7 @@ export function createMCPServer(deps: {
513
513
  }) {
514
514
  const server = new McpServer({
515
515
  name: "SDK",
516
- version: "0.55.17",
516
+ version: "0.55.20",
517
517
  });
518
518
 
519
519
  const client = new SDKCore({
@@ -19,6 +19,7 @@ Convert text to speech with automatic language detection.
19
19
  **Request Body:**
20
20
  - \`text\`: Input text to convert to speech - required
21
21
  - \`language\`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
22
+ - \`voice\`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured \`meetkai:speech\` model exposing \`sophia\`; use IDs advertised by your deployment
22
23
  - \`model\`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider
23
24
 
24
25
  **Response:** Returns audio file in WAV format with X-Language-Code header. When \`store\` is \`true\`, the generation is persisted before the response returns and the new history record id is included in the X-Tts-Id header.`,
@@ -26,6 +26,7 @@ Convert text to speech with real-time streaming audio delivery.
26
26
  - \`text\`: Input text to convert to speech - required
27
27
  - \`language\`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
28
28
  - \`format\`: Audio format (default: "mp3") - "mp3" for compressed MPEG audio (96 kbps) or "pcm" for uncompressed WAV
29
+ - \`voice\`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured \`meetkai:speech\` model exposing \`sophia\`; use IDs advertised by your deployment
29
30
  - \`model\`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider (note: not all providers support \`format: "mp3"\`)
30
31
 
31
32
  **Response:**
@@ -25,6 +25,7 @@ export const ApiProviderType = {
25
25
  Meetkai: "meetkai",
26
26
  MeetkaiGateway: "meetkaiGateway",
27
27
  Openai: "openai",
28
+ Openrouter: "openrouter",
28
29
  } as const;
29
30
  export type ApiProviderType = ClosedEnum<typeof ApiProviderType>;
30
31
 
@@ -49,6 +49,10 @@ export type TextToSpeechRequest = {
49
49
  * Input text to convert to speech
50
50
  */
51
51
  text: string;
52
+ /**
53
+ * Public voice ID from model discovery. Overrides the model's language default. With language=auto, the selected voice determines the language; an explicit conflicting language is rejected.
54
+ */
55
+ voice?: string | undefined;
52
56
  /**
53
57
  * Language code: 'auto' for automatic detection, or ISO 639-1 language codes. With 'auto', text confidently detected as a language without a voice is rejected with a 400 naming it.
54
58
  */
@@ -77,6 +81,7 @@ export const TextToSpeechRequest$inboundSchema: z.ZodType<
77
81
  unknown
78
82
  > = z.object({
79
83
  text: z.string(),
84
+ voice: z.string().optional(),
80
85
  language: Language$inboundSchema.default("auto"),
81
86
  model: z.string().default("auto"),
82
87
  store: z.boolean().default(false),
@@ -84,6 +89,7 @@ export const TextToSpeechRequest$inboundSchema: z.ZodType<
84
89
  /** @internal */
85
90
  export type TextToSpeechRequest$Outbound = {
86
91
  text: string;
92
+ voice?: string | undefined;
87
93
  language: string;
88
94
  model: string;
89
95
  store: boolean;
@@ -96,6 +102,7 @@ export const TextToSpeechRequest$outboundSchema: z.ZodType<
96
102
  TextToSpeechRequest
97
103
  > = z.object({
98
104
  text: z.string(),
105
+ voice: z.string().optional(),
99
106
  language: Language$outboundSchema.default("auto"),
100
107
  model: z.string().default("auto"),
101
108
  store: z.boolean().default(false),
@@ -63,6 +63,10 @@ export type TextToSpeechStreamingRequest = {
63
63
  * Input text to convert to speech
64
64
  */
65
65
  text: string;
66
+ /**
67
+ * Public voice ID from model discovery. Overrides the model's language default. With language=auto, the selected voice determines the language; an explicit conflicting language is rejected.
68
+ */
69
+ voice?: string | undefined;
66
70
  /**
67
71
  * Language code: 'auto' for automatic detection, or ISO 639-1 language codes. With 'auto', text confidently detected as a language without a voice is rejected with a 400 naming it.
68
72
  */
@@ -105,6 +109,7 @@ export const TextToSpeechStreamingRequest$inboundSchema: z.ZodType<
105
109
  unknown
106
110
  > = z.object({
107
111
  text: z.string(),
112
+ voice: z.string().optional(),
108
113
  language: TextToSpeechStreamingRequestLanguage$inboundSchema.default("auto"),
109
114
  model: z.string().default("auto"),
110
115
  store: z.boolean().default(false),
@@ -113,6 +118,7 @@ export const TextToSpeechStreamingRequest$inboundSchema: z.ZodType<
113
118
  /** @internal */
114
119
  export type TextToSpeechStreamingRequest$Outbound = {
115
120
  text: string;
121
+ voice?: string | undefined;
116
122
  language: string;
117
123
  model: string;
118
124
  store: boolean;
@@ -126,6 +132,7 @@ export const TextToSpeechStreamingRequest$outboundSchema: z.ZodType<
126
132
  TextToSpeechStreamingRequest
127
133
  > = z.object({
128
134
  text: z.string(),
135
+ voice: z.string().optional(),
129
136
  language: TextToSpeechStreamingRequestLanguage$outboundSchema.default("auto"),
130
137
  model: z.string().default("auto"),
131
138
  store: z.boolean().default(false),
@@ -25,6 +25,7 @@ export const UpdateCatalogModelRequestApiProviderType = {
25
25
  Meetkai: "meetkai",
26
26
  MeetkaiGateway: "meetkaiGateway",
27
27
  Openai: "openai",
28
+ Openrouter: "openrouter",
28
29
  } as const;
29
30
  export type UpdateCatalogModelRequestApiProviderType = ClosedEnum<
30
31
  typeof UpdateCatalogModelRequestApiProviderType
@@ -70,6 +70,17 @@ export const Weights = {
70
70
  } as const;
71
71
  export type Weights = ClosedEnum<typeof Weights>;
72
72
 
73
+ export type Voices = {
74
+ id: string;
75
+ name: string;
76
+ language: string;
77
+ };
78
+
79
+ export type Tts = {
80
+ defaultVoice: { [k: string]: string };
81
+ voices: Array<Voices>;
82
+ };
83
+
73
84
  /**
74
85
  * `active`, `deprecated` (still served, retirement announced or pending) or `retired` (the retirement date has passed). Informational in this version: the gateway does not yet refuse a retired model.
75
86
  */
@@ -200,6 +211,10 @@ export type GetModelResponseBody = {
200
211
  * Languages the model is intended for, as ISO 639-1 codes, mirroring `modelCard.languages`. Null when unrecorded.
201
212
  */
202
213
  languages: Array<string> | null;
214
+ /**
215
+ * Available public TTS voices and default voice IDs by language. Provider voice identifiers are not exposed.
216
+ */
217
+ tts: Tts | null;
203
218
  /**
204
219
  * Known limitations in one short paragraph, mirroring `modelCard.limitations`. Null when unrecorded.
205
220
  */
@@ -407,6 +422,84 @@ export const Weights$inboundSchema: z.ZodNativeEnum<typeof Weights> = z
407
422
  export const Weights$outboundSchema: z.ZodNativeEnum<typeof Weights> =
408
423
  Weights$inboundSchema;
409
424
 
425
+ /** @internal */
426
+ export const Voices$inboundSchema: z.ZodType<Voices, z.ZodTypeDef, unknown> = z
427
+ .object({
428
+ id: z.string(),
429
+ name: z.string(),
430
+ language: z.string(),
431
+ });
432
+ /** @internal */
433
+ export type Voices$Outbound = {
434
+ id: string;
435
+ name: string;
436
+ language: string;
437
+ };
438
+
439
+ /** @internal */
440
+ export const Voices$outboundSchema: z.ZodType<
441
+ Voices$Outbound,
442
+ z.ZodTypeDef,
443
+ Voices
444
+ > = z.object({
445
+ id: z.string(),
446
+ name: z.string(),
447
+ language: z.string(),
448
+ });
449
+
450
+ export function voicesToJSON(voices: Voices): string {
451
+ return JSON.stringify(Voices$outboundSchema.parse(voices));
452
+ }
453
+ export function voicesFromJSON(
454
+ jsonString: string,
455
+ ): SafeParseResult<Voices, SDKValidationError> {
456
+ return safeParse(
457
+ jsonString,
458
+ (x) => Voices$inboundSchema.parse(JSON.parse(x)),
459
+ `Failed to parse 'Voices' from JSON`,
460
+ );
461
+ }
462
+
463
+ /** @internal */
464
+ export const Tts$inboundSchema: z.ZodType<Tts, z.ZodTypeDef, unknown> = z
465
+ .object({
466
+ default_voice: z.record(z.string()),
467
+ voices: z.array(z.lazy(() => Voices$inboundSchema)),
468
+ }).transform((v) => {
469
+ return remap$(v, {
470
+ "default_voice": "defaultVoice",
471
+ });
472
+ });
473
+ /** @internal */
474
+ export type Tts$Outbound = {
475
+ default_voice: { [k: string]: string };
476
+ voices: Array<Voices$Outbound>;
477
+ };
478
+
479
+ /** @internal */
480
+ export const Tts$outboundSchema: z.ZodType<Tts$Outbound, z.ZodTypeDef, Tts> = z
481
+ .object({
482
+ defaultVoice: z.record(z.string()),
483
+ voices: z.array(z.lazy(() => Voices$outboundSchema)),
484
+ }).transform((v) => {
485
+ return remap$(v, {
486
+ defaultVoice: "default_voice",
487
+ });
488
+ });
489
+
490
+ export function ttsToJSON(tts: Tts): string {
491
+ return JSON.stringify(Tts$outboundSchema.parse(tts));
492
+ }
493
+ export function ttsFromJSON(
494
+ jsonString: string,
495
+ ): SafeParseResult<Tts, SDKValidationError> {
496
+ return safeParse(
497
+ jsonString,
498
+ (x) => Tts$inboundSchema.parse(JSON.parse(x)),
499
+ `Failed to parse 'Tts' from JSON`,
500
+ );
501
+ }
502
+
410
503
  /** @internal */
411
504
  export const GetModelStatus$inboundSchema: z.ZodNativeEnum<
412
505
  typeof GetModelStatus
@@ -565,6 +658,7 @@ export const GetModelResponseBody$inboundSchema: z.ZodType<
565
658
  weights: z.nullable(Weights$inboundSchema),
566
659
  license: z.nullable(z.string()),
567
660
  languages: z.nullable(z.array(z.string())),
661
+ tts: z.nullable(z.lazy(() => Tts$inboundSchema)),
568
662
  limitations: z.nullable(z.string()),
569
663
  lifecycle: z.lazy(() => Lifecycle$inboundSchema),
570
664
  capabilities: z.lazy(() => Capabilities$inboundSchema),
@@ -607,6 +701,7 @@ export type GetModelResponseBody$Outbound = {
607
701
  weights: string | null;
608
702
  license: string | null;
609
703
  languages: Array<string> | null;
704
+ tts: Tts$Outbound | null;
610
705
  limitations: string | null;
611
706
  lifecycle: Lifecycle$Outbound;
612
707
  capabilities: Capabilities$Outbound;
@@ -644,6 +739,7 @@ export const GetModelResponseBody$outboundSchema: z.ZodType<
644
739
  weights: z.nullable(Weights$outboundSchema),
645
740
  license: z.nullable(z.string()),
646
741
  languages: z.nullable(z.array(z.string())),
742
+ tts: z.nullable(z.lazy(() => Tts$outboundSchema)),
647
743
  limitations: z.nullable(z.string()),
648
744
  lifecycle: z.lazy(() => Lifecycle$outboundSchema),
649
745
  capabilities: z.lazy(() => Capabilities$outboundSchema),
@@ -16,6 +16,23 @@ export type GetSpeechToTextHistoryContentRequest = {
16
16
  xOnBehalfOf?: string | undefined;
17
17
  };
18
18
 
19
+ export type GetSpeechToTextHistoryContentResponse =
20
+ | ReadableStream<Uint8Array>
21
+ | ReadableStream<Uint8Array>
22
+ | ReadableStream<Uint8Array>
23
+ | ReadableStream<Uint8Array>
24
+ | ReadableStream<Uint8Array>
25
+ | ReadableStream<Uint8Array>
26
+ | ReadableStream<Uint8Array>
27
+ | ReadableStream<Uint8Array>
28
+ | ReadableStream<Uint8Array>
29
+ | ReadableStream<Uint8Array>
30
+ | ReadableStream<Uint8Array>
31
+ | ReadableStream<Uint8Array>
32
+ | ReadableStream<Uint8Array>
33
+ | ReadableStream<Uint8Array>
34
+ | ReadableStream<Uint8Array>;
35
+
19
36
  /** @internal */
20
37
  export const GetSpeechToTextHistoryContentRequest$inboundSchema: z.ZodType<
21
38
  GetSpeechToTextHistoryContentRequest,
@@ -70,3 +87,86 @@ export function getSpeechToTextHistoryContentRequestFromJSON(
70
87
  `Failed to parse 'GetSpeechToTextHistoryContentRequest' from JSON`,
71
88
  );
72
89
  }
90
+
91
+ /** @internal */
92
+ export const GetSpeechToTextHistoryContentResponse$inboundSchema: z.ZodType<
93
+ GetSpeechToTextHistoryContentResponse,
94
+ z.ZodTypeDef,
95
+ unknown
96
+ > = z.union([
97
+ z.instanceof(ReadableStream<Uint8Array>),
98
+ z.instanceof(ReadableStream<Uint8Array>),
99
+ z.instanceof(ReadableStream<Uint8Array>),
100
+ z.instanceof(ReadableStream<Uint8Array>),
101
+ z.instanceof(ReadableStream<Uint8Array>),
102
+ z.instanceof(ReadableStream<Uint8Array>),
103
+ z.instanceof(ReadableStream<Uint8Array>),
104
+ z.instanceof(ReadableStream<Uint8Array>),
105
+ z.instanceof(ReadableStream<Uint8Array>),
106
+ z.instanceof(ReadableStream<Uint8Array>),
107
+ z.instanceof(ReadableStream<Uint8Array>),
108
+ z.instanceof(ReadableStream<Uint8Array>),
109
+ z.instanceof(ReadableStream<Uint8Array>),
110
+ z.instanceof(ReadableStream<Uint8Array>),
111
+ z.instanceof(ReadableStream<Uint8Array>),
112
+ ]);
113
+ /** @internal */
114
+ export type GetSpeechToTextHistoryContentResponse$Outbound =
115
+ | ReadableStream<Uint8Array>
116
+ | ReadableStream<Uint8Array>
117
+ | ReadableStream<Uint8Array>
118
+ | ReadableStream<Uint8Array>
119
+ | ReadableStream<Uint8Array>
120
+ | ReadableStream<Uint8Array>
121
+ | ReadableStream<Uint8Array>
122
+ | ReadableStream<Uint8Array>
123
+ | ReadableStream<Uint8Array>
124
+ | ReadableStream<Uint8Array>
125
+ | ReadableStream<Uint8Array>
126
+ | ReadableStream<Uint8Array>
127
+ | ReadableStream<Uint8Array>
128
+ | ReadableStream<Uint8Array>
129
+ | ReadableStream<Uint8Array>;
130
+
131
+ /** @internal */
132
+ export const GetSpeechToTextHistoryContentResponse$outboundSchema: z.ZodType<
133
+ GetSpeechToTextHistoryContentResponse$Outbound,
134
+ z.ZodTypeDef,
135
+ GetSpeechToTextHistoryContentResponse
136
+ > = z.union([
137
+ z.instanceof(ReadableStream<Uint8Array>),
138
+ z.instanceof(ReadableStream<Uint8Array>),
139
+ z.instanceof(ReadableStream<Uint8Array>),
140
+ z.instanceof(ReadableStream<Uint8Array>),
141
+ z.instanceof(ReadableStream<Uint8Array>),
142
+ z.instanceof(ReadableStream<Uint8Array>),
143
+ z.instanceof(ReadableStream<Uint8Array>),
144
+ z.instanceof(ReadableStream<Uint8Array>),
145
+ z.instanceof(ReadableStream<Uint8Array>),
146
+ z.instanceof(ReadableStream<Uint8Array>),
147
+ z.instanceof(ReadableStream<Uint8Array>),
148
+ z.instanceof(ReadableStream<Uint8Array>),
149
+ z.instanceof(ReadableStream<Uint8Array>),
150
+ z.instanceof(ReadableStream<Uint8Array>),
151
+ z.instanceof(ReadableStream<Uint8Array>),
152
+ ]);
153
+
154
+ export function getSpeechToTextHistoryContentResponseToJSON(
155
+ getSpeechToTextHistoryContentResponse: GetSpeechToTextHistoryContentResponse,
156
+ ): string {
157
+ return JSON.stringify(
158
+ GetSpeechToTextHistoryContentResponse$outboundSchema.parse(
159
+ getSpeechToTextHistoryContentResponse,
160
+ ),
161
+ );
162
+ }
163
+ export function getSpeechToTextHistoryContentResponseFromJSON(
164
+ jsonString: string,
165
+ ): SafeParseResult<GetSpeechToTextHistoryContentResponse, SDKValidationError> {
166
+ return safeParse(
167
+ jsonString,
168
+ (x) =>
169
+ GetSpeechToTextHistoryContentResponse$inboundSchema.parse(JSON.parse(x)),
170
+ `Failed to parse 'GetSpeechToTextHistoryContentResponse' from JSON`,
171
+ );
172
+ }
@@ -69,6 +69,17 @@ export const ListModelsWeights = {
69
69
  } as const;
70
70
  export type ListModelsWeights = ClosedEnum<typeof ListModelsWeights>;
71
71
 
72
+ export type TtsVoices = {
73
+ id: string;
74
+ name: string;
75
+ language: string;
76
+ };
77
+
78
+ export type ListModelsTts = {
79
+ defaultVoice: { [k: string]: string };
80
+ voices: Array<TtsVoices>;
81
+ };
82
+
72
83
  /**
73
84
  * `active`, `deprecated` (still served, retirement announced or pending) or `retired` (the retirement date has passed). Informational in this version: the gateway does not yet refuse a retired model.
74
85
  */
@@ -196,6 +207,10 @@ export type ListModelsData = {
196
207
  * Languages the model is intended for, as ISO 639-1 codes, mirroring `modelCard.languages`. Null when unrecorded.
197
208
  */
198
209
  languages: Array<string> | null;
210
+ /**
211
+ * Available public TTS voices and default voice IDs by language. Provider voice identifiers are not exposed.
212
+ */
213
+ tts: ListModelsTts | null;
199
214
  /**
200
215
  * Known limitations in one short paragraph, mirroring `modelCard.limitations`. Null when unrecorded.
201
216
  */
@@ -418,6 +433,93 @@ export const ListModelsWeights$outboundSchema: z.ZodNativeEnum<
418
433
  typeof ListModelsWeights
419
434
  > = ListModelsWeights$inboundSchema;
420
435
 
436
+ /** @internal */
437
+ export const TtsVoices$inboundSchema: z.ZodType<
438
+ TtsVoices,
439
+ z.ZodTypeDef,
440
+ unknown
441
+ > = z.object({
442
+ id: z.string(),
443
+ name: z.string(),
444
+ language: z.string(),
445
+ });
446
+ /** @internal */
447
+ export type TtsVoices$Outbound = {
448
+ id: string;
449
+ name: string;
450
+ language: string;
451
+ };
452
+
453
+ /** @internal */
454
+ export const TtsVoices$outboundSchema: z.ZodType<
455
+ TtsVoices$Outbound,
456
+ z.ZodTypeDef,
457
+ TtsVoices
458
+ > = z.object({
459
+ id: z.string(),
460
+ name: z.string(),
461
+ language: z.string(),
462
+ });
463
+
464
+ export function ttsVoicesToJSON(ttsVoices: TtsVoices): string {
465
+ return JSON.stringify(TtsVoices$outboundSchema.parse(ttsVoices));
466
+ }
467
+ export function ttsVoicesFromJSON(
468
+ jsonString: string,
469
+ ): SafeParseResult<TtsVoices, SDKValidationError> {
470
+ return safeParse(
471
+ jsonString,
472
+ (x) => TtsVoices$inboundSchema.parse(JSON.parse(x)),
473
+ `Failed to parse 'TtsVoices' from JSON`,
474
+ );
475
+ }
476
+
477
+ /** @internal */
478
+ export const ListModelsTts$inboundSchema: z.ZodType<
479
+ ListModelsTts,
480
+ z.ZodTypeDef,
481
+ unknown
482
+ > = z.object({
483
+ default_voice: z.record(z.string()),
484
+ voices: z.array(z.lazy(() => TtsVoices$inboundSchema)),
485
+ }).transform((v) => {
486
+ return remap$(v, {
487
+ "default_voice": "defaultVoice",
488
+ });
489
+ });
490
+ /** @internal */
491
+ export type ListModelsTts$Outbound = {
492
+ default_voice: { [k: string]: string };
493
+ voices: Array<TtsVoices$Outbound>;
494
+ };
495
+
496
+ /** @internal */
497
+ export const ListModelsTts$outboundSchema: z.ZodType<
498
+ ListModelsTts$Outbound,
499
+ z.ZodTypeDef,
500
+ ListModelsTts
501
+ > = z.object({
502
+ defaultVoice: z.record(z.string()),
503
+ voices: z.array(z.lazy(() => TtsVoices$outboundSchema)),
504
+ }).transform((v) => {
505
+ return remap$(v, {
506
+ defaultVoice: "default_voice",
507
+ });
508
+ });
509
+
510
+ export function listModelsTtsToJSON(listModelsTts: ListModelsTts): string {
511
+ return JSON.stringify(ListModelsTts$outboundSchema.parse(listModelsTts));
512
+ }
513
+ export function listModelsTtsFromJSON(
514
+ jsonString: string,
515
+ ): SafeParseResult<ListModelsTts, SDKValidationError> {
516
+ return safeParse(
517
+ jsonString,
518
+ (x) => ListModelsTts$inboundSchema.parse(JSON.parse(x)),
519
+ `Failed to parse 'ListModelsTts' from JSON`,
520
+ );
521
+ }
522
+
421
523
  /** @internal */
422
524
  export const ListModelsStatus$inboundSchema: z.ZodNativeEnum<
423
525
  typeof ListModelsStatus
@@ -584,6 +686,7 @@ export const ListModelsData$inboundSchema: z.ZodType<
584
686
  weights: z.nullable(ListModelsWeights$inboundSchema),
585
687
  license: z.nullable(z.string()),
586
688
  languages: z.nullable(z.array(z.string())),
689
+ tts: z.nullable(z.lazy(() => ListModelsTts$inboundSchema)),
587
690
  limitations: z.nullable(z.string()),
588
691
  lifecycle: z.lazy(() => ListModelsLifecycle$inboundSchema),
589
692
  capabilities: z.lazy(() => ListModelsCapabilities$inboundSchema),
@@ -626,6 +729,7 @@ export type ListModelsData$Outbound = {
626
729
  weights: string | null;
627
730
  license: string | null;
628
731
  languages: Array<string> | null;
732
+ tts: ListModelsTts$Outbound | null;
629
733
  limitations: string | null;
630
734
  lifecycle: ListModelsLifecycle$Outbound;
631
735
  capabilities: ListModelsCapabilities$Outbound;
@@ -663,6 +767,7 @@ export const ListModelsData$outboundSchema: z.ZodType<
663
767
  weights: z.nullable(ListModelsWeights$outboundSchema),
664
768
  license: z.nullable(z.string()),
665
769
  languages: z.nullable(z.array(z.string())),
770
+ tts: z.nullable(z.lazy(() => ListModelsTts$outboundSchema)),
666
771
  limitations: z.nullable(z.string()),
667
772
  lifecycle: z.lazy(() => ListModelsLifecycle$outboundSchema),
668
773
  capabilities: z.lazy(() => ListModelsCapabilities$outboundSchema),
@@ -8,20 +8,24 @@ import {
8
8
  QueryKey,
9
9
  } from "@tanstack/react-query";
10
10
  import { SDKCore } from "../core.js";
11
- import { llmSpeechGetTranscriptionHistoryContent } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
11
+ import {
12
+ GetTranscriptionHistoryContentAcceptEnum,
13
+ llmSpeechGetTranscriptionHistoryContent,
14
+ } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
12
15
  import { combineSignals } from "../lib/primitives.js";
13
16
  import { RequestOptions } from "../lib/sdks.js";
14
17
  import * as operations from "../models/operations/index.js";
15
18
  import { unwrapAsync } from "../types/fp.js";
16
- export type LlmSpeechGetTranscriptionHistoryContentQueryData = ReadableStream<
17
- Uint8Array
18
- >;
19
+ export type LlmSpeechGetTranscriptionHistoryContentQueryData =
20
+ operations.GetSpeechToTextHistoryContentResponse;
19
21
 
20
22
  export function prefetchLlmSpeechGetTranscriptionHistoryContent(
21
23
  queryClient: QueryClient,
22
24
  client$: SDKCore,
23
25
  request: operations.GetSpeechToTextHistoryContentRequest,
24
- options?: RequestOptions,
26
+ options?: RequestOptions & {
27
+ acceptHeaderOverride?: GetTranscriptionHistoryContentAcceptEnum;
28
+ },
25
29
  ): Promise<void> {
26
30
  return queryClient.prefetchQuery({
27
31
  ...buildLlmSpeechGetTranscriptionHistoryContentQuery(
@@ -35,7 +39,9 @@ export function prefetchLlmSpeechGetTranscriptionHistoryContent(
35
39
  export function buildLlmSpeechGetTranscriptionHistoryContentQuery(
36
40
  client$: SDKCore,
37
41
  request: operations.GetSpeechToTextHistoryContentRequest,
38
- options?: RequestOptions,
42
+ options?: RequestOptions & {
43
+ acceptHeaderOverride?: GetTranscriptionHistoryContentAcceptEnum;
44
+ },
39
45
  ): {
40
46
  queryKey: QueryKey;
41
47
  queryFn: (
@@ -50,6 +50,8 @@ export type LlmSpeechGetTranscriptionHistoryContentQueryError =
50
50
  | UnexpectedClientError
51
51
  | SDKValidationError;
52
52
 
53
+ export { GetTranscriptionHistoryContentAcceptEnum } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
54
+
53
55
  /**
54
56
  * Retrieve speech-to-text audio
55
57
  *
@@ -52,6 +52,7 @@ export type LlmSpeechSpeakMutationError =
52
52
  * **Request Body:**
53
53
  * - `text`: Input text to convert to speech - required
54
54
  * - `language`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
55
+ * - `voice`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured `meetkai:speech` model exposing `sophia`; use IDs advertised by your deployment
55
56
  * - `model`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider
56
57
  *
57
58
  * **Response:** Returns audio file in WAV format with X-Language-Code header. When `store` is `true`, the generation is persisted before the response returns and the new history record id is included in the X-Tts-Id header.
@@ -67,6 +67,7 @@ export type LlmSpeechSpeakStreamingMutationError =
67
67
  * - `text`: Input text to convert to speech - required
68
68
  * - `language`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
69
69
  * - `format`: Audio format (default: "mp3") - "mp3" for compressed MPEG audio (96 kbps) or "pcm" for uncompressed WAV
70
+ * - `voice`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured `meetkai:speech` model exposing `sophia`; use IDs advertised by your deployment
70
71
  * - `model`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider (note: not all providers support `format: "mp3"`)
71
72
  *
72
73
  * **Response:**
package/src/sdk/speech.ts CHANGED
@@ -5,7 +5,10 @@
5
5
  import { llmSpeechDeleteTranscriptionHistory } from "../funcs/llmSpeechDeleteTranscriptionHistory.js";
6
6
  import { llmSpeechDeleteTtsHistory } from "../funcs/llmSpeechDeleteTtsHistory.js";
7
7
  import { llmSpeechGetTranscriptionHistory } from "../funcs/llmSpeechGetTranscriptionHistory.js";
8
- import { llmSpeechGetTranscriptionHistoryContent } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
8
+ import {
9
+ GetTranscriptionHistoryContentAcceptEnum,
10
+ llmSpeechGetTranscriptionHistoryContent,
11
+ } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
9
12
  import { llmSpeechGetTtsHistory } from "../funcs/llmSpeechGetTtsHistory.js";
10
13
  import {
11
14
  GetTtsHistoryContentAcceptEnum,
@@ -29,6 +32,8 @@ export { SpeakStreamingAcceptEnum } from "../funcs/llmSpeechSpeakStreaming.js";
29
32
 
30
33
  export { GetTtsHistoryContentAcceptEnum } from "../funcs/llmSpeechGetTtsHistoryContent.js";
31
34
 
35
+ export { GetTranscriptionHistoryContentAcceptEnum } from "../funcs/llmSpeechGetTranscriptionHistoryContent.js";
36
+
32
37
  export class Speech extends ClientSDK {
33
38
  /**
34
39
  * Speech to text transcription
@@ -87,6 +92,7 @@ export class Speech extends ClientSDK {
87
92
  * **Request Body:**
88
93
  * - `text`: Input text to convert to speech - required
89
94
  * - `language`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
95
+ * - `voice`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured `meetkai:speech` model exposing `sophia`; use IDs advertised by your deployment
90
96
  * - `model`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider
91
97
  *
92
98
  * **Response:** Returns audio file in WAV format with X-Language-Code header. When `store` is `true`, the generation is persisted before the response returns and the new history record id is included in the X-Tts-Id header.
@@ -118,6 +124,7 @@ export class Speech extends ClientSDK {
118
124
  * - `text`: Input text to convert to speech - required
119
125
  * - `language`: Language code (default: "auto") - "auto" for automatic detection, or one of the supported ISO 639-1 codes: en, zh, hi, es, ar, bn, pt, ru, ja, pa, de, ko, fr, tr, it, th, pl, nl, id, vi, ur, uk
120
126
  * - `format`: Audio format (default: "mp3") - "mp3" for compressed MPEG audio (96 kbps) or "pcm" for uncompressed WAV
127
+ * - `voice`: Optional public voice ID from model discovery; otherwise the resolved language selects its configured default. The example assumes an operator-configured `meetkai:speech` model exposing `sophia`; use IDs advertised by your deployment
121
128
  * - `model`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider (note: not all providers support `format: "mp3"`)
122
129
  *
123
130
  * **Response:**
@@ -290,8 +297,10 @@ export class Speech extends ClientSDK {
290
297
  */
291
298
  async getTranscriptionHistoryContent(
292
299
  request: operations.GetSpeechToTextHistoryContentRequest,
293
- options?: RequestOptions,
294
- ): Promise<ReadableStream<Uint8Array>> {
300
+ options?: RequestOptions & {
301
+ acceptHeaderOverride?: GetTranscriptionHistoryContentAcceptEnum;
302
+ },
303
+ ): Promise<operations.GetSpeechToTextHistoryContentResponse> {
295
304
  return unwrapAsync(llmSpeechGetTranscriptionHistoryContent(
296
305
  this,
297
306
  request,