@adaline/gateway 1.3.0 → 1.4.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 CHANGED
@@ -332,10 +332,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -484,10 +485,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -995,10 +997,11 @@ declare const CompleteChatHandlerRequest: 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;
@@ -1056,10 +1061,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1081,10 +1087,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1276,10 +1283,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1377,10 +1385,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1571,10 +1580,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1672,10 +1682,11 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
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;
@@ -1994,10 +2005,11 @@ declare const CompleteChatHandlerResponse: 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;
@@ -2055,10 +2069,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -2080,10 +2095,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -2157,10 +2173,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -2234,10 +2251,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -2773,10 +2791,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -2925,10 +2944,11 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
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;
@@ -4526,10 +4546,11 @@ declare const GetToolResponsesHandlerRequest: 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;
@@ -4587,10 +4610,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
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;
@@ -4612,10 +4636,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
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;
@@ -4692,10 +4717,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
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;
@@ -4772,10 +4798,11 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
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;
@@ -7168,10 +7195,11 @@ declare const StreamChatHandlerRequest: 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;
@@ -7229,10 +7259,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
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;
@@ -7254,10 +7285,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
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;
@@ -7396,10 +7428,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
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;
@@ -7538,10 +7571,11 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
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;
@@ -7861,10 +7895,11 @@ declare const StreamChatHandlerResponse: 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;
@@ -7922,10 +7959,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -7947,10 +7985,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -8024,10 +8063,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -8101,10 +8141,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -8466,10 +8507,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -8594,10 +8636,11 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
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;
@@ -8768,10 +8811,11 @@ declare const GatewayOptions: z.ZodObject<{
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;
@@ -8920,10 +8964,11 @@ declare const GatewayOptions: z.ZodObject<{
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;
@@ -9213,10 +9258,11 @@ declare const GatewayOptions: z.ZodObject<{
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;
@@ -9445,10 +9491,11 @@ declare const GatewayOptions: z.ZodObject<{
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;
@@ -10025,10 +10072,11 @@ declare const GatewayCompleteChatRequest: 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;
@@ -10086,10 +10136,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
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;
@@ -10111,10 +10162,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
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;
@@ -10267,10 +10319,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
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;
@@ -10410,10 +10463,11 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
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;
@@ -10849,10 +10903,11 @@ declare const GatewayStreamChatRequest: 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;
@@ -10910,10 +10967,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
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;
@@ -10935,10 +10993,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
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;
@@ -11088,10 +11147,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
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;
@@ -11231,10 +11291,11 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
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;
@@ -12728,10 +12789,11 @@ declare const GatewayGetToolResponsesRequest: 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;
@@ -12789,10 +12853,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
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;
@@ -12814,10 +12879,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
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;
@@ -13166,10 +13232,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
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;
@@ -13247,10 +13314,11 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
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;