@adaline/gateway 1.4.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 CHANGED
@@ -328,7 +328,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
328
328
  };
329
329
  };
330
330
  metadata?: any;
331
- apiSettings?: {
331
+ request?: {
332
332
  type: "http";
333
333
  url: string;
334
334
  method: "get" | "post";
@@ -481,7 +481,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
481
481
  };
482
482
  };
483
483
  metadata?: any;
484
- apiSettings?: {
484
+ request?: {
485
485
  type: "http";
486
486
  url: string;
487
487
  method: "get" | "post";
@@ -993,7 +993,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
993
993
  parameters?: any;
994
994
  };
995
995
  }>;
996
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
996
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
997
997
  type: z.ZodLiteral<"http">;
998
998
  method: z.ZodEnum<["get", "post"]>;
999
999
  url: z.ZodString;
@@ -1057,7 +1057,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1057
1057
  };
1058
1058
  };
1059
1059
  metadata?: any;
1060
- apiSettings?: {
1060
+ request?: {
1061
1061
  type: "http";
1062
1062
  url: string;
1063
1063
  method: "get" | "post";
@@ -1083,7 +1083,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1083
1083
  };
1084
1084
  };
1085
1085
  metadata?: any;
1086
- apiSettings?: {
1086
+ request?: {
1087
1087
  type: "http";
1088
1088
  url: string;
1089
1089
  method: "get" | "post";
@@ -1279,7 +1279,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1279
1279
  };
1280
1280
  };
1281
1281
  metadata?: any;
1282
- apiSettings?: {
1282
+ request?: {
1283
1283
  type: "http";
1284
1284
  url: string;
1285
1285
  method: "get" | "post";
@@ -1381,7 +1381,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1381
1381
  };
1382
1382
  };
1383
1383
  metadata?: any;
1384
- apiSettings?: {
1384
+ request?: {
1385
1385
  type: "http";
1386
1386
  url: string;
1387
1387
  method: "get" | "post";
@@ -1576,7 +1576,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1576
1576
  };
1577
1577
  };
1578
1578
  metadata?: any;
1579
- apiSettings?: {
1579
+ request?: {
1580
1580
  type: "http";
1581
1581
  url: string;
1582
1582
  method: "get" | "post";
@@ -1678,7 +1678,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1678
1678
  };
1679
1679
  };
1680
1680
  metadata?: any;
1681
- apiSettings?: {
1681
+ request?: {
1682
1682
  type: "http";
1683
1683
  url: string;
1684
1684
  method: "get" | "post";
@@ -2001,7 +2001,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2001
2001
  parameters?: any;
2002
2002
  };
2003
2003
  }>;
2004
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2004
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2005
2005
  type: z.ZodLiteral<"http">;
2006
2006
  method: z.ZodEnum<["get", "post"]>;
2007
2007
  url: z.ZodString;
@@ -2065,7 +2065,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2065
2065
  };
2066
2066
  };
2067
2067
  metadata?: any;
2068
- apiSettings?: {
2068
+ request?: {
2069
2069
  type: "http";
2070
2070
  url: string;
2071
2071
  method: "get" | "post";
@@ -2091,7 +2091,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2091
2091
  };
2092
2092
  };
2093
2093
  metadata?: any;
2094
- apiSettings?: {
2094
+ request?: {
2095
2095
  type: "http";
2096
2096
  url: string;
2097
2097
  method: "get" | "post";
@@ -2169,7 +2169,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2169
2169
  };
2170
2170
  };
2171
2171
  metadata?: any;
2172
- apiSettings?: {
2172
+ request?: {
2173
2173
  type: "http";
2174
2174
  url: string;
2175
2175
  method: "get" | "post";
@@ -2247,7 +2247,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2247
2247
  };
2248
2248
  };
2249
2249
  metadata?: any;
2250
- apiSettings?: {
2250
+ request?: {
2251
2251
  type: "http";
2252
2252
  url: string;
2253
2253
  method: "get" | "post";
@@ -2787,7 +2787,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2787
2787
  };
2788
2788
  };
2789
2789
  metadata?: any;
2790
- apiSettings?: {
2790
+ request?: {
2791
2791
  type: "http";
2792
2792
  url: string;
2793
2793
  method: "get" | "post";
@@ -2940,7 +2940,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
2940
2940
  };
2941
2941
  };
2942
2942
  metadata?: any;
2943
- apiSettings?: {
2943
+ request?: {
2944
2944
  type: "http";
2945
2945
  url: string;
2946
2946
  method: "get" | "post";
@@ -4542,7 +4542,7 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
4542
4542
  parameters?: any;
4543
4543
  };
4544
4544
  }>;
4545
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4545
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4546
4546
  type: z.ZodLiteral<"http">;
4547
4547
  method: z.ZodEnum<["get", "post"]>;
4548
4548
  url: z.ZodString;
@@ -4606,7 +4606,7 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
4606
4606
  };
4607
4607
  };
4608
4608
  metadata?: any;
4609
- apiSettings?: {
4609
+ request?: {
4610
4610
  type: "http";
4611
4611
  url: string;
4612
4612
  method: "get" | "post";
@@ -4632,7 +4632,7 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
4632
4632
  };
4633
4633
  };
4634
4634
  metadata?: any;
4635
- apiSettings?: {
4635
+ request?: {
4636
4636
  type: "http";
4637
4637
  url: string;
4638
4638
  method: "get" | "post";
@@ -4713,7 +4713,7 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
4713
4713
  };
4714
4714
  };
4715
4715
  metadata?: any;
4716
- apiSettings?: {
4716
+ request?: {
4717
4717
  type: "http";
4718
4718
  url: string;
4719
4719
  method: "get" | "post";
@@ -4794,7 +4794,7 @@ declare const GetToolResponsesHandlerRequest: z.ZodObject<{
4794
4794
  };
4795
4795
  };
4796
4796
  metadata?: any;
4797
- apiSettings?: {
4797
+ request?: {
4798
4798
  type: "http";
4799
4799
  url: string;
4800
4800
  method: "get" | "post";
@@ -7191,7 +7191,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
7191
7191
  parameters?: any;
7192
7192
  };
7193
7193
  }>;
7194
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7194
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7195
7195
  type: z.ZodLiteral<"http">;
7196
7196
  method: z.ZodEnum<["get", "post"]>;
7197
7197
  url: z.ZodString;
@@ -7255,7 +7255,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
7255
7255
  };
7256
7256
  };
7257
7257
  metadata?: any;
7258
- apiSettings?: {
7258
+ request?: {
7259
7259
  type: "http";
7260
7260
  url: string;
7261
7261
  method: "get" | "post";
@@ -7281,7 +7281,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
7281
7281
  };
7282
7282
  };
7283
7283
  metadata?: any;
7284
- apiSettings?: {
7284
+ request?: {
7285
7285
  type: "http";
7286
7286
  url: string;
7287
7287
  method: "get" | "post";
@@ -7424,7 +7424,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
7424
7424
  };
7425
7425
  };
7426
7426
  metadata?: any;
7427
- apiSettings?: {
7427
+ request?: {
7428
7428
  type: "http";
7429
7429
  url: string;
7430
7430
  method: "get" | "post";
@@ -7567,7 +7567,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
7567
7567
  };
7568
7568
  };
7569
7569
  metadata?: any;
7570
- apiSettings?: {
7570
+ request?: {
7571
7571
  type: "http";
7572
7572
  url: string;
7573
7573
  method: "get" | "post";
@@ -7891,7 +7891,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
7891
7891
  parameters?: any;
7892
7892
  };
7893
7893
  }>;
7894
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7894
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7895
7895
  type: z.ZodLiteral<"http">;
7896
7896
  method: z.ZodEnum<["get", "post"]>;
7897
7897
  url: z.ZodString;
@@ -7955,7 +7955,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
7955
7955
  };
7956
7956
  };
7957
7957
  metadata?: any;
7958
- apiSettings?: {
7958
+ request?: {
7959
7959
  type: "http";
7960
7960
  url: string;
7961
7961
  method: "get" | "post";
@@ -7981,7 +7981,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
7981
7981
  };
7982
7982
  };
7983
7983
  metadata?: any;
7984
- apiSettings?: {
7984
+ request?: {
7985
7985
  type: "http";
7986
7986
  url: string;
7987
7987
  method: "get" | "post";
@@ -8059,7 +8059,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
8059
8059
  };
8060
8060
  };
8061
8061
  metadata?: any;
8062
- apiSettings?: {
8062
+ request?: {
8063
8063
  type: "http";
8064
8064
  url: string;
8065
8065
  method: "get" | "post";
@@ -8137,7 +8137,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
8137
8137
  };
8138
8138
  };
8139
8139
  metadata?: any;
8140
- apiSettings?: {
8140
+ request?: {
8141
8141
  type: "http";
8142
8142
  url: string;
8143
8143
  method: "get" | "post";
@@ -8503,7 +8503,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
8503
8503
  };
8504
8504
  };
8505
8505
  metadata?: any;
8506
- apiSettings?: {
8506
+ request?: {
8507
8507
  type: "http";
8508
8508
  url: string;
8509
8509
  method: "get" | "post";
@@ -8632,7 +8632,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
8632
8632
  };
8633
8633
  };
8634
8634
  metadata?: any;
8635
- apiSettings?: {
8635
+ request?: {
8636
8636
  type: "http";
8637
8637
  url: string;
8638
8638
  method: "get" | "post";
@@ -8807,7 +8807,7 @@ declare const GatewayOptions: z.ZodObject<{
8807
8807
  };
8808
8808
  };
8809
8809
  metadata?: any;
8810
- apiSettings?: {
8810
+ request?: {
8811
8811
  type: "http";
8812
8812
  url: string;
8813
8813
  method: "get" | "post";
@@ -8960,7 +8960,7 @@ declare const GatewayOptions: z.ZodObject<{
8960
8960
  };
8961
8961
  };
8962
8962
  metadata?: any;
8963
- apiSettings?: {
8963
+ request?: {
8964
8964
  type: "http";
8965
8965
  url: string;
8966
8966
  method: "get" | "post";
@@ -9254,7 +9254,7 @@ declare const GatewayOptions: z.ZodObject<{
9254
9254
  };
9255
9255
  };
9256
9256
  metadata?: any;
9257
- apiSettings?: {
9257
+ request?: {
9258
9258
  type: "http";
9259
9259
  url: string;
9260
9260
  method: "get" | "post";
@@ -9487,7 +9487,7 @@ declare const GatewayOptions: z.ZodObject<{
9487
9487
  };
9488
9488
  };
9489
9489
  metadata?: any;
9490
- apiSettings?: {
9490
+ request?: {
9491
9491
  type: "http";
9492
9492
  url: string;
9493
9493
  method: "get" | "post";
@@ -10068,7 +10068,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
10068
10068
  parameters?: any;
10069
10069
  };
10070
10070
  }>;
10071
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10071
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10072
10072
  type: z.ZodLiteral<"http">;
10073
10073
  method: z.ZodEnum<["get", "post"]>;
10074
10074
  url: z.ZodString;
@@ -10132,7 +10132,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
10132
10132
  };
10133
10133
  };
10134
10134
  metadata?: any;
10135
- apiSettings?: {
10135
+ request?: {
10136
10136
  type: "http";
10137
10137
  url: string;
10138
10138
  method: "get" | "post";
@@ -10158,7 +10158,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
10158
10158
  };
10159
10159
  };
10160
10160
  metadata?: any;
10161
- apiSettings?: {
10161
+ request?: {
10162
10162
  type: "http";
10163
10163
  url: string;
10164
10164
  method: "get" | "post";
@@ -10315,7 +10315,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
10315
10315
  };
10316
10316
  };
10317
10317
  metadata?: any;
10318
- apiSettings?: {
10318
+ request?: {
10319
10319
  type: "http";
10320
10320
  url: string;
10321
10321
  method: "get" | "post";
@@ -10459,7 +10459,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
10459
10459
  };
10460
10460
  };
10461
10461
  metadata?: any;
10462
- apiSettings?: {
10462
+ request?: {
10463
10463
  type: "http";
10464
10464
  url: string;
10465
10465
  method: "get" | "post";
@@ -10899,7 +10899,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
10899
10899
  parameters?: any;
10900
10900
  };
10901
10901
  }>;
10902
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10902
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10903
10903
  type: z.ZodLiteral<"http">;
10904
10904
  method: z.ZodEnum<["get", "post"]>;
10905
10905
  url: z.ZodString;
@@ -10963,7 +10963,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
10963
10963
  };
10964
10964
  };
10965
10965
  metadata?: any;
10966
- apiSettings?: {
10966
+ request?: {
10967
10967
  type: "http";
10968
10968
  url: string;
10969
10969
  method: "get" | "post";
@@ -10989,7 +10989,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
10989
10989
  };
10990
10990
  };
10991
10991
  metadata?: any;
10992
- apiSettings?: {
10992
+ request?: {
10993
10993
  type: "http";
10994
10994
  url: string;
10995
10995
  method: "get" | "post";
@@ -11143,7 +11143,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
11143
11143
  };
11144
11144
  };
11145
11145
  metadata?: any;
11146
- apiSettings?: {
11146
+ request?: {
11147
11147
  type: "http";
11148
11148
  url: string;
11149
11149
  method: "get" | "post";
@@ -11287,7 +11287,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
11287
11287
  };
11288
11288
  };
11289
11289
  metadata?: any;
11290
- apiSettings?: {
11290
+ request?: {
11291
11291
  type: "http";
11292
11292
  url: string;
11293
11293
  method: "get" | "post";
@@ -12785,7 +12785,7 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
12785
12785
  parameters?: any;
12786
12786
  };
12787
12787
  }>;
12788
- apiSettings: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12788
+ request: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12789
12789
  type: z.ZodLiteral<"http">;
12790
12790
  method: z.ZodEnum<["get", "post"]>;
12791
12791
  url: z.ZodString;
@@ -12849,7 +12849,7 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
12849
12849
  };
12850
12850
  };
12851
12851
  metadata?: any;
12852
- apiSettings?: {
12852
+ request?: {
12853
12853
  type: "http";
12854
12854
  url: string;
12855
12855
  method: "get" | "post";
@@ -12875,7 +12875,7 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
12875
12875
  };
12876
12876
  };
12877
12877
  metadata?: any;
12878
- apiSettings?: {
12878
+ request?: {
12879
12879
  type: "http";
12880
12880
  url: string;
12881
12881
  method: "get" | "post";
@@ -13228,7 +13228,7 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
13228
13228
  };
13229
13229
  };
13230
13230
  metadata?: any;
13231
- apiSettings?: {
13231
+ request?: {
13232
13232
  type: "http";
13233
13233
  url: string;
13234
13234
  method: "get" | "post";
@@ -13310,7 +13310,7 @@ declare const GatewayGetToolResponsesRequest: z.ZodObject<{
13310
13310
  };
13311
13311
  };
13312
13312
  metadata?: any;
13313
- apiSettings?: {
13313
+ request?: {
13314
13314
  type: "http";
13315
13315
  url: string;
13316
13316
  method: "get" | "post";