@adaline/gateway 1.3.0 → 1.5.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/dist/index.d.mts +188 -120
- package/dist/index.d.ts +188 -120
- package/dist/index.js +39 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -328,14 +328,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
328
328
|
};
|
|
329
329
|
};
|
|
330
330
|
metadata?: any;
|
|
331
|
-
|
|
331
|
+
request?: {
|
|
332
332
|
type: "http";
|
|
333
333
|
url: string;
|
|
334
334
|
method: "get" | "post";
|
|
335
|
-
proxyUrl?: string | undefined;
|
|
336
335
|
headers?: Record<string, string> | undefined;
|
|
337
336
|
query?: Record<string, string> | undefined;
|
|
338
337
|
body?: Record<string, any> | undefined;
|
|
338
|
+
proxyUrl?: string | undefined;
|
|
339
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
339
340
|
retry?: {
|
|
340
341
|
maxAttempts: number;
|
|
341
342
|
initialDelay: number;
|
|
@@ -480,14 +481,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
480
481
|
};
|
|
481
482
|
};
|
|
482
483
|
metadata?: any;
|
|
483
|
-
|
|
484
|
+
request?: {
|
|
484
485
|
type: "http";
|
|
485
486
|
url: string;
|
|
486
487
|
method: "get" | "post";
|
|
487
|
-
proxyUrl?: string | undefined;
|
|
488
488
|
headers?: Record<string, string> | undefined;
|
|
489
489
|
query?: Record<string, string> | undefined;
|
|
490
490
|
body?: Record<string, any> | undefined;
|
|
491
|
+
proxyUrl?: string | undefined;
|
|
492
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
491
493
|
retry?: {
|
|
492
494
|
maxAttempts: number;
|
|
493
495
|
initialDelay: number;
|
|
@@ -991,14 +993,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
991
993
|
parameters?: any;
|
|
992
994
|
};
|
|
993
995
|
}>;
|
|
994
|
-
|
|
996
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
995
997
|
type: z.ZodLiteral<"http">;
|
|
996
998
|
method: z.ZodEnum<["get", "post"]>;
|
|
997
999
|
url: z.ZodString;
|
|
998
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
999
1000
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1000
1001
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1001
1002
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1003
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1002
1005
|
retry: z.ZodOptional<z.ZodObject<{
|
|
1003
1006
|
maxAttempts: z.ZodNumber;
|
|
1004
1007
|
initialDelay: z.ZodNumber;
|
|
@@ -1016,10 +1019,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1016
1019
|
type: "http";
|
|
1017
1020
|
url: string;
|
|
1018
1021
|
method: "get" | "post";
|
|
1019
|
-
proxyUrl?: string | undefined;
|
|
1020
1022
|
headers?: Record<string, string> | undefined;
|
|
1021
1023
|
query?: Record<string, string> | undefined;
|
|
1022
1024
|
body?: Record<string, any> | undefined;
|
|
1025
|
+
proxyUrl?: string | undefined;
|
|
1026
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1023
1027
|
retry?: {
|
|
1024
1028
|
maxAttempts: number;
|
|
1025
1029
|
initialDelay: number;
|
|
@@ -1029,10 +1033,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1029
1033
|
type: "http";
|
|
1030
1034
|
url: string;
|
|
1031
1035
|
method: "get" | "post";
|
|
1032
|
-
proxyUrl?: string | undefined;
|
|
1033
1036
|
headers?: Record<string, string> | undefined;
|
|
1034
1037
|
query?: Record<string, string> | undefined;
|
|
1035
1038
|
body?: Record<string, any> | undefined;
|
|
1039
|
+
proxyUrl?: string | undefined;
|
|
1040
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1036
1041
|
retry?: {
|
|
1037
1042
|
maxAttempts: number;
|
|
1038
1043
|
initialDelay: number;
|
|
@@ -1052,14 +1057,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1052
1057
|
};
|
|
1053
1058
|
};
|
|
1054
1059
|
metadata?: any;
|
|
1055
|
-
|
|
1060
|
+
request?: {
|
|
1056
1061
|
type: "http";
|
|
1057
1062
|
url: string;
|
|
1058
1063
|
method: "get" | "post";
|
|
1059
|
-
proxyUrl?: string | undefined;
|
|
1060
1064
|
headers?: Record<string, string> | undefined;
|
|
1061
1065
|
query?: Record<string, string> | undefined;
|
|
1062
1066
|
body?: Record<string, any> | undefined;
|
|
1067
|
+
proxyUrl?: string | undefined;
|
|
1068
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1063
1069
|
retry?: {
|
|
1064
1070
|
maxAttempts: number;
|
|
1065
1071
|
initialDelay: number;
|
|
@@ -1077,14 +1083,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1077
1083
|
};
|
|
1078
1084
|
};
|
|
1079
1085
|
metadata?: any;
|
|
1080
|
-
|
|
1086
|
+
request?: {
|
|
1081
1087
|
type: "http";
|
|
1082
1088
|
url: string;
|
|
1083
1089
|
method: "get" | "post";
|
|
1084
|
-
proxyUrl?: string | undefined;
|
|
1085
1090
|
headers?: Record<string, string> | undefined;
|
|
1086
1091
|
query?: Record<string, string> | undefined;
|
|
1087
1092
|
body?: Record<string, any> | undefined;
|
|
1093
|
+
proxyUrl?: string | undefined;
|
|
1094
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1088
1095
|
retry?: {
|
|
1089
1096
|
maxAttempts: number;
|
|
1090
1097
|
initialDelay: number;
|
|
@@ -1272,14 +1279,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1272
1279
|
};
|
|
1273
1280
|
};
|
|
1274
1281
|
metadata?: any;
|
|
1275
|
-
|
|
1282
|
+
request?: {
|
|
1276
1283
|
type: "http";
|
|
1277
1284
|
url: string;
|
|
1278
1285
|
method: "get" | "post";
|
|
1279
|
-
proxyUrl?: string | undefined;
|
|
1280
1286
|
headers?: Record<string, string> | undefined;
|
|
1281
1287
|
query?: Record<string, string> | undefined;
|
|
1282
1288
|
body?: Record<string, any> | undefined;
|
|
1289
|
+
proxyUrl?: string | undefined;
|
|
1290
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1283
1291
|
retry?: {
|
|
1284
1292
|
maxAttempts: number;
|
|
1285
1293
|
initialDelay: number;
|
|
@@ -1373,14 +1381,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1373
1381
|
};
|
|
1374
1382
|
};
|
|
1375
1383
|
metadata?: any;
|
|
1376
|
-
|
|
1384
|
+
request?: {
|
|
1377
1385
|
type: "http";
|
|
1378
1386
|
url: string;
|
|
1379
1387
|
method: "get" | "post";
|
|
1380
|
-
proxyUrl?: string | undefined;
|
|
1381
1388
|
headers?: Record<string, string> | undefined;
|
|
1382
1389
|
query?: Record<string, string> | undefined;
|
|
1383
1390
|
body?: Record<string, any> | undefined;
|
|
1391
|
+
proxyUrl?: string | undefined;
|
|
1392
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1384
1393
|
retry?: {
|
|
1385
1394
|
maxAttempts: number;
|
|
1386
1395
|
initialDelay: number;
|
|
@@ -1567,14 +1576,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1567
1576
|
};
|
|
1568
1577
|
};
|
|
1569
1578
|
metadata?: any;
|
|
1570
|
-
|
|
1579
|
+
request?: {
|
|
1571
1580
|
type: "http";
|
|
1572
1581
|
url: string;
|
|
1573
1582
|
method: "get" | "post";
|
|
1574
|
-
proxyUrl?: string | undefined;
|
|
1575
1583
|
headers?: Record<string, string> | undefined;
|
|
1576
1584
|
query?: Record<string, string> | undefined;
|
|
1577
1585
|
body?: Record<string, any> | undefined;
|
|
1586
|
+
proxyUrl?: string | undefined;
|
|
1587
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1578
1588
|
retry?: {
|
|
1579
1589
|
maxAttempts: number;
|
|
1580
1590
|
initialDelay: number;
|
|
@@ -1668,14 +1678,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1668
1678
|
};
|
|
1669
1679
|
};
|
|
1670
1680
|
metadata?: any;
|
|
1671
|
-
|
|
1681
|
+
request?: {
|
|
1672
1682
|
type: "http";
|
|
1673
1683
|
url: string;
|
|
1674
1684
|
method: "get" | "post";
|
|
1675
|
-
proxyUrl?: string | undefined;
|
|
1676
1685
|
headers?: Record<string, string> | undefined;
|
|
1677
1686
|
query?: Record<string, string> | undefined;
|
|
1678
1687
|
body?: Record<string, any> | undefined;
|
|
1688
|
+
proxyUrl?: string | undefined;
|
|
1689
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
1679
1690
|
retry?: {
|
|
1680
1691
|
maxAttempts: number;
|
|
1681
1692
|
initialDelay: number;
|
|
@@ -1990,14 +2001,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1990
2001
|
parameters?: any;
|
|
1991
2002
|
};
|
|
1992
2003
|
}>;
|
|
1993
|
-
|
|
2004
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1994
2005
|
type: z.ZodLiteral<"http">;
|
|
1995
2006
|
method: z.ZodEnum<["get", "post"]>;
|
|
1996
2007
|
url: z.ZodString;
|
|
1997
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
1998
2008
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1999
2009
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2000
2010
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2011
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2001
2013
|
retry: z.ZodOptional<z.ZodObject<{
|
|
2002
2014
|
maxAttempts: z.ZodNumber;
|
|
2003
2015
|
initialDelay: z.ZodNumber;
|
|
@@ -2015,10 +2027,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2015
2027
|
type: "http";
|
|
2016
2028
|
url: string;
|
|
2017
2029
|
method: "get" | "post";
|
|
2018
|
-
proxyUrl?: string | undefined;
|
|
2019
2030
|
headers?: Record<string, string> | undefined;
|
|
2020
2031
|
query?: Record<string, string> | undefined;
|
|
2021
2032
|
body?: Record<string, any> | undefined;
|
|
2033
|
+
proxyUrl?: string | undefined;
|
|
2034
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2022
2035
|
retry?: {
|
|
2023
2036
|
maxAttempts: number;
|
|
2024
2037
|
initialDelay: number;
|
|
@@ -2028,10 +2041,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2028
2041
|
type: "http";
|
|
2029
2042
|
url: string;
|
|
2030
2043
|
method: "get" | "post";
|
|
2031
|
-
proxyUrl?: string | undefined;
|
|
2032
2044
|
headers?: Record<string, string> | undefined;
|
|
2033
2045
|
query?: Record<string, string> | undefined;
|
|
2034
2046
|
body?: Record<string, any> | undefined;
|
|
2047
|
+
proxyUrl?: string | undefined;
|
|
2048
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2035
2049
|
retry?: {
|
|
2036
2050
|
maxAttempts: number;
|
|
2037
2051
|
initialDelay: number;
|
|
@@ -2051,14 +2065,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2051
2065
|
};
|
|
2052
2066
|
};
|
|
2053
2067
|
metadata?: any;
|
|
2054
|
-
|
|
2068
|
+
request?: {
|
|
2055
2069
|
type: "http";
|
|
2056
2070
|
url: string;
|
|
2057
2071
|
method: "get" | "post";
|
|
2058
|
-
proxyUrl?: string | undefined;
|
|
2059
2072
|
headers?: Record<string, string> | undefined;
|
|
2060
2073
|
query?: Record<string, string> | undefined;
|
|
2061
2074
|
body?: Record<string, any> | undefined;
|
|
2075
|
+
proxyUrl?: string | undefined;
|
|
2076
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2062
2077
|
retry?: {
|
|
2063
2078
|
maxAttempts: number;
|
|
2064
2079
|
initialDelay: number;
|
|
@@ -2076,14 +2091,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2076
2091
|
};
|
|
2077
2092
|
};
|
|
2078
2093
|
metadata?: any;
|
|
2079
|
-
|
|
2094
|
+
request?: {
|
|
2080
2095
|
type: "http";
|
|
2081
2096
|
url: string;
|
|
2082
2097
|
method: "get" | "post";
|
|
2083
|
-
proxyUrl?: string | undefined;
|
|
2084
2098
|
headers?: Record<string, string> | undefined;
|
|
2085
2099
|
query?: Record<string, string> | undefined;
|
|
2086
2100
|
body?: Record<string, any> | undefined;
|
|
2101
|
+
proxyUrl?: string | undefined;
|
|
2102
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2087
2103
|
retry?: {
|
|
2088
2104
|
maxAttempts: number;
|
|
2089
2105
|
initialDelay: number;
|
|
@@ -2153,14 +2169,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2153
2169
|
};
|
|
2154
2170
|
};
|
|
2155
2171
|
metadata?: any;
|
|
2156
|
-
|
|
2172
|
+
request?: {
|
|
2157
2173
|
type: "http";
|
|
2158
2174
|
url: string;
|
|
2159
2175
|
method: "get" | "post";
|
|
2160
|
-
proxyUrl?: string | undefined;
|
|
2161
2176
|
headers?: Record<string, string> | undefined;
|
|
2162
2177
|
query?: Record<string, string> | undefined;
|
|
2163
2178
|
body?: Record<string, any> | undefined;
|
|
2179
|
+
proxyUrl?: string | undefined;
|
|
2180
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2164
2181
|
retry?: {
|
|
2165
2182
|
maxAttempts: number;
|
|
2166
2183
|
initialDelay: number;
|
|
@@ -2230,14 +2247,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2230
2247
|
};
|
|
2231
2248
|
};
|
|
2232
2249
|
metadata?: any;
|
|
2233
|
-
|
|
2250
|
+
request?: {
|
|
2234
2251
|
type: "http";
|
|
2235
2252
|
url: string;
|
|
2236
2253
|
method: "get" | "post";
|
|
2237
|
-
proxyUrl?: string | undefined;
|
|
2238
2254
|
headers?: Record<string, string> | undefined;
|
|
2239
2255
|
query?: Record<string, string> | undefined;
|
|
2240
2256
|
body?: Record<string, any> | undefined;
|
|
2257
|
+
proxyUrl?: string | undefined;
|
|
2258
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2241
2259
|
retry?: {
|
|
2242
2260
|
maxAttempts: number;
|
|
2243
2261
|
initialDelay: number;
|
|
@@ -2769,14 +2787,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2769
2787
|
};
|
|
2770
2788
|
};
|
|
2771
2789
|
metadata?: any;
|
|
2772
|
-
|
|
2790
|
+
request?: {
|
|
2773
2791
|
type: "http";
|
|
2774
2792
|
url: string;
|
|
2775
2793
|
method: "get" | "post";
|
|
2776
|
-
proxyUrl?: string | undefined;
|
|
2777
2794
|
headers?: Record<string, string> | undefined;
|
|
2778
2795
|
query?: Record<string, string> | undefined;
|
|
2779
2796
|
body?: Record<string, any> | undefined;
|
|
2797
|
+
proxyUrl?: string | undefined;
|
|
2798
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2780
2799
|
retry?: {
|
|
2781
2800
|
maxAttempts: number;
|
|
2782
2801
|
initialDelay: number;
|
|
@@ -2921,14 +2940,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2921
2940
|
};
|
|
2922
2941
|
};
|
|
2923
2942
|
metadata?: any;
|
|
2924
|
-
|
|
2943
|
+
request?: {
|
|
2925
2944
|
type: "http";
|
|
2926
2945
|
url: string;
|
|
2927
2946
|
method: "get" | "post";
|
|
2928
|
-
proxyUrl?: string | undefined;
|
|
2929
2947
|
headers?: Record<string, string> | undefined;
|
|
2930
2948
|
query?: Record<string, string> | undefined;
|
|
2931
2949
|
body?: Record<string, any> | undefined;
|
|
2950
|
+
proxyUrl?: string | undefined;
|
|
2951
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
2932
2952
|
retry?: {
|
|
2933
2953
|
maxAttempts: number;
|
|
2934
2954
|
initialDelay: number;
|
|
@@ -4522,14 +4542,15 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4522
4542
|
parameters?: any;
|
|
4523
4543
|
};
|
|
4524
4544
|
}>;
|
|
4525
|
-
|
|
4545
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4526
4546
|
type: z.ZodLiteral<"http">;
|
|
4527
4547
|
method: z.ZodEnum<["get", "post"]>;
|
|
4528
4548
|
url: z.ZodString;
|
|
4529
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
4530
4549
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4531
4550
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4532
4551
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4552
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4533
4554
|
retry: z.ZodOptional<z.ZodObject<{
|
|
4534
4555
|
maxAttempts: z.ZodNumber;
|
|
4535
4556
|
initialDelay: z.ZodNumber;
|
|
@@ -4547,10 +4568,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4547
4568
|
type: "http";
|
|
4548
4569
|
url: string;
|
|
4549
4570
|
method: "get" | "post";
|
|
4550
|
-
proxyUrl?: string | undefined;
|
|
4551
4571
|
headers?: Record<string, string> | undefined;
|
|
4552
4572
|
query?: Record<string, string> | undefined;
|
|
4553
4573
|
body?: Record<string, any> | undefined;
|
|
4574
|
+
proxyUrl?: string | undefined;
|
|
4575
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4554
4576
|
retry?: {
|
|
4555
4577
|
maxAttempts: number;
|
|
4556
4578
|
initialDelay: number;
|
|
@@ -4560,10 +4582,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4560
4582
|
type: "http";
|
|
4561
4583
|
url: string;
|
|
4562
4584
|
method: "get" | "post";
|
|
4563
|
-
proxyUrl?: string | undefined;
|
|
4564
4585
|
headers?: Record<string, string> | undefined;
|
|
4565
4586
|
query?: Record<string, string> | undefined;
|
|
4566
4587
|
body?: Record<string, any> | undefined;
|
|
4588
|
+
proxyUrl?: string | undefined;
|
|
4589
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4567
4590
|
retry?: {
|
|
4568
4591
|
maxAttempts: number;
|
|
4569
4592
|
initialDelay: number;
|
|
@@ -4583,14 +4606,15 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4583
4606
|
};
|
|
4584
4607
|
};
|
|
4585
4608
|
metadata?: any;
|
|
4586
|
-
|
|
4609
|
+
request?: {
|
|
4587
4610
|
type: "http";
|
|
4588
4611
|
url: string;
|
|
4589
4612
|
method: "get" | "post";
|
|
4590
|
-
proxyUrl?: string | undefined;
|
|
4591
4613
|
headers?: Record<string, string> | undefined;
|
|
4592
4614
|
query?: Record<string, string> | undefined;
|
|
4593
4615
|
body?: Record<string, any> | undefined;
|
|
4616
|
+
proxyUrl?: string | undefined;
|
|
4617
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4594
4618
|
retry?: {
|
|
4595
4619
|
maxAttempts: number;
|
|
4596
4620
|
initialDelay: number;
|
|
@@ -4608,14 +4632,15 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4608
4632
|
};
|
|
4609
4633
|
};
|
|
4610
4634
|
metadata?: any;
|
|
4611
|
-
|
|
4635
|
+
request?: {
|
|
4612
4636
|
type: "http";
|
|
4613
4637
|
url: string;
|
|
4614
4638
|
method: "get" | "post";
|
|
4615
|
-
proxyUrl?: string | undefined;
|
|
4616
4639
|
headers?: Record<string, string> | undefined;
|
|
4617
4640
|
query?: Record<string, string> | undefined;
|
|
4618
4641
|
body?: Record<string, any> | undefined;
|
|
4642
|
+
proxyUrl?: string | undefined;
|
|
4643
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4619
4644
|
retry?: {
|
|
4620
4645
|
maxAttempts: number;
|
|
4621
4646
|
initialDelay: number;
|
|
@@ -4688,14 +4713,15 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4688
4713
|
};
|
|
4689
4714
|
};
|
|
4690
4715
|
metadata?: any;
|
|
4691
|
-
|
|
4716
|
+
request?: {
|
|
4692
4717
|
type: "http";
|
|
4693
4718
|
url: string;
|
|
4694
4719
|
method: "get" | "post";
|
|
4695
|
-
proxyUrl?: string | undefined;
|
|
4696
4720
|
headers?: Record<string, string> | undefined;
|
|
4697
4721
|
query?: Record<string, string> | undefined;
|
|
4698
4722
|
body?: Record<string, any> | undefined;
|
|
4723
|
+
proxyUrl?: string | undefined;
|
|
4724
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4699
4725
|
retry?: {
|
|
4700
4726
|
maxAttempts: number;
|
|
4701
4727
|
initialDelay: number;
|
|
@@ -4768,14 +4794,15 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
|
|
|
4768
4794
|
};
|
|
4769
4795
|
};
|
|
4770
4796
|
metadata?: any;
|
|
4771
|
-
|
|
4797
|
+
request?: {
|
|
4772
4798
|
type: "http";
|
|
4773
4799
|
url: string;
|
|
4774
4800
|
method: "get" | "post";
|
|
4775
|
-
proxyUrl?: string | undefined;
|
|
4776
4801
|
headers?: Record<string, string> | undefined;
|
|
4777
4802
|
query?: Record<string, string> | undefined;
|
|
4778
4803
|
body?: Record<string, any> | undefined;
|
|
4804
|
+
proxyUrl?: string | undefined;
|
|
4805
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
4779
4806
|
retry?: {
|
|
4780
4807
|
maxAttempts: number;
|
|
4781
4808
|
initialDelay: number;
|
|
@@ -7164,14 +7191,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7164
7191
|
parameters?: any;
|
|
7165
7192
|
};
|
|
7166
7193
|
}>;
|
|
7167
|
-
|
|
7194
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7168
7195
|
type: z.ZodLiteral<"http">;
|
|
7169
7196
|
method: z.ZodEnum<["get", "post"]>;
|
|
7170
7197
|
url: z.ZodString;
|
|
7171
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
7172
7198
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7173
7199
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7174
7200
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7201
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
7202
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7175
7203
|
retry: z.ZodOptional<z.ZodObject<{
|
|
7176
7204
|
maxAttempts: z.ZodNumber;
|
|
7177
7205
|
initialDelay: z.ZodNumber;
|
|
@@ -7189,10 +7217,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7189
7217
|
type: "http";
|
|
7190
7218
|
url: string;
|
|
7191
7219
|
method: "get" | "post";
|
|
7192
|
-
proxyUrl?: string | undefined;
|
|
7193
7220
|
headers?: Record<string, string> | undefined;
|
|
7194
7221
|
query?: Record<string, string> | undefined;
|
|
7195
7222
|
body?: Record<string, any> | undefined;
|
|
7223
|
+
proxyUrl?: string | undefined;
|
|
7224
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7196
7225
|
retry?: {
|
|
7197
7226
|
maxAttempts: number;
|
|
7198
7227
|
initialDelay: number;
|
|
@@ -7202,10 +7231,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7202
7231
|
type: "http";
|
|
7203
7232
|
url: string;
|
|
7204
7233
|
method: "get" | "post";
|
|
7205
|
-
proxyUrl?: string | undefined;
|
|
7206
7234
|
headers?: Record<string, string> | undefined;
|
|
7207
7235
|
query?: Record<string, string> | undefined;
|
|
7208
7236
|
body?: Record<string, any> | undefined;
|
|
7237
|
+
proxyUrl?: string | undefined;
|
|
7238
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7209
7239
|
retry?: {
|
|
7210
7240
|
maxAttempts: number;
|
|
7211
7241
|
initialDelay: number;
|
|
@@ -7225,14 +7255,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7225
7255
|
};
|
|
7226
7256
|
};
|
|
7227
7257
|
metadata?: any;
|
|
7228
|
-
|
|
7258
|
+
request?: {
|
|
7229
7259
|
type: "http";
|
|
7230
7260
|
url: string;
|
|
7231
7261
|
method: "get" | "post";
|
|
7232
|
-
proxyUrl?: string | undefined;
|
|
7233
7262
|
headers?: Record<string, string> | undefined;
|
|
7234
7263
|
query?: Record<string, string> | undefined;
|
|
7235
7264
|
body?: Record<string, any> | undefined;
|
|
7265
|
+
proxyUrl?: string | undefined;
|
|
7266
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7236
7267
|
retry?: {
|
|
7237
7268
|
maxAttempts: number;
|
|
7238
7269
|
initialDelay: number;
|
|
@@ -7250,14 +7281,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7250
7281
|
};
|
|
7251
7282
|
};
|
|
7252
7283
|
metadata?: any;
|
|
7253
|
-
|
|
7284
|
+
request?: {
|
|
7254
7285
|
type: "http";
|
|
7255
7286
|
url: string;
|
|
7256
7287
|
method: "get" | "post";
|
|
7257
|
-
proxyUrl?: string | undefined;
|
|
7258
7288
|
headers?: Record<string, string> | undefined;
|
|
7259
7289
|
query?: Record<string, string> | undefined;
|
|
7260
7290
|
body?: Record<string, any> | undefined;
|
|
7291
|
+
proxyUrl?: string | undefined;
|
|
7292
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7261
7293
|
retry?: {
|
|
7262
7294
|
maxAttempts: number;
|
|
7263
7295
|
initialDelay: number;
|
|
@@ -7392,14 +7424,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7392
7424
|
};
|
|
7393
7425
|
};
|
|
7394
7426
|
metadata?: any;
|
|
7395
|
-
|
|
7427
|
+
request?: {
|
|
7396
7428
|
type: "http";
|
|
7397
7429
|
url: string;
|
|
7398
7430
|
method: "get" | "post";
|
|
7399
|
-
proxyUrl?: string | undefined;
|
|
7400
7431
|
headers?: Record<string, string> | undefined;
|
|
7401
7432
|
query?: Record<string, string> | undefined;
|
|
7402
7433
|
body?: Record<string, any> | undefined;
|
|
7434
|
+
proxyUrl?: string | undefined;
|
|
7435
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7403
7436
|
retry?: {
|
|
7404
7437
|
maxAttempts: number;
|
|
7405
7438
|
initialDelay: number;
|
|
@@ -7534,14 +7567,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
7534
7567
|
};
|
|
7535
7568
|
};
|
|
7536
7569
|
metadata?: any;
|
|
7537
|
-
|
|
7570
|
+
request?: {
|
|
7538
7571
|
type: "http";
|
|
7539
7572
|
url: string;
|
|
7540
7573
|
method: "get" | "post";
|
|
7541
|
-
proxyUrl?: string | undefined;
|
|
7542
7574
|
headers?: Record<string, string> | undefined;
|
|
7543
7575
|
query?: Record<string, string> | undefined;
|
|
7544
7576
|
body?: Record<string, any> | undefined;
|
|
7577
|
+
proxyUrl?: string | undefined;
|
|
7578
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7545
7579
|
retry?: {
|
|
7546
7580
|
maxAttempts: number;
|
|
7547
7581
|
initialDelay: number;
|
|
@@ -7857,14 +7891,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7857
7891
|
parameters?: any;
|
|
7858
7892
|
};
|
|
7859
7893
|
}>;
|
|
7860
|
-
|
|
7894
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7861
7895
|
type: z.ZodLiteral<"http">;
|
|
7862
7896
|
method: z.ZodEnum<["get", "post"]>;
|
|
7863
7897
|
url: z.ZodString;
|
|
7864
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
7865
7898
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7866
7899
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7867
7900
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7901
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
7902
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7868
7903
|
retry: z.ZodOptional<z.ZodObject<{
|
|
7869
7904
|
maxAttempts: z.ZodNumber;
|
|
7870
7905
|
initialDelay: z.ZodNumber;
|
|
@@ -7882,10 +7917,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7882
7917
|
type: "http";
|
|
7883
7918
|
url: string;
|
|
7884
7919
|
method: "get" | "post";
|
|
7885
|
-
proxyUrl?: string | undefined;
|
|
7886
7920
|
headers?: Record<string, string> | undefined;
|
|
7887
7921
|
query?: Record<string, string> | undefined;
|
|
7888
7922
|
body?: Record<string, any> | undefined;
|
|
7923
|
+
proxyUrl?: string | undefined;
|
|
7924
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7889
7925
|
retry?: {
|
|
7890
7926
|
maxAttempts: number;
|
|
7891
7927
|
initialDelay: number;
|
|
@@ -7895,10 +7931,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7895
7931
|
type: "http";
|
|
7896
7932
|
url: string;
|
|
7897
7933
|
method: "get" | "post";
|
|
7898
|
-
proxyUrl?: string | undefined;
|
|
7899
7934
|
headers?: Record<string, string> | undefined;
|
|
7900
7935
|
query?: Record<string, string> | undefined;
|
|
7901
7936
|
body?: Record<string, any> | undefined;
|
|
7937
|
+
proxyUrl?: string | undefined;
|
|
7938
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7902
7939
|
retry?: {
|
|
7903
7940
|
maxAttempts: number;
|
|
7904
7941
|
initialDelay: number;
|
|
@@ -7918,14 +7955,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7918
7955
|
};
|
|
7919
7956
|
};
|
|
7920
7957
|
metadata?: any;
|
|
7921
|
-
|
|
7958
|
+
request?: {
|
|
7922
7959
|
type: "http";
|
|
7923
7960
|
url: string;
|
|
7924
7961
|
method: "get" | "post";
|
|
7925
|
-
proxyUrl?: string | undefined;
|
|
7926
7962
|
headers?: Record<string, string> | undefined;
|
|
7927
7963
|
query?: Record<string, string> | undefined;
|
|
7928
7964
|
body?: Record<string, any> | undefined;
|
|
7965
|
+
proxyUrl?: string | undefined;
|
|
7966
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7929
7967
|
retry?: {
|
|
7930
7968
|
maxAttempts: number;
|
|
7931
7969
|
initialDelay: number;
|
|
@@ -7943,14 +7981,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7943
7981
|
};
|
|
7944
7982
|
};
|
|
7945
7983
|
metadata?: any;
|
|
7946
|
-
|
|
7984
|
+
request?: {
|
|
7947
7985
|
type: "http";
|
|
7948
7986
|
url: string;
|
|
7949
7987
|
method: "get" | "post";
|
|
7950
|
-
proxyUrl?: string | undefined;
|
|
7951
7988
|
headers?: Record<string, string> | undefined;
|
|
7952
7989
|
query?: Record<string, string> | undefined;
|
|
7953
7990
|
body?: Record<string, any> | undefined;
|
|
7991
|
+
proxyUrl?: string | undefined;
|
|
7992
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
7954
7993
|
retry?: {
|
|
7955
7994
|
maxAttempts: number;
|
|
7956
7995
|
initialDelay: number;
|
|
@@ -8020,14 +8059,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
8020
8059
|
};
|
|
8021
8060
|
};
|
|
8022
8061
|
metadata?: any;
|
|
8023
|
-
|
|
8062
|
+
request?: {
|
|
8024
8063
|
type: "http";
|
|
8025
8064
|
url: string;
|
|
8026
8065
|
method: "get" | "post";
|
|
8027
|
-
proxyUrl?: string | undefined;
|
|
8028
8066
|
headers?: Record<string, string> | undefined;
|
|
8029
8067
|
query?: Record<string, string> | undefined;
|
|
8030
8068
|
body?: Record<string, any> | undefined;
|
|
8069
|
+
proxyUrl?: string | undefined;
|
|
8070
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8031
8071
|
retry?: {
|
|
8032
8072
|
maxAttempts: number;
|
|
8033
8073
|
initialDelay: number;
|
|
@@ -8097,14 +8137,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
8097
8137
|
};
|
|
8098
8138
|
};
|
|
8099
8139
|
metadata?: any;
|
|
8100
|
-
|
|
8140
|
+
request?: {
|
|
8101
8141
|
type: "http";
|
|
8102
8142
|
url: string;
|
|
8103
8143
|
method: "get" | "post";
|
|
8104
|
-
proxyUrl?: string | undefined;
|
|
8105
8144
|
headers?: Record<string, string> | undefined;
|
|
8106
8145
|
query?: Record<string, string> | undefined;
|
|
8107
8146
|
body?: Record<string, any> | undefined;
|
|
8147
|
+
proxyUrl?: string | undefined;
|
|
8148
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8108
8149
|
retry?: {
|
|
8109
8150
|
maxAttempts: number;
|
|
8110
8151
|
initialDelay: number;
|
|
@@ -8462,14 +8503,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
8462
8503
|
};
|
|
8463
8504
|
};
|
|
8464
8505
|
metadata?: any;
|
|
8465
|
-
|
|
8506
|
+
request?: {
|
|
8466
8507
|
type: "http";
|
|
8467
8508
|
url: string;
|
|
8468
8509
|
method: "get" | "post";
|
|
8469
|
-
proxyUrl?: string | undefined;
|
|
8470
8510
|
headers?: Record<string, string> | undefined;
|
|
8471
8511
|
query?: Record<string, string> | undefined;
|
|
8472
8512
|
body?: Record<string, any> | undefined;
|
|
8513
|
+
proxyUrl?: string | undefined;
|
|
8514
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8473
8515
|
retry?: {
|
|
8474
8516
|
maxAttempts: number;
|
|
8475
8517
|
initialDelay: number;
|
|
@@ -8590,14 +8632,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
8590
8632
|
};
|
|
8591
8633
|
};
|
|
8592
8634
|
metadata?: any;
|
|
8593
|
-
|
|
8635
|
+
request?: {
|
|
8594
8636
|
type: "http";
|
|
8595
8637
|
url: string;
|
|
8596
8638
|
method: "get" | "post";
|
|
8597
|
-
proxyUrl?: string | undefined;
|
|
8598
8639
|
headers?: Record<string, string> | undefined;
|
|
8599
8640
|
query?: Record<string, string> | undefined;
|
|
8600
8641
|
body?: Record<string, any> | undefined;
|
|
8642
|
+
proxyUrl?: string | undefined;
|
|
8643
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8601
8644
|
retry?: {
|
|
8602
8645
|
maxAttempts: number;
|
|
8603
8646
|
initialDelay: number;
|
|
@@ -8764,14 +8807,15 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
8764
8807
|
};
|
|
8765
8808
|
};
|
|
8766
8809
|
metadata?: any;
|
|
8767
|
-
|
|
8810
|
+
request?: {
|
|
8768
8811
|
type: "http";
|
|
8769
8812
|
url: string;
|
|
8770
8813
|
method: "get" | "post";
|
|
8771
|
-
proxyUrl?: string | undefined;
|
|
8772
8814
|
headers?: Record<string, string> | undefined;
|
|
8773
8815
|
query?: Record<string, string> | undefined;
|
|
8774
8816
|
body?: Record<string, any> | undefined;
|
|
8817
|
+
proxyUrl?: string | undefined;
|
|
8818
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8775
8819
|
retry?: {
|
|
8776
8820
|
maxAttempts: number;
|
|
8777
8821
|
initialDelay: number;
|
|
@@ -8916,14 +8960,15 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
8916
8960
|
};
|
|
8917
8961
|
};
|
|
8918
8962
|
metadata?: any;
|
|
8919
|
-
|
|
8963
|
+
request?: {
|
|
8920
8964
|
type: "http";
|
|
8921
8965
|
url: string;
|
|
8922
8966
|
method: "get" | "post";
|
|
8923
|
-
proxyUrl?: string | undefined;
|
|
8924
8967
|
headers?: Record<string, string> | undefined;
|
|
8925
8968
|
query?: Record<string, string> | undefined;
|
|
8926
8969
|
body?: Record<string, any> | undefined;
|
|
8970
|
+
proxyUrl?: string | undefined;
|
|
8971
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
8927
8972
|
retry?: {
|
|
8928
8973
|
maxAttempts: number;
|
|
8929
8974
|
initialDelay: number;
|
|
@@ -9209,14 +9254,15 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
9209
9254
|
};
|
|
9210
9255
|
};
|
|
9211
9256
|
metadata?: any;
|
|
9212
|
-
|
|
9257
|
+
request?: {
|
|
9213
9258
|
type: "http";
|
|
9214
9259
|
url: string;
|
|
9215
9260
|
method: "get" | "post";
|
|
9216
|
-
proxyUrl?: string | undefined;
|
|
9217
9261
|
headers?: Record<string, string> | undefined;
|
|
9218
9262
|
query?: Record<string, string> | undefined;
|
|
9219
9263
|
body?: Record<string, any> | undefined;
|
|
9264
|
+
proxyUrl?: string | undefined;
|
|
9265
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
9220
9266
|
retry?: {
|
|
9221
9267
|
maxAttempts: number;
|
|
9222
9268
|
initialDelay: number;
|
|
@@ -9441,14 +9487,15 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
9441
9487
|
};
|
|
9442
9488
|
};
|
|
9443
9489
|
metadata?: any;
|
|
9444
|
-
|
|
9490
|
+
request?: {
|
|
9445
9491
|
type: "http";
|
|
9446
9492
|
url: string;
|
|
9447
9493
|
method: "get" | "post";
|
|
9448
|
-
proxyUrl?: string | undefined;
|
|
9449
9494
|
headers?: Record<string, string> | undefined;
|
|
9450
9495
|
query?: Record<string, string> | undefined;
|
|
9451
9496
|
body?: Record<string, any> | undefined;
|
|
9497
|
+
proxyUrl?: string | undefined;
|
|
9498
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
9452
9499
|
retry?: {
|
|
9453
9500
|
maxAttempts: number;
|
|
9454
9501
|
initialDelay: number;
|
|
@@ -10021,14 +10068,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10021
10068
|
parameters?: any;
|
|
10022
10069
|
};
|
|
10023
10070
|
}>;
|
|
10024
|
-
|
|
10071
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10025
10072
|
type: z.ZodLiteral<"http">;
|
|
10026
10073
|
method: z.ZodEnum<["get", "post"]>;
|
|
10027
10074
|
url: z.ZodString;
|
|
10028
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
10029
10075
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10030
10076
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10031
10077
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10078
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
10079
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10032
10080
|
retry: z.ZodOptional<z.ZodObject<{
|
|
10033
10081
|
maxAttempts: z.ZodNumber;
|
|
10034
10082
|
initialDelay: z.ZodNumber;
|
|
@@ -10046,10 +10094,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10046
10094
|
type: "http";
|
|
10047
10095
|
url: string;
|
|
10048
10096
|
method: "get" | "post";
|
|
10049
|
-
proxyUrl?: string | undefined;
|
|
10050
10097
|
headers?: Record<string, string> | undefined;
|
|
10051
10098
|
query?: Record<string, string> | undefined;
|
|
10052
10099
|
body?: Record<string, any> | undefined;
|
|
10100
|
+
proxyUrl?: string | undefined;
|
|
10101
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10053
10102
|
retry?: {
|
|
10054
10103
|
maxAttempts: number;
|
|
10055
10104
|
initialDelay: number;
|
|
@@ -10059,10 +10108,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10059
10108
|
type: "http";
|
|
10060
10109
|
url: string;
|
|
10061
10110
|
method: "get" | "post";
|
|
10062
|
-
proxyUrl?: string | undefined;
|
|
10063
10111
|
headers?: Record<string, string> | undefined;
|
|
10064
10112
|
query?: Record<string, string> | undefined;
|
|
10065
10113
|
body?: Record<string, any> | undefined;
|
|
10114
|
+
proxyUrl?: string | undefined;
|
|
10115
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10066
10116
|
retry?: {
|
|
10067
10117
|
maxAttempts: number;
|
|
10068
10118
|
initialDelay: number;
|
|
@@ -10082,14 +10132,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10082
10132
|
};
|
|
10083
10133
|
};
|
|
10084
10134
|
metadata?: any;
|
|
10085
|
-
|
|
10135
|
+
request?: {
|
|
10086
10136
|
type: "http";
|
|
10087
10137
|
url: string;
|
|
10088
10138
|
method: "get" | "post";
|
|
10089
|
-
proxyUrl?: string | undefined;
|
|
10090
10139
|
headers?: Record<string, string> | undefined;
|
|
10091
10140
|
query?: Record<string, string> | undefined;
|
|
10092
10141
|
body?: Record<string, any> | undefined;
|
|
10142
|
+
proxyUrl?: string | undefined;
|
|
10143
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10093
10144
|
retry?: {
|
|
10094
10145
|
maxAttempts: number;
|
|
10095
10146
|
initialDelay: number;
|
|
@@ -10107,14 +10158,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10107
10158
|
};
|
|
10108
10159
|
};
|
|
10109
10160
|
metadata?: any;
|
|
10110
|
-
|
|
10161
|
+
request?: {
|
|
10111
10162
|
type: "http";
|
|
10112
10163
|
url: string;
|
|
10113
10164
|
method: "get" | "post";
|
|
10114
|
-
proxyUrl?: string | undefined;
|
|
10115
10165
|
headers?: Record<string, string> | undefined;
|
|
10116
10166
|
query?: Record<string, string> | undefined;
|
|
10117
10167
|
body?: Record<string, any> | undefined;
|
|
10168
|
+
proxyUrl?: string | undefined;
|
|
10169
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10118
10170
|
retry?: {
|
|
10119
10171
|
maxAttempts: number;
|
|
10120
10172
|
initialDelay: number;
|
|
@@ -10263,14 +10315,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10263
10315
|
};
|
|
10264
10316
|
};
|
|
10265
10317
|
metadata?: any;
|
|
10266
|
-
|
|
10318
|
+
request?: {
|
|
10267
10319
|
type: "http";
|
|
10268
10320
|
url: string;
|
|
10269
10321
|
method: "get" | "post";
|
|
10270
|
-
proxyUrl?: string | undefined;
|
|
10271
10322
|
headers?: Record<string, string> | undefined;
|
|
10272
10323
|
query?: Record<string, string> | undefined;
|
|
10273
10324
|
body?: Record<string, any> | undefined;
|
|
10325
|
+
proxyUrl?: string | undefined;
|
|
10326
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10274
10327
|
retry?: {
|
|
10275
10328
|
maxAttempts: number;
|
|
10276
10329
|
initialDelay: number;
|
|
@@ -10406,14 +10459,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
10406
10459
|
};
|
|
10407
10460
|
};
|
|
10408
10461
|
metadata?: any;
|
|
10409
|
-
|
|
10462
|
+
request?: {
|
|
10410
10463
|
type: "http";
|
|
10411
10464
|
url: string;
|
|
10412
10465
|
method: "get" | "post";
|
|
10413
|
-
proxyUrl?: string | undefined;
|
|
10414
10466
|
headers?: Record<string, string> | undefined;
|
|
10415
10467
|
query?: Record<string, string> | undefined;
|
|
10416
10468
|
body?: Record<string, any> | undefined;
|
|
10469
|
+
proxyUrl?: string | undefined;
|
|
10470
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10417
10471
|
retry?: {
|
|
10418
10472
|
maxAttempts: number;
|
|
10419
10473
|
initialDelay: number;
|
|
@@ -10845,14 +10899,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
10845
10899
|
parameters?: any;
|
|
10846
10900
|
};
|
|
10847
10901
|
}>;
|
|
10848
|
-
|
|
10902
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10849
10903
|
type: z.ZodLiteral<"http">;
|
|
10850
10904
|
method: z.ZodEnum<["get", "post"]>;
|
|
10851
10905
|
url: z.ZodString;
|
|
10852
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
10853
10906
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10854
10907
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10855
10908
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10909
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
10910
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10856
10911
|
retry: z.ZodOptional<z.ZodObject<{
|
|
10857
10912
|
maxAttempts: z.ZodNumber;
|
|
10858
10913
|
initialDelay: z.ZodNumber;
|
|
@@ -10870,10 +10925,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
10870
10925
|
type: "http";
|
|
10871
10926
|
url: string;
|
|
10872
10927
|
method: "get" | "post";
|
|
10873
|
-
proxyUrl?: string | undefined;
|
|
10874
10928
|
headers?: Record<string, string> | undefined;
|
|
10875
10929
|
query?: Record<string, string> | undefined;
|
|
10876
10930
|
body?: Record<string, any> | undefined;
|
|
10931
|
+
proxyUrl?: string | undefined;
|
|
10932
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10877
10933
|
retry?: {
|
|
10878
10934
|
maxAttempts: number;
|
|
10879
10935
|
initialDelay: number;
|
|
@@ -10883,10 +10939,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
10883
10939
|
type: "http";
|
|
10884
10940
|
url: string;
|
|
10885
10941
|
method: "get" | "post";
|
|
10886
|
-
proxyUrl?: string | undefined;
|
|
10887
10942
|
headers?: Record<string, string> | undefined;
|
|
10888
10943
|
query?: Record<string, string> | undefined;
|
|
10889
10944
|
body?: Record<string, any> | undefined;
|
|
10945
|
+
proxyUrl?: string | undefined;
|
|
10946
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10890
10947
|
retry?: {
|
|
10891
10948
|
maxAttempts: number;
|
|
10892
10949
|
initialDelay: number;
|
|
@@ -10906,14 +10963,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
10906
10963
|
};
|
|
10907
10964
|
};
|
|
10908
10965
|
metadata?: any;
|
|
10909
|
-
|
|
10966
|
+
request?: {
|
|
10910
10967
|
type: "http";
|
|
10911
10968
|
url: string;
|
|
10912
10969
|
method: "get" | "post";
|
|
10913
|
-
proxyUrl?: string | undefined;
|
|
10914
10970
|
headers?: Record<string, string> | undefined;
|
|
10915
10971
|
query?: Record<string, string> | undefined;
|
|
10916
10972
|
body?: Record<string, any> | undefined;
|
|
10973
|
+
proxyUrl?: string | undefined;
|
|
10974
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10917
10975
|
retry?: {
|
|
10918
10976
|
maxAttempts: number;
|
|
10919
10977
|
initialDelay: number;
|
|
@@ -10931,14 +10989,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
10931
10989
|
};
|
|
10932
10990
|
};
|
|
10933
10991
|
metadata?: any;
|
|
10934
|
-
|
|
10992
|
+
request?: {
|
|
10935
10993
|
type: "http";
|
|
10936
10994
|
url: string;
|
|
10937
10995
|
method: "get" | "post";
|
|
10938
|
-
proxyUrl?: string | undefined;
|
|
10939
10996
|
headers?: Record<string, string> | undefined;
|
|
10940
10997
|
query?: Record<string, string> | undefined;
|
|
10941
10998
|
body?: Record<string, any> | undefined;
|
|
10999
|
+
proxyUrl?: string | undefined;
|
|
11000
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
10942
11001
|
retry?: {
|
|
10943
11002
|
maxAttempts: number;
|
|
10944
11003
|
initialDelay: number;
|
|
@@ -11084,14 +11143,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
11084
11143
|
};
|
|
11085
11144
|
};
|
|
11086
11145
|
metadata?: any;
|
|
11087
|
-
|
|
11146
|
+
request?: {
|
|
11088
11147
|
type: "http";
|
|
11089
11148
|
url: string;
|
|
11090
11149
|
method: "get" | "post";
|
|
11091
|
-
proxyUrl?: string | undefined;
|
|
11092
11150
|
headers?: Record<string, string> | undefined;
|
|
11093
11151
|
query?: Record<string, string> | undefined;
|
|
11094
11152
|
body?: Record<string, any> | undefined;
|
|
11153
|
+
proxyUrl?: string | undefined;
|
|
11154
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
11095
11155
|
retry?: {
|
|
11096
11156
|
maxAttempts: number;
|
|
11097
11157
|
initialDelay: number;
|
|
@@ -11227,14 +11287,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
11227
11287
|
};
|
|
11228
11288
|
};
|
|
11229
11289
|
metadata?: any;
|
|
11230
|
-
|
|
11290
|
+
request?: {
|
|
11231
11291
|
type: "http";
|
|
11232
11292
|
url: string;
|
|
11233
11293
|
method: "get" | "post";
|
|
11234
|
-
proxyUrl?: string | undefined;
|
|
11235
11294
|
headers?: Record<string, string> | undefined;
|
|
11236
11295
|
query?: Record<string, string> | undefined;
|
|
11237
11296
|
body?: Record<string, any> | undefined;
|
|
11297
|
+
proxyUrl?: string | undefined;
|
|
11298
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
11238
11299
|
retry?: {
|
|
11239
11300
|
maxAttempts: number;
|
|
11240
11301
|
initialDelay: number;
|
|
@@ -12724,14 +12785,15 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
12724
12785
|
parameters?: any;
|
|
12725
12786
|
};
|
|
12726
12787
|
}>;
|
|
12727
|
-
|
|
12788
|
+
request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12728
12789
|
type: z.ZodLiteral<"http">;
|
|
12729
12790
|
method: z.ZodEnum<["get", "post"]>;
|
|
12730
12791
|
url: z.ZodString;
|
|
12731
|
-
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
12732
12792
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12733
12793
|
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12734
12794
|
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12795
|
+
proxyUrl: z.ZodOptional<z.ZodString>;
|
|
12796
|
+
proxyHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12735
12797
|
retry: z.ZodOptional<z.ZodObject<{
|
|
12736
12798
|
maxAttempts: z.ZodNumber;
|
|
12737
12799
|
initialDelay: z.ZodNumber;
|
|
@@ -12749,10 +12811,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
12749
12811
|
type: "http";
|
|
12750
12812
|
url: string;
|
|
12751
12813
|
method: "get" | "post";
|
|
12752
|
-
proxyUrl?: string | undefined;
|
|
12753
12814
|
headers?: Record<string, string> | undefined;
|
|
12754
12815
|
query?: Record<string, string> | undefined;
|
|
12755
12816
|
body?: Record<string, any> | undefined;
|
|
12817
|
+
proxyUrl?: string | undefined;
|
|
12818
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
12756
12819
|
retry?: {
|
|
12757
12820
|
maxAttempts: number;
|
|
12758
12821
|
initialDelay: number;
|
|
@@ -12762,10 +12825,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
12762
12825
|
type: "http";
|
|
12763
12826
|
url: string;
|
|
12764
12827
|
method: "get" | "post";
|
|
12765
|
-
proxyUrl?: string | undefined;
|
|
12766
12828
|
headers?: Record<string, string> | undefined;
|
|
12767
12829
|
query?: Record<string, string> | undefined;
|
|
12768
12830
|
body?: Record<string, any> | undefined;
|
|
12831
|
+
proxyUrl?: string | undefined;
|
|
12832
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
12769
12833
|
retry?: {
|
|
12770
12834
|
maxAttempts: number;
|
|
12771
12835
|
initialDelay: number;
|
|
@@ -12785,14 +12849,15 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
12785
12849
|
};
|
|
12786
12850
|
};
|
|
12787
12851
|
metadata?: any;
|
|
12788
|
-
|
|
12852
|
+
request?: {
|
|
12789
12853
|
type: "http";
|
|
12790
12854
|
url: string;
|
|
12791
12855
|
method: "get" | "post";
|
|
12792
|
-
proxyUrl?: string | undefined;
|
|
12793
12856
|
headers?: Record<string, string> | undefined;
|
|
12794
12857
|
query?: Record<string, string> | undefined;
|
|
12795
12858
|
body?: Record<string, any> | undefined;
|
|
12859
|
+
proxyUrl?: string | undefined;
|
|
12860
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
12796
12861
|
retry?: {
|
|
12797
12862
|
maxAttempts: number;
|
|
12798
12863
|
initialDelay: number;
|
|
@@ -12810,14 +12875,15 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
12810
12875
|
};
|
|
12811
12876
|
};
|
|
12812
12877
|
metadata?: any;
|
|
12813
|
-
|
|
12878
|
+
request?: {
|
|
12814
12879
|
type: "http";
|
|
12815
12880
|
url: string;
|
|
12816
12881
|
method: "get" | "post";
|
|
12817
|
-
proxyUrl?: string | undefined;
|
|
12818
12882
|
headers?: Record<string, string> | undefined;
|
|
12819
12883
|
query?: Record<string, string> | undefined;
|
|
12820
12884
|
body?: Record<string, any> | undefined;
|
|
12885
|
+
proxyUrl?: string | undefined;
|
|
12886
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
12821
12887
|
retry?: {
|
|
12822
12888
|
maxAttempts: number;
|
|
12823
12889
|
initialDelay: number;
|
|
@@ -13162,14 +13228,15 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
13162
13228
|
};
|
|
13163
13229
|
};
|
|
13164
13230
|
metadata?: any;
|
|
13165
|
-
|
|
13231
|
+
request?: {
|
|
13166
13232
|
type: "http";
|
|
13167
13233
|
url: string;
|
|
13168
13234
|
method: "get" | "post";
|
|
13169
|
-
proxyUrl?: string | undefined;
|
|
13170
13235
|
headers?: Record<string, string> | undefined;
|
|
13171
13236
|
query?: Record<string, string> | undefined;
|
|
13172
13237
|
body?: Record<string, any> | undefined;
|
|
13238
|
+
proxyUrl?: string | undefined;
|
|
13239
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
13173
13240
|
retry?: {
|
|
13174
13241
|
maxAttempts: number;
|
|
13175
13242
|
initialDelay: number;
|
|
@@ -13243,14 +13310,15 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
|
|
|
13243
13310
|
};
|
|
13244
13311
|
};
|
|
13245
13312
|
metadata?: any;
|
|
13246
|
-
|
|
13313
|
+
request?: {
|
|
13247
13314
|
type: "http";
|
|
13248
13315
|
url: string;
|
|
13249
13316
|
method: "get" | "post";
|
|
13250
|
-
proxyUrl?: string | undefined;
|
|
13251
13317
|
headers?: Record<string, string> | undefined;
|
|
13252
13318
|
query?: Record<string, string> | undefined;
|
|
13253
13319
|
body?: Record<string, any> | undefined;
|
|
13320
|
+
proxyUrl?: string | undefined;
|
|
13321
|
+
proxyHeaders?: Record<string, string> | undefined;
|
|
13254
13322
|
retry?: {
|
|
13255
13323
|
maxAttempts: number;
|
|
13256
13324
|
initialDelay: number;
|