@modelcontextprotocol/sdk 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -18
- package/dist/cjs/client/auth.d.ts +2 -1
- package/dist/cjs/client/auth.d.ts.map +1 -1
- package/dist/cjs/client/auth.js +3 -1
- package/dist/cjs/client/auth.js.map +1 -1
- package/dist/cjs/client/index.d.ts +49 -1
- package/dist/cjs/client/index.d.ts.map +1 -1
- package/dist/cjs/client/index.js +4 -4
- package/dist/cjs/client/index.js.map +1 -1
- package/dist/cjs/client/stdio.d.ts.map +1 -1
- package/dist/cjs/client/stdio.js +2 -2
- package/dist/cjs/client/stdio.js.map +1 -1
- package/dist/cjs/server/auth/handlers/token.d.ts.map +1 -1
- package/dist/cjs/server/auth/handlers/token.js +10 -5
- package/dist/cjs/server/auth/handlers/token.js.map +1 -1
- package/dist/cjs/server/auth/provider.d.ts +9 -1
- package/dist/cjs/server/auth/provider.d.ts.map +1 -1
- package/dist/cjs/server/auth/providers/proxyProvider.d.ts +43 -0
- package/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/dist/cjs/server/auth/providers/proxyProvider.js +145 -0
- package/dist/cjs/server/auth/providers/proxyProvider.js.map +1 -0
- package/dist/cjs/server/auth/router.d.ts +6 -0
- package/dist/cjs/server/auth/router.d.ts.map +1 -1
- package/dist/cjs/server/auth/router.js +5 -4
- package/dist/cjs/server/auth/router.js.map +1 -1
- package/dist/cjs/server/index.d.ts +12 -0
- package/dist/cjs/server/index.d.ts.map +1 -1
- package/dist/cjs/server/sse.js +1 -1
- package/dist/cjs/server/sse.js.map +1 -1
- package/dist/cjs/shared/protocol.d.ts.map +1 -1
- package/dist/cjs/shared/protocol.js +6 -4
- package/dist/cjs/shared/protocol.js.map +1 -1
- package/dist/cjs/shared/stdio.js +1 -1
- package/dist/cjs/shared/stdio.js.map +1 -1
- package/dist/cjs/shared/uriTemplate.d.ts +1 -0
- package/dist/cjs/shared/uriTemplate.d.ts.map +1 -1
- package/dist/cjs/shared/uriTemplate.js +3 -0
- package/dist/cjs/shared/uriTemplate.js.map +1 -1
- package/dist/cjs/types.d.ts +1984 -35
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/cjs/types.js +25 -3
- package/dist/cjs/types.js.map +1 -1
- package/dist/esm/client/auth.d.ts +2 -1
- package/dist/esm/client/auth.d.ts.map +1 -1
- package/dist/esm/client/auth.js +3 -1
- package/dist/esm/client/auth.js.map +1 -1
- package/dist/esm/client/index.d.ts +49 -1
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +4 -4
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/client/stdio.d.ts.map +1 -1
- package/dist/esm/client/stdio.js +1 -1
- package/dist/esm/client/stdio.js.map +1 -1
- package/dist/esm/server/auth/handlers/token.d.ts.map +1 -1
- package/dist/esm/server/auth/handlers/token.js +10 -5
- package/dist/esm/server/auth/handlers/token.js.map +1 -1
- package/dist/esm/server/auth/provider.d.ts +9 -1
- package/dist/esm/server/auth/provider.d.ts.map +1 -1
- package/dist/esm/server/auth/providers/proxyProvider.d.ts +43 -0
- package/dist/esm/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/dist/esm/server/auth/providers/proxyProvider.js +141 -0
- package/dist/esm/server/auth/providers/proxyProvider.js.map +1 -0
- package/dist/esm/server/auth/router.d.ts +6 -0
- package/dist/esm/server/auth/router.d.ts.map +1 -1
- package/dist/esm/server/auth/router.js +5 -4
- package/dist/esm/server/auth/router.js.map +1 -1
- package/dist/esm/server/index.d.ts +12 -0
- package/dist/esm/server/index.d.ts.map +1 -1
- package/dist/esm/server/sse.js +1 -1
- package/dist/esm/server/sse.js.map +1 -1
- package/dist/esm/shared/protocol.d.ts.map +1 -1
- package/dist/esm/shared/protocol.js +6 -4
- package/dist/esm/shared/protocol.js.map +1 -1
- package/dist/esm/shared/stdio.js +1 -1
- package/dist/esm/shared/stdio.js.map +1 -1
- package/dist/esm/shared/uriTemplate.d.ts +1 -0
- package/dist/esm/shared/uriTemplate.d.ts.map +1 -1
- package/dist/esm/shared/uriTemplate.js +3 -0
- package/dist/esm/shared/uriTemplate.js.map +1 -1
- package/dist/esm/types.d.ts +1984 -35
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/types.js +24 -2
- package/dist/esm/types.js.map +1 -1
- package/package.json +4 -2
package/dist/cjs/types.d.ts
CHANGED
|
@@ -1316,6 +1316,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1316
1316
|
* Present if the server supports sending log messages to the client.
|
|
1317
1317
|
*/
|
|
1318
1318
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Present if the server supports sending completions to the client.
|
|
1321
|
+
*/
|
|
1322
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1319
1323
|
/**
|
|
1320
1324
|
* Present if the server offers any prompt templates.
|
|
1321
1325
|
*/
|
|
@@ -1394,6 +1398,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1394
1398
|
* Present if the server supports sending log messages to the client.
|
|
1395
1399
|
*/
|
|
1396
1400
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Present if the server supports sending completions to the client.
|
|
1403
|
+
*/
|
|
1404
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1397
1405
|
/**
|
|
1398
1406
|
* Present if the server offers any prompt templates.
|
|
1399
1407
|
*/
|
|
@@ -1472,6 +1480,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1472
1480
|
* Present if the server supports sending log messages to the client.
|
|
1473
1481
|
*/
|
|
1474
1482
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Present if the server supports sending completions to the client.
|
|
1485
|
+
*/
|
|
1486
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1475
1487
|
/**
|
|
1476
1488
|
* Present if the server offers any prompt templates.
|
|
1477
1489
|
*/
|
|
@@ -1564,6 +1576,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1564
1576
|
* Present if the server supports sending log messages to the client.
|
|
1565
1577
|
*/
|
|
1566
1578
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1579
|
+
/**
|
|
1580
|
+
* Present if the server supports sending completions to the client.
|
|
1581
|
+
*/
|
|
1582
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1567
1583
|
/**
|
|
1568
1584
|
* Present if the server offers any prompt templates.
|
|
1569
1585
|
*/
|
|
@@ -1642,6 +1658,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1642
1658
|
* Present if the server supports sending log messages to the client.
|
|
1643
1659
|
*/
|
|
1644
1660
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1661
|
+
/**
|
|
1662
|
+
* Present if the server supports sending completions to the client.
|
|
1663
|
+
*/
|
|
1664
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1645
1665
|
/**
|
|
1646
1666
|
* Present if the server offers any prompt templates.
|
|
1647
1667
|
*/
|
|
@@ -1720,6 +1740,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1720
1740
|
* Present if the server supports sending log messages to the client.
|
|
1721
1741
|
*/
|
|
1722
1742
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Present if the server supports sending completions to the client.
|
|
1745
|
+
*/
|
|
1746
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1723
1747
|
/**
|
|
1724
1748
|
* Present if the server offers any prompt templates.
|
|
1725
1749
|
*/
|
|
@@ -1825,6 +1849,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1825
1849
|
* Present if the server supports sending log messages to the client.
|
|
1826
1850
|
*/
|
|
1827
1851
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Present if the server supports sending completions to the client.
|
|
1854
|
+
*/
|
|
1855
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1828
1856
|
/**
|
|
1829
1857
|
* Present if the server offers any prompt templates.
|
|
1830
1858
|
*/
|
|
@@ -1903,6 +1931,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1903
1931
|
* Present if the server supports sending log messages to the client.
|
|
1904
1932
|
*/
|
|
1905
1933
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1934
|
+
/**
|
|
1935
|
+
* Present if the server supports sending completions to the client.
|
|
1936
|
+
*/
|
|
1937
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1906
1938
|
/**
|
|
1907
1939
|
* Present if the server offers any prompt templates.
|
|
1908
1940
|
*/
|
|
@@ -1981,6 +2013,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1981
2013
|
* Present if the server supports sending log messages to the client.
|
|
1982
2014
|
*/
|
|
1983
2015
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Present if the server supports sending completions to the client.
|
|
2018
|
+
*/
|
|
2019
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1984
2020
|
/**
|
|
1985
2021
|
* Present if the server offers any prompt templates.
|
|
1986
2022
|
*/
|
|
@@ -2086,6 +2122,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2086
2122
|
* Present if the server supports sending log messages to the client.
|
|
2087
2123
|
*/
|
|
2088
2124
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Present if the server supports sending completions to the client.
|
|
2127
|
+
*/
|
|
2128
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2089
2129
|
/**
|
|
2090
2130
|
* Present if the server offers any prompt templates.
|
|
2091
2131
|
*/
|
|
@@ -2164,6 +2204,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2164
2204
|
* Present if the server supports sending log messages to the client.
|
|
2165
2205
|
*/
|
|
2166
2206
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2207
|
+
/**
|
|
2208
|
+
* Present if the server supports sending completions to the client.
|
|
2209
|
+
*/
|
|
2210
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2167
2211
|
/**
|
|
2168
2212
|
* Present if the server offers any prompt templates.
|
|
2169
2213
|
*/
|
|
@@ -2242,6 +2286,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2242
2286
|
* Present if the server supports sending log messages to the client.
|
|
2243
2287
|
*/
|
|
2244
2288
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2289
|
+
/**
|
|
2290
|
+
* Present if the server supports sending completions to the client.
|
|
2291
|
+
*/
|
|
2292
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2245
2293
|
/**
|
|
2246
2294
|
* Present if the server offers any prompt templates.
|
|
2247
2295
|
*/
|
|
@@ -5859,6 +5907,40 @@ export declare const ImageContentSchema: z.ZodObject<{
|
|
|
5859
5907
|
*/
|
|
5860
5908
|
mimeType: z.ZodString;
|
|
5861
5909
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5910
|
+
/**
|
|
5911
|
+
* An Audio provided to or from an LLM.
|
|
5912
|
+
*/
|
|
5913
|
+
export declare const AudioContentSchema: z.ZodObject<{
|
|
5914
|
+
type: z.ZodLiteral<"audio">;
|
|
5915
|
+
/**
|
|
5916
|
+
* The base64-encoded audio data.
|
|
5917
|
+
*/
|
|
5918
|
+
data: z.ZodString;
|
|
5919
|
+
/**
|
|
5920
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
5921
|
+
*/
|
|
5922
|
+
mimeType: z.ZodString;
|
|
5923
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5924
|
+
type: z.ZodLiteral<"audio">;
|
|
5925
|
+
/**
|
|
5926
|
+
* The base64-encoded audio data.
|
|
5927
|
+
*/
|
|
5928
|
+
data: z.ZodString;
|
|
5929
|
+
/**
|
|
5930
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
5931
|
+
*/
|
|
5932
|
+
mimeType: z.ZodString;
|
|
5933
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5934
|
+
type: z.ZodLiteral<"audio">;
|
|
5935
|
+
/**
|
|
5936
|
+
* The base64-encoded audio data.
|
|
5937
|
+
*/
|
|
5938
|
+
data: z.ZodString;
|
|
5939
|
+
/**
|
|
5940
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
5941
|
+
*/
|
|
5942
|
+
mimeType: z.ZodString;
|
|
5943
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5862
5944
|
/**
|
|
5863
5945
|
* The contents of a resource, embedded into a prompt or tool call result.
|
|
5864
5946
|
*/
|
|
@@ -6177,6 +6259,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
|
|
|
6177
6259
|
* The MIME type of the image. Different providers may support different image types.
|
|
6178
6260
|
*/
|
|
6179
6261
|
mimeType: z.ZodString;
|
|
6262
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6263
|
+
type: z.ZodLiteral<"audio">;
|
|
6264
|
+
/**
|
|
6265
|
+
* The base64-encoded audio data.
|
|
6266
|
+
*/
|
|
6267
|
+
data: z.ZodString;
|
|
6268
|
+
/**
|
|
6269
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6270
|
+
*/
|
|
6271
|
+
mimeType: z.ZodString;
|
|
6272
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6273
|
+
type: z.ZodLiteral<"audio">;
|
|
6274
|
+
/**
|
|
6275
|
+
* The base64-encoded audio data.
|
|
6276
|
+
*/
|
|
6277
|
+
data: z.ZodString;
|
|
6278
|
+
/**
|
|
6279
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6280
|
+
*/
|
|
6281
|
+
mimeType: z.ZodString;
|
|
6282
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6283
|
+
type: z.ZodLiteral<"audio">;
|
|
6284
|
+
/**
|
|
6285
|
+
* The base64-encoded audio data.
|
|
6286
|
+
*/
|
|
6287
|
+
data: z.ZodString;
|
|
6288
|
+
/**
|
|
6289
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6290
|
+
*/
|
|
6291
|
+
mimeType: z.ZodString;
|
|
6180
6292
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6181
6293
|
type: z.ZodLiteral<"resource">;
|
|
6182
6294
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -6489,6 +6601,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
|
|
|
6489
6601
|
* The MIME type of the image. Different providers may support different image types.
|
|
6490
6602
|
*/
|
|
6491
6603
|
mimeType: z.ZodString;
|
|
6604
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6605
|
+
type: z.ZodLiteral<"audio">;
|
|
6606
|
+
/**
|
|
6607
|
+
* The base64-encoded audio data.
|
|
6608
|
+
*/
|
|
6609
|
+
data: z.ZodString;
|
|
6610
|
+
/**
|
|
6611
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6612
|
+
*/
|
|
6613
|
+
mimeType: z.ZodString;
|
|
6614
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6615
|
+
type: z.ZodLiteral<"audio">;
|
|
6616
|
+
/**
|
|
6617
|
+
* The base64-encoded audio data.
|
|
6618
|
+
*/
|
|
6619
|
+
data: z.ZodString;
|
|
6620
|
+
/**
|
|
6621
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6622
|
+
*/
|
|
6623
|
+
mimeType: z.ZodString;
|
|
6624
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6625
|
+
type: z.ZodLiteral<"audio">;
|
|
6626
|
+
/**
|
|
6627
|
+
* The base64-encoded audio data.
|
|
6628
|
+
*/
|
|
6629
|
+
data: z.ZodString;
|
|
6630
|
+
/**
|
|
6631
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6632
|
+
*/
|
|
6633
|
+
mimeType: z.ZodString;
|
|
6492
6634
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6493
6635
|
type: z.ZodLiteral<"resource">;
|
|
6494
6636
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -6801,6 +6943,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
|
|
|
6801
6943
|
* The MIME type of the image. Different providers may support different image types.
|
|
6802
6944
|
*/
|
|
6803
6945
|
mimeType: z.ZodString;
|
|
6946
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6947
|
+
type: z.ZodLiteral<"audio">;
|
|
6948
|
+
/**
|
|
6949
|
+
* The base64-encoded audio data.
|
|
6950
|
+
*/
|
|
6951
|
+
data: z.ZodString;
|
|
6952
|
+
/**
|
|
6953
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6954
|
+
*/
|
|
6955
|
+
mimeType: z.ZodString;
|
|
6956
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6957
|
+
type: z.ZodLiteral<"audio">;
|
|
6958
|
+
/**
|
|
6959
|
+
* The base64-encoded audio data.
|
|
6960
|
+
*/
|
|
6961
|
+
data: z.ZodString;
|
|
6962
|
+
/**
|
|
6963
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6964
|
+
*/
|
|
6965
|
+
mimeType: z.ZodString;
|
|
6966
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6967
|
+
type: z.ZodLiteral<"audio">;
|
|
6968
|
+
/**
|
|
6969
|
+
* The base64-encoded audio data.
|
|
6970
|
+
*/
|
|
6971
|
+
data: z.ZodString;
|
|
6972
|
+
/**
|
|
6973
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
6974
|
+
*/
|
|
6975
|
+
mimeType: z.ZodString;
|
|
6804
6976
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6805
6977
|
type: z.ZodLiteral<"resource">;
|
|
6806
6978
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -7127,6 +7299,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
7127
7299
|
* The MIME type of the image. Different providers may support different image types.
|
|
7128
7300
|
*/
|
|
7129
7301
|
mimeType: z.ZodString;
|
|
7302
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7303
|
+
type: z.ZodLiteral<"audio">;
|
|
7304
|
+
/**
|
|
7305
|
+
* The base64-encoded audio data.
|
|
7306
|
+
*/
|
|
7307
|
+
data: z.ZodString;
|
|
7308
|
+
/**
|
|
7309
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7310
|
+
*/
|
|
7311
|
+
mimeType: z.ZodString;
|
|
7312
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7313
|
+
type: z.ZodLiteral<"audio">;
|
|
7314
|
+
/**
|
|
7315
|
+
* The base64-encoded audio data.
|
|
7316
|
+
*/
|
|
7317
|
+
data: z.ZodString;
|
|
7318
|
+
/**
|
|
7319
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7320
|
+
*/
|
|
7321
|
+
mimeType: z.ZodString;
|
|
7322
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7323
|
+
type: z.ZodLiteral<"audio">;
|
|
7324
|
+
/**
|
|
7325
|
+
* The base64-encoded audio data.
|
|
7326
|
+
*/
|
|
7327
|
+
data: z.ZodString;
|
|
7328
|
+
/**
|
|
7329
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7330
|
+
*/
|
|
7331
|
+
mimeType: z.ZodString;
|
|
7130
7332
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7131
7333
|
type: z.ZodLiteral<"resource">;
|
|
7132
7334
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -7439,6 +7641,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
7439
7641
|
* The MIME type of the image. Different providers may support different image types.
|
|
7440
7642
|
*/
|
|
7441
7643
|
mimeType: z.ZodString;
|
|
7644
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7645
|
+
type: z.ZodLiteral<"audio">;
|
|
7646
|
+
/**
|
|
7647
|
+
* The base64-encoded audio data.
|
|
7648
|
+
*/
|
|
7649
|
+
data: z.ZodString;
|
|
7650
|
+
/**
|
|
7651
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7652
|
+
*/
|
|
7653
|
+
mimeType: z.ZodString;
|
|
7654
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7655
|
+
type: z.ZodLiteral<"audio">;
|
|
7656
|
+
/**
|
|
7657
|
+
* The base64-encoded audio data.
|
|
7658
|
+
*/
|
|
7659
|
+
data: z.ZodString;
|
|
7660
|
+
/**
|
|
7661
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7662
|
+
*/
|
|
7663
|
+
mimeType: z.ZodString;
|
|
7664
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7665
|
+
type: z.ZodLiteral<"audio">;
|
|
7666
|
+
/**
|
|
7667
|
+
* The base64-encoded audio data.
|
|
7668
|
+
*/
|
|
7669
|
+
data: z.ZodString;
|
|
7670
|
+
/**
|
|
7671
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7672
|
+
*/
|
|
7673
|
+
mimeType: z.ZodString;
|
|
7442
7674
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7443
7675
|
type: z.ZodLiteral<"resource">;
|
|
7444
7676
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -7751,6 +7983,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
7751
7983
|
* The MIME type of the image. Different providers may support different image types.
|
|
7752
7984
|
*/
|
|
7753
7985
|
mimeType: z.ZodString;
|
|
7986
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7987
|
+
type: z.ZodLiteral<"audio">;
|
|
7988
|
+
/**
|
|
7989
|
+
* The base64-encoded audio data.
|
|
7990
|
+
*/
|
|
7991
|
+
data: z.ZodString;
|
|
7992
|
+
/**
|
|
7993
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
7994
|
+
*/
|
|
7995
|
+
mimeType: z.ZodString;
|
|
7996
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7997
|
+
type: z.ZodLiteral<"audio">;
|
|
7998
|
+
/**
|
|
7999
|
+
* The base64-encoded audio data.
|
|
8000
|
+
*/
|
|
8001
|
+
data: z.ZodString;
|
|
8002
|
+
/**
|
|
8003
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8004
|
+
*/
|
|
8005
|
+
mimeType: z.ZodString;
|
|
8006
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8007
|
+
type: z.ZodLiteral<"audio">;
|
|
8008
|
+
/**
|
|
8009
|
+
* The base64-encoded audio data.
|
|
8010
|
+
*/
|
|
8011
|
+
data: z.ZodString;
|
|
8012
|
+
/**
|
|
8013
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8014
|
+
*/
|
|
8015
|
+
mimeType: z.ZodString;
|
|
7754
8016
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7755
8017
|
type: z.ZodLiteral<"resource">;
|
|
7756
8018
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -8074,6 +8336,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
8074
8336
|
* The MIME type of the image. Different providers may support different image types.
|
|
8075
8337
|
*/
|
|
8076
8338
|
mimeType: z.ZodString;
|
|
8339
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8340
|
+
type: z.ZodLiteral<"audio">;
|
|
8341
|
+
/**
|
|
8342
|
+
* The base64-encoded audio data.
|
|
8343
|
+
*/
|
|
8344
|
+
data: z.ZodString;
|
|
8345
|
+
/**
|
|
8346
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8347
|
+
*/
|
|
8348
|
+
mimeType: z.ZodString;
|
|
8349
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8350
|
+
type: z.ZodLiteral<"audio">;
|
|
8351
|
+
/**
|
|
8352
|
+
* The base64-encoded audio data.
|
|
8353
|
+
*/
|
|
8354
|
+
data: z.ZodString;
|
|
8355
|
+
/**
|
|
8356
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8357
|
+
*/
|
|
8358
|
+
mimeType: z.ZodString;
|
|
8359
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8360
|
+
type: z.ZodLiteral<"audio">;
|
|
8361
|
+
/**
|
|
8362
|
+
* The base64-encoded audio data.
|
|
8363
|
+
*/
|
|
8364
|
+
data: z.ZodString;
|
|
8365
|
+
/**
|
|
8366
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8367
|
+
*/
|
|
8368
|
+
mimeType: z.ZodString;
|
|
8077
8369
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8078
8370
|
type: z.ZodLiteral<"resource">;
|
|
8079
8371
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -8386,6 +8678,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
8386
8678
|
* The MIME type of the image. Different providers may support different image types.
|
|
8387
8679
|
*/
|
|
8388
8680
|
mimeType: z.ZodString;
|
|
8681
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8682
|
+
type: z.ZodLiteral<"audio">;
|
|
8683
|
+
/**
|
|
8684
|
+
* The base64-encoded audio data.
|
|
8685
|
+
*/
|
|
8686
|
+
data: z.ZodString;
|
|
8687
|
+
/**
|
|
8688
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8689
|
+
*/
|
|
8690
|
+
mimeType: z.ZodString;
|
|
8691
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8692
|
+
type: z.ZodLiteral<"audio">;
|
|
8693
|
+
/**
|
|
8694
|
+
* The base64-encoded audio data.
|
|
8695
|
+
*/
|
|
8696
|
+
data: z.ZodString;
|
|
8697
|
+
/**
|
|
8698
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8699
|
+
*/
|
|
8700
|
+
mimeType: z.ZodString;
|
|
8701
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8702
|
+
type: z.ZodLiteral<"audio">;
|
|
8703
|
+
/**
|
|
8704
|
+
* The base64-encoded audio data.
|
|
8705
|
+
*/
|
|
8706
|
+
data: z.ZodString;
|
|
8707
|
+
/**
|
|
8708
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
8709
|
+
*/
|
|
8710
|
+
mimeType: z.ZodString;
|
|
8389
8711
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8390
8712
|
type: z.ZodLiteral<"resource">;
|
|
8391
8713
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -8698,6 +9020,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
8698
9020
|
* The MIME type of the image. Different providers may support different image types.
|
|
8699
9021
|
*/
|
|
8700
9022
|
mimeType: z.ZodString;
|
|
9023
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9024
|
+
type: z.ZodLiteral<"audio">;
|
|
9025
|
+
/**
|
|
9026
|
+
* The base64-encoded audio data.
|
|
9027
|
+
*/
|
|
9028
|
+
data: z.ZodString;
|
|
9029
|
+
/**
|
|
9030
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9031
|
+
*/
|
|
9032
|
+
mimeType: z.ZodString;
|
|
9033
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9034
|
+
type: z.ZodLiteral<"audio">;
|
|
9035
|
+
/**
|
|
9036
|
+
* The base64-encoded audio data.
|
|
9037
|
+
*/
|
|
9038
|
+
data: z.ZodString;
|
|
9039
|
+
/**
|
|
9040
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9041
|
+
*/
|
|
9042
|
+
mimeType: z.ZodString;
|
|
9043
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9044
|
+
type: z.ZodLiteral<"audio">;
|
|
9045
|
+
/**
|
|
9046
|
+
* The base64-encoded audio data.
|
|
9047
|
+
*/
|
|
9048
|
+
data: z.ZodString;
|
|
9049
|
+
/**
|
|
9050
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9051
|
+
*/
|
|
9052
|
+
mimeType: z.ZodString;
|
|
8701
9053
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8702
9054
|
type: z.ZodLiteral<"resource">;
|
|
8703
9055
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -9022,26 +9374,56 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
9022
9374
|
*/
|
|
9023
9375
|
mimeType: z.ZodString;
|
|
9024
9376
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9025
|
-
type: z.ZodLiteral<"
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9377
|
+
type: z.ZodLiteral<"audio">;
|
|
9378
|
+
/**
|
|
9379
|
+
* The base64-encoded audio data.
|
|
9380
|
+
*/
|
|
9381
|
+
data: z.ZodString;
|
|
9382
|
+
/**
|
|
9383
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9384
|
+
*/
|
|
9385
|
+
mimeType: z.ZodString;
|
|
9386
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9387
|
+
type: z.ZodLiteral<"audio">;
|
|
9388
|
+
/**
|
|
9389
|
+
* The base64-encoded audio data.
|
|
9390
|
+
*/
|
|
9391
|
+
data: z.ZodString;
|
|
9392
|
+
/**
|
|
9393
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9394
|
+
*/
|
|
9395
|
+
mimeType: z.ZodString;
|
|
9396
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9397
|
+
type: z.ZodLiteral<"audio">;
|
|
9398
|
+
/**
|
|
9399
|
+
* The base64-encoded audio data.
|
|
9400
|
+
*/
|
|
9401
|
+
data: z.ZodString;
|
|
9402
|
+
/**
|
|
9403
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9404
|
+
*/
|
|
9405
|
+
mimeType: z.ZodString;
|
|
9406
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9407
|
+
type: z.ZodLiteral<"resource">;
|
|
9408
|
+
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
9409
|
+
/**
|
|
9410
|
+
* The URI of this resource.
|
|
9411
|
+
*/
|
|
9412
|
+
uri: z.ZodString;
|
|
9413
|
+
/**
|
|
9414
|
+
* The MIME type of this resource, if known.
|
|
9415
|
+
*/
|
|
9416
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
9417
|
+
}, {
|
|
9418
|
+
/**
|
|
9419
|
+
* The text of the item. This must only be set if the item can actually be represented as text (not binary data).
|
|
9420
|
+
*/
|
|
9421
|
+
text: z.ZodString;
|
|
9422
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
9423
|
+
/**
|
|
9424
|
+
* The URI of this resource.
|
|
9425
|
+
*/
|
|
9426
|
+
uri: z.ZodString;
|
|
9045
9427
|
/**
|
|
9046
9428
|
* The MIME type of this resource, if known.
|
|
9047
9429
|
*/
|
|
@@ -9333,6 +9715,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
9333
9715
|
* The MIME type of the image. Different providers may support different image types.
|
|
9334
9716
|
*/
|
|
9335
9717
|
mimeType: z.ZodString;
|
|
9718
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9719
|
+
type: z.ZodLiteral<"audio">;
|
|
9720
|
+
/**
|
|
9721
|
+
* The base64-encoded audio data.
|
|
9722
|
+
*/
|
|
9723
|
+
data: z.ZodString;
|
|
9724
|
+
/**
|
|
9725
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9726
|
+
*/
|
|
9727
|
+
mimeType: z.ZodString;
|
|
9728
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9729
|
+
type: z.ZodLiteral<"audio">;
|
|
9730
|
+
/**
|
|
9731
|
+
* The base64-encoded audio data.
|
|
9732
|
+
*/
|
|
9733
|
+
data: z.ZodString;
|
|
9734
|
+
/**
|
|
9735
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9736
|
+
*/
|
|
9737
|
+
mimeType: z.ZodString;
|
|
9738
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9739
|
+
type: z.ZodLiteral<"audio">;
|
|
9740
|
+
/**
|
|
9741
|
+
* The base64-encoded audio data.
|
|
9742
|
+
*/
|
|
9743
|
+
data: z.ZodString;
|
|
9744
|
+
/**
|
|
9745
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
9746
|
+
*/
|
|
9747
|
+
mimeType: z.ZodString;
|
|
9336
9748
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9337
9749
|
type: z.ZodLiteral<"resource">;
|
|
9338
9750
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -9645,6 +10057,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
9645
10057
|
* The MIME type of the image. Different providers may support different image types.
|
|
9646
10058
|
*/
|
|
9647
10059
|
mimeType: z.ZodString;
|
|
10060
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10061
|
+
type: z.ZodLiteral<"audio">;
|
|
10062
|
+
/**
|
|
10063
|
+
* The base64-encoded audio data.
|
|
10064
|
+
*/
|
|
10065
|
+
data: z.ZodString;
|
|
10066
|
+
/**
|
|
10067
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10068
|
+
*/
|
|
10069
|
+
mimeType: z.ZodString;
|
|
10070
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10071
|
+
type: z.ZodLiteral<"audio">;
|
|
10072
|
+
/**
|
|
10073
|
+
* The base64-encoded audio data.
|
|
10074
|
+
*/
|
|
10075
|
+
data: z.ZodString;
|
|
10076
|
+
/**
|
|
10077
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10078
|
+
*/
|
|
10079
|
+
mimeType: z.ZodString;
|
|
10080
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10081
|
+
type: z.ZodLiteral<"audio">;
|
|
10082
|
+
/**
|
|
10083
|
+
* The base64-encoded audio data.
|
|
10084
|
+
*/
|
|
10085
|
+
data: z.ZodString;
|
|
10086
|
+
/**
|
|
10087
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10088
|
+
*/
|
|
10089
|
+
mimeType: z.ZodString;
|
|
9648
10090
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9649
10091
|
type: z.ZodLiteral<"resource">;
|
|
9650
10092
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -10500,6 +10942,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
10500
10942
|
* The MIME type of the image. Different providers may support different image types.
|
|
10501
10943
|
*/
|
|
10502
10944
|
mimeType: z.ZodString;
|
|
10945
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10946
|
+
type: z.ZodLiteral<"audio">;
|
|
10947
|
+
/**
|
|
10948
|
+
* The base64-encoded audio data.
|
|
10949
|
+
*/
|
|
10950
|
+
data: z.ZodString;
|
|
10951
|
+
/**
|
|
10952
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10953
|
+
*/
|
|
10954
|
+
mimeType: z.ZodString;
|
|
10955
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10956
|
+
type: z.ZodLiteral<"audio">;
|
|
10957
|
+
/**
|
|
10958
|
+
* The base64-encoded audio data.
|
|
10959
|
+
*/
|
|
10960
|
+
data: z.ZodString;
|
|
10961
|
+
/**
|
|
10962
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10963
|
+
*/
|
|
10964
|
+
mimeType: z.ZodString;
|
|
10965
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10966
|
+
type: z.ZodLiteral<"audio">;
|
|
10967
|
+
/**
|
|
10968
|
+
* The base64-encoded audio data.
|
|
10969
|
+
*/
|
|
10970
|
+
data: z.ZodString;
|
|
10971
|
+
/**
|
|
10972
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
10973
|
+
*/
|
|
10974
|
+
mimeType: z.ZodString;
|
|
10503
10975
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10504
10976
|
type: z.ZodLiteral<"resource">;
|
|
10505
10977
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -10817,6 +11289,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
10817
11289
|
* The MIME type of the image. Different providers may support different image types.
|
|
10818
11290
|
*/
|
|
10819
11291
|
mimeType: z.ZodString;
|
|
11292
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11293
|
+
type: z.ZodLiteral<"audio">;
|
|
11294
|
+
/**
|
|
11295
|
+
* The base64-encoded audio data.
|
|
11296
|
+
*/
|
|
11297
|
+
data: z.ZodString;
|
|
11298
|
+
/**
|
|
11299
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11300
|
+
*/
|
|
11301
|
+
mimeType: z.ZodString;
|
|
11302
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11303
|
+
type: z.ZodLiteral<"audio">;
|
|
11304
|
+
/**
|
|
11305
|
+
* The base64-encoded audio data.
|
|
11306
|
+
*/
|
|
11307
|
+
data: z.ZodString;
|
|
11308
|
+
/**
|
|
11309
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11310
|
+
*/
|
|
11311
|
+
mimeType: z.ZodString;
|
|
11312
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11313
|
+
type: z.ZodLiteral<"audio">;
|
|
11314
|
+
/**
|
|
11315
|
+
* The base64-encoded audio data.
|
|
11316
|
+
*/
|
|
11317
|
+
data: z.ZodString;
|
|
11318
|
+
/**
|
|
11319
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11320
|
+
*/
|
|
11321
|
+
mimeType: z.ZodString;
|
|
10820
11322
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10821
11323
|
type: z.ZodLiteral<"resource">;
|
|
10822
11324
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -11134,6 +11636,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11134
11636
|
* The MIME type of the image. Different providers may support different image types.
|
|
11135
11637
|
*/
|
|
11136
11638
|
mimeType: z.ZodString;
|
|
11639
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11640
|
+
type: z.ZodLiteral<"audio">;
|
|
11641
|
+
/**
|
|
11642
|
+
* The base64-encoded audio data.
|
|
11643
|
+
*/
|
|
11644
|
+
data: z.ZodString;
|
|
11645
|
+
/**
|
|
11646
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11647
|
+
*/
|
|
11648
|
+
mimeType: z.ZodString;
|
|
11649
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11650
|
+
type: z.ZodLiteral<"audio">;
|
|
11651
|
+
/**
|
|
11652
|
+
* The base64-encoded audio data.
|
|
11653
|
+
*/
|
|
11654
|
+
data: z.ZodString;
|
|
11655
|
+
/**
|
|
11656
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11657
|
+
*/
|
|
11658
|
+
mimeType: z.ZodString;
|
|
11659
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11660
|
+
type: z.ZodLiteral<"audio">;
|
|
11661
|
+
/**
|
|
11662
|
+
* The base64-encoded audio data.
|
|
11663
|
+
*/
|
|
11664
|
+
data: z.ZodString;
|
|
11665
|
+
/**
|
|
11666
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11667
|
+
*/
|
|
11668
|
+
mimeType: z.ZodString;
|
|
11137
11669
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11138
11670
|
type: z.ZodLiteral<"resource">;
|
|
11139
11671
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -11455,6 +11987,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
11455
11987
|
* The MIME type of the image. Different providers may support different image types.
|
|
11456
11988
|
*/
|
|
11457
11989
|
mimeType: z.ZodString;
|
|
11990
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11991
|
+
type: z.ZodLiteral<"audio">;
|
|
11992
|
+
/**
|
|
11993
|
+
* The base64-encoded audio data.
|
|
11994
|
+
*/
|
|
11995
|
+
data: z.ZodString;
|
|
11996
|
+
/**
|
|
11997
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
11998
|
+
*/
|
|
11999
|
+
mimeType: z.ZodString;
|
|
12000
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12001
|
+
type: z.ZodLiteral<"audio">;
|
|
12002
|
+
/**
|
|
12003
|
+
* The base64-encoded audio data.
|
|
12004
|
+
*/
|
|
12005
|
+
data: z.ZodString;
|
|
12006
|
+
/**
|
|
12007
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12008
|
+
*/
|
|
12009
|
+
mimeType: z.ZodString;
|
|
12010
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12011
|
+
type: z.ZodLiteral<"audio">;
|
|
12012
|
+
/**
|
|
12013
|
+
* The base64-encoded audio data.
|
|
12014
|
+
*/
|
|
12015
|
+
data: z.ZodString;
|
|
12016
|
+
/**
|
|
12017
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12018
|
+
*/
|
|
12019
|
+
mimeType: z.ZodString;
|
|
11458
12020
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11459
12021
|
type: z.ZodLiteral<"resource">;
|
|
11460
12022
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -11772,6 +12334,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
11772
12334
|
* The MIME type of the image. Different providers may support different image types.
|
|
11773
12335
|
*/
|
|
11774
12336
|
mimeType: z.ZodString;
|
|
12337
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
12338
|
+
type: z.ZodLiteral<"audio">;
|
|
12339
|
+
/**
|
|
12340
|
+
* The base64-encoded audio data.
|
|
12341
|
+
*/
|
|
12342
|
+
data: z.ZodString;
|
|
12343
|
+
/**
|
|
12344
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12345
|
+
*/
|
|
12346
|
+
mimeType: z.ZodString;
|
|
12347
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12348
|
+
type: z.ZodLiteral<"audio">;
|
|
12349
|
+
/**
|
|
12350
|
+
* The base64-encoded audio data.
|
|
12351
|
+
*/
|
|
12352
|
+
data: z.ZodString;
|
|
12353
|
+
/**
|
|
12354
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12355
|
+
*/
|
|
12356
|
+
mimeType: z.ZodString;
|
|
12357
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12358
|
+
type: z.ZodLiteral<"audio">;
|
|
12359
|
+
/**
|
|
12360
|
+
* The base64-encoded audio data.
|
|
12361
|
+
*/
|
|
12362
|
+
data: z.ZodString;
|
|
12363
|
+
/**
|
|
12364
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12365
|
+
*/
|
|
12366
|
+
mimeType: z.ZodString;
|
|
11775
12367
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11776
12368
|
type: z.ZodLiteral<"resource">;
|
|
11777
12369
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -12089,6 +12681,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
12089
12681
|
* The MIME type of the image. Different providers may support different image types.
|
|
12090
12682
|
*/
|
|
12091
12683
|
mimeType: z.ZodString;
|
|
12684
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
12685
|
+
type: z.ZodLiteral<"audio">;
|
|
12686
|
+
/**
|
|
12687
|
+
* The base64-encoded audio data.
|
|
12688
|
+
*/
|
|
12689
|
+
data: z.ZodString;
|
|
12690
|
+
/**
|
|
12691
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12692
|
+
*/
|
|
12693
|
+
mimeType: z.ZodString;
|
|
12694
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12695
|
+
type: z.ZodLiteral<"audio">;
|
|
12696
|
+
/**
|
|
12697
|
+
* The base64-encoded audio data.
|
|
12698
|
+
*/
|
|
12699
|
+
data: z.ZodString;
|
|
12700
|
+
/**
|
|
12701
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12702
|
+
*/
|
|
12703
|
+
mimeType: z.ZodString;
|
|
12704
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12705
|
+
type: z.ZodLiteral<"audio">;
|
|
12706
|
+
/**
|
|
12707
|
+
* The base64-encoded audio data.
|
|
12708
|
+
*/
|
|
12709
|
+
data: z.ZodString;
|
|
12710
|
+
/**
|
|
12711
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
12712
|
+
*/
|
|
12713
|
+
mimeType: z.ZodString;
|
|
12092
12714
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
12093
12715
|
type: z.ZodLiteral<"resource">;
|
|
12094
12716
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -12991,6 +13613,36 @@ export declare const SamplingMessageSchema: z.ZodObject<{
|
|
|
12991
13613
|
* The MIME type of the image. Different providers may support different image types.
|
|
12992
13614
|
*/
|
|
12993
13615
|
mimeType: z.ZodString;
|
|
13616
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13617
|
+
type: z.ZodLiteral<"audio">;
|
|
13618
|
+
/**
|
|
13619
|
+
* The base64-encoded audio data.
|
|
13620
|
+
*/
|
|
13621
|
+
data: z.ZodString;
|
|
13622
|
+
/**
|
|
13623
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13624
|
+
*/
|
|
13625
|
+
mimeType: z.ZodString;
|
|
13626
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13627
|
+
type: z.ZodLiteral<"audio">;
|
|
13628
|
+
/**
|
|
13629
|
+
* The base64-encoded audio data.
|
|
13630
|
+
*/
|
|
13631
|
+
data: z.ZodString;
|
|
13632
|
+
/**
|
|
13633
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13634
|
+
*/
|
|
13635
|
+
mimeType: z.ZodString;
|
|
13636
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13637
|
+
type: z.ZodLiteral<"audio">;
|
|
13638
|
+
/**
|
|
13639
|
+
* The base64-encoded audio data.
|
|
13640
|
+
*/
|
|
13641
|
+
data: z.ZodString;
|
|
13642
|
+
/**
|
|
13643
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13644
|
+
*/
|
|
13645
|
+
mimeType: z.ZodString;
|
|
12994
13646
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
12995
13647
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12996
13648
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13042,6 +13694,36 @@ export declare const SamplingMessageSchema: z.ZodObject<{
|
|
|
13042
13694
|
* The MIME type of the image. Different providers may support different image types.
|
|
13043
13695
|
*/
|
|
13044
13696
|
mimeType: z.ZodString;
|
|
13697
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13698
|
+
type: z.ZodLiteral<"audio">;
|
|
13699
|
+
/**
|
|
13700
|
+
* The base64-encoded audio data.
|
|
13701
|
+
*/
|
|
13702
|
+
data: z.ZodString;
|
|
13703
|
+
/**
|
|
13704
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13705
|
+
*/
|
|
13706
|
+
mimeType: z.ZodString;
|
|
13707
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13708
|
+
type: z.ZodLiteral<"audio">;
|
|
13709
|
+
/**
|
|
13710
|
+
* The base64-encoded audio data.
|
|
13711
|
+
*/
|
|
13712
|
+
data: z.ZodString;
|
|
13713
|
+
/**
|
|
13714
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13715
|
+
*/
|
|
13716
|
+
mimeType: z.ZodString;
|
|
13717
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13718
|
+
type: z.ZodLiteral<"audio">;
|
|
13719
|
+
/**
|
|
13720
|
+
* The base64-encoded audio data.
|
|
13721
|
+
*/
|
|
13722
|
+
data: z.ZodString;
|
|
13723
|
+
/**
|
|
13724
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13725
|
+
*/
|
|
13726
|
+
mimeType: z.ZodString;
|
|
13045
13727
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13046
13728
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13047
13729
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13093,11 +13775,41 @@ export declare const SamplingMessageSchema: z.ZodObject<{
|
|
|
13093
13775
|
* The MIME type of the image. Different providers may support different image types.
|
|
13094
13776
|
*/
|
|
13095
13777
|
mimeType: z.ZodString;
|
|
13096
|
-
}, z.ZodTypeAny, "passthrough"
|
|
13097
|
-
|
|
13098
|
-
/**
|
|
13099
|
-
|
|
13100
|
-
|
|
13778
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13779
|
+
type: z.ZodLiteral<"audio">;
|
|
13780
|
+
/**
|
|
13781
|
+
* The base64-encoded audio data.
|
|
13782
|
+
*/
|
|
13783
|
+
data: z.ZodString;
|
|
13784
|
+
/**
|
|
13785
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13786
|
+
*/
|
|
13787
|
+
mimeType: z.ZodString;
|
|
13788
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13789
|
+
type: z.ZodLiteral<"audio">;
|
|
13790
|
+
/**
|
|
13791
|
+
* The base64-encoded audio data.
|
|
13792
|
+
*/
|
|
13793
|
+
data: z.ZodString;
|
|
13794
|
+
/**
|
|
13795
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13796
|
+
*/
|
|
13797
|
+
mimeType: z.ZodString;
|
|
13798
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13799
|
+
type: z.ZodLiteral<"audio">;
|
|
13800
|
+
/**
|
|
13801
|
+
* The base64-encoded audio data.
|
|
13802
|
+
*/
|
|
13803
|
+
data: z.ZodString;
|
|
13804
|
+
/**
|
|
13805
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13806
|
+
*/
|
|
13807
|
+
mimeType: z.ZodString;
|
|
13808
|
+
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13809
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
13810
|
+
/**
|
|
13811
|
+
* A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
|
|
13812
|
+
*/
|
|
13101
13813
|
export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
13102
13814
|
method: z.ZodString;
|
|
13103
13815
|
params: z.ZodOptional<z.ZodObject<{
|
|
@@ -13222,6 +13934,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13222
13934
|
* The MIME type of the image. Different providers may support different image types.
|
|
13223
13935
|
*/
|
|
13224
13936
|
mimeType: z.ZodString;
|
|
13937
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13938
|
+
type: z.ZodLiteral<"audio">;
|
|
13939
|
+
/**
|
|
13940
|
+
* The base64-encoded audio data.
|
|
13941
|
+
*/
|
|
13942
|
+
data: z.ZodString;
|
|
13943
|
+
/**
|
|
13944
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13945
|
+
*/
|
|
13946
|
+
mimeType: z.ZodString;
|
|
13947
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13948
|
+
type: z.ZodLiteral<"audio">;
|
|
13949
|
+
/**
|
|
13950
|
+
* The base64-encoded audio data.
|
|
13951
|
+
*/
|
|
13952
|
+
data: z.ZodString;
|
|
13953
|
+
/**
|
|
13954
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13955
|
+
*/
|
|
13956
|
+
mimeType: z.ZodString;
|
|
13957
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13958
|
+
type: z.ZodLiteral<"audio">;
|
|
13959
|
+
/**
|
|
13960
|
+
* The base64-encoded audio data.
|
|
13961
|
+
*/
|
|
13962
|
+
data: z.ZodString;
|
|
13963
|
+
/**
|
|
13964
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
13965
|
+
*/
|
|
13966
|
+
mimeType: z.ZodString;
|
|
13225
13967
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13226
13968
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13227
13969
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13273,6 +14015,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13273
14015
|
* The MIME type of the image. Different providers may support different image types.
|
|
13274
14016
|
*/
|
|
13275
14017
|
mimeType: z.ZodString;
|
|
14018
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14019
|
+
type: z.ZodLiteral<"audio">;
|
|
14020
|
+
/**
|
|
14021
|
+
* The base64-encoded audio data.
|
|
14022
|
+
*/
|
|
14023
|
+
data: z.ZodString;
|
|
14024
|
+
/**
|
|
14025
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14026
|
+
*/
|
|
14027
|
+
mimeType: z.ZodString;
|
|
14028
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14029
|
+
type: z.ZodLiteral<"audio">;
|
|
14030
|
+
/**
|
|
14031
|
+
* The base64-encoded audio data.
|
|
14032
|
+
*/
|
|
14033
|
+
data: z.ZodString;
|
|
14034
|
+
/**
|
|
14035
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14036
|
+
*/
|
|
14037
|
+
mimeType: z.ZodString;
|
|
14038
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14039
|
+
type: z.ZodLiteral<"audio">;
|
|
14040
|
+
/**
|
|
14041
|
+
* The base64-encoded audio data.
|
|
14042
|
+
*/
|
|
14043
|
+
data: z.ZodString;
|
|
14044
|
+
/**
|
|
14045
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14046
|
+
*/
|
|
14047
|
+
mimeType: z.ZodString;
|
|
13276
14048
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13277
14049
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13278
14050
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13324,6 +14096,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13324
14096
|
* The MIME type of the image. Different providers may support different image types.
|
|
13325
14097
|
*/
|
|
13326
14098
|
mimeType: z.ZodString;
|
|
14099
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14100
|
+
type: z.ZodLiteral<"audio">;
|
|
14101
|
+
/**
|
|
14102
|
+
* The base64-encoded audio data.
|
|
14103
|
+
*/
|
|
14104
|
+
data: z.ZodString;
|
|
14105
|
+
/**
|
|
14106
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14107
|
+
*/
|
|
14108
|
+
mimeType: z.ZodString;
|
|
14109
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14110
|
+
type: z.ZodLiteral<"audio">;
|
|
14111
|
+
/**
|
|
14112
|
+
* The base64-encoded audio data.
|
|
14113
|
+
*/
|
|
14114
|
+
data: z.ZodString;
|
|
14115
|
+
/**
|
|
14116
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14117
|
+
*/
|
|
14118
|
+
mimeType: z.ZodString;
|
|
14119
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14120
|
+
type: z.ZodLiteral<"audio">;
|
|
14121
|
+
/**
|
|
14122
|
+
* The base64-encoded audio data.
|
|
14123
|
+
*/
|
|
14124
|
+
data: z.ZodString;
|
|
14125
|
+
/**
|
|
14126
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14127
|
+
*/
|
|
14128
|
+
mimeType: z.ZodString;
|
|
13327
14129
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13328
14130
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13329
14131
|
/**
|
|
@@ -13512,6 +14314,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13512
14314
|
* The MIME type of the image. Different providers may support different image types.
|
|
13513
14315
|
*/
|
|
13514
14316
|
mimeType: z.ZodString;
|
|
14317
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14318
|
+
type: z.ZodLiteral<"audio">;
|
|
14319
|
+
/**
|
|
14320
|
+
* The base64-encoded audio data.
|
|
14321
|
+
*/
|
|
14322
|
+
data: z.ZodString;
|
|
14323
|
+
/**
|
|
14324
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14325
|
+
*/
|
|
14326
|
+
mimeType: z.ZodString;
|
|
14327
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14328
|
+
type: z.ZodLiteral<"audio">;
|
|
14329
|
+
/**
|
|
14330
|
+
* The base64-encoded audio data.
|
|
14331
|
+
*/
|
|
14332
|
+
data: z.ZodString;
|
|
14333
|
+
/**
|
|
14334
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14335
|
+
*/
|
|
14336
|
+
mimeType: z.ZodString;
|
|
14337
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14338
|
+
type: z.ZodLiteral<"audio">;
|
|
14339
|
+
/**
|
|
14340
|
+
* The base64-encoded audio data.
|
|
14341
|
+
*/
|
|
14342
|
+
data: z.ZodString;
|
|
14343
|
+
/**
|
|
14344
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14345
|
+
*/
|
|
14346
|
+
mimeType: z.ZodString;
|
|
13515
14347
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13516
14348
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13517
14349
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13563,6 +14395,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13563
14395
|
* The MIME type of the image. Different providers may support different image types.
|
|
13564
14396
|
*/
|
|
13565
14397
|
mimeType: z.ZodString;
|
|
14398
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14399
|
+
type: z.ZodLiteral<"audio">;
|
|
14400
|
+
/**
|
|
14401
|
+
* The base64-encoded audio data.
|
|
14402
|
+
*/
|
|
14403
|
+
data: z.ZodString;
|
|
14404
|
+
/**
|
|
14405
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14406
|
+
*/
|
|
14407
|
+
mimeType: z.ZodString;
|
|
14408
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14409
|
+
type: z.ZodLiteral<"audio">;
|
|
14410
|
+
/**
|
|
14411
|
+
* The base64-encoded audio data.
|
|
14412
|
+
*/
|
|
14413
|
+
data: z.ZodString;
|
|
14414
|
+
/**
|
|
14415
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14416
|
+
*/
|
|
14417
|
+
mimeType: z.ZodString;
|
|
14418
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14419
|
+
type: z.ZodLiteral<"audio">;
|
|
14420
|
+
/**
|
|
14421
|
+
* The base64-encoded audio data.
|
|
14422
|
+
*/
|
|
14423
|
+
data: z.ZodString;
|
|
14424
|
+
/**
|
|
14425
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14426
|
+
*/
|
|
14427
|
+
mimeType: z.ZodString;
|
|
13566
14428
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13567
14429
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13568
14430
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13614,6 +14476,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13614
14476
|
* The MIME type of the image. Different providers may support different image types.
|
|
13615
14477
|
*/
|
|
13616
14478
|
mimeType: z.ZodString;
|
|
14479
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14480
|
+
type: z.ZodLiteral<"audio">;
|
|
14481
|
+
/**
|
|
14482
|
+
* The base64-encoded audio data.
|
|
14483
|
+
*/
|
|
14484
|
+
data: z.ZodString;
|
|
14485
|
+
/**
|
|
14486
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14487
|
+
*/
|
|
14488
|
+
mimeType: z.ZodString;
|
|
14489
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14490
|
+
type: z.ZodLiteral<"audio">;
|
|
14491
|
+
/**
|
|
14492
|
+
* The base64-encoded audio data.
|
|
14493
|
+
*/
|
|
14494
|
+
data: z.ZodString;
|
|
14495
|
+
/**
|
|
14496
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14497
|
+
*/
|
|
14498
|
+
mimeType: z.ZodString;
|
|
14499
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14500
|
+
type: z.ZodLiteral<"audio">;
|
|
14501
|
+
/**
|
|
14502
|
+
* The base64-encoded audio data.
|
|
14503
|
+
*/
|
|
14504
|
+
data: z.ZodString;
|
|
14505
|
+
/**
|
|
14506
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14507
|
+
*/
|
|
14508
|
+
mimeType: z.ZodString;
|
|
13617
14509
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13618
14510
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13619
14511
|
/**
|
|
@@ -13802,6 +14694,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13802
14694
|
* The MIME type of the image. Different providers may support different image types.
|
|
13803
14695
|
*/
|
|
13804
14696
|
mimeType: z.ZodString;
|
|
14697
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14698
|
+
type: z.ZodLiteral<"audio">;
|
|
14699
|
+
/**
|
|
14700
|
+
* The base64-encoded audio data.
|
|
14701
|
+
*/
|
|
14702
|
+
data: z.ZodString;
|
|
14703
|
+
/**
|
|
14704
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14705
|
+
*/
|
|
14706
|
+
mimeType: z.ZodString;
|
|
14707
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14708
|
+
type: z.ZodLiteral<"audio">;
|
|
14709
|
+
/**
|
|
14710
|
+
* The base64-encoded audio data.
|
|
14711
|
+
*/
|
|
14712
|
+
data: z.ZodString;
|
|
14713
|
+
/**
|
|
14714
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14715
|
+
*/
|
|
14716
|
+
mimeType: z.ZodString;
|
|
14717
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14718
|
+
type: z.ZodLiteral<"audio">;
|
|
14719
|
+
/**
|
|
14720
|
+
* The base64-encoded audio data.
|
|
14721
|
+
*/
|
|
14722
|
+
data: z.ZodString;
|
|
14723
|
+
/**
|
|
14724
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14725
|
+
*/
|
|
14726
|
+
mimeType: z.ZodString;
|
|
13805
14727
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13806
14728
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13807
14729
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13853,6 +14775,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13853
14775
|
* The MIME type of the image. Different providers may support different image types.
|
|
13854
14776
|
*/
|
|
13855
14777
|
mimeType: z.ZodString;
|
|
14778
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14779
|
+
type: z.ZodLiteral<"audio">;
|
|
14780
|
+
/**
|
|
14781
|
+
* The base64-encoded audio data.
|
|
14782
|
+
*/
|
|
14783
|
+
data: z.ZodString;
|
|
14784
|
+
/**
|
|
14785
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14786
|
+
*/
|
|
14787
|
+
mimeType: z.ZodString;
|
|
14788
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14789
|
+
type: z.ZodLiteral<"audio">;
|
|
14790
|
+
/**
|
|
14791
|
+
* The base64-encoded audio data.
|
|
14792
|
+
*/
|
|
14793
|
+
data: z.ZodString;
|
|
14794
|
+
/**
|
|
14795
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14796
|
+
*/
|
|
14797
|
+
mimeType: z.ZodString;
|
|
14798
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14799
|
+
type: z.ZodLiteral<"audio">;
|
|
14800
|
+
/**
|
|
14801
|
+
* The base64-encoded audio data.
|
|
14802
|
+
*/
|
|
14803
|
+
data: z.ZodString;
|
|
14804
|
+
/**
|
|
14805
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14806
|
+
*/
|
|
14807
|
+
mimeType: z.ZodString;
|
|
13856
14808
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13857
14809
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13858
14810
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -13904,6 +14856,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
13904
14856
|
* The MIME type of the image. Different providers may support different image types.
|
|
13905
14857
|
*/
|
|
13906
14858
|
mimeType: z.ZodString;
|
|
14859
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14860
|
+
type: z.ZodLiteral<"audio">;
|
|
14861
|
+
/**
|
|
14862
|
+
* The base64-encoded audio data.
|
|
14863
|
+
*/
|
|
14864
|
+
data: z.ZodString;
|
|
14865
|
+
/**
|
|
14866
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14867
|
+
*/
|
|
14868
|
+
mimeType: z.ZodString;
|
|
14869
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14870
|
+
type: z.ZodLiteral<"audio">;
|
|
14871
|
+
/**
|
|
14872
|
+
* The base64-encoded audio data.
|
|
14873
|
+
*/
|
|
14874
|
+
data: z.ZodString;
|
|
14875
|
+
/**
|
|
14876
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14877
|
+
*/
|
|
14878
|
+
mimeType: z.ZodString;
|
|
14879
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14880
|
+
type: z.ZodLiteral<"audio">;
|
|
14881
|
+
/**
|
|
14882
|
+
* The base64-encoded audio data.
|
|
14883
|
+
*/
|
|
14884
|
+
data: z.ZodString;
|
|
14885
|
+
/**
|
|
14886
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
14887
|
+
*/
|
|
14888
|
+
mimeType: z.ZodString;
|
|
13907
14889
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
13908
14890
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13909
14891
|
/**
|
|
@@ -14077,6 +15059,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
14077
15059
|
* The MIME type of the image. Different providers may support different image types.
|
|
14078
15060
|
*/
|
|
14079
15061
|
mimeType: z.ZodString;
|
|
15062
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
15063
|
+
type: z.ZodLiteral<"audio">;
|
|
15064
|
+
/**
|
|
15065
|
+
* The base64-encoded audio data.
|
|
15066
|
+
*/
|
|
15067
|
+
data: z.ZodString;
|
|
15068
|
+
/**
|
|
15069
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15070
|
+
*/
|
|
15071
|
+
mimeType: z.ZodString;
|
|
15072
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15073
|
+
type: z.ZodLiteral<"audio">;
|
|
15074
|
+
/**
|
|
15075
|
+
* The base64-encoded audio data.
|
|
15076
|
+
*/
|
|
15077
|
+
data: z.ZodString;
|
|
15078
|
+
/**
|
|
15079
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15080
|
+
*/
|
|
15081
|
+
mimeType: z.ZodString;
|
|
15082
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15083
|
+
type: z.ZodLiteral<"audio">;
|
|
15084
|
+
/**
|
|
15085
|
+
* The base64-encoded audio data.
|
|
15086
|
+
*/
|
|
15087
|
+
data: z.ZodString;
|
|
15088
|
+
/**
|
|
15089
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15090
|
+
*/
|
|
15091
|
+
mimeType: z.ZodString;
|
|
14080
15092
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
14081
15093
|
}, z.ZodTypeAny, "passthrough">[];
|
|
14082
15094
|
maxTokens: number;
|
|
@@ -14180,6 +15192,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
|
|
|
14180
15192
|
* The MIME type of the image. Different providers may support different image types.
|
|
14181
15193
|
*/
|
|
14182
15194
|
mimeType: z.ZodString;
|
|
15195
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
15196
|
+
type: z.ZodLiteral<"audio">;
|
|
15197
|
+
/**
|
|
15198
|
+
* The base64-encoded audio data.
|
|
15199
|
+
*/
|
|
15200
|
+
data: z.ZodString;
|
|
15201
|
+
/**
|
|
15202
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15203
|
+
*/
|
|
15204
|
+
mimeType: z.ZodString;
|
|
15205
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15206
|
+
type: z.ZodLiteral<"audio">;
|
|
15207
|
+
/**
|
|
15208
|
+
* The base64-encoded audio data.
|
|
15209
|
+
*/
|
|
15210
|
+
data: z.ZodString;
|
|
15211
|
+
/**
|
|
15212
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15213
|
+
*/
|
|
15214
|
+
mimeType: z.ZodString;
|
|
15215
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15216
|
+
type: z.ZodLiteral<"audio">;
|
|
15217
|
+
/**
|
|
15218
|
+
* The base64-encoded audio data.
|
|
15219
|
+
*/
|
|
15220
|
+
data: z.ZodString;
|
|
15221
|
+
/**
|
|
15222
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15223
|
+
*/
|
|
15224
|
+
mimeType: z.ZodString;
|
|
14183
15225
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
14184
15226
|
}, z.ZodTypeAny, "passthrough">[];
|
|
14185
15227
|
maxTokens: number;
|
|
@@ -14298,6 +15340,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
14298
15340
|
* The MIME type of the image. Different providers may support different image types.
|
|
14299
15341
|
*/
|
|
14300
15342
|
mimeType: z.ZodString;
|
|
15343
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
15344
|
+
type: z.ZodLiteral<"audio">;
|
|
15345
|
+
/**
|
|
15346
|
+
* The base64-encoded audio data.
|
|
15347
|
+
*/
|
|
15348
|
+
data: z.ZodString;
|
|
15349
|
+
/**
|
|
15350
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15351
|
+
*/
|
|
15352
|
+
mimeType: z.ZodString;
|
|
15353
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15354
|
+
type: z.ZodLiteral<"audio">;
|
|
15355
|
+
/**
|
|
15356
|
+
* The base64-encoded audio data.
|
|
15357
|
+
*/
|
|
15358
|
+
data: z.ZodString;
|
|
15359
|
+
/**
|
|
15360
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15361
|
+
*/
|
|
15362
|
+
mimeType: z.ZodString;
|
|
15363
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15364
|
+
type: z.ZodLiteral<"audio">;
|
|
15365
|
+
/**
|
|
15366
|
+
* The base64-encoded audio data.
|
|
15367
|
+
*/
|
|
15368
|
+
data: z.ZodString;
|
|
15369
|
+
/**
|
|
15370
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15371
|
+
*/
|
|
15372
|
+
mimeType: z.ZodString;
|
|
14301
15373
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
14302
15374
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
14303
15375
|
/**
|
|
@@ -14362,6 +15434,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
14362
15434
|
* The MIME type of the image. Different providers may support different image types.
|
|
14363
15435
|
*/
|
|
14364
15436
|
mimeType: z.ZodString;
|
|
15437
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
15438
|
+
type: z.ZodLiteral<"audio">;
|
|
15439
|
+
/**
|
|
15440
|
+
* The base64-encoded audio data.
|
|
15441
|
+
*/
|
|
15442
|
+
data: z.ZodString;
|
|
15443
|
+
/**
|
|
15444
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15445
|
+
*/
|
|
15446
|
+
mimeType: z.ZodString;
|
|
15447
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15448
|
+
type: z.ZodLiteral<"audio">;
|
|
15449
|
+
/**
|
|
15450
|
+
* The base64-encoded audio data.
|
|
15451
|
+
*/
|
|
15452
|
+
data: z.ZodString;
|
|
15453
|
+
/**
|
|
15454
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15455
|
+
*/
|
|
15456
|
+
mimeType: z.ZodString;
|
|
15457
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15458
|
+
type: z.ZodLiteral<"audio">;
|
|
15459
|
+
/**
|
|
15460
|
+
* The base64-encoded audio data.
|
|
15461
|
+
*/
|
|
15462
|
+
data: z.ZodString;
|
|
15463
|
+
/**
|
|
15464
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15465
|
+
*/
|
|
15466
|
+
mimeType: z.ZodString;
|
|
14365
15467
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
14366
15468
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
14367
15469
|
/**
|
|
@@ -14426,6 +15528,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
14426
15528
|
* The MIME type of the image. Different providers may support different image types.
|
|
14427
15529
|
*/
|
|
14428
15530
|
mimeType: z.ZodString;
|
|
15531
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
15532
|
+
type: z.ZodLiteral<"audio">;
|
|
15533
|
+
/**
|
|
15534
|
+
* The base64-encoded audio data.
|
|
15535
|
+
*/
|
|
15536
|
+
data: z.ZodString;
|
|
15537
|
+
/**
|
|
15538
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15539
|
+
*/
|
|
15540
|
+
mimeType: z.ZodString;
|
|
15541
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15542
|
+
type: z.ZodLiteral<"audio">;
|
|
15543
|
+
/**
|
|
15544
|
+
* The base64-encoded audio data.
|
|
15545
|
+
*/
|
|
15546
|
+
data: z.ZodString;
|
|
15547
|
+
/**
|
|
15548
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15549
|
+
*/
|
|
15550
|
+
mimeType: z.ZodString;
|
|
15551
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15552
|
+
type: z.ZodLiteral<"audio">;
|
|
15553
|
+
/**
|
|
15554
|
+
* The base64-encoded audio data.
|
|
15555
|
+
*/
|
|
15556
|
+
data: z.ZodString;
|
|
15557
|
+
/**
|
|
15558
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
15559
|
+
*/
|
|
15560
|
+
mimeType: z.ZodString;
|
|
14429
15561
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
14430
15562
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
14431
15563
|
/**
|
|
@@ -18166,6 +19298,36 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
18166
19298
|
* The MIME type of the image. Different providers may support different image types.
|
|
18167
19299
|
*/
|
|
18168
19300
|
mimeType: z.ZodString;
|
|
19301
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
19302
|
+
type: z.ZodLiteral<"audio">;
|
|
19303
|
+
/**
|
|
19304
|
+
* The base64-encoded audio data.
|
|
19305
|
+
*/
|
|
19306
|
+
data: z.ZodString;
|
|
19307
|
+
/**
|
|
19308
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19309
|
+
*/
|
|
19310
|
+
mimeType: z.ZodString;
|
|
19311
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19312
|
+
type: z.ZodLiteral<"audio">;
|
|
19313
|
+
/**
|
|
19314
|
+
* The base64-encoded audio data.
|
|
19315
|
+
*/
|
|
19316
|
+
data: z.ZodString;
|
|
19317
|
+
/**
|
|
19318
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19319
|
+
*/
|
|
19320
|
+
mimeType: z.ZodString;
|
|
19321
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19322
|
+
type: z.ZodLiteral<"audio">;
|
|
19323
|
+
/**
|
|
19324
|
+
* The base64-encoded audio data.
|
|
19325
|
+
*/
|
|
19326
|
+
data: z.ZodString;
|
|
19327
|
+
/**
|
|
19328
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19329
|
+
*/
|
|
19330
|
+
mimeType: z.ZodString;
|
|
18169
19331
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18170
19332
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
18171
19333
|
/**
|
|
@@ -18230,6 +19392,36 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
18230
19392
|
* The MIME type of the image. Different providers may support different image types.
|
|
18231
19393
|
*/
|
|
18232
19394
|
mimeType: z.ZodString;
|
|
19395
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
19396
|
+
type: z.ZodLiteral<"audio">;
|
|
19397
|
+
/**
|
|
19398
|
+
* The base64-encoded audio data.
|
|
19399
|
+
*/
|
|
19400
|
+
data: z.ZodString;
|
|
19401
|
+
/**
|
|
19402
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19403
|
+
*/
|
|
19404
|
+
mimeType: z.ZodString;
|
|
19405
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19406
|
+
type: z.ZodLiteral<"audio">;
|
|
19407
|
+
/**
|
|
19408
|
+
* The base64-encoded audio data.
|
|
19409
|
+
*/
|
|
19410
|
+
data: z.ZodString;
|
|
19411
|
+
/**
|
|
19412
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19413
|
+
*/
|
|
19414
|
+
mimeType: z.ZodString;
|
|
19415
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19416
|
+
type: z.ZodLiteral<"audio">;
|
|
19417
|
+
/**
|
|
19418
|
+
* The base64-encoded audio data.
|
|
19419
|
+
*/
|
|
19420
|
+
data: z.ZodString;
|
|
19421
|
+
/**
|
|
19422
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19423
|
+
*/
|
|
19424
|
+
mimeType: z.ZodString;
|
|
18233
19425
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18234
19426
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
18235
19427
|
/**
|
|
@@ -18263,35 +19455,65 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
18263
19455
|
/**
|
|
18264
19456
|
* The text content of the message.
|
|
18265
19457
|
*/
|
|
18266
|
-
text: z.ZodString;
|
|
19458
|
+
text: z.ZodString;
|
|
19459
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
19460
|
+
type: z.ZodLiteral<"image">;
|
|
19461
|
+
/**
|
|
19462
|
+
* The base64-encoded image data.
|
|
19463
|
+
*/
|
|
19464
|
+
data: z.ZodString;
|
|
19465
|
+
/**
|
|
19466
|
+
* The MIME type of the image. Different providers may support different image types.
|
|
19467
|
+
*/
|
|
19468
|
+
mimeType: z.ZodString;
|
|
19469
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19470
|
+
type: z.ZodLiteral<"image">;
|
|
19471
|
+
/**
|
|
19472
|
+
* The base64-encoded image data.
|
|
19473
|
+
*/
|
|
19474
|
+
data: z.ZodString;
|
|
19475
|
+
/**
|
|
19476
|
+
* The MIME type of the image. Different providers may support different image types.
|
|
19477
|
+
*/
|
|
19478
|
+
mimeType: z.ZodString;
|
|
19479
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19480
|
+
type: z.ZodLiteral<"image">;
|
|
19481
|
+
/**
|
|
19482
|
+
* The base64-encoded image data.
|
|
19483
|
+
*/
|
|
19484
|
+
data: z.ZodString;
|
|
19485
|
+
/**
|
|
19486
|
+
* The MIME type of the image. Different providers may support different image types.
|
|
19487
|
+
*/
|
|
19488
|
+
mimeType: z.ZodString;
|
|
18267
19489
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
18268
|
-
type: z.ZodLiteral<"
|
|
19490
|
+
type: z.ZodLiteral<"audio">;
|
|
18269
19491
|
/**
|
|
18270
|
-
* The base64-encoded
|
|
19492
|
+
* The base64-encoded audio data.
|
|
18271
19493
|
*/
|
|
18272
19494
|
data: z.ZodString;
|
|
18273
19495
|
/**
|
|
18274
|
-
* The MIME type of the
|
|
19496
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
18275
19497
|
*/
|
|
18276
19498
|
mimeType: z.ZodString;
|
|
18277
19499
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18278
|
-
type: z.ZodLiteral<"
|
|
19500
|
+
type: z.ZodLiteral<"audio">;
|
|
18279
19501
|
/**
|
|
18280
|
-
* The base64-encoded
|
|
19502
|
+
* The base64-encoded audio data.
|
|
18281
19503
|
*/
|
|
18282
19504
|
data: z.ZodString;
|
|
18283
19505
|
/**
|
|
18284
|
-
* The MIME type of the
|
|
19506
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
18285
19507
|
*/
|
|
18286
19508
|
mimeType: z.ZodString;
|
|
18287
19509
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18288
|
-
type: z.ZodLiteral<"
|
|
19510
|
+
type: z.ZodLiteral<"audio">;
|
|
18289
19511
|
/**
|
|
18290
|
-
* The base64-encoded
|
|
19512
|
+
* The base64-encoded audio data.
|
|
18291
19513
|
*/
|
|
18292
19514
|
data: z.ZodString;
|
|
18293
19515
|
/**
|
|
18294
|
-
* The MIME type of the
|
|
19516
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
18295
19517
|
*/
|
|
18296
19518
|
mimeType: z.ZodString;
|
|
18297
19519
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
@@ -18618,6 +19840,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
18618
19840
|
* The MIME type of the image. Different providers may support different image types.
|
|
18619
19841
|
*/
|
|
18620
19842
|
mimeType: z.ZodString;
|
|
19843
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
19844
|
+
type: z.ZodLiteral<"audio">;
|
|
19845
|
+
/**
|
|
19846
|
+
* The base64-encoded audio data.
|
|
19847
|
+
*/
|
|
19848
|
+
data: z.ZodString;
|
|
19849
|
+
/**
|
|
19850
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19851
|
+
*/
|
|
19852
|
+
mimeType: z.ZodString;
|
|
19853
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19854
|
+
type: z.ZodLiteral<"audio">;
|
|
19855
|
+
/**
|
|
19856
|
+
* The base64-encoded audio data.
|
|
19857
|
+
*/
|
|
19858
|
+
data: z.ZodString;
|
|
19859
|
+
/**
|
|
19860
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19861
|
+
*/
|
|
19862
|
+
mimeType: z.ZodString;
|
|
19863
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19864
|
+
type: z.ZodLiteral<"audio">;
|
|
19865
|
+
/**
|
|
19866
|
+
* The base64-encoded audio data.
|
|
19867
|
+
*/
|
|
19868
|
+
data: z.ZodString;
|
|
19869
|
+
/**
|
|
19870
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19871
|
+
*/
|
|
19872
|
+
mimeType: z.ZodString;
|
|
18621
19873
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18622
19874
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18623
19875
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -18669,6 +19921,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
18669
19921
|
* The MIME type of the image. Different providers may support different image types.
|
|
18670
19922
|
*/
|
|
18671
19923
|
mimeType: z.ZodString;
|
|
19924
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
19925
|
+
type: z.ZodLiteral<"audio">;
|
|
19926
|
+
/**
|
|
19927
|
+
* The base64-encoded audio data.
|
|
19928
|
+
*/
|
|
19929
|
+
data: z.ZodString;
|
|
19930
|
+
/**
|
|
19931
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19932
|
+
*/
|
|
19933
|
+
mimeType: z.ZodString;
|
|
19934
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19935
|
+
type: z.ZodLiteral<"audio">;
|
|
19936
|
+
/**
|
|
19937
|
+
* The base64-encoded audio data.
|
|
19938
|
+
*/
|
|
19939
|
+
data: z.ZodString;
|
|
19940
|
+
/**
|
|
19941
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19942
|
+
*/
|
|
19943
|
+
mimeType: z.ZodString;
|
|
19944
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19945
|
+
type: z.ZodLiteral<"audio">;
|
|
19946
|
+
/**
|
|
19947
|
+
* The base64-encoded audio data.
|
|
19948
|
+
*/
|
|
19949
|
+
data: z.ZodString;
|
|
19950
|
+
/**
|
|
19951
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
19952
|
+
*/
|
|
19953
|
+
mimeType: z.ZodString;
|
|
18672
19954
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18673
19955
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18674
19956
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -18720,6 +20002,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
18720
20002
|
* The MIME type of the image. Different providers may support different image types.
|
|
18721
20003
|
*/
|
|
18722
20004
|
mimeType: z.ZodString;
|
|
20005
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20006
|
+
type: z.ZodLiteral<"audio">;
|
|
20007
|
+
/**
|
|
20008
|
+
* The base64-encoded audio data.
|
|
20009
|
+
*/
|
|
20010
|
+
data: z.ZodString;
|
|
20011
|
+
/**
|
|
20012
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20013
|
+
*/
|
|
20014
|
+
mimeType: z.ZodString;
|
|
20015
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20016
|
+
type: z.ZodLiteral<"audio">;
|
|
20017
|
+
/**
|
|
20018
|
+
* The base64-encoded audio data.
|
|
20019
|
+
*/
|
|
20020
|
+
data: z.ZodString;
|
|
20021
|
+
/**
|
|
20022
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20023
|
+
*/
|
|
20024
|
+
mimeType: z.ZodString;
|
|
20025
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20026
|
+
type: z.ZodLiteral<"audio">;
|
|
20027
|
+
/**
|
|
20028
|
+
* The base64-encoded audio data.
|
|
20029
|
+
*/
|
|
20030
|
+
data: z.ZodString;
|
|
20031
|
+
/**
|
|
20032
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20033
|
+
*/
|
|
20034
|
+
mimeType: z.ZodString;
|
|
18723
20035
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18724
20036
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
18725
20037
|
/**
|
|
@@ -18908,6 +20220,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
18908
20220
|
* The MIME type of the image. Different providers may support different image types.
|
|
18909
20221
|
*/
|
|
18910
20222
|
mimeType: z.ZodString;
|
|
20223
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20224
|
+
type: z.ZodLiteral<"audio">;
|
|
20225
|
+
/**
|
|
20226
|
+
* The base64-encoded audio data.
|
|
20227
|
+
*/
|
|
20228
|
+
data: z.ZodString;
|
|
20229
|
+
/**
|
|
20230
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20231
|
+
*/
|
|
20232
|
+
mimeType: z.ZodString;
|
|
20233
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20234
|
+
type: z.ZodLiteral<"audio">;
|
|
20235
|
+
/**
|
|
20236
|
+
* The base64-encoded audio data.
|
|
20237
|
+
*/
|
|
20238
|
+
data: z.ZodString;
|
|
20239
|
+
/**
|
|
20240
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20241
|
+
*/
|
|
20242
|
+
mimeType: z.ZodString;
|
|
20243
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20244
|
+
type: z.ZodLiteral<"audio">;
|
|
20245
|
+
/**
|
|
20246
|
+
* The base64-encoded audio data.
|
|
20247
|
+
*/
|
|
20248
|
+
data: z.ZodString;
|
|
20249
|
+
/**
|
|
20250
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20251
|
+
*/
|
|
20252
|
+
mimeType: z.ZodString;
|
|
18911
20253
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18912
20254
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18913
20255
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -18959,6 +20301,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
18959
20301
|
* The MIME type of the image. Different providers may support different image types.
|
|
18960
20302
|
*/
|
|
18961
20303
|
mimeType: z.ZodString;
|
|
20304
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20305
|
+
type: z.ZodLiteral<"audio">;
|
|
20306
|
+
/**
|
|
20307
|
+
* The base64-encoded audio data.
|
|
20308
|
+
*/
|
|
20309
|
+
data: z.ZodString;
|
|
20310
|
+
/**
|
|
20311
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20312
|
+
*/
|
|
20313
|
+
mimeType: z.ZodString;
|
|
20314
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20315
|
+
type: z.ZodLiteral<"audio">;
|
|
20316
|
+
/**
|
|
20317
|
+
* The base64-encoded audio data.
|
|
20318
|
+
*/
|
|
20319
|
+
data: z.ZodString;
|
|
20320
|
+
/**
|
|
20321
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20322
|
+
*/
|
|
20323
|
+
mimeType: z.ZodString;
|
|
20324
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20325
|
+
type: z.ZodLiteral<"audio">;
|
|
20326
|
+
/**
|
|
20327
|
+
* The base64-encoded audio data.
|
|
20328
|
+
*/
|
|
20329
|
+
data: z.ZodString;
|
|
20330
|
+
/**
|
|
20331
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20332
|
+
*/
|
|
20333
|
+
mimeType: z.ZodString;
|
|
18962
20334
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
18963
20335
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18964
20336
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -19010,6 +20382,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19010
20382
|
* The MIME type of the image. Different providers may support different image types.
|
|
19011
20383
|
*/
|
|
19012
20384
|
mimeType: z.ZodString;
|
|
20385
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20386
|
+
type: z.ZodLiteral<"audio">;
|
|
20387
|
+
/**
|
|
20388
|
+
* The base64-encoded audio data.
|
|
20389
|
+
*/
|
|
20390
|
+
data: z.ZodString;
|
|
20391
|
+
/**
|
|
20392
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20393
|
+
*/
|
|
20394
|
+
mimeType: z.ZodString;
|
|
20395
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20396
|
+
type: z.ZodLiteral<"audio">;
|
|
20397
|
+
/**
|
|
20398
|
+
* The base64-encoded audio data.
|
|
20399
|
+
*/
|
|
20400
|
+
data: z.ZodString;
|
|
20401
|
+
/**
|
|
20402
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20403
|
+
*/
|
|
20404
|
+
mimeType: z.ZodString;
|
|
20405
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20406
|
+
type: z.ZodLiteral<"audio">;
|
|
20407
|
+
/**
|
|
20408
|
+
* The base64-encoded audio data.
|
|
20409
|
+
*/
|
|
20410
|
+
data: z.ZodString;
|
|
20411
|
+
/**
|
|
20412
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20413
|
+
*/
|
|
20414
|
+
mimeType: z.ZodString;
|
|
19013
20415
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19014
20416
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
19015
20417
|
/**
|
|
@@ -19198,6 +20600,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19198
20600
|
* The MIME type of the image. Different providers may support different image types.
|
|
19199
20601
|
*/
|
|
19200
20602
|
mimeType: z.ZodString;
|
|
20603
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20604
|
+
type: z.ZodLiteral<"audio">;
|
|
20605
|
+
/**
|
|
20606
|
+
* The base64-encoded audio data.
|
|
20607
|
+
*/
|
|
20608
|
+
data: z.ZodString;
|
|
20609
|
+
/**
|
|
20610
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20611
|
+
*/
|
|
20612
|
+
mimeType: z.ZodString;
|
|
20613
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20614
|
+
type: z.ZodLiteral<"audio">;
|
|
20615
|
+
/**
|
|
20616
|
+
* The base64-encoded audio data.
|
|
20617
|
+
*/
|
|
20618
|
+
data: z.ZodString;
|
|
20619
|
+
/**
|
|
20620
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20621
|
+
*/
|
|
20622
|
+
mimeType: z.ZodString;
|
|
20623
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20624
|
+
type: z.ZodLiteral<"audio">;
|
|
20625
|
+
/**
|
|
20626
|
+
* The base64-encoded audio data.
|
|
20627
|
+
*/
|
|
20628
|
+
data: z.ZodString;
|
|
20629
|
+
/**
|
|
20630
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20631
|
+
*/
|
|
20632
|
+
mimeType: z.ZodString;
|
|
19201
20633
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19202
20634
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19203
20635
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -19249,6 +20681,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19249
20681
|
* The MIME type of the image. Different providers may support different image types.
|
|
19250
20682
|
*/
|
|
19251
20683
|
mimeType: z.ZodString;
|
|
20684
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20685
|
+
type: z.ZodLiteral<"audio">;
|
|
20686
|
+
/**
|
|
20687
|
+
* The base64-encoded audio data.
|
|
20688
|
+
*/
|
|
20689
|
+
data: z.ZodString;
|
|
20690
|
+
/**
|
|
20691
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20692
|
+
*/
|
|
20693
|
+
mimeType: z.ZodString;
|
|
20694
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20695
|
+
type: z.ZodLiteral<"audio">;
|
|
20696
|
+
/**
|
|
20697
|
+
* The base64-encoded audio data.
|
|
20698
|
+
*/
|
|
20699
|
+
data: z.ZodString;
|
|
20700
|
+
/**
|
|
20701
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20702
|
+
*/
|
|
20703
|
+
mimeType: z.ZodString;
|
|
20704
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20705
|
+
type: z.ZodLiteral<"audio">;
|
|
20706
|
+
/**
|
|
20707
|
+
* The base64-encoded audio data.
|
|
20708
|
+
*/
|
|
20709
|
+
data: z.ZodString;
|
|
20710
|
+
/**
|
|
20711
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20712
|
+
*/
|
|
20713
|
+
mimeType: z.ZodString;
|
|
19252
20714
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19253
20715
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19254
20716
|
role: z.ZodEnum<["user", "assistant"]>;
|
|
@@ -19300,6 +20762,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19300
20762
|
* The MIME type of the image. Different providers may support different image types.
|
|
19301
20763
|
*/
|
|
19302
20764
|
mimeType: z.ZodString;
|
|
20765
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20766
|
+
type: z.ZodLiteral<"audio">;
|
|
20767
|
+
/**
|
|
20768
|
+
* The base64-encoded audio data.
|
|
20769
|
+
*/
|
|
20770
|
+
data: z.ZodString;
|
|
20771
|
+
/**
|
|
20772
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20773
|
+
*/
|
|
20774
|
+
mimeType: z.ZodString;
|
|
20775
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20776
|
+
type: z.ZodLiteral<"audio">;
|
|
20777
|
+
/**
|
|
20778
|
+
* The base64-encoded audio data.
|
|
20779
|
+
*/
|
|
20780
|
+
data: z.ZodString;
|
|
20781
|
+
/**
|
|
20782
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20783
|
+
*/
|
|
20784
|
+
mimeType: z.ZodString;
|
|
20785
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20786
|
+
type: z.ZodLiteral<"audio">;
|
|
20787
|
+
/**
|
|
20788
|
+
* The base64-encoded audio data.
|
|
20789
|
+
*/
|
|
20790
|
+
data: z.ZodString;
|
|
20791
|
+
/**
|
|
20792
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20793
|
+
*/
|
|
20794
|
+
mimeType: z.ZodString;
|
|
19303
20795
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19304
20796
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
19305
20797
|
/**
|
|
@@ -19473,6 +20965,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19473
20965
|
* The MIME type of the image. Different providers may support different image types.
|
|
19474
20966
|
*/
|
|
19475
20967
|
mimeType: z.ZodString;
|
|
20968
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20969
|
+
type: z.ZodLiteral<"audio">;
|
|
20970
|
+
/**
|
|
20971
|
+
* The base64-encoded audio data.
|
|
20972
|
+
*/
|
|
20973
|
+
data: z.ZodString;
|
|
20974
|
+
/**
|
|
20975
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20976
|
+
*/
|
|
20977
|
+
mimeType: z.ZodString;
|
|
20978
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20979
|
+
type: z.ZodLiteral<"audio">;
|
|
20980
|
+
/**
|
|
20981
|
+
* The base64-encoded audio data.
|
|
20982
|
+
*/
|
|
20983
|
+
data: z.ZodString;
|
|
20984
|
+
/**
|
|
20985
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20986
|
+
*/
|
|
20987
|
+
mimeType: z.ZodString;
|
|
20988
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20989
|
+
type: z.ZodLiteral<"audio">;
|
|
20990
|
+
/**
|
|
20991
|
+
* The base64-encoded audio data.
|
|
20992
|
+
*/
|
|
20993
|
+
data: z.ZodString;
|
|
20994
|
+
/**
|
|
20995
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
20996
|
+
*/
|
|
20997
|
+
mimeType: z.ZodString;
|
|
19476
20998
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19477
20999
|
}, z.ZodTypeAny, "passthrough">[];
|
|
19478
21000
|
maxTokens: number;
|
|
@@ -19576,6 +21098,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
19576
21098
|
* The MIME type of the image. Different providers may support different image types.
|
|
19577
21099
|
*/
|
|
19578
21100
|
mimeType: z.ZodString;
|
|
21101
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
21102
|
+
type: z.ZodLiteral<"audio">;
|
|
21103
|
+
/**
|
|
21104
|
+
* The base64-encoded audio data.
|
|
21105
|
+
*/
|
|
21106
|
+
data: z.ZodString;
|
|
21107
|
+
/**
|
|
21108
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
21109
|
+
*/
|
|
21110
|
+
mimeType: z.ZodString;
|
|
21111
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
21112
|
+
type: z.ZodLiteral<"audio">;
|
|
21113
|
+
/**
|
|
21114
|
+
* The base64-encoded audio data.
|
|
21115
|
+
*/
|
|
21116
|
+
data: z.ZodString;
|
|
21117
|
+
/**
|
|
21118
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
21119
|
+
*/
|
|
21120
|
+
mimeType: z.ZodString;
|
|
21121
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
21122
|
+
type: z.ZodLiteral<"audio">;
|
|
21123
|
+
/**
|
|
21124
|
+
* The base64-encoded audio data.
|
|
21125
|
+
*/
|
|
21126
|
+
data: z.ZodString;
|
|
21127
|
+
/**
|
|
21128
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
21129
|
+
*/
|
|
21130
|
+
mimeType: z.ZodString;
|
|
19579
21131
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
19580
21132
|
}, z.ZodTypeAny, "passthrough">[];
|
|
19581
21133
|
maxTokens: number;
|
|
@@ -20208,6 +21760,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20208
21760
|
* Present if the server supports sending log messages to the client.
|
|
20209
21761
|
*/
|
|
20210
21762
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
21763
|
+
/**
|
|
21764
|
+
* Present if the server supports sending completions to the client.
|
|
21765
|
+
*/
|
|
21766
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20211
21767
|
/**
|
|
20212
21768
|
* Present if the server offers any prompt templates.
|
|
20213
21769
|
*/
|
|
@@ -20286,6 +21842,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20286
21842
|
* Present if the server supports sending log messages to the client.
|
|
20287
21843
|
*/
|
|
20288
21844
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
21845
|
+
/**
|
|
21846
|
+
* Present if the server supports sending completions to the client.
|
|
21847
|
+
*/
|
|
21848
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20289
21849
|
/**
|
|
20290
21850
|
* Present if the server offers any prompt templates.
|
|
20291
21851
|
*/
|
|
@@ -20364,6 +21924,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20364
21924
|
* Present if the server supports sending log messages to the client.
|
|
20365
21925
|
*/
|
|
20366
21926
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
21927
|
+
/**
|
|
21928
|
+
* Present if the server supports sending completions to the client.
|
|
21929
|
+
*/
|
|
21930
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20367
21931
|
/**
|
|
20368
21932
|
* Present if the server offers any prompt templates.
|
|
20369
21933
|
*/
|
|
@@ -20469,6 +22033,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20469
22033
|
* Present if the server supports sending log messages to the client.
|
|
20470
22034
|
*/
|
|
20471
22035
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22036
|
+
/**
|
|
22037
|
+
* Present if the server supports sending completions to the client.
|
|
22038
|
+
*/
|
|
22039
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20472
22040
|
/**
|
|
20473
22041
|
* Present if the server offers any prompt templates.
|
|
20474
22042
|
*/
|
|
@@ -20547,6 +22115,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20547
22115
|
* Present if the server supports sending log messages to the client.
|
|
20548
22116
|
*/
|
|
20549
22117
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22118
|
+
/**
|
|
22119
|
+
* Present if the server supports sending completions to the client.
|
|
22120
|
+
*/
|
|
22121
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20550
22122
|
/**
|
|
20551
22123
|
* Present if the server offers any prompt templates.
|
|
20552
22124
|
*/
|
|
@@ -20625,6 +22197,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20625
22197
|
* Present if the server supports sending log messages to the client.
|
|
20626
22198
|
*/
|
|
20627
22199
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22200
|
+
/**
|
|
22201
|
+
* Present if the server supports sending completions to the client.
|
|
22202
|
+
*/
|
|
22203
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20628
22204
|
/**
|
|
20629
22205
|
* Present if the server offers any prompt templates.
|
|
20630
22206
|
*/
|
|
@@ -20730,6 +22306,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20730
22306
|
* Present if the server supports sending log messages to the client.
|
|
20731
22307
|
*/
|
|
20732
22308
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22309
|
+
/**
|
|
22310
|
+
* Present if the server supports sending completions to the client.
|
|
22311
|
+
*/
|
|
22312
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20733
22313
|
/**
|
|
20734
22314
|
* Present if the server offers any prompt templates.
|
|
20735
22315
|
*/
|
|
@@ -20808,6 +22388,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20808
22388
|
* Present if the server supports sending log messages to the client.
|
|
20809
22389
|
*/
|
|
20810
22390
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22391
|
+
/**
|
|
22392
|
+
* Present if the server supports sending completions to the client.
|
|
22393
|
+
*/
|
|
22394
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20811
22395
|
/**
|
|
20812
22396
|
* Present if the server offers any prompt templates.
|
|
20813
22397
|
*/
|
|
@@ -20886,6 +22470,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20886
22470
|
* Present if the server supports sending log messages to the client.
|
|
20887
22471
|
*/
|
|
20888
22472
|
logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
22473
|
+
/**
|
|
22474
|
+
* Present if the server supports sending completions to the client.
|
|
22475
|
+
*/
|
|
22476
|
+
completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20889
22477
|
/**
|
|
20890
22478
|
* Present if the server offers any prompt templates.
|
|
20891
22479
|
*/
|
|
@@ -21170,6 +22758,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
21170
22758
|
* The MIME type of the image. Different providers may support different image types.
|
|
21171
22759
|
*/
|
|
21172
22760
|
mimeType: z.ZodString;
|
|
22761
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
22762
|
+
type: z.ZodLiteral<"audio">;
|
|
22763
|
+
/**
|
|
22764
|
+
* The base64-encoded audio data.
|
|
22765
|
+
*/
|
|
22766
|
+
data: z.ZodString;
|
|
22767
|
+
/**
|
|
22768
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
22769
|
+
*/
|
|
22770
|
+
mimeType: z.ZodString;
|
|
22771
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
22772
|
+
type: z.ZodLiteral<"audio">;
|
|
22773
|
+
/**
|
|
22774
|
+
* The base64-encoded audio data.
|
|
22775
|
+
*/
|
|
22776
|
+
data: z.ZodString;
|
|
22777
|
+
/**
|
|
22778
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
22779
|
+
*/
|
|
22780
|
+
mimeType: z.ZodString;
|
|
22781
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
22782
|
+
type: z.ZodLiteral<"audio">;
|
|
22783
|
+
/**
|
|
22784
|
+
* The base64-encoded audio data.
|
|
22785
|
+
*/
|
|
22786
|
+
data: z.ZodString;
|
|
22787
|
+
/**
|
|
22788
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
22789
|
+
*/
|
|
22790
|
+
mimeType: z.ZodString;
|
|
21173
22791
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
21174
22792
|
type: z.ZodLiteral<"resource">;
|
|
21175
22793
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -21482,6 +23100,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
21482
23100
|
* The MIME type of the image. Different providers may support different image types.
|
|
21483
23101
|
*/
|
|
21484
23102
|
mimeType: z.ZodString;
|
|
23103
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23104
|
+
type: z.ZodLiteral<"audio">;
|
|
23105
|
+
/**
|
|
23106
|
+
* The base64-encoded audio data.
|
|
23107
|
+
*/
|
|
23108
|
+
data: z.ZodString;
|
|
23109
|
+
/**
|
|
23110
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23111
|
+
*/
|
|
23112
|
+
mimeType: z.ZodString;
|
|
23113
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
23114
|
+
type: z.ZodLiteral<"audio">;
|
|
23115
|
+
/**
|
|
23116
|
+
* The base64-encoded audio data.
|
|
23117
|
+
*/
|
|
23118
|
+
data: z.ZodString;
|
|
23119
|
+
/**
|
|
23120
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23121
|
+
*/
|
|
23122
|
+
mimeType: z.ZodString;
|
|
23123
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
23124
|
+
type: z.ZodLiteral<"audio">;
|
|
23125
|
+
/**
|
|
23126
|
+
* The base64-encoded audio data.
|
|
23127
|
+
*/
|
|
23128
|
+
data: z.ZodString;
|
|
23129
|
+
/**
|
|
23130
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23131
|
+
*/
|
|
23132
|
+
mimeType: z.ZodString;
|
|
21485
23133
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
21486
23134
|
type: z.ZodLiteral<"resource">;
|
|
21487
23135
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -21794,6 +23442,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
21794
23442
|
* The MIME type of the image. Different providers may support different image types.
|
|
21795
23443
|
*/
|
|
21796
23444
|
mimeType: z.ZodString;
|
|
23445
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23446
|
+
type: z.ZodLiteral<"audio">;
|
|
23447
|
+
/**
|
|
23448
|
+
* The base64-encoded audio data.
|
|
23449
|
+
*/
|
|
23450
|
+
data: z.ZodString;
|
|
23451
|
+
/**
|
|
23452
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23453
|
+
*/
|
|
23454
|
+
mimeType: z.ZodString;
|
|
23455
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
23456
|
+
type: z.ZodLiteral<"audio">;
|
|
23457
|
+
/**
|
|
23458
|
+
* The base64-encoded audio data.
|
|
23459
|
+
*/
|
|
23460
|
+
data: z.ZodString;
|
|
23461
|
+
/**
|
|
23462
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23463
|
+
*/
|
|
23464
|
+
mimeType: z.ZodString;
|
|
23465
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
23466
|
+
type: z.ZodLiteral<"audio">;
|
|
23467
|
+
/**
|
|
23468
|
+
* The base64-encoded audio data.
|
|
23469
|
+
*/
|
|
23470
|
+
data: z.ZodString;
|
|
23471
|
+
/**
|
|
23472
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23473
|
+
*/
|
|
23474
|
+
mimeType: z.ZodString;
|
|
21797
23475
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
21798
23476
|
type: z.ZodLiteral<"resource">;
|
|
21799
23477
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -22117,6 +23795,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22117
23795
|
* The MIME type of the image. Different providers may support different image types.
|
|
22118
23796
|
*/
|
|
22119
23797
|
mimeType: z.ZodString;
|
|
23798
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23799
|
+
type: z.ZodLiteral<"audio">;
|
|
23800
|
+
/**
|
|
23801
|
+
* The base64-encoded audio data.
|
|
23802
|
+
*/
|
|
23803
|
+
data: z.ZodString;
|
|
23804
|
+
/**
|
|
23805
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23806
|
+
*/
|
|
23807
|
+
mimeType: z.ZodString;
|
|
23808
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
23809
|
+
type: z.ZodLiteral<"audio">;
|
|
23810
|
+
/**
|
|
23811
|
+
* The base64-encoded audio data.
|
|
23812
|
+
*/
|
|
23813
|
+
data: z.ZodString;
|
|
23814
|
+
/**
|
|
23815
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23816
|
+
*/
|
|
23817
|
+
mimeType: z.ZodString;
|
|
23818
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
23819
|
+
type: z.ZodLiteral<"audio">;
|
|
23820
|
+
/**
|
|
23821
|
+
* The base64-encoded audio data.
|
|
23822
|
+
*/
|
|
23823
|
+
data: z.ZodString;
|
|
23824
|
+
/**
|
|
23825
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
23826
|
+
*/
|
|
23827
|
+
mimeType: z.ZodString;
|
|
22120
23828
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
22121
23829
|
type: z.ZodLiteral<"resource">;
|
|
22122
23830
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -22429,6 +24137,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22429
24137
|
* The MIME type of the image. Different providers may support different image types.
|
|
22430
24138
|
*/
|
|
22431
24139
|
mimeType: z.ZodString;
|
|
24140
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
24141
|
+
type: z.ZodLiteral<"audio">;
|
|
24142
|
+
/**
|
|
24143
|
+
* The base64-encoded audio data.
|
|
24144
|
+
*/
|
|
24145
|
+
data: z.ZodString;
|
|
24146
|
+
/**
|
|
24147
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24148
|
+
*/
|
|
24149
|
+
mimeType: z.ZodString;
|
|
24150
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
24151
|
+
type: z.ZodLiteral<"audio">;
|
|
24152
|
+
/**
|
|
24153
|
+
* The base64-encoded audio data.
|
|
24154
|
+
*/
|
|
24155
|
+
data: z.ZodString;
|
|
24156
|
+
/**
|
|
24157
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24158
|
+
*/
|
|
24159
|
+
mimeType: z.ZodString;
|
|
24160
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24161
|
+
type: z.ZodLiteral<"audio">;
|
|
24162
|
+
/**
|
|
24163
|
+
* The base64-encoded audio data.
|
|
24164
|
+
*/
|
|
24165
|
+
data: z.ZodString;
|
|
24166
|
+
/**
|
|
24167
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24168
|
+
*/
|
|
24169
|
+
mimeType: z.ZodString;
|
|
22432
24170
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
22433
24171
|
type: z.ZodLiteral<"resource">;
|
|
22434
24172
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -22741,6 +24479,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22741
24479
|
* The MIME type of the image. Different providers may support different image types.
|
|
22742
24480
|
*/
|
|
22743
24481
|
mimeType: z.ZodString;
|
|
24482
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
24483
|
+
type: z.ZodLiteral<"audio">;
|
|
24484
|
+
/**
|
|
24485
|
+
* The base64-encoded audio data.
|
|
24486
|
+
*/
|
|
24487
|
+
data: z.ZodString;
|
|
24488
|
+
/**
|
|
24489
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24490
|
+
*/
|
|
24491
|
+
mimeType: z.ZodString;
|
|
24492
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
24493
|
+
type: z.ZodLiteral<"audio">;
|
|
24494
|
+
/**
|
|
24495
|
+
* The base64-encoded audio data.
|
|
24496
|
+
*/
|
|
24497
|
+
data: z.ZodString;
|
|
24498
|
+
/**
|
|
24499
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24500
|
+
*/
|
|
24501
|
+
mimeType: z.ZodString;
|
|
24502
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24503
|
+
type: z.ZodLiteral<"audio">;
|
|
24504
|
+
/**
|
|
24505
|
+
* The base64-encoded audio data.
|
|
24506
|
+
*/
|
|
24507
|
+
data: z.ZodString;
|
|
24508
|
+
/**
|
|
24509
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24510
|
+
*/
|
|
24511
|
+
mimeType: z.ZodString;
|
|
22744
24512
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
22745
24513
|
type: z.ZodLiteral<"resource">;
|
|
22746
24514
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -23064,6 +24832,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
23064
24832
|
* The MIME type of the image. Different providers may support different image types.
|
|
23065
24833
|
*/
|
|
23066
24834
|
mimeType: z.ZodString;
|
|
24835
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
24836
|
+
type: z.ZodLiteral<"audio">;
|
|
24837
|
+
/**
|
|
24838
|
+
* The base64-encoded audio data.
|
|
24839
|
+
*/
|
|
24840
|
+
data: z.ZodString;
|
|
24841
|
+
/**
|
|
24842
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24843
|
+
*/
|
|
24844
|
+
mimeType: z.ZodString;
|
|
24845
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
24846
|
+
type: z.ZodLiteral<"audio">;
|
|
24847
|
+
/**
|
|
24848
|
+
* The base64-encoded audio data.
|
|
24849
|
+
*/
|
|
24850
|
+
data: z.ZodString;
|
|
24851
|
+
/**
|
|
24852
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24853
|
+
*/
|
|
24854
|
+
mimeType: z.ZodString;
|
|
24855
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24856
|
+
type: z.ZodLiteral<"audio">;
|
|
24857
|
+
/**
|
|
24858
|
+
* The base64-encoded audio data.
|
|
24859
|
+
*/
|
|
24860
|
+
data: z.ZodString;
|
|
24861
|
+
/**
|
|
24862
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
24863
|
+
*/
|
|
24864
|
+
mimeType: z.ZodString;
|
|
23067
24865
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23068
24866
|
type: z.ZodLiteral<"resource">;
|
|
23069
24867
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -23376,6 +25174,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
23376
25174
|
* The MIME type of the image. Different providers may support different image types.
|
|
23377
25175
|
*/
|
|
23378
25176
|
mimeType: z.ZodString;
|
|
25177
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25178
|
+
type: z.ZodLiteral<"audio">;
|
|
25179
|
+
/**
|
|
25180
|
+
* The base64-encoded audio data.
|
|
25181
|
+
*/
|
|
25182
|
+
data: z.ZodString;
|
|
25183
|
+
/**
|
|
25184
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25185
|
+
*/
|
|
25186
|
+
mimeType: z.ZodString;
|
|
25187
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
25188
|
+
type: z.ZodLiteral<"audio">;
|
|
25189
|
+
/**
|
|
25190
|
+
* The base64-encoded audio data.
|
|
25191
|
+
*/
|
|
25192
|
+
data: z.ZodString;
|
|
25193
|
+
/**
|
|
25194
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25195
|
+
*/
|
|
25196
|
+
mimeType: z.ZodString;
|
|
25197
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25198
|
+
type: z.ZodLiteral<"audio">;
|
|
25199
|
+
/**
|
|
25200
|
+
* The base64-encoded audio data.
|
|
25201
|
+
*/
|
|
25202
|
+
data: z.ZodString;
|
|
25203
|
+
/**
|
|
25204
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25205
|
+
*/
|
|
25206
|
+
mimeType: z.ZodString;
|
|
23379
25207
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23380
25208
|
type: z.ZodLiteral<"resource">;
|
|
23381
25209
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -23688,6 +25516,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
23688
25516
|
* The MIME type of the image. Different providers may support different image types.
|
|
23689
25517
|
*/
|
|
23690
25518
|
mimeType: z.ZodString;
|
|
25519
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25520
|
+
type: z.ZodLiteral<"audio">;
|
|
25521
|
+
/**
|
|
25522
|
+
* The base64-encoded audio data.
|
|
25523
|
+
*/
|
|
25524
|
+
data: z.ZodString;
|
|
25525
|
+
/**
|
|
25526
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25527
|
+
*/
|
|
25528
|
+
mimeType: z.ZodString;
|
|
25529
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
25530
|
+
type: z.ZodLiteral<"audio">;
|
|
25531
|
+
/**
|
|
25532
|
+
* The base64-encoded audio data.
|
|
25533
|
+
*/
|
|
25534
|
+
data: z.ZodString;
|
|
25535
|
+
/**
|
|
25536
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25537
|
+
*/
|
|
25538
|
+
mimeType: z.ZodString;
|
|
25539
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25540
|
+
type: z.ZodLiteral<"audio">;
|
|
25541
|
+
/**
|
|
25542
|
+
* The base64-encoded audio data.
|
|
25543
|
+
*/
|
|
25544
|
+
data: z.ZodString;
|
|
25545
|
+
/**
|
|
25546
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
25547
|
+
*/
|
|
25548
|
+
mimeType: z.ZodString;
|
|
23691
25549
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
23692
25550
|
type: z.ZodLiteral<"resource">;
|
|
23693
25551
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -25241,6 +27099,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25241
27099
|
* The MIME type of the image. Different providers may support different image types.
|
|
25242
27100
|
*/
|
|
25243
27101
|
mimeType: z.ZodString;
|
|
27102
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
27103
|
+
type: z.ZodLiteral<"audio">;
|
|
27104
|
+
/**
|
|
27105
|
+
* The base64-encoded audio data.
|
|
27106
|
+
*/
|
|
27107
|
+
data: z.ZodString;
|
|
27108
|
+
/**
|
|
27109
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27110
|
+
*/
|
|
27111
|
+
mimeType: z.ZodString;
|
|
27112
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
27113
|
+
type: z.ZodLiteral<"audio">;
|
|
27114
|
+
/**
|
|
27115
|
+
* The base64-encoded audio data.
|
|
27116
|
+
*/
|
|
27117
|
+
data: z.ZodString;
|
|
27118
|
+
/**
|
|
27119
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27120
|
+
*/
|
|
27121
|
+
mimeType: z.ZodString;
|
|
27122
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
27123
|
+
type: z.ZodLiteral<"audio">;
|
|
27124
|
+
/**
|
|
27125
|
+
* The base64-encoded audio data.
|
|
27126
|
+
*/
|
|
27127
|
+
data: z.ZodString;
|
|
27128
|
+
/**
|
|
27129
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27130
|
+
*/
|
|
27131
|
+
mimeType: z.ZodString;
|
|
25244
27132
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25245
27133
|
type: z.ZodLiteral<"resource">;
|
|
25246
27134
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -25558,6 +27446,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25558
27446
|
* The MIME type of the image. Different providers may support different image types.
|
|
25559
27447
|
*/
|
|
25560
27448
|
mimeType: z.ZodString;
|
|
27449
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
27450
|
+
type: z.ZodLiteral<"audio">;
|
|
27451
|
+
/**
|
|
27452
|
+
* The base64-encoded audio data.
|
|
27453
|
+
*/
|
|
27454
|
+
data: z.ZodString;
|
|
27455
|
+
/**
|
|
27456
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27457
|
+
*/
|
|
27458
|
+
mimeType: z.ZodString;
|
|
27459
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
27460
|
+
type: z.ZodLiteral<"audio">;
|
|
27461
|
+
/**
|
|
27462
|
+
* The base64-encoded audio data.
|
|
27463
|
+
*/
|
|
27464
|
+
data: z.ZodString;
|
|
27465
|
+
/**
|
|
27466
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27467
|
+
*/
|
|
27468
|
+
mimeType: z.ZodString;
|
|
27469
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
27470
|
+
type: z.ZodLiteral<"audio">;
|
|
27471
|
+
/**
|
|
27472
|
+
* The base64-encoded audio data.
|
|
27473
|
+
*/
|
|
27474
|
+
data: z.ZodString;
|
|
27475
|
+
/**
|
|
27476
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27477
|
+
*/
|
|
27478
|
+
mimeType: z.ZodString;
|
|
25561
27479
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25562
27480
|
type: z.ZodLiteral<"resource">;
|
|
25563
27481
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -25875,6 +27793,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25875
27793
|
* The MIME type of the image. Different providers may support different image types.
|
|
25876
27794
|
*/
|
|
25877
27795
|
mimeType: z.ZodString;
|
|
27796
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
27797
|
+
type: z.ZodLiteral<"audio">;
|
|
27798
|
+
/**
|
|
27799
|
+
* The base64-encoded audio data.
|
|
27800
|
+
*/
|
|
27801
|
+
data: z.ZodString;
|
|
27802
|
+
/**
|
|
27803
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27804
|
+
*/
|
|
27805
|
+
mimeType: z.ZodString;
|
|
27806
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
27807
|
+
type: z.ZodLiteral<"audio">;
|
|
27808
|
+
/**
|
|
27809
|
+
* The base64-encoded audio data.
|
|
27810
|
+
*/
|
|
27811
|
+
data: z.ZodString;
|
|
27812
|
+
/**
|
|
27813
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27814
|
+
*/
|
|
27815
|
+
mimeType: z.ZodString;
|
|
27816
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
27817
|
+
type: z.ZodLiteral<"audio">;
|
|
27818
|
+
/**
|
|
27819
|
+
* The base64-encoded audio data.
|
|
27820
|
+
*/
|
|
27821
|
+
data: z.ZodString;
|
|
27822
|
+
/**
|
|
27823
|
+
* The MIME type of the audio. Different providers may support different audio types.
|
|
27824
|
+
*/
|
|
27825
|
+
mimeType: z.ZodString;
|
|
25878
27826
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25879
27827
|
type: z.ZodLiteral<"resource">;
|
|
25880
27828
|
resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -26432,6 +28380,7 @@ export type ListPromptsResult = Infer<typeof ListPromptsResultSchema>;
|
|
|
26432
28380
|
export type GetPromptRequest = Infer<typeof GetPromptRequestSchema>;
|
|
26433
28381
|
export type TextContent = Infer<typeof TextContentSchema>;
|
|
26434
28382
|
export type ImageContent = Infer<typeof ImageContentSchema>;
|
|
28383
|
+
export type AudioContent = Infer<typeof AudioContentSchema>;
|
|
26435
28384
|
export type EmbeddedResource = Infer<typeof EmbeddedResourceSchema>;
|
|
26436
28385
|
export type PromptMessage = Infer<typeof PromptMessageSchema>;
|
|
26437
28386
|
export type GetPromptResult = Infer<typeof GetPromptResultSchema>;
|